{"id":"CVE-2022-48757","aliases":["CVE-2022-48757"],"related":[],"kind":"vulnerability","state":"published","title":"net: fix information leakage in /proc/net/ptype","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix information leakage in /proc/net/ptype\n\nIn one net namespace, after creating a packet socket without binding\nit to a device, users in other net namespaces can observe the new\n`packet_type` added by this packet socket by reading `/proc/net/ptype`\nfile. This is minor information leakage as packet socket is\nnamespace aware.\n\nAdd a net pointer in `packet_type` to keep the net namespace of\nof corresponding packet socket. In `ptype_seq_show`, this net pointer\nmust be checked when it is not NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix information leakage in /proc/net/ptype\n\nIn one net namespace, after creating a packet socket without binding\nit to a device, users in other net namespaces can observe the new\n`packet_type` added by this packet socket by reading `/proc/net/ptype`\nfile. This is minor information leakage as packet socket is\nnamespace aware.\n\nAdd a net pointer in `packet_type` to keep the net namespace of\nof corresponding packet socket. In `ptype_seq_show`, this net pointer\nmust be checked when it is not NULL.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: corrige la fuga de información en /proc/net/ptype en un espacio de nombres de red, después de crear un socket de paquetes sin vincularlo a un dispositivo, los usuarios de otros espacios de nombres de red pueden observar la nueva `packet_type` agregado por este socket de paquete leyendo el archivo `/proc/net/ptype`. Esta es una fuga de información menor ya que el socket del paquete reconoce el espacio de nombres. Agregue un puntero de red en `packet_type` para mantener el espacio de nombres de red del socket de paquete correspondiente. En `ptype_seq_show`, este puntero de red debe verificarse cuando no sea NULL.","source":"nvd"}],"published":"2024-06-20T11:13:36.529Z","modified":"2026-06-17T05:16:06.957Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-668"],"affected":[{"ranges":[{"type":"git","introduced":"2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50","fixed":"8f88c78d24f6f346919007cd459fd7e51a8c7779","status":"affected"},{"type":"git","introduced":"2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50","fixed":"be1ca30331c7923c6f376610c1bd6059be9b1908","status":"affected"},{"type":"git","introduced":"2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50","fixed":"c38023032a598ec6263e008d62c7f02def72d5c7","status":"affected"},{"type":"git","introduced":"2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50","fixed":"b67ad6170c0ea87391bb253f35d1f78857736e54","status":"affected"},{"type":"git","introduced":"2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50","fixed":"e372ecd455b6ebc7720f52bf4b5f5d44d02f2092","status":"affected"},{"type":"git","introduced":"2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50","fixed":"db044d97460ea792110eb8b971e82569ded536c6","status":"affected"},{"type":"git","introduced":"2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50","fixed":"e43669c77cb3a742b7d84ecdc7c68c4167a7709b","status":"affected"},{"type":"git","introduced":"2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50","fixed":"839ec7039513a4f84bfbaff953a9393471176bee","status":"affected"},{"type":"git","introduced":"2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50","fixed":"47934e06b65637c88a762d9c98329ae6e3238888","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.26","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.26","status":"unaffected"},{"type":"semver","introduced":"4.4.302","lastAffected":"4.4.*","status":"unaffected"},{"type":"semver","introduced":"4.9.300","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.265","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.228","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.176","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.96","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.19","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.5","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.26","fixed":"4.4.302"},{"status":"affected","introduced":"4.5","fixed":"4.9.300"},{"status":"affected","introduced":"4.10","fixed":"4.14.265"},{"status":"affected","introduced":"4.15","fixed":"4.19.228"},{"status":"affected","introduced":"4.20","fixed":"5.4.176"},{"status":"affected","introduced":"5.5","fixed":"5.10.96"},{"status":"affected","introduced":"5.11","fixed":"5.15.19"},{"status":"affected","introduced":"5.16","fixed":"5.16.5"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:10:16.134Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48757","url":"https://www.cve.org/CVERecord?id=CVE-2022-48757","licence":"CVE Terms of Use","modified":"2026-05-11T18:46:20.699Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48757","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48757","licence":"Public domain","modified":"2026-06-17T05:16:06.957Z"}],"updatedAt":"2026-11-25T22:58:19.853Z","epss":{"score":0.00222,"percentile":0.13685,"date":"2026-12-01T12:00:22.000Z"}}