CVE-2022-48757

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

HIGH
7.1
CVSS Score
Published: June 20, 2024 at 11:13 AM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.26 ≤ v < 4.14.2652.6.26 ≤ v < 4.19.2282.6.26 ≤ v < 4.4.3022.6.26 ≤ v < 4.9.3002.6.26 ≤ v < 5.10.962.6.26 ≤ v < 5.15.192.6.26 ≤ v < 5.16.52.6.26 ≤ v < 5.172.6.26 ≤ v < 5.4.1764.10 ≤ v < 4.14.2654.15 ≤ v < 4.19.2284.20 ≤ v < 5.4.1764.5 ≤ v < 4.9.3005.11 ≤ v < 5.15.195.16 ≤ v < 5.16.55.5 ≤ v < 5.10.962.6.262feb27dbe00cbb4f7d31f90acf6bd0d751dd0a505.17 rc1
Vendor states this is fixed in 47934e06b65637c88a762d9c98329ae6e3238888 (fixed)
Vendor states this is fixed in 839ec7039513a4f84bfbaff953a9393471176bee (fixed)
Vendor states this is fixed in 8f88c78d24f6f346919007cd459fd7e51a8c7779 (fixed)
Vendor states this is fixed in b67ad6170c0ea87391bb253f35d1f78857736e54 (fixed)
Vendor states this is fixed in be1ca30331c7923c6f376610c1bd6059be9b1908 (fixed)
Vendor states this is fixed in c38023032a598ec6263e008d62c7f02def72d5c7 (fixed)
Vendor states this is fixed in db044d97460ea792110eb8b971e82569ded536c6 (fixed)
Vendor states this is fixed in e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 (fixed)
Vendor states this is fixed in e43669c77cb3a742b7d84ecdc7c68c4167a7709b (fixed)
Vendor states this is fixed in 2.6.26 (unaffected)
Vendor states this is fixed in 4.14.265 (unaffected)
Vendor states this is fixed in 4.19.228 (unaffected)
Vendor states this is fixed in 4.4.302 (unaffected)
Vendor states this is fixed in 4.9.300 (unaffected)
Vendor states this is fixed in 5.10.96 (unaffected)
Vendor states this is fixed in 5.15.19 (unaffected)
Vendor states this is fixed in 5.16.5 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 5.4.176 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-668

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card