# CVE-2024-50107: platform/x86/intel/pmc: Fix pmc\_core\_iounmap to call iounmap for valid addresses

> 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, CNA) `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.26% (percentile 11, 2026-11-26)
- **Published:** 2024-11-05T17:10:41.400Z
- **Modified:** 2026-06-17T08:03:36.297Z

## Who should check

- Anyone running Linux \>= a01486dc4bb17de976c6d0a4b1ad5f8106525dfb, \< 01c473e64cafe2231e51be140446388024e669e8; \>= a01486dc4bb17de976c6d0a4b1ad5f8106525dfb, \< 48771da48072823956b271dddd568492c13d8170
- Anyone running Linux 6.8

## Description

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

platform/x86/intel/pmc: Fix pmc\_core\_iounmap to call iounmap for valid addresses

Commit 50c6dbdfd16e ("x86/ioremap: Improve iounmap() address range checks")
introduces a WARN when adrress ranges of iounmap are invalid. On Thinkpad
P1 Gen 7 (Meteor Lake-P) this caused the following warning to appear:

WARNING: CPU: 7 PID: 713 at arch/x86/mm/ioremap.c:461 iounmap+0x58/0x1f0
Modules linked in: rfkill(+) snd\_timer(+) fjes(+) snd soundcore intel\_pmc\_core(+)
int3403\_thermal(+) int340x\_thermal\_zone intel\_vsec pmt\_telemetry acpi\_pad pmt\_class
acpi\_tad int3400\_thermal acpi\_thermal\_rel joydev loop nfnetlink zram xe drm\_suballoc\_helper
nouveau i915 mxm\_wmi drm\_ttm\_helper gpu\_sched drm\_gpuvm drm\_exec drm\_buddy i2c\_algo\_bit
crct10dif\_pclmul crc32\_pclmul ttm crc32c\_intel polyval\_clmulni rtsx\_pci\_sdmmc ucsi\_acpi
polyval\_generic mmc\_core hid\_multitouch drm\_display\_helper ghash\_clmulni\_intel typec\_ucsi
nvme sha512\_ssse3 video sha256\_ssse3 nvme\_core intel\_vpu sha1\_ssse3 rtsx\_pci cec typec
nvme\_auth i2c\_hid\_acpi i2c\_hid wmi pinctrl\_meteorlake serio\_raw ip6\_tables ip\_tables fuse
CPU: 7 UID: 0 PID: 713 Comm: (udev-worker) Not tainted 6.12.0-rc2iounmap+ \#42
Hardware name: LENOVO 21KWCTO1WW/21KWCTO1WW, BIOS N48ET19W (1.06 ) 07/18/2024
RIP: 0010:iounmap+0x58/0x1f0
Code: 85 6a 01 00 00 48 8b 05 e6 e2 28 04 48 39 c5 72 19 eb 26 cc cc cc 48 ba 00 00 00 00 00 00 32 00 48 8d 44 02 ff 48 39 c5 72 23 \<0f\> 0b 48 83 c4 08 5b 5d 41 5c c3 cc cc cc cc 48 ba 00 00 00 00 00
RSP: 0018:ffff888131eff038 EFLAGS: 00010207
RAX: ffffc90000000000 RBX: 0000000000000000 RCX: ffff888e33b80000
RDX: dffffc0000000000 RSI: ffff888e33bc29c0 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff8881598a8000 R09: ffff888e2ccedc10
R10: 0000000000000003 R11: ffffffffb3367634 R12: 00000000fe000000
R13: ffff888101d0da28 R14: ffffffffc2e437e0 R15: ffff888110b03b28
FS:  00007f3c1d4b3980(0000) GS:ffff888e33b80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005651cfc93578 CR3: 0000000124e4c002 CR4: 0000000000f70ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
PKRU: 55555554
Call Trace:
\<TASK\>
? \_\_warn.cold+0xb6/0x176
? iounmap+0x58/0x1f0
? report\_bug+0x1f4/0x2b0
? handle\_bug+0x58/0x90
? exc\_invalid\_op+0x17/0x40
? asm\_exc\_invalid\_op+0x1a/0x20
? iounmap+0x58/0x1f0
pmc\_core\_ssram\_get\_pmc+0x477/0x6c0 \[intel\_pmc\_core\]
? \_\_pfx\_pmc\_core\_ssram\_get\_pmc+0x10/0x10 \[intel\_pmc\_core\]
? \_\_pfx\_do\_pci\_enable\_device+0x10/0x10
? pci\_wait\_for\_pending+0x60/0x110
? pci\_enable\_device\_flags+0x1e3/0x2e0
? \_\_pfx\_mtl\_core\_init+0x10/0x10 \[intel\_pmc\_core\]
pmc\_core\_ssram\_init+0x7f/0x110 \[intel\_pmc\_core\]
mtl\_core\_init+0xda/0x130 \[intel\_pmc\_core\]
? \_\_mutex\_init+0xb9/0x130
pmc\_core\_probe+0x27e/0x10b0 \[intel\_pmc\_core\]
? \_raw\_spin\_lock\_irqsave+0x96/0xf0
? \_\_pfx\_pmc\_core\_probe+0x10/0x10 \[intel\_pmc\_core\]
? \_\_pfx\_mutex\_unlock+0x10/0x10
? \_\_pfx\_mutex\_lock+0x10/0x10
? device\_pm\_check\_callbacks+0x82/0x370
? acpi\_dev\_pm\_attach+0x234/0x2b0
platform\_probe+0x9f/0x150
really\_probe+0x1e0/0x8a0
\_\_driver\_probe\_device+0x18c/0x370
? \_\_pfx\_\_\_driver\_attach+0x10/0x10
driver\_probe\_device+0x4a/0x120
\_\_driver\_attach+0x190/0x4a0
? \_\_pfx\_\_\_driver\_attach+0x10/0x10
bus\_for\_each\_dev+0x103/0x180
? \_\_pfx\_bus\_for\_each\_dev+0x10/0x10
? klist\_add\_tail+0x136/0x270
bus\_add\_driver+0x2fc/0x540
driver\_register+0x1a5/0x360
? \_\_pfx\_pmc\_core\_driver\_init+0x10/0x10 \[intel\_pmc\_core\]
do\_one\_initcall+0xa4/0x380
? \_\_pfx\_do\_one\_initcall+0x10/0x10
? kasan\_unpoison+0x44/0x70
do\_init\_module+0x296/0x800
load\_module+0x5090/0x6ce0
? \_\_pfx\_load\_module+0x10/0x10
? ima\_post\_read\_file+0x193/0x200
? \_\_pfx\_ima\_post\_read\_file+0x10/0x10
? rw\_verify\_area+0x152/0x4c0
? kernel\_read\_file+0x257/0x750
? \_\_pfx\_kernel\_read\_file+0x10/0x10
? \_\_pfx\_filemap\_get\_read\_batch+0x10/0x10
? init\_module\_from\_file+0xd1/0x130
init\_module\_from\_file+0xd1/0x130
? \_\_pfx\_init\_module\_from\_file+0x10/0
---truncated---

## Affected and fixed versions

- Linux: \>= a01486dc4bb17de976c6d0a4b1ad5f8106525dfb, \< 01c473e64cafe2231e51be140446388024e669e8; \>= a01486dc4bb17de976c6d0a4b1ad5f8106525dfb, \< 48771da48072823956b271dddd568492c13d8170 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 48771da48072823956b271dddd568492c13d8170 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-50107.md
Affected: Linux >= a01486dc4bb17de976c6d0a4b1ad5f8106525dfb, < 01c473e64cafe2231e51be140446388024e669e8; >= a01486dc4bb17de976c6d0a4b1ad5f8106525dfb, < 48771da48072823956b271dddd568492c13d8170; Linux 6.8
Fixed in: Linux 01c473e64cafe2231e51be140446388024e669e8, Linux 48771da48072823956b271dddd568492c13d8170

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-2024-50107 being exploited?

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

### How serious is CVE-2024-50107?

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

### Which versions are affected by CVE-2024-50107?

Linux \>= a01486dc4bb17de976c6d0a4b1ad5f8106525dfb, \< 01c473e64cafe2231e51be140446388024e669e8; \>= a01486dc4bb17de976c6d0a4b1ad5f8106525dfb, \< 48771da48072823956b271dddd568492c13d8170; Linux 6.8.

### Is there a fix for CVE-2024-50107?

Yes. Fixed in Linux 01c473e64cafe2231e51be140446388024e669e8, Linux 48771da48072823956b271dddd568492c13d8170. Upgrade Linux to 48771da48072823956b271dddd568492c13d8170 or later.

### How do I check if I'm affected by CVE-2024-50107?

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/01c473e64cafe2231e51be140446388024e669e8>
- patch: <https://git.kernel.org/stable/c/48771da48072823956b271dddd568492c13d8170>

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

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