Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 4 weeks ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
net: slip: serialize receive against buffer reallocation

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 products

Linux
  • <5d07b178bef511d69558cfc89fe1129258dc39f8
  • =<6.6.*
  • =<*
  • <44401f7dd9940ced7098930ef64f5a332f279fc2
  • =<6.18.*
  • =<6.12.*
  • <2.6.12
  • =<7.1.*
  • ==2.6.12
  • <ee7f9bb9320add61f7b367d7e6cd55e3a3a4d65d
  • <0e37bbd6d617eb52bace49390e99eaedc1af73ce
  • <eb3836eab47487823f362e6985e170a1e15f20fd