net: slip: serialize receive against buffer reallocation
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ee7f9bb9320add61f7b367d7e6cd55e3a3a4d65d, Kernel 0e37bbd6d617eb52bace49390e99eaedc1af73ce, Kernel 189a550eb7e1dc10018718ddfc46d003ffe58653 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: net: slip: serialize receive against buffer reallocation sl_realloc_bufs() replaces rbuff and updates buffsize while holding sl->lock. slip_receive_buf() reads those fields and writes through rbuff without holding the lock. An MTU change can therefore race with receive processing. An MTU shrink can expose the new smaller rbuff with the old larger bound, causing an out-of-bounds write. A receive callback which already loaded the old rbuff can instead continue writing after that buffer has been freed. Serialize receive processing with sl_realloc_bufs() by holding sl->lock while consuming each receive batch.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ee7f9bb9320add61f7b367d7e6cd55e3a3a4d65d, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <0e37bbd6d617eb52bace49390e99eaedc1af73ce, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <189a550eb7e1dc10018718ddfc46d003ffe58653, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1be09d175b627fad7f6bec7ad27b8a4a99863912, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <44401f7dd9940ced7098930ef64f5a332f279fc2, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5d07b178bef511d69558cfc89fe1129258dc39f8, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8180daf2b66155f84ec4f9e3f95488c8a3421716, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <eb3836eab47487823f362e6985e170a1e15f20fd, =2.6.12 | ee7f9bb9320add61f7b367d7e6cd55e3a3a4d65d, 0e37bbd6d617eb52bace49390e99eaedc1af73ce, 189a550eb7e1dc10018718ddfc46d003ffe58653, 1be09d175b627fad7f6bec7ad27b8a4a99863912, 44401f7dd9940ced7098930ef64f5a332f279fc2, 5d07b178bef511d69558cfc89fe1129258dc39f8, 8180daf2b66155f84ec4f9e3f95488c8a3421716, eb3836eab47487823f362e6985e170a1e15f20fd |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=2.6.12 <5.10.265 | 5.15.216, 6.1.183, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket