# CVE-2022-48918: iwlwifi: mvm: check debugfs\_dir ptr before use

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-08-22T01:32:33.271Z
- **Modified:** 2026-06-17T05:16:36.733Z

## Who should check

- Anyone running Linux \>= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, \< 7de1ed755e1ace30d97a724bad32452ed86b653b; \>= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, \< fe51975ff13831e794e1bcd0039b305dcad3d7ba; \>= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, \< 5a6248c0a22352f09ea041665d3bd3e18f6f872c
- Anyone running Linux 5.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

iwlwifi: mvm: check debugfs\_dir ptr before use

When "debugfs=off" is used on the kernel command line, iwiwifi's
mvm module uses an invalid/unchecked debugfs\_dir pointer and causes
a BUG:

 BUG: kernel NULL pointer dereference, address: 000000000000004f
 \#PF: supervisor read access in kernel mode
 \#PF: error\_code(0x0000) - not-present page
 PGD 0 P4D 0
 Oops: 0000 \[\#1\] PREEMPT SMP
 CPU: 1 PID: 503 Comm: modprobe Tainted: G        W         5.17.0-rc5 \#7
 Hardware name: Dell Inc. Inspiron 15 5510/076F7Y, BIOS 2.4.1 11/05/2021
 RIP: 0010:iwl\_mvm\_dbgfs\_register+0x692/0x700 \[iwlmvm\]
 Code: 69 a0 be 80 01 00 00 48 c7 c7 50 73 6a a0 e8 95 cf ee e0 48 8b 83 b0 1e 00 00 48 c7 c2 54 73 6a a0 be 64 00 00 00 48 8d 7d 8c \<48\> 8b 48 50 e8 15 22 07 e1 48 8b 43 28 48 8d 55 8c 48 c7 c7 5f 73
 RSP: 0018:ffffc90000a0ba68 EFLAGS: 00010246
 RAX: ffffffffffffffff RBX: ffff88817d6e3328 RCX: ffff88817d6e3328
 RDX: ffffffffa06a7354 RSI: 0000000000000064 RDI: ffffc90000a0ba6c
 RBP: ffffc90000a0bae0 R08: ffffffff824e4880 R09: ffffffffa069d620
 R10: ffffc90000a0ba00 R11: ffffffffffffffff R12: 0000000000000000
 R13: ffffc90000a0bb28 R14: ffff88817d6e3328 R15: ffff88817d6e3320
 FS:  00007f64dd92d740(0000) GS:ffff88847f640000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 000000000000004f CR3: 000000016fc79001 CR4: 0000000000770ee0
 PKRU: 55555554
 Call Trace:
  \<TASK\>
  ? iwl\_mvm\_mac\_setup\_register+0xbdc/0xda0 \[iwlmvm\]
  iwl\_mvm\_start\_post\_nvm+0x71/0x100 \[iwlmvm\]
  iwl\_op\_mode\_mvm\_start+0xab8/0xb30 \[iwlmvm\]
  \_iwl\_op\_mode\_start+0x6f/0xd0 \[iwlwifi\]
  iwl\_opmode\_register+0x6a/0xe0 \[iwlwifi\]
  ? 0xffffffffa0231000
  iwl\_mvm\_init+0x35/0x1000 \[iwlmvm\]
  ? 0xffffffffa0231000
  do\_one\_initcall+0x5a/0x1b0
  ? kmem\_cache\_alloc+0x1e5/0x2f0
  ? do\_init\_module+0x1e/0x220
  do\_init\_module+0x48/0x220
  load\_module+0x2602/0x2bc0
  ? \_\_kernel\_read+0x145/0x2e0
  ? kernel\_read\_file+0x229/0x290
  \_\_do\_sys\_finit\_module+0xc5/0x130
  ? \_\_do\_sys\_finit\_module+0xc5/0x130
  \_\_x64\_sys\_finit\_module+0x13/0x20
  do\_syscall\_64+0x38/0x90
  entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
 RIP: 0033:0x7f64dda564dd
 Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1b 29 0f 00 f7 d8 64 89 01 48
 RSP: 002b:00007ffdba393f88 EFLAGS: 00000246 ORIG\_RAX: 0000000000000139
 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f64dda564dd
 RDX: 0000000000000000 RSI: 00005575399e2ab2 RDI: 0000000000000001
 RBP: 000055753a91c5e0 R08: 0000000000000000 R09: 0000000000000002
 R10: 0000000000000001 R11: 0000000000000246 R12: 00005575399e2ab2
 R13: 000055753a91ceb0 R14: 0000000000000000 R15: 000055753a923018
  \</TASK\>
 Modules linked in: btintel(+) btmtk bluetooth vfat snd\_hda\_codec\_hdmi fat snd\_hda\_codec\_realtek snd\_hda\_codec\_generic iwlmvm(+) snd\_sof\_pci\_intel\_tgl mac80211 snd\_sof\_intel\_hda\_common soundwire\_intel soundwire\_generic\_allocation soundwire\_cadence soundwire\_bus snd\_sof\_intel\_hda snd\_sof\_pci snd\_sof snd\_sof\_xtensa\_dsp snd\_soc\_hdac\_hda snd\_hda\_ext\_core snd\_soc\_acpi\_intel\_match snd\_soc\_acpi snd\_soc\_core btrfs snd\_compress snd\_hda\_intel snd\_intel\_dspcfg snd\_intel\_sdw\_acpi snd\_hda\_codec raid6\_pq iwlwifi snd\_hda\_core snd\_pcm snd\_timer snd soundcore cfg80211 intel\_ish\_ipc(+) thunderbolt rfkill intel\_ishtp ucsi\_acpi wmi i2c\_hid\_acpi i2c\_hid evdev
 CR2: 000000000000004f
 ---\[ end trace 0000000000000000 \]---

Check the debugfs\_dir pointer for an error before using it.

\[change to make both conditional\]

## Affected and fixed versions

- Linux: \>= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, \< 7de1ed755e1ace30d97a724bad32452ed86b653b; \>= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, \< fe51975ff13831e794e1bcd0039b305dcad3d7ba; \>= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, \< 5a6248c0a22352f09ea041665d3bd3e18f6f872c (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- Upgrade Linux to 5a6248c0a22352f09ea041665d3bd3e18f6f872c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48918. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48918.md
Affected: Linux >= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, < 7de1ed755e1ace30d97a724bad32452ed86b653b; >= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, < fe51975ff13831e794e1bcd0039b305dcad3d7ba; >= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, < 5a6248c0a22352f09ea041665d3bd3e18f6f872c; Linux 5.12
Fixed in: Linux 7de1ed755e1ace30d97a724bad32452ed86b653b, Linux 5a6248c0a22352f09ea041665d3bd3e18f6f872c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48918 being exploited?

There is no confirmed exploitation: CVE-2022-48918 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48918?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48918?

Linux \>= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, \< 7de1ed755e1ace30d97a724bad32452ed86b653b; \>= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, \< fe51975ff13831e794e1bcd0039b305dcad3d7ba; \>= 8c082a99edb997d7999eb7cdb648e47a2bf4a638, \< 5a6248c0a22352f09ea041665d3bd3e18f6f872c; Linux 5.12.

### Is there a fix for CVE-2022-48918?

Yes. Fixed in Linux 7de1ed755e1ace30d97a724bad32452ed86b653b, Linux 5a6248c0a22352f09ea041665d3bd3e18f6f872c. Upgrade Linux to 5a6248c0a22352f09ea041665d3bd3e18f6f872c or later.

### How do I check if I'm affected by CVE-2022-48918?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7de1ed755e1ace30d97a724bad32452ed86b653b>
- patch: <https://git.kernel.org/stable/c/fe51975ff13831e794e1bcd0039b305dcad3d7ba>
- patch: <https://git.kernel.org/stable/c/5a6248c0a22352f09ea041665d3bd3e18f6f872c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48918>

HTML: <https://flawdb.com/CVE-2022-48918> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48918>
