# CVE-2023-53487: powerpc/rtas\_flash: allow user copy to flash block cache objects

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.24% (percentile 9, 2026-11-26)
- **Published:** 2025-10-01T11:42:54.747Z
- **Modified:** 2026-11-05T21:17:22.697Z

## Who should check

- Anyone running Linux \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 8f09cc15dcd91d16562400c51d24c7be0d5796fa; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 1d29e21ed09fa668416fa7721e08d451b9903485; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 0ba7f969be599e21d4b1f1e947593de6515f4996; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 8ef25fb13494e35c6dbe15445c7875fa92bc3e8b; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< b8fee83aa4ed3846c7f50a0b364bc699f48d96e5; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 6acb8a453388374fafb3c3b37534b675b2aa0ae1; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 4f3175979e62de3b929bfa54a0db4b87d36257a7
- Anyone running Linux 4.16

## Description

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

powerpc/rtas\_flash: allow user copy to flash block cache objects

With hardened usercopy enabled (CONFIG\_HARDENED\_USERCOPY=y), using the
/proc/powerpc/rtas/firmware\_update interface to prepare a system
firmware update yields a BUG():

  kernel BUG at mm/usercopy.c:102!
  Oops: Exception in kernel mode, sig: 5 \[\#1\]
  LE PAGE\_SIZE=64K MMU=Hash SMP NR\_CPUS=2048 NUMA pSeries
  Modules linked in:
  CPU: 0 PID: 2232 Comm: dd Not tainted 6.5.0-rc3+ \#2
  Hardware name: IBM,8408-E8E POWER8E (raw) 0x4b0201 0xf000004 of:IBM,FW860.50 (SV860\_146) hv:phyp pSeries
  NIP:  c0000000005991d0 LR: c0000000005991cc CTR: 0000000000000000
  REGS: c0000000148c76a0 TRAP: 0700   Not tainted  (6.5.0-rc3+)
  MSR:  8000000000029033 \<SF,EE,ME,IR,DR,RI,LE\>  CR: 24002242  XER: 0000000c
  CFAR: c0000000001fbd34 IRQMASK: 0
  \[ ... GPRs omitted ... \]
  NIP usercopy\_abort+0xa0/0xb0
  LR  usercopy\_abort+0x9c/0xb0
  Call Trace:
    usercopy\_abort+0x9c/0xb0 (unreliable)
    \_\_check\_heap\_object+0x1b4/0x1d0
    \_\_check\_object\_size+0x2d0/0x380
    rtas\_flash\_write+0xe4/0x250
    proc\_reg\_write+0xfc/0x160
    vfs\_write+0xfc/0x4e0
    ksys\_write+0x90/0x160
    system\_call\_exception+0x178/0x320
    system\_call\_common+0x160/0x2c4

The blocks of the firmware image are copied directly from user memory
to objects allocated from flash\_block\_cache, so flash\_block\_cache must
be created using kmem\_cache\_create\_usercopy() to mark it safe for user
access.

\[mpe: Trim and indent oops\]

## Affected and fixed versions

- Linux: \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 8f09cc15dcd91d16562400c51d24c7be0d5796fa; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 1d29e21ed09fa668416fa7721e08d451b9903485; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 0ba7f969be599e21d4b1f1e947593de6515f4996; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 8ef25fb13494e35c6dbe15445c7875fa92bc3e8b; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< b8fee83aa4ed3846c7f50a0b364bc699f48d96e5; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 6acb8a453388374fafb3c3b37534b675b2aa0ae1; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 4f3175979e62de3b929bfa54a0db4b87d36257a7 (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- Upgrade Linux to 4f3175979e62de3b929bfa54a0db4b87d36257a7 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-53487. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53487.md
Affected: Linux >= 6d07d1cd300f4c7e16005f881fea388164999cc8, < 8f09cc15dcd91d16562400c51d24c7be0d5796fa; >= 6d07d1cd300f4c7e16005f881fea388164999cc8, < 1d29e21ed09fa668416fa7721e08d451b9903485; >= 6d07d1cd300f4c7e16005f881fea388164999cc8, < 0ba7f969be599e21d4b1f1e947593de6515f4996; >= 6d07d1cd300f4c7e16005f8…
Fixed in: Linux 8f09cc15dcd91d16562400c51d24c7be0d5796fa, Linux 1d29e21ed09fa668416fa7721e08d451b9903485, Linux 0ba7f969be599e21d4b1f1e947593de6515f4996, Linux 8ef25fb13494e35c6dbe15445c7875fa92bc3e8b, Linux 6acb8a453388374fafb3c3b37534b675b2aa0ae1, Linux 4f3175979e62de3b929bfa54a0db4b87d36257a7

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-53487 being exploited?

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

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

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

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

Linux \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 8f09cc15dcd91d16562400c51d24c7be0d5796fa; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 1d29e21ed09fa668416fa7721e08d451b9903485; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 0ba7f969be599e21d4b1f1e947593de6515f4996; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 8ef25fb13494e35c6dbe15445c7875fa92bc3e8b; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< b8fee83aa4ed3846c7f50a0b364bc699f48d96e5; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 6acb8a453388374fafb3c3b37534b675b2aa0ae1; \>= 6d07d1cd300f4c7e16005f881fea388164999cc8, \< 4f3175979e62de3b929bfa54a0db4b87d36257a7; Linux 4.16.

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

Yes. Fixed in Linux 8f09cc15dcd91d16562400c51d24c7be0d5796fa, Linux 1d29e21ed09fa668416fa7721e08d451b9903485, Linux 0ba7f969be599e21d4b1f1e947593de6515f4996, Linux 8ef25fb13494e35c6dbe15445c7875fa92bc3e8b, Linux 6acb8a453388374fafb3c3b37534b675b2aa0ae1, Linux 4f3175979e62de3b929bfa54a0db4b87d36257a7. Upgrade Linux to 4f3175979e62de3b929bfa54a0db4b87d36257a7 or later.

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

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/8f09cc15dcd91d16562400c51d24c7be0d5796fa>
- patch: <https://git.kernel.org/stable/c/1d29e21ed09fa668416fa7721e08d451b9903485>
- patch: <https://git.kernel.org/stable/c/0ba7f969be599e21d4b1f1e947593de6515f4996>
- patch: <https://git.kernel.org/stable/c/8ef25fb13494e35c6dbe15445c7875fa92bc3e8b>
- patch: <https://git.kernel.org/stable/c/b8fee83aa4ed3846c7f50a0b364bc699f48d96e5>
- patch: <https://git.kernel.org/stable/c/6acb8a453388374fafb3c3b37534b675b2aa0ae1>
- patch: <https://git.kernel.org/stable/c/4f3175979e62de3b929bfa54a0db4b87d36257a7>

## 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-53487>

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