# CVE-2022-48757: net: fix information leakage in /proc/net/ptype

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-06-20T11:13:36.529Z
- Modified: 2026-06-17T05:16:06.957Z
- Weaknesses: CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

net: fix information leakage in /proc/net/ptype

In one net namespace, after creating a packet socket without binding
it to a device, users in other net namespaces can observe the new
`packet_type` added by this packet socket by reading `/proc/net/ptype`
file. This is minor information leakage as packet socket is
namespace aware.

Add a net pointer in `packet_type` to keep the net namespace of
of corresponding packet socket. In `ptype_seq_show`, this net pointer
must be checked when it is not NULL.

(As written by CVE List.)

## Affected

- Linux Linux: from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50 before 8f88c78d24f6f346919007cd459fd7e51a8c7779; from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50 before be1ca30331c7923c6f376610c1bd6059be9b1908; from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50 before c38023032a598ec6263e008d62c7f02def72d5c7; from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50 before b67ad6170c0ea87391bb253f35d1f78857736e54; from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50 before e372ecd455b6ebc7720f52bf4b5f5d44d02f2092; from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50 before db044d97460ea792110eb8b971e82569ded536c6; from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50 before e43669c77cb3a742b7d84ecdc7c68c4167a7709b; from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50 before 839ec7039513a4f84bfbaff953a9393471176bee; from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50 before 47934e06b65637c88a762d9c98329ae6e3238888; 2.6.26 (not affected: before 2.6.26; from 4.4.302 up to 4.4.*; from 4.9.300 up to 4.9.*; from 4.14.265 up to 4.14.*; from 4.19.228 up to 4.19.*; from 5.4.176 up to 5.4.*; from 5.10.96 up to 5.10.*; from 5.15.19 up to 5.15.*; from 5.16.5 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 2.6.26 before 4.4.302; from 4.5 before 4.9.300; from 4.10 before 4.14.265; from 4.15 before 4.19.228; from 4.20 before 5.4.176; from 5.5 before 5.10.96; from 5.11 before 5.15.19; from 5.16 before 5.16.5; 5.17

## References

- <https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779> (patch)
- <https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908> (patch)
- <https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7> (patch)
- <https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54> (patch)
- <https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092> (patch)
- <https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6> (patch)
- <https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b> (patch)
- <https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee> (patch)
- <https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888> (patch)

## Sources

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

---

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