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 3 weeks, 3 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
dibs: loopback: validate offset and size in move_data()

In the Linux kernel, the following vulnerability has been resolved: dibs: loopback: validate offset and size in move_data() The loopback move_data() performs a memcpy into the registered DMB without checking whether offset + size exceeds the DMB length. Unlike real ISM hardware, which enforces memory region bounds natively, the software loopback has no such protection. A peer-supplied out-of-bounds offset or oversized write would result in an OOB write past the allocated kernel buffer. Add an explicit bounds check before the memcpy to reject such requests with -EINVAL.

Affected products

Linux
  • <94fe0ab01b480b52bd8f977edbd845ef375d69fd
  • <b2f426a9a22886071966432ede8fceafffe12b8c
  • ==6.10
  • =<*
  • <78237e3c0720fcc6eb9b87e90fd70f63eeca886f
  • =<6.18.*
  • =<6.12.*
  • =<7.1.*
  • <ee188a6b264b71315a67f1b9470faad308b730d2
  • <6.10