Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix memleak when rule deletion fails with hardware offload Allocate flow rule object after transaction has been allocation and rule deactivation has been performed, otherwise memleak is possible. Let the transaction unwind the existing rule deactivation from the abort path, this needs to update nft_flow_rule_destroy() to skip release if flow_rule is null. While at this, remove check for non-null flow_rule in newrule error path now that nft_flow_rule_destroy() is skipped if flow_rule is null.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
63b48c73ff567bbab1f940d6e8f3f48607077a13 to < 79f068d8a8dccad074604614d5cfd65553ed85dfaffected63b48c73ff567bbab1f940d6e8f3f48607077a13 to < 15e5fbfe4ed3150816895bf6309f2c7009f8464baffected63b48c73ff567bbab1f940d6e8f3f48607077a13 to < 27003b068c80a5c3887d0b615cecda8b454d0973affected63b48c73ff567bbab1f940d6e8f3f48607077a13 to < 20fd0512514a3333395e52f1168e94b4a248a3d3affected63b48c73ff567bbab1f940d6e8f3f48607077a13 to < e95b3be75ae0652d40a48a210f0cf5197b3b3783affected
Linux Linux
Default version status: affected
5.5affected0 to < 5.5unaffected5.15.227 to ≤ 5.15.*unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/79f068d8a8dccad074604614d5cfd65553ed85df ↗
- https://git.kernel.org/stable/c/15e5fbfe4ed3150816895bf6309f2c7009f8464b ↗
- https://git.kernel.org/stable/c/27003b068c80a5c3887d0b615cecda8b454d0973 ↗
- https://git.kernel.org/stable/c/20fd0512514a3333395e52f1168e94b4a248a3d3 ↗
- https://git.kernel.org/stable/c/e95b3be75ae0652d40a48a210f0cf5197b3b3783 ↗