7.1
HIGH CVSS 3.1
CVE-2022-48757
net: fix information leakage in /proc/net/ptype
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.

INFO

Published Date :

June 20, 2024, 12:15 p.m.

Last Modified :

Sept. 17, 2025, 5:13 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2022-48757 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
To address the information leakage vulnerability in the Linux kernel, update the kernel packages.
  • Update the affected kernel packages.
  • Reboot the system if required.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-48757.

URL Resource
https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888 Patch
https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee Patch
https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779 Patch
https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54 Patch
https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908 Patch
https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7 Patch
https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6 Patch
https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 Patch
https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b Patch
https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888 Patch
https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee Patch
https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779 Patch
https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54 Patch
https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908 Patch
https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7 Patch
https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6 Patch
https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 Patch
https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b Patch
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-48757 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-48757 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-48757 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-48757 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 17, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
    Added CWE CWE-668
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.5 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.228 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.265 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.96 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.26 up to (excluding) 4.4.302 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.9.300 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.176
    Added Reference Type CVE: https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b Types: Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888
    Added Reference https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee
    Added Reference https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779
    Added Reference https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54
    Added Reference https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908
    Added Reference https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7
    Added Reference https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6
    Added Reference https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092
    Added Reference https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 20, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact