Hexret
CVE-2021-33909high 7.8PoC available

Sequoia: size_t-to-int truncation in the Linux kernel seq_file path helper

A path buffer size held as a size_t is passed into an int length parameter; a buffer over 2GB narrows to a negative int, defeats a bounds guard, and drives a fixed out-of-bounds write below the kernel buffer.

Product
Linux kernel (fs/seq_file.c)
Vendor
Linux
Affected
3.16 through 5.13.3
Fixed in
5.13.4 (and stable backports: 5.10.52, 5.4.134, and earlier series)
Weakness
CWE-190
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
20 Jul 2021

Practice this CVE, free

Classified as

References

Related CVEs