Use-after-free in Linux kernel can sja1000 driver



Published: 2024-06-04
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-47521
CWE-ID CWE-416
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU91052

Risk: Low

CVSSv3.1: 7.7 [AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-47521

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the ems_pcmcia_add_card() function in drivers/net/can/sja1000/ems_pcmcia.c. A local user can escalate privileges on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Linux kernel: All versions

CPE2.3
External links

http://git.kernel.org/stable/c/cbd86110546f7f730a1f5d7de56c944a336c15c4
http://git.kernel.org/stable/c/1dd5b819f7e406dc15bbc7670596ff25261aaa2a
http://git.kernel.org/stable/c/c8718026ba287168ff9ad0ccc4f9a413062cba36
http://git.kernel.org/stable/c/ccf070183e4655824936c0f96c4a2bcca93419aa
http://git.kernel.org/stable/c/1a295fea90e1acbe80c6d4940f5ff856edcd6bec
http://git.kernel.org/stable/c/923f4dc5df679f678e121c20bf2fd70f7bf3e288
http://git.kernel.org/stable/c/474f9a8534f5f89841240a7e978bafd6e1e039ce
http://git.kernel.org/stable/c/3ec6ca6b1a8e64389f0212b5a1b0f6fed1909e45


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###