Use-after-free in Linux kernel gadget legacy driver



Published: 2024-08-21
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-48869
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: #VU96328

Risk: Low

CVSSv3.1: 7.7 [CVSS:3.1/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-2022-48869

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 gadgetfs_init_fs_context() function in drivers/usb/gadget/legacy/inode.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/9a39f4626b361ee7aa10fd990401c37ec3b466ae
http://git.kernel.org/stable/c/856e4b5e53f21edbd15d275dde62228dd94fb2b4
http://git.kernel.org/stable/c/a2e075f40122d8daf587db126c562a67abd69cf9
http://git.kernel.org/stable/c/616fd34d017000ecf9097368b13d8a266f4920b3
http://git.kernel.org/stable/c/d18dcfe9860e842f394e37ba01ca9440ab2178f4


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###