{"id":"CVE-2021-0399","aliases":["A-176919394","ASB-A-176919394","EUVD-2021-3018","GHSA-hc9r-vrrg-qrww"],"status":"published","title":"In qtaguid_untag of xt_qtaguid.c, there is a possible memory corruption due to a use after free....","description":"In qtaguid_untag of xt_qtaguid.c, there is a possible memory corruption due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-176919394References: Upstream kernel","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00382,"percentile":0.32493,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-416"],"published":"2021-03-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","exploits":[{"source":"pocgithub","id":"nipund513/Exploiting-UAF-by-Ret2bpf-in-Android-Kernel-CVE-2021-0399-","title":"nipund513/Exploiting-UAF-by-Ret2bpf-in-Android-Kernel-CVE-2021-0399-","date":"2023-03-15","url":"https://github.com/nipund513/Exploiting-UAF-by-Ret2bpf-in-Android-Kernel-CVE-2021-0399-"}],"fixes":[{"ecosystem":"Android","package":":linux_kernel:","fixed_in":[":2021-03-05"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":":linux_kernel:","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":":0"},{"fixed":":2021-03-05"}]}],"versions":["Kernel"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/2021-03-01","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0399"},{"url":"https://github.com/advisories/GHSA-hc9r-vrrg-qrww"},{"url":"https://android.googlesource.com/kernel/common/+/c2ab93b45b5cdc426868fb8793ada2cac20568ef","tags":["fix"]},{"url":"https://android.googlesource.com/kernel/common/+/df8ce9235e1d1e7d46904bfdbf715aa2c62c0b7e","tags":["fix"]},{"url":"https://android.googlesource.com/kernel/common/+/964d3c5a33b1f899a79f55741f9660b7ed2e9c83","tags":["fix"]},{"url":"https://android.googlesource.com/kernel/common/+/3bb3f19d2f63a4c559645abef673a7ca25b149b7","tags":["fix"]},{"url":"https://android.googlesource.com/kernel/common/+/8f9138d6c464a60f37f1b293bc61ccbcce6210f6","tags":["fix"]},{"url":"https://android.googlesource.com/kernel/common/+/9290e39a55a98d1788f4d532333bd58b1acf0e10","tags":["fix"]},{"url":"https://android.googlesource.com/kernel/common/+/b89f039e8218beb29c06bb7e957c4eb57bbcdecc","tags":["fix"]},{"url":"https://android.googlesource.com/kernel/common/+/2bd81ced0685922df12f4be3338ea632805624e9","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0399","description":"In qtaguid_untag of xt_qtaguid.c, there is a possible memory corruption due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-176919394References: Upstream kernel","status":"published","published":"2021-03-10T15:41:26Z","modified":"2024-08-03T15:40:01.29Z","updated_at":"2026-11-02T14:33:10.887946Z"}],"euvd":[{"id":"EUVD-2021-3018","description":"In qtaguid_untag of xt_qtaguid.c, there is a possible memory corruption due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-176919394References: Upstream kernel","status":"published","published":"2021-03-10T15:41:26Z","modified":"2024-08-03T15:40:01Z","updated_at":"2026-11-03T03:25:17.553486Z"}],"ghsa":[{"id":"GHSA-hc9r-vrrg-qrww","title":"In qtaguid_untag of xt_qtaguid.c, there is a possible memory corruption due to a use after free....","description":"In qtaguid_untag of xt_qtaguid.c, there is a possible memory corruption due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-176919394References: Upstream kernel","status":"published","published":"2022-05-24T17:44:09Z","modified":"2023-01-29T05:05:36Z","cwes":["CWE-416"],"updated_at":"2026-11-02T14:45:50.403728Z"}],"nvd":[{"id":"CVE-2021-0399","description":"In qtaguid_untag of xt_qtaguid.c, there is a possible memory corruption due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-176919394References: Upstream kernel","status":"published","published":"2021-03-10T16:15:16.53Z","modified":"2026-06-17T03:29:55.16Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:06:50.399901Z"}],"osv":[{"id":"ASB-A-176919394","description":"In qtaguid_untag of xt_qtaguid.c, there is a possible memory corruption due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.","status":"published","published":"2021-03-01T00:00:00Z","modified":"2026-11-05T16:32:28.703711716Z","updated_at":"2026-11-05T17:55:14.18208Z"}]}}
