# CVE-2023-53169: x86/resctrl: Clear staged\_config\[\] before and after it is used

> 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.23% (percentile 8, 2026-11-26)
- **Published:** 2025-09-15T14:04:02.395Z
- **Modified:** 2026-06-17T06:44:25.870Z

## Who should check

- Anyone running Linux \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 86db319d25db70cf4af4557e05f6fa6f39c70003; \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 3fc5941ecc31a495b6b84b465f36155009db99b5; \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 8ecc60ef9318f0d533b866fa421858cc185bccfc; \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 0424a7dfe9129b93f29b277511a60e87f052ac6b
- Anyone running Linux 5.15

## Description

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

x86/resctrl: Clear staged\_config\[\] before and after it is used

As a temporary storage, staged\_config\[\] in rdt\_domain should be cleared
before and after it is used. The stale value in staged\_config\[\] could
cause an MSR access error.

Here is a reproducer on a system with 16 usable CLOSIDs for a 15-way L3
Cache (MBA should be disabled if the number of CLOSIDs for MB is less than
16.) :
	mount -t resctrl resctrl -o cdp /sys/fs/resctrl
	mkdir /sys/fs/resctrl/p{1..7}
	umount /sys/fs/resctrl/
	mount -t resctrl resctrl /sys/fs/resctrl
	mkdir /sys/fs/resctrl/p{1..8}

An error occurs when creating resource group named p8:
    unchecked MSR access error: WRMSR to 0xca0 (tried to write 0x00000000000007ff) at rIP: 0xffffffff82249142 (cat\_wrmsr+0x32/0x60)
    Call Trace:
     \<IRQ\>
     \_\_flush\_smp\_call\_function\_queue+0x11d/0x170
     \_\_sysvec\_call\_function+0x24/0xd0
     sysvec\_call\_function+0x89/0xc0
     \</IRQ\>
     \<TASK\>
     asm\_sysvec\_call\_function+0x16/0x20

When creating a new resource control group, hardware will be configured
by the following process:
    rdtgroup\_mkdir()
      rdtgroup\_mkdir\_ctrl\_mon()
        rdtgroup\_init\_alloc()
          resctrl\_arch\_update\_domains()

resctrl\_arch\_update\_domains() iterates and updates all resctrl\_conf\_type
whose have\_new\_ctrl is true. Since staged\_config\[\] holds the same values as
when CDP was enabled, it will continue to update the CDP\_CODE and CDP\_DATA
configurations. When group p8 is created, get\_config\_index() called in
resctrl\_arch\_update\_domains() will return 16 and 17 as the CLOSIDs for
CDP\_CODE and CDP\_DATA, which will be translated to an invalid register -
0xca0 in this scenario.

Fix it by clearing staged\_config\[\] before and after it is used.

\[reinette: re-order commit tags\]

## Affected and fixed versions

- Linux: \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 86db319d25db70cf4af4557e05f6fa6f39c70003; \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 3fc5941ecc31a495b6b84b465f36155009db99b5; \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 8ecc60ef9318f0d533b866fa421858cc185bccfc; \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 0424a7dfe9129b93f29b277511a60e87f052ac6b (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 0424a7dfe9129b93f29b277511a60e87f052ac6b or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53169.md
Affected: Linux >= 75408e43509ed6207870c0e7e28656acbbc1f7fd, < 86db319d25db70cf4af4557e05f6fa6f39c70003; >= 75408e43509ed6207870c0e7e28656acbbc1f7fd, < 3fc5941ecc31a495b6b84b465f36155009db99b5; >= 75408e43509ed6207870c0e7e28656acbbc1f7fd, < 8ecc60ef9318f0d533b866fa421858cc185bccfc; >= 75408e43509ed6207870c0e…
Fixed in: Linux 86db319d25db70cf4af4557e05f6fa6f39c70003, Linux 3fc5941ecc31a495b6b84b465f36155009db99b5, Linux 8ecc60ef9318f0d533b866fa421858cc185bccfc, Linux 0424a7dfe9129b93f29b277511a60e87f052ac6b

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-2023-53169 being exploited?

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

### How serious is CVE-2023-53169?

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

### Which versions are affected by CVE-2023-53169?

Linux \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 86db319d25db70cf4af4557e05f6fa6f39c70003; \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 3fc5941ecc31a495b6b84b465f36155009db99b5; \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 8ecc60ef9318f0d533b866fa421858cc185bccfc; \>= 75408e43509ed6207870c0e7e28656acbbc1f7fd, \< 0424a7dfe9129b93f29b277511a60e87f052ac6b; Linux 5.15.

### Is there a fix for CVE-2023-53169?

Yes. Fixed in Linux 86db319d25db70cf4af4557e05f6fa6f39c70003, Linux 3fc5941ecc31a495b6b84b465f36155009db99b5, Linux 8ecc60ef9318f0d533b866fa421858cc185bccfc, Linux 0424a7dfe9129b93f29b277511a60e87f052ac6b. Upgrade Linux to 0424a7dfe9129b93f29b277511a60e87f052ac6b or later.

### How do I check if I'm affected by CVE-2023-53169?

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/86db319d25db70cf4af4557e05f6fa6f39c70003>
- patch: <https://git.kernel.org/stable/c/3fc5941ecc31a495b6b84b465f36155009db99b5>
- patch: <https://git.kernel.org/stable/c/8ecc60ef9318f0d533b866fa421858cc185bccfc>
- patch: <https://git.kernel.org/stable/c/0424a7dfe9129b93f29b277511a60e87f052ac6b>

## 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-2023-53169>

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