CVEvulnerability
CVE-2022-48952
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-10-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Description
In the Linux kernel, the following vulnerability has been resolved:
PCI: mt7621: Add sentinel to quirks table
Current driver is missing a sentinel in the struct soc_device_attribute
array, which causes an oops when assessed by the
soc_device_match(mt7621_pcie_quirks_match) call.
This was only exposed once the CONFIG_SOC_MT7621 mt7621 soc_dev_attr
was fixed to register the SOC as a device, in:
commit 7c18b64bba3b ("mips: ralink: mt7621: do not use kzalloc too early")
Fix it by adding the required sentinel.
Affected configurations
• linux linux kernel (>= 5.4.17 < 5.15.86)
• linux linux kernel (>= 5.16 < 6.0.15)
• linux linux kernel 6.1
• linux linux kernel 6.1.1
References
- https://git.kernel.org/stable/c/19098934f910b4d47cb30251dd39ffa57bef9523 Patch
- https://git.kernel.org/stable/c/3e9c395ef2d52975b2c2894d2da09d6db2958bc6 Patch
- https://git.kernel.org/stable/c/a4997bae1b5b012c8a6e2643e26578a7bc2cae36 Patch
- https://git.kernel.org/stable/c/cb7323ece786f243f6d6ccf2e5b2b27b736bdc04 Patch