{"id":"CVE-2021-3640","published":"2022-03-03T22:04:15Z","modified":"2024-08-03T17:01:07Z","title":"A flaw use-after-free in function sco_sock_sendmsg() of the Linux kernel HCI subsystem was found in the way user calls…","vendor":null,"product":null,"tier":"tail","description":{"text":"A flaw use-after-free in function sco_sock_sendmsg() of the Linux kernel HCI subsystem was found in the way user calls ioct UFFDIO_REGISTER or other way triggers race condition of the call sco_conn_del() together with the call sco_sock_sendmsg() with the expected controllable faulting memory page. A privileged local user could use this flaw to crash the system or escalate their privileges on the system.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0037,"percentile":0.31558,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1980646","tags":["x_refsource_MISC"]},{"url":"https://ubuntu.com/security/CVE-2021-3640","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2021/07/22/1","tags":["x_refsource_MISC"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/bluetooth/sco.c?h=v5.16&id=99c23da0eed4fd20cae8243f2b51e10e66aa0951","tags":["x_refsource_MISC"]},{"url":"https://github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2022/dsa-5096","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://security.netapp.com/advisory/ntap-20220419-0003/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":6.31}]},"affectedVersions":[{"vendor":"n/a","product":"kernel","versions":["Affects kernel v5.15.3 and prior, Fixed in v5.16-rc1 and above."]}],"euvd":{"id":"EUVD-2021-26940","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2011-1078-family-cve-2011-1078","parents":[{"from":"CVE-2011-1078","to":"CVE-2021-3640","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["net/bluetooth/sco.c"],"commits":["https://github.com/torvalds/linux/commit/c4c896e1471aec3b004a693c689f60be3b17ac86","https://github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951"],"basis":"shared function","functions":["socket"]}]},{"from":"CVE-2015-8575","to":"CVE-2021-3640","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["net/bluetooth/sco.c"],"commits":["https://github.com/torvalds/linux/commit/5233252fce714053f0151680933571a2da9cbfb4","https://github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951"],"basis":"shared function","functions":["socket"]}]}]}}