{"schemaVersion":3,"id":"CVE-2021-38300","aliases":["UBUNTU-CVE-2021-38300","DEBIAN-CVE-2021-38300"],"status":"published","duplicateOf":null,"title":null,"description":"arch/mips/net/bpf_jit.c in the Linux kernel before 5.4.10 can generate undesirable machine code when transforming unprivileged cBPF programs, allowing execution of arbitrary code within the kernel context. This occurs because conditional branches can exceed the 128 KB limit of the MIPS architecture.","dates":{"published":"2021-09-20T05:25:30.000Z","modified":"2024-08-04T01:37:16.284Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00583,"percentile":0.46846,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.03800000000000001,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00621},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00597,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00583,"percentile":0.46846}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00597,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00583,"percentile":0.46846}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_359AF19F0DBCDCFB","name":"Exploit Reference (git.kernel.org)","source":"reference","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=37cb28ec7d3a36a5bace7063a3dba633ab110f8b","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[],"affected":[{"vendor":"debian","product":"linux","name":"linux","label":"linux","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/linux","purlType":"deb","versions":[{"text":"< 5.14.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.14.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-aws-fips","name":"linux-aws-fips","label":"linux-aws-fips","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-aws-fips","purlType":"deb","versions":[{"text":"< 4.15.0-2059.61","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.4.0-1069.73+fips2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-2059.61 | All versions (No fix recorded) | < 5.4.0-1069.73+fips2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-azure-fips","name":"linux-azure-fips","label":"linux-azure-fips","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-azure-fips","purlType":"deb","versions":[{"text":"< 4.15.0-2041.45","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.4.0-1073.76+fips1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-2041.45 | All versions (No fix recorded) | < 5.4.0-1073.76+fips1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-fips","name":"linux-fips","label":"linux-fips","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-fips","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 4.15.0-1075.84","noFixRecorded":false,"fixedIn":null},{"text":"< 5.4.0-1038.44","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 4.15.0-1075.84 | < 5.4.0-1038.44","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-gcp-fips","name":"linux-gcp-fips","label":"linux-gcp-fips","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-gcp-fips","purlType":"deb","versions":[{"text":"< 4.15.0-2024.26","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.4.0-1067.71~20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-2024.26 | All versions (No fix recorded) | < 5.4.0-1067.71~20.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-hwe-5.13","name":"linux-hwe-5.13","label":"linux-hwe-5.13","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-hwe-5.13","purlType":"deb","versions":[{"text":"< 5.13.0-23.23~20.04.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.13.0-23.23~20.04.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-intel-iot-realtime","name":"linux-intel-iot-realtime","label":"linux-intel-iot-realtime","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-intel-iot-realtime","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-raspi-realtime","name":"linux-raspi-realtime","label":"linux-raspi-realtime","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-raspi-realtime","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-realtime","name":"linux-realtime","label":"linux-realtime","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-realtime","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"linux","product":"linux_kernel","name":"linux kernel","label":"linux_kernel","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ 3.16, < 4.14.251","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.15, < 4.19.211","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.20, < 5.4.153","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.5, < 5.10.71","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.11, < 5.14.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.16, < 4.14.251 | ≥ 4.15, < 4.19.211 | ≥ 4.20, < 5.4.153 | ≥ 5.5, < 5.10.71 | ≥ 5.11, < 5.14.10","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"linux","label":"Linux Kernel","category":"os"}},"hubHref":"/vendor/linux/linux_kernel"},{"vendor":"netapp","product":"cloud_backup","name":"cloud backup","label":"cloud_backup","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/cloud_backup"},{"vendor":"netapp","product":"h300e_firmware","name":"h300e firmware","label":"h300e_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h300e"},{"vendor":"netapp","product":"h300s_firmware","name":"h300s firmware","label":"h300s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h300s"},{"vendor":"netapp","product":"h410c_firmware","name":"h410c firmware","label":"h410c_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h410c"},{"vendor":"netapp","product":"h410s_firmware","name":"h410s firmware","label":"h410s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h410s"},{"vendor":"netapp","product":"h500e_firmware","name":"h500e firmware","label":"h500e_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h500e"},{"vendor":"netapp","product":"h500s_firmware","name":"h500s firmware","label":"h500s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h500s"},{"vendor":"netapp","product":"h700e_firmware","name":"h700e firmware","label":"h700e_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h700e"},{"vendor":"netapp","product":"h700s_firmware","name":"h700s firmware","label":"h700s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h700s"}],"affectedCount":20,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.openwall.com/lists/oss-security/2021/09/15/5","label":"www.openwall.com/lists/oss-security/2021/09/15/5","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20211008-0003/","label":"security.netapp.com/advisory/ntap-20211008-0003/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=37cb28ec7d3a36a5bace7063a3dba633ab110f8b","label":"git.kernel.org/pub/…","hostname":"git.kernel.org","tags":["X Refsource CONFIRM","Exploit","Mailing List","Patch","Vendor Advisory"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.10","label":"cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.10","hostname":"cdn.kernel.org","tags":["X Refsource CONFIRM","Mailing List","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html","label":"lists.debian.org/debian-lts-announce/2022/03/msg00012.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5096","label":"www.debian.org/security/2022/dsa-5096","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-38300","label":"ubuntu.com/security/CVE-2021-38300","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2021/09/15/5","label":"www.openwall.com/lists/oss-security/2021/09/15/5","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://lore.kernel.org/bpf/20210915160437.4080-1-piotras@gmail.com/","label":"lore.kernel.org/bpf/20210915160437.4080-1-piotras@gmail.com/","hostname":"lore.kernel.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-38300","label":"www.cve.org/CVERecord?id=CVE-2021-38300","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-38300","label":"security-tracker.debian.org/tracker/CVE-2021-38300","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38300","label":"nvd.nist.gov/vuln/detail/CVE-2021-38300","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2941-1","DSA-5096-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-09-20T05:25:30.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T01:37:16.284Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:55:55.949Z","stale":false,"partial":false}}