CVE-2022-48757 json
net: fix information leakage in /proc/net/ptype
published 2024-06-20 2 y ago modified 2026-06-17 4 mo ago also EUVD-2022-53636
- cvss
- 7.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.4.302, 4.9.300, 4.14.265, 4.19.228, 5.4.176, 5.10.96, 5.15.19, 5.16.5, 5.17
- linux Debian 14, Debian 13, Debian 12 5.16.7-1
debian advisories DEBIAN-CVE-2022-48757
- linux Ubuntu 18.04 LTS 4.15.0-176.185
- linux Ubuntu 20.04 LTS 5.4.0-109.123
- linux-aws Ubuntu 18.04 LTS 4.15.0-1127.136
- linux-aws Ubuntu 20.04 LTS 5.4.0-1072.77
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1072.77
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1020.22
- linux-iot Ubuntu 20.04 LTS 5.4.0-1004.6
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1113.116
ubuntu advisories UBUNTU-CVE-2022-48757
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt RHEL 8 4.18.0-553.16.1.rt7.357.el8_10
- kernel-rt-kvm RHEL 8 4.18.0-553.16.1.rt7.357.el8_10
- kernel-rt-core RHEL 8 4.18.0-553.16.1.rt7.357.el8_10
- kernel-rt-modules RHEL 8 4.18.0-553.16.1.rt7.357.el8_10
- kernel-rt-debug-kvm RHEL 8 4.18.0-553.16.1.rt7.357.el8_10
- kernel-rt-debug-core RHEL 8 4.18.0-553.16.1.rt7.357.el8_10
- kernel-rt-debug-modules RHEL 8 4.18.0-553.16.1.rt7.357.el8_10
- kernel-rt-modules-extra RHEL 8 4.18.0-553.16.1.rt7.357.el8_10
red hat advisories RHSA-2024:5102RHSA-2024:5101RHSA-2024:6206
- kernel AlmaLinux 8 4.18.0-553.16.1.el8_10
- perf AlmaLinux 8 4.18.0-553.16.1.el8_10
- bpftool AlmaLinux 8 4.18.0-553.16.1.el8_10
- kernel-core AlmaLinux 8 4.18.0-553.16.1.el8_10
- kernel-tools AlmaLinux 8 4.18.0-553.16.1.el8_10
- python3-perf AlmaLinux 8 4.18.0-553.16.1.el8_10
- kernel-modules AlmaLinux 8 4.18.0-553.16.1.el8_10
- kernel-zfcpdump AlmaLinux 8 4.18.0-553.16.1.el8_10
almalinux advisories ALSA-2024:5101ALSA-2024:5102
- kernel Rocky Linux 8 4.18.0-553.16.1.el8_10.cloud.0.1
- kernel-rt Rocky Linux 8 4.18.0-553.16.1.rt7.357.el8_10
- kernel Rocky Linux 8 4.18.0-553.16.1.el8_10
rocky linux advisories RXSA-2024:5101RLSA-2024:5102RLSA-2024:5101
- git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779 commit
- git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908 commit
- git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7 commit
- git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54 commit
- git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 commit
- git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6 commit
- git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b commit
- git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee commit
- git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48757 updated cvss 3.3
kernel: net: fix information leakage in /proc/net/ptype
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 moreaffected: no fix available “Fix deferred”
-
Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-debuginfo-common-x86_64 4.18.0-477.70.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.70.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.70.1.el8_8fixed: vendor fix RHSA-2024:6206
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.16.1.el8_10, kernel 4.18.0-553.16.1.el8_10, bpftool 4.18.0-553.16.1.el8_10, kernel-core 4.18.0-553.16.1.el8_10, kernel-tools 4.18.0-553.16.1.el8_10, python3-perf 4.18.0-553.16.1.el8_10, +15 morefixed: vendor fix RHSA-2024:5101
-
Red Hat Enterprise Linux BaseOS EUS (v.8.8) perf 4.18.0-477.70.1.el8_8, kernel 4.18.0-477.70.1.el8_8, bpftool 4.18.0-477.70.1.el8_8, kernel-core 4.18.0-477.70.1.el8_8, kernel-tools 4.18.0-477.70.1.el8_8, python3-perf 4.18.0-477.70.1.el8_8, +15 morefixed: vendor fix RHSA-2024:6206
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.16.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.16.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.16.1.el8_10fixed: vendor fix RHSA-2024:5101
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-kvm 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-core 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-modules 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-debug-kvm 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-debug-core 4.18.0-553.16.1.rt7.357.el8_10, +4 more Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-core 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-modules 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-debug-core 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-debug-modules 4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-modules-extra 4.18.0-553.16.1.rt7.357.el8_10, +2 morefixed: vendor fix RHSA-2024:5102
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-668 Exposure of Resource to Wrong Sphere
- Technology feeds
References
-
git.kernel.org
/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779
patch
-
git.kernel.org
/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908
patch
-
git.kernel.org
/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7
patch
-
git.kernel.org
/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54
patch
-
git.kernel.org
/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092
patch
-
git.kernel.org
/stable/c/db044d97460ea792110eb8b971e82569ded536c6
patch
-
git.kernel.org
/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b
patch
-
git.kernel.org
/stable/c/839ec7039513a4f84bfbaff953a9393471176bee
patch
-
git.kernel.org
/stable/c/47934e06b65637c88a762d9c98329ae6e3238888
patch
Sources
- CVE List CVE-2022-48757
- NVD CVE-2022-48757
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.