net: atm: reject out-of-range traffic classes in QoS validation
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: net: atm: reject out-of-range traffic classes in QoS validation Reject ATM traffic classes above ATM_ANYCLASS in check_tp(). SO_ATMQOS stores the supplied QoS after check_qos() succeeds, so accepting larger values leaves invalid traffic_class values in vcc->qos. That bad state later reaches pvc_info(), which indexes class_name[] with vcc->qos.{rx,tp}.traffic_class. Values above ATM_ANYCLASS cause an out-of-bounds read when /proc/net/atm/pvc is read. Tighten the existing QoS validation so invalid traffic_class values are rejected at the point where user supplied QoS is accepted.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 1a6dda72455b399ce9c1a12695471dc4d5c61add; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 2b3e241729e87afed13ac0f666472d5d6ca42e87; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 367acd288bc6255e247cb1a1efbf5c6567cab423; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 513f820b3f0cf4462e17d84c39ed3948d061a6ea; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 15444b57fdc6fc3f3e22a87f791ae5be81e6ecf5; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in e62adb157c2eaad9ad4867ec6cd9af5b9a51b1c7; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 806b7b6edc8446e8b94b706807a7090a14d47b5c; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in cdf19f380e46192e7084be559638aab1f6ed86a2
- Linux Linux
2.6.12
- KernelLinux
From 2.6.12 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5
References 8
git.kernel.org
- stable/c/1a6dda72455b399ce9c1a12695471dc4d5c61add
- stable/c/2b3e241729e87afed13ac0f666472d5d6ca42e87
- stable/c/367acd288bc6255e247cb1a1efbf5c6567cab423
- stable/c/513f820b3f0cf4462e17d84c39ed3948d061a6ea
- stable/c/15444b57fdc6fc3f3e22a87f791ae5be81e6ecf5
- stable/c/e62adb157c2eaad9ad4867ec6cd9af5b9a51b1c7
- stable/c/806b7b6edc8446e8b94b706807a7090a14d47b5c
- stable/c/cdf19f380e46192e7084be559638aab1f6ed86a2