CVE-2022-48952

PCI: mt7621: Add sentinel to quirks table

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
May 23, 2026
Reserved
Aug 22, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f to before 3e9c395ef2d52975b2c2894d2da09d6db2958bc6Affected
  • b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f to before cb7323ece786f243f6d6ccf2e5b2b27b736bdc04Affected
  • b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f to before a4997bae1b5b012c8a6e2643e26578a7bc2cae36Affected
  • b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f to before 19098934f910b4d47cb30251dd39ffa57bef9523Affected
  • 21fd877300b01d25c5807c327848fdc7c813cf0eAffected
  • 5.4.17 to before 5.5Affected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.15 through 6.0.*Not affected
  • 6.1.1 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.