CVE-2021-47240: Linux Kernel

High severity, CVSS 7.1. EPSS: 0.2% chance of exploitation in the next 30 days.

In the Linux kernel, the following vulnerability has been resolved: net: qrtr: fix OOB Read in qrtr_endpoint_post Syzbot reported slab-out-of-bounds Read in qrtr_endpoint_post. The problem was in wrong _size_ type: if (len != ALIGN(size, 4) + hdrlen) goto err; If size from qrtr_hdr is 4294967293 (0xfffffffd), the result of ALIGN(size, 4) will be 0. In case of len == hdrlen and size == 4294967293 in header this check won't fail and skb_put_data(skb, data + hdrlen, size); will read out of bound from data, which is hdrlen allocated block.

Affected products

  • Linux Linux Kernel: from 4.15, before 4.19.196 (fixed in 4.19.196); from 4.20, before 5.4.128 (fixed in 5.4.128); from 5.5, before 5.10.46 (fixed in 5.10.46); from 5.11, before 5.12.13 (fixed in 5.12.13); version 5.13 only

Published 2024-05-21. Last modified 2026-08-04.