# CVE-2023-53344: can: bcm: bcm\_tx\_setup(): fix KMSAN uninit-value in vfs\_write

> 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.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-09-17T14:56:37.024Z
- **Modified:** 2026-06-17T06:44:57.197Z

## Who should check

- Anyone running Linux \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 3fa0f1e0e31b1b73cdf59d4c36c7242e6ef821be; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 618b15d09fed6126356101543451d49860db4388; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 78bc7f0ab99458221224d3ab97199c0f8e6861f1; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< ab2a55907823f0bca56b6d03ea05e4071ba8535f; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< bf70e0eab64c625da84d9fdf4e84466b79418920; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< c11dbc7705b3739974ac31a13f4ab81e61a5fb07; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 2e6ad51c709fa794e0ce26003c9c9cd944e3383a; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 2b4c99f7d9a57ecd644eda9b1fb0a1072414959f
- Anyone running Linux 4.8

## Description

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

can: bcm: bcm\_tx\_setup(): fix KMSAN uninit-value in vfs\_write

Syzkaller reported the following issue:

=====================================================
BUG: KMSAN: uninit-value in aio\_rw\_done fs/aio.c:1520 \[inline\]
BUG: KMSAN: uninit-value in aio\_write+0x899/0x950 fs/aio.c:1600
 aio\_rw\_done fs/aio.c:1520 \[inline\]
 aio\_write+0x899/0x950 fs/aio.c:1600
 io\_submit\_one+0x1d1c/0x3bf0 fs/aio.c:2019
 \_\_do\_sys\_io\_submit fs/aio.c:2078 \[inline\]
 \_\_se\_sys\_io\_submit+0x293/0x770 fs/aio.c:2048
 \_\_x64\_sys\_io\_submit+0x92/0xd0 fs/aio.c:2048
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

Uninit was created at:
 slab\_post\_alloc\_hook mm/slab.h:766 \[inline\]
 slab\_alloc\_node mm/slub.c:3452 \[inline\]
 \_\_kmem\_cache\_alloc\_node+0x71f/0xce0 mm/slub.c:3491
 \_\_do\_kmalloc\_node mm/slab\_common.c:967 \[inline\]
 \_\_kmalloc+0x11d/0x3b0 mm/slab\_common.c:981
 kmalloc\_array include/linux/slab.h:636 \[inline\]
 bcm\_tx\_setup+0x80e/0x29d0 net/can/bcm.c:930
 bcm\_sendmsg+0x3a2/0xce0 net/can/bcm.c:1351
 sock\_sendmsg\_nosec net/socket.c:714 \[inline\]
 sock\_sendmsg net/socket.c:734 \[inline\]
 sock\_write\_iter+0x495/0x5e0 net/socket.c:1108
 call\_write\_iter include/linux/fs.h:2189 \[inline\]
 aio\_write+0x63a/0x950 fs/aio.c:1600
 io\_submit\_one+0x1d1c/0x3bf0 fs/aio.c:2019
 \_\_do\_sys\_io\_submit fs/aio.c:2078 \[inline\]
 \_\_se\_sys\_io\_submit+0x293/0x770 fs/aio.c:2048
 \_\_x64\_sys\_io\_submit+0x92/0xd0 fs/aio.c:2048
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

CPU: 1 PID: 5034 Comm: syz-executor350 Not tainted 6.2.0-rc6-syzkaller-80422-geda666ff2276 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
=====================================================

We can follow the call chain and find that 'bcm\_tx\_setup' function
calls 'memcpy\_from\_msg' to copy some content to the newly allocated
frame of 'op-\>frames'. After that the 'len' field of copied structure
being compared with some constant value (64 or 8). However, if
'memcpy\_from\_msg' returns an error, we will compare some uninitialized
memory. This triggers 'uninit-value' issue.

This patch will add 'memcpy\_from\_msg' possible errors processing to
avoid uninit-value issue.

Tested via syzkaller

## Affected and fixed versions

- Linux: \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 3fa0f1e0e31b1b73cdf59d4c36c7242e6ef821be; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 618b15d09fed6126356101543451d49860db4388; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 78bc7f0ab99458221224d3ab97199c0f8e6861f1; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< ab2a55907823f0bca56b6d03ea05e4071ba8535f; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< bf70e0eab64c625da84d9fdf4e84466b79418920; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< c11dbc7705b3739974ac31a13f4ab81e61a5fb07; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 2e6ad51c709fa794e0ce26003c9c9cd944e3383a; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 2b4c99f7d9a57ecd644eda9b1fb0a1072414959f (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2023-53344.md
Affected: Linux >= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, < 3fa0f1e0e31b1b73cdf59d4c36c7242e6ef821be; >= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, < 618b15d09fed6126356101543451d49860db4388; >= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, < 78bc7f0ab99458221224d3ab97199c0f8e6861f1; >= 6f3b911d5f29b98752e5da8…
Fixed in: Linux 3fa0f1e0e31b1b73cdf59d4c36c7242e6ef821be, Linux 618b15d09fed6126356101543451d49860db4388, Linux 78bc7f0ab99458221224d3ab97199c0f8e6861f1, Linux 2e6ad51c709fa794e0ce26003c9c9cd944e3383a, Linux 2b4c99f7d9a57ecd644eda9b1fb0a1072414959f

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

There is no confirmed exploitation: CVE-2023-53344 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-53344?

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

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

Linux \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 3fa0f1e0e31b1b73cdf59d4c36c7242e6ef821be; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 618b15d09fed6126356101543451d49860db4388; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 78bc7f0ab99458221224d3ab97199c0f8e6861f1; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< ab2a55907823f0bca56b6d03ea05e4071ba8535f; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< bf70e0eab64c625da84d9fdf4e84466b79418920; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< c11dbc7705b3739974ac31a13f4ab81e61a5fb07; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 2e6ad51c709fa794e0ce26003c9c9cd944e3383a; \>= 6f3b911d5f29b98752e5da86a295210c0c4f4e14, \< 2b4c99f7d9a57ecd644eda9b1fb0a1072414959f; Linux 4.8.

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

Yes. Fixed in Linux 3fa0f1e0e31b1b73cdf59d4c36c7242e6ef821be, Linux 618b15d09fed6126356101543451d49860db4388, Linux 78bc7f0ab99458221224d3ab97199c0f8e6861f1, Linux 2e6ad51c709fa794e0ce26003c9c9cd944e3383a, Linux 2b4c99f7d9a57ecd644eda9b1fb0a1072414959f. Upgrade Linux to 2b4c99f7d9a57ecd644eda9b1fb0a1072414959f or later.

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

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/3fa0f1e0e31b1b73cdf59d4c36c7242e6ef821be>
- patch: <https://git.kernel.org/stable/c/618b15d09fed6126356101543451d49860db4388>
- patch: <https://git.kernel.org/stable/c/78bc7f0ab99458221224d3ab97199c0f8e6861f1>
- patch: <https://git.kernel.org/stable/c/ab2a55907823f0bca56b6d03ea05e4071ba8535f>
- patch: <https://git.kernel.org/stable/c/bf70e0eab64c625da84d9fdf4e84466b79418920>
- patch: <https://git.kernel.org/stable/c/c11dbc7705b3739974ac31a13f4ab81e61a5fb07>
- patch: <https://git.kernel.org/stable/c/2e6ad51c709fa794e0ce26003c9c9cd944e3383a>
- patch: <https://git.kernel.org/stable/c/2b4c99f7d9a57ecd644eda9b1fb0a1072414959f>

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

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