CVEvulnerability

CVE-2022-48663

5.5 MEDIUM Published 2024-04-28 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-04-28
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
Weaknesses
CWE-476

Description

In the Linux kernel, the following vulnerability has been resolved: gpio: mockup: fix NULL pointer dereference when removing debugfs We now remove the device's debugfs entries when unbinding the driver. This now causes a NULL-pointer dereference on module exit because the platform devices are unregistered *after* the global debugfs directory has been recursively removed. Fix it by unregistering the devices first.

Affected configurations

• linux linux kernel (>= 5.10.144 < 5.10.146) • linux linux kernel (>= 5.15.69 < 5.15.71) • linux linux kernel (>= 5.19.10 < 5.19.12)

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References