CVE-2024-27403: netfilter: nft_flow_offload: reset dst in route object after setting up flow

Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nft_flow_offload: reset dst in route object after setting up flow

dst is transferred to the flow object, route object does not own it
anymore. Reset dst in route object, otherwise if flow_offload_add()
fails, error path releases dst twice, leading to a refcount underflow.

Classification

CVE ID: CVE-2024-27403

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 17.83% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/4c167af9f6b5ae4a5dbc243d5983c295ccc2e43c
https://git.kernel.org/stable/c/012df10717da02367aaf92c65f9c89db206c15f4
https://git.kernel.org/stable/c/558b00a30e05753a62ecc7e05e939ca8f0241148
https://git.kernel.org/stable/c/670548c8db44d76e40e1dfc06812bca36a61e9ae
https://git.kernel.org/stable/c/9e0f0430389be7696396c62f037be4bf72cf93e3

Timeline