Race Condition Affecting kernel-livepatch-5_3_18-24_67-default package, versions <5-2.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES152-KERNELLIVEPATCH53182467DEFAULT-3265646
- published 14 Apr 2022
- disclosed 12 Oct 2021
Introduced: 12 Oct 2021
CVE-2021-3640 Open this link in a new tabHow to fix?
Upgrade SLES:15.2 kernel-livepatch-5_3_18-24_67-default to version 5-2.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream kernel-livepatch-5_3_18-24_67-default package and not the kernel-livepatch-5_3_18-24_67-default package as distributed by SLES.
See How to fix? for SLES:15.2 relevant fixed versions and status.
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.
References
- https://www.suse.com/security/cve/CVE-2021-3640.html
- https://bugzilla.suse.com/1188172
- https://bugzilla.suse.com/1188613
- https://bugzilla.suse.com/1191530
- https://bugzilla.suse.com/1196810
- https://bugzilla.suse.com/1196914
- https://github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951
- https://bugzilla.redhat.com/show_bug.cgi?id=1980646
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/bluetooth/sco.c?h=v5.16&id=99c23da0eed4fd20cae8243f2b51e10e66aa0951
- https://www.openwall.com/lists/oss-security/2021/07/22/1
- https://ubuntu.com/security/CVE-2021-3640
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html
- https://www.debian.org/security/2022/dsa-5096
- https://security.netapp.com/advisory/ntap-20220419-0003/
- https://access.redhat.com/errata/RHSA-2022:7444
- https://access.redhat.com/errata/RHSA-2022:7683
- https://access.redhat.com/errata/RHSA-2022:7933
- https://access.redhat.com/errata/RHSA-2022:8267
- https://access.redhat.com/security/cve/CVE-2021-3640
- https://lkml.org/lkml/2021/8/28/238