CVE-2021-33909
fs/seq_file.c in the Linux kernel 3.16 through 5.13.x before 5.13.4 does not properly restrict seq buffer allocations, leading to an integer overflow, an Out-of-bounds Write, and escalation to root by
02 Description
fs/seq_file.c in the Linux kernel 3.16 through 5.13.x before 5.13.4 does not properly restrict seq buffer allocations, leading to an integer overflow, an Out-of-bounds Write, and escalation to root by
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 9.72% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 95.0% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-07-20 18:01Z5 YR AGO
- Last updated
- 2024-08-04 00:05Z2 YR AGO
- Reserved
- 2021-06-07
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 569ed0ed47197a97074074c33419aa37b3b1f22e5ef3468c232ba0705ee23745
05 Affected products
06 References
- lists.debian.org[debian-lts-announce] 20210720 [SECURITY] [DLA 2713-2] linux security updatehttps://lists.debian.org/debian-lts-announce/2021/07/msg00016.html
- lists.debian.org[debian-lts-announce] 20210720 [SECURITY] [DLA 2713-1] linux security updatehttps://lists.debian.org/debian-lts-announce/2021/07/msg00014.html
- lists.debian.org[debian-lts-announce] 20210720 [SECURITY] [DLA 2714-1] linux-4.19 security updatehttps://lists.debian.org/debian-lts-announce/2021/07/msg00015.html
- www.debian.orgDSA-4941https://www.debian.org/security/2021/dsa-4941
- lists.fedoraproject.orgFEDORA-2021-07dc0b3eb1https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z4UHHIGISO3FVRF4CQNJS4IKA25ATSFU/
- www.openwall.com[oss-security] 20210722 Re: CVE-2021-33909: size_t-to-int vulnerability in Linux's filesystem layerhttp://www.openwall.com/lists/oss-security/2021/07/22/7
- www.openwall.com[oss-security] 20210825 Re: CVE-2021-33909: size_t-to-int vulnerability in Linux's filesystem layerhttp://www.openwall.com/lists/oss-security/2021/08/25/10
- www.openwall.com[oss-security] 20210916 Containers-optimized OS (COS) membership in the linux-distros listhttp://www.openwall.com/lists/oss-security/2021/09/17/2
- www.openwall.com[oss-security] 20210917 Re: Containers-optimized OS (COS) membership in the linux-distros listhttp://www.openwall.com/lists/oss-security/2021/09/17/4
- www.openwall.com[oss-security] 20210920 Re: Containers-optimized OS (COS) membership in the linux-distros listhttp://www.openwall.com/lists/oss-security/2021/09/21/1
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujan2022.html
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2021/07/20/1
- github.comhttps://github.com/torvalds/linux/commit/8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b
- cdn.kernel.orghttps://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.4
- packetstormsecurity.comhttp://packetstormsecurity.com/files/163621/Sequoia-A-Deep-Root-In-Linuxs-Filesystem-Layer.html
- packetstormsecurity.comhttp://packetstormsecurity.com/files/163671/Kernel-Live-Patch-Security-Notice-LSN-0079-1.html
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210819-0004/
- packetstormsecurity.comhttp://packetstormsecurity.com/files/164155/Kernel-Live-Patch-Security-Notice-LSN-0081-1.html
- packetstormsecurity.comhttp://packetstormsecurity.com/files/165477/Kernel-Live-Patch-Security-Notice-LSN-0083-1.html
- psirt.global.sonicwall.comhttps://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015
07 Fixed in
AlmaLinux 8
- kernel-tools-libs-devel Fixed in 4.18.0-305.10.2.el8_4
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- linux Fixed in 5.13.4.arch1-1
- linux-hardened Fixed in 5.12.19.hardened1-1
- linux-lts Fixed in 5.10.52-1
- linux-zen Fixed in 5.13.4.zen1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- kernel-tools-libs-devel Fixed in 4.18.0-305.10.2.el8_4
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- linux Fixed in 5.10.46-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 5.10.46-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 5.10.46-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux-hwe-edge No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux Fixed in 4.15.0-151.157
- linux-aws Fixed in 4.15.0-1109.116
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-aws-5.4 Fixed in 5.4.0-1054.57~18.04.1
- linux-azure No fix yet
- linux-azure-4.15 Fixed in 4.15.0-1121.134
- linux-azure-5.3 No fix yet
- linux-azure-5.4 Fixed in 5.4.0-1055.57~18.04.1
- linux-azure-edge No fix yet
- linux-dell300x Fixed in 4.15.0-1027.32
- linux-gcp No fix yet
- linux-gcp-4.15 Fixed in 4.15.0-1106.120
- linux-gcp-5.3 No fix yet
- linux-gcp-5.4 Fixed in 5.4.0-1049.53~18.04.1
- linux-gcp-edge No fix yet
- linux-gke-4.15 No fix yet
- linux-gke-5.3 Fixed in 5.3.0-1045.48
- linux-gke-5.4 Fixed in 5.4.0-1049.52~18.04.1
- linux-gkeop-5.4 Fixed in 5.4.0-1021.22~18.04.1
- linux-hwe Fixed in 5.3.0-76.72
- linux-hwe-5.4 Fixed in 5.4.0-80.90~18.04.1
- linux-hwe-edge No fix yet
- linux-kvm Fixed in 4.15.0-1097.99
- linux-oem No fix yet
- linux-oracle Fixed in 4.15.0-1078.86
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
- linux-oracle-5.4 Fixed in 5.4.0-1052.56~18.04.1
- linux-raspi-5.4 Fixed in 5.4.0-1041.45~18.04.1
- linux-raspi2 Fixed in 4.15.0-1092.98
- linux-raspi2-5.3 Fixed in 5.3.0-1042.44
- linux-snapdragon Fixed in 4.15.0-1109.118
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux Fixed in 5.4.0-80.90
- linux-aws Fixed in 5.4.0-1054.57
- linux-aws-5.11 Fixed in 5.11.0-1014.15~20.04.1
- linux-aws-5.8 Fixed in 5.8.0-1041.43~20.04.1
- linux-azure Fixed in 5.4.0-1055.57
- linux-azure-5.11 Fixed in 5.11.0-1012.13~20.04.1
- linux-azure-5.8 Fixed in 5.8.0-1039.42~20.04.1
- linux-bluefield Fixed in 5.4.0-1016.19
- linux-gcp Fixed in 5.4.0-1049.53
- linux-gcp-5.11 Fixed in 5.11.0-1014.16~20.04.1
- linux-gcp-5.8 Fixed in 5.8.0-1038.40~20.04.1
- linux-gke Fixed in 5.4.0-1049.52
- linux-gkeop Fixed in 5.4.0-1021.22
- linux-hwe-5.11 Fixed in 5.11.0-25.27~20.04.1
- linux-hwe-5.8 Fixed in 5.8.0-63.71~20.04.1
- linux-kvm Fixed in 5.4.0-1044.46
- linux-oem-5.10 Fixed in 5.10.0-1038.40
- linux-oem-5.6 No fix yet
- linux-oracle Fixed in 5.4.0-1052.56
- linux-oracle-5.11 Fixed in 5.11.0-1013.14~20.04.1
- linux-oracle-5.8 Fixed in 5.8.0-1037.38~20.04.1
- linux-raspi Fixed in 5.4.0-1041.45
- linux-raspi2 No fix yet
- linux-riscv No fix yet
- linux-riscv-5.8 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux-intel-iot-realtime No fix yet
- linux-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux-raspi-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- linux Fixed in 3.13.0-186.237Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws Fixed in 4.4.0-1094.99Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1121.134~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-lts-xenial Fixed in 4.4.0-212.244~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- linux Fixed in 4.4.0-212.244Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws Fixed in 4.4.0-1130.144Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws-hwe Fixed in 4.15.0-1109.116~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1121.134~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-gcp Fixed in 4.15.0-1106.120~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-hwe Fixed in 4.15.0-151.157~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-kvm Fixed in 4.4.0-1095.104Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-oracle Fixed in 4.15.0-1078.86~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 16.04 LTS
- linux-fips Fixed in 4.4.0-1064.70Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 18.04 LTS
- linux-aws-fips Fixed in 4.15.0-2051.53Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 4.15.0-2033.37Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 4.15.0-1066.75Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 4.15.0-2016.18Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 20.04 LTS
- linux-aws-fips Fixed in 5.4.0-1069.73+fips2Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 5.4.0-1073.76+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 5.4.0-1031.36Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 5.4.0-1067.71~20.04.1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 16.04 LTS
- linux-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 18.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 20.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.