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
net: qrtr: fix 32-bit integer overflow in qrtr_endpoint_post()

In the Linux kernel, the following vulnerability has been resolved: net: qrtr: fix 32-bit integer overflow in qrtr_endpoint_post() qrtr_endpoint_post() validates an incoming packet with if (!size || len != ALIGN(size, 4) + hdrlen) goto err; where size comes from the wire. On 32-bit, size_t is 32 bits and ALIGN(size, 4) wraps to 0 for size >= 0xfffffffd, so the check passes and skb_put_data(skb, data + hdrlen, size) writes past the hdrlen-sized skb and oopses the kernel. 64-bit is unaffected. This is the 32-bit residual of ad9d24c9429e2 ("net: qrtr: fix OOB Read in qrtr_endpoint_post"), which fixed only the 64-bit case. Reject any size that cannot fit the buffer before the ALIGN.

Affected products

Linux
  • <20054869770c7df060c5ecee3e8bbf9029c47191
  • <4.20
  • =<6.6.*
  • =<*
  • ==19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe
  • <5.13
  • =<7.1.*
  • =<5.10.*
  • <689b7267f8632b4661879dc323e26ebb60978afb
  • ==5.13
  • <3665e644ea081c4624a1637023b0de3b29f4ae04
  • =<6.18.*
  • <b609f7f46916c6b05585ca82455077198a23770f
  • <242408b5b763c01288adf3113cbce84378a76e1a
  • =<6.1.*
  • <d0597074e99731fdad5593e4f6d056a3866f2cab
  • ==26b8d10703a9be45d6097946b2b4011f7dd2c56f
  • =<6.12.*
  • <5.13
  • =<5.15.*
  • <22100a8f73d4ae4f17697dae93d4e2e1d283a6ec
  • ==f8111c0d7ed42ede41a3d0d393b104de0730a8a6
  • <5.10.261
  • <5.5
  • <7f72c285f6d3bf63968a0344beee8ab1b370198b