What’s Vulnerable › Vulnerabilities
CVE-2022-48654: netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-28 · updated 2026-08-04
- Weakness: CWE-908
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find() nf_osf_find() incorrectly returns true on mismatch, this leads to copying uninitialized memory area in nft_osf which can be used to leak stale kernel stack data to userspace.
Affected products
- Linux kernel: from 5.2.0 before 5.4.215; from 5.5.0 before 5.10.146; from 5.11.0 before 5.15.71; from 5.16.0 before 5.19.12 — fixed in 5.10.146, 5.15.71, 5.19.12, 5.4.215
How to fix
Upgrade to a fixed version: Linux kernel 5.10.146, 5.15.71, 5.19.12, 5.4.215. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/559c36c5a8d730c49ef805a72b213d3bba155cc8
- https://git.kernel.org/stable/c/5d75fef3e61e797fab5c3fbba88caa74ab92ad47
- https://git.kernel.org/stable/c/633c81c0449663f57d4138326d036dc6cfad674e
- https://git.kernel.org/stable/c/721ea8ac063d70c2078c4e762212705de6151764
- https://git.kernel.org/stable/c/816eab147e5c6f6621922b8515ad9010ceb1735e
- https://git.kernel.org/stable/c/559c36c5a8d730c49ef805a72b213d3bba155cc8
- https://git.kernel.org/stable/c/5d75fef3e61e797fab5c3fbba88caa74ab92ad47
- https://git.kernel.org/stable/c/633c81c0449663f57d4138326d036dc6cfad674e
- https://git.kernel.org/stable/c/721ea8ac063d70c2078c4e762212705de6151764
- https://git.kernel.org/stable/c/816eab147e5c6f6621922b8515ad9010ceb1735e
Get alerted when CVE-2022-48654 or the next vulnerability affects your stack