{"api_version":"1","generated_at":"2026-04-23T02:58:38+00:00","cve":"CVE-2021-38166","urls":{"html":"https://cve.report/CVE-2021-38166","api":"https://cve.report/api/cve/CVE-2021-38166.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-38166","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-38166"},"summary":{"title":"CVE-2021-38166","description":"In kernel/bpf/hashtab.c in the Linux kernel through 5.13.8, there is an integer overflow and out-of-bounds write when many elements are placed in a single bucket. NOTE: exploitation might be impractical without the CAP_SYS_ADMIN capability.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-08-07 18:15:00","updated_at":"2023-11-07 03:37:00"},"problem_types":["CWE-787","CWE-190"],"metrics":[],"references":[{"url":"https://security.netapp.com/advisory/ntap-20210909-0001/","name":"https://security.netapp.com/advisory/ntap-20210909-0001/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-38166 Linux Kernel Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/","name":"FEDORA-2021-f35f45a76f","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: kernel-5.13.10-200.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6","name":"https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6","refsource":"MISC","tags":[],"title":"kernel/git/bpf/bpf.git - BPF kernel tree","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/","name":"FEDORA-2021-f35f45a76f","refsource":"FEDORA","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/","name":"FEDORA-2021-b22606e88b","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: kernel-5.13.10-100.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu@gmail.com/","name":"https://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu@gmail.com/","refsource":"MISC","tags":[],"title":"[PATCH v2] bpf: Fix integer overflow involving bucket_size - Tatsuhiko Yasumatsu","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2021/dsa-4978","name":"DSA-4978","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-4978-1 linux","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu%40gmail.com/","name":"https://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu%40gmail.com/","refsource":"","tags":[],"title":"[PATCH v2] bpf: Fix integer overflow involving bucket_size - Tatsuhiko Yasumatsu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/","name":"FEDORA-2021-b22606e88b","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: kernel-5.13.10-100.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-38166","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38166","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"38166","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"38166","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"38166","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"38166","vulnerable":"1","versionEndIncluding":"5.13.8","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-38166","qid":"178809","title":"Debian Security Update for linux (DSA 4978-1)"},{"cve":"CVE-2021-38166","qid":"184775","title":"Debian Security Update for linux (CVE-2021-38166)"},{"cve":"CVE-2021-38166","qid":"198524","title":"Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5096-1)"},{"cve":"CVE-2021-38166","qid":"198540","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5113-1)"},{"cve":"CVE-2021-38166","qid":"198542","title":"Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5115-1)"},{"cve":"CVE-2021-38166","qid":"281818","title":"Fedora Security Update for kernel (FEDORA-2021-f35f45a76f)"},{"cve":"CVE-2021-38166","qid":"281819","title":"Fedora Security Update for kernel (FEDORA-2021-b22606e88b)"},{"cve":"CVE-2021-38166","qid":"353155","title":"Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2022-005"},{"cve":"CVE-2021-38166","qid":"610372","title":"Google Pixel Android October 2021 Security Patch Missing"},{"cve":"CVE-2021-38166","qid":"6140332","title":"AWS Bottlerocket Security Update for kernel (GHSA-mjfv-5x2p-6cp6)"},{"cve":"CVE-2021-38166","qid":"751160","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:3179-1)"},{"cve":"CVE-2021-38166","qid":"751170","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:3205-1)"},{"cve":"CVE-2021-38166","qid":"900294","title":"CBL-Mariner Linux Security Update for kernel 5.10.52.1"},{"cve":"CVE-2021-38166","qid":"900302","title":"CBL-Mariner Linux Security Update for kernel 5.10.57.1"},{"cve":"CVE-2021-38166","qid":"900319","title":"CBL-Mariner Linux Security Update for kernel 5.10.60.1"},{"cve":"CVE-2021-38166","qid":"900961","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (6581-1)"},{"cve":"CVE-2021-38166","qid":"903042","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (5156)"},{"cve":"CVE-2021-38166","qid":"906140","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (5156-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-38166","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In kernel/bpf/hashtab.c in the Linux kernel through 5.13.8, there is an integer overflow and out-of-bounds write when many elements are placed in a single bucket. NOTE: exploitation might be impractical without the CAP_SYS_ADMIN capability."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu@gmail.com/","refsource":"MISC","name":"https://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu@gmail.com/"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6","refsource":"MISC","name":"https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6"},{"refsource":"FEDORA","name":"FEDORA-2021-b22606e88b","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/"},{"refsource":"FEDORA","name":"FEDORA-2021-f35f45a76f","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20210909-0001/","url":"https://security.netapp.com/advisory/ntap-20210909-0001/"},{"refsource":"DEBIAN","name":"DSA-4978","url":"https://www.debian.org/security/2021/dsa-4978"}]}},"nvd":{"publishedDate":"2021-08-07 18:15:00","lastModifiedDate":"2023-11-07 03:37:00","problem_types":["CWE-787","CWE-190"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.6},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndIncluding":"5.13.8","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"38166","Ordinal":"213777","Title":"CVE-2021-38166","CVE":"CVE-2021-38166","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"38166","Ordinal":"1","NoteData":"In kernel/bpf/hashtab.c in the Linux kernel through 5.13.8, there is an integer overflow and out-of-bounds write when many elements are placed in a single bucket. NOTE: exploitation might be impractical without the CAP_SYS_ADMIN capability.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"38166","Ordinal":"2","NoteData":"2021-08-07","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"38166","Ordinal":"3","NoteData":"2021-09-25","Type":"Other","Title":"Modified"}]}}}