# CVE-2022-48654: netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-04-28T13:00:56.564Z
- Modified: 2026-08-05T08:51:38.661Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 22c7652cdaa8cd33ce78bacceb4e826a3f795873 before 721ea8ac063d70c2078c4e762212705de6151764; from 22c7652cdaa8cd33ce78bacceb4e826a3f795873 before 5d75fef3e61e797fab5c3fbba88caa74ab92ad47; from 22c7652cdaa8cd33ce78bacceb4e826a3f795873 before 816eab147e5c6f6621922b8515ad9010ceb1735e; from 22c7652cdaa8cd33ce78bacceb4e826a3f795873 before 633c81c0449663f57d4138326d036dc6cfad674e; from 22c7652cdaa8cd33ce78bacceb4e826a3f795873 before 559c36c5a8d730c49ef805a72b213d3bba155cc8; 5.2 (not affected: before 5.2; from 5.4.215 up to 5.4.*; from 5.10.146 up to 5.10.*; from 5.15.71 up to 5.15.*; from 5.19.12 up to 5.19.*; from 6.0 up to *)
- linux 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

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://git.kernel.org/stable/c/721ea8ac063d70c2078c4e762212705de6151764> (patch)
- <https://git.kernel.org/stable/c/5d75fef3e61e797fab5c3fbba88caa74ab92ad47> (patch)
- <https://git.kernel.org/stable/c/816eab147e5c6f6621922b8515ad9010ceb1735e> (patch)
- <https://git.kernel.org/stable/c/633c81c0449663f57d4138326d036dc6cfad674e> (patch)
- <https://git.kernel.org/stable/c/559c36c5a8d730c49ef805a72b213d3bba155cc8> (patch)

## Sources

- CVE List: [CVE-2022-48654](https://www.cve.org/CVERecord?id=CVE-2022-48654), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-48654](https://nvd.nist.gov/vuln/detail/CVE-2022-48654), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-48654 · Whole record: https://cve.day/CVE-2022-48654.json · Rebuilt by cve.day 2026-11-25T22:58:19.786Z
