netfilter: nft_flow_offload: reset dst in route object after setting up flow
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's nft_flow_offload component can release a destination reference twice if flow_offload_add() fails after the reference has been transferred to a flow object, causing a refcount underflow. The input does not establish whether an attacker can trigger this condition, or specify network or local access, authentication, or user-interaction requirements.
Engineers running Linux kernels with nft_flow_offload should check their exposure; affected versions are not specified.