CVE-2025-38265
serial: jsm: fix NPE during jsm_uart_port_init
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 3258d7ff8ebfa451426662b23e8f2b51b129afe1; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 985961dd2688a527a4847300d41beaad475ab7af; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < a14c0d2eb3f0b1836fdec22908b87ecffd2ac844; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < abaecb2a4ad021c2f2426e9b2a9c020aef57aca9; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < e3975aa899c0a3bbc10d035e699b142cd1373a71
- Anyone running Linux 6.5
Vulnerability facts
- Affected
- Linux >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 3258d7ff8ebfa451426662b23e8f2b51b129afe1; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 985961dd2688a527a4847300d41beaad475ab7af; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < a14c0d2eb3f0b1836fdec22908b87ecffd2ac844; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < abaecb2a4ad021c2f2426e9b2a9c020aef57aca9; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < e3975aa899c0a3bbc10d035e699b142cd1373a71; Linux 6.5
- Fixed in
- Linux 3258d7ff8ebfa451426662b23e8f2b51b129afe1, Linux 985961dd2688a527a4847300d41beaad475ab7af
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: serial: jsm: fix NPE during jsm_uart_port_init No device was set which caused serial_base_ctrl_add to crash. BUG: kernel NULL pointer dereference, address: 0000000000000050 Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI CPU: 16 UID: 0 PID: 368 Comm: (udev-worker) Not tainted 6.12.25-amd64 #1 Debian 6.12.25-1 RIP: 0010:serial_base_ctrl_add+0x96/0x120 Call Trace: <TASK> serial_core_register_port+0x1a0/0x580 ? __setup_irq+0x39c/0x660 ? __kmalloc_cache_noprof+0x111/0x310 jsm_uart_port_init+0xe8/0x180 [jsm] jsm_probe_one+0x1f4/0x410 [jsm] local_pci_probe+0x42/0x90 pci_device_probe+0x22f/0x270 really_probe+0xdb/0x340 ? pm_runtime_barrier+0x54/0x90 ? __pfx___driver_attach+0x10/0x10 __driver_probe_device+0x78/0x110 driver_probe_device+0x1f/0xa0 __driver_attach+0xba/0x1c0 bus_for_each_dev+0x8c/0xe0 bus_add_driver+0x112/0x1f0 driver_register+0x72/0xd0 jsm_init_module+0x36/0xff0 [jsm] ? __pfx_jsm_init_module+0x10/0x10 [jsm] do_one_initcall+0x58/0x310 do_init_module+0x60/0x230 Tested with Digi Neo PCIe 8 port card.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 3258d7ff8ebfa451426662b23e8f2b51b129afe1; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 985961dd2688a527a4847300d41beaad475ab7af; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < a14c0d2eb3f0b1836fdec22908b87ecffd2ac844; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < abaecb2a4ad021c2f2426e9b2a9c020aef57aca9; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < e3975aa899c0a3bbc10d035e699b142cd1373a71 | — | cvelist |
| Linux | 6.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38265. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38265.md Affected: Linux >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 3258d7ff8ebfa451426662b23e8f2b51b129afe1; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 985961dd2688a527a4847300d41beaad475ab7af; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < a14c0d2eb3f0b1836fdec22908b87ecffd2ac844; >= 84a9582fd203063cd4d3012… Fixed in: Linux 3258d7ff8ebfa451426662b23e8f2b51b129afe1, Linux 985961dd2688a527a4847300d41beaad475ab7af 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.
References
Patches
- https://git.kernel.org/stable/c/3258d7ff8ebfa451426662b23e8f2b51b129afe1
- https://git.kernel.org/stable/c/985961dd2688a527a4847300d41beaad475ab7af
- https://git.kernel.org/stable/c/a14c0d2eb3f0b1836fdec22908b87ecffd2ac844
- https://git.kernel.org/stable/c/abaecb2a4ad021c2f2426e9b2a9c020aef57aca9
- https://git.kernel.org/stable/c/e3975aa899c0a3bbc10d035e699b142cd1373a71
FAQ
Is CVE-2025-38265 being exploited?
There is no confirmed exploitation: CVE-2025-38265 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38265?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38265?
Linux >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 3258d7ff8ebfa451426662b23e8f2b51b129afe1; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < 985961dd2688a527a4847300d41beaad475ab7af; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < a14c0d2eb3f0b1836fdec22908b87ecffd2ac844; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < abaecb2a4ad021c2f2426e9b2a9c020aef57aca9; >= 84a9582fd203063cd4d301204971ff2cd8327f1a, < e3975aa899c0a3bbc10d035e699b142cd1373a71; Linux 6.5.
Is there a fix for CVE-2025-38265?
Yes. Fixed in Linux 3258d7ff8ebfa451426662b23e8f2b51b129afe1, Linux 985961dd2688a527a4847300d41beaad475ab7af. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38265?
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.