# CVE-2025-38737: cifs: Fix oops due to uninitialised variable

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2025-09-05T17:20:37.719Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-908
- Assigned by: Linux

## Description

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

cifs: Fix oops due to uninitialised variable

Fix smb3_init_transform_rq() to initialise buffer to NULL before calling
netfs_alloc_folioq_buffer() as netfs assumes it can append to the buffer it
is given.  Setting it to NULL means it should start a fresh buffer, but the
value is currently undefined.

(As written by CVE List.)

## Affected

- Linux Linux: from a2906d3316fc19bf0ade84618bb73eab604c447e before 4931fe2dbe1cc0e7d350a4b51b0b330e43971d98; from a2906d3316fc19bf0ade84618bb73eab604c447e before 6adaa9fae36f848afa7278945d725e197e33c496; from a2906d3316fc19bf0ade84618bb73eab604c447e before 453a6d2a68e54a483d67233c6e1e24c4095ee4be; 6.12 (not affected: before 6.12; from 6.12.44 up to 6.12.*; from 6.16.4 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.12 before 6.12.44; from 6.13 before 6.16.4; 6.17

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/4931fe2dbe1cc0e7d350a4b51b0b330e43971d98> (patch)
- <https://git.kernel.org/stable/c/6adaa9fae36f848afa7278945d725e197e33c496> (patch)
- <https://git.kernel.org/stable/c/453a6d2a68e54a483d67233c6e1e24c4095ee4be> (patch)

## Sources

- CVE List: [CVE-2025-38737](https://www.cve.org/CVERecord?id=CVE-2025-38737), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38737](https://nvd.nist.gov/vuln/detail/CVE-2025-38737), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-38737 · Whole record: https://cve.day/CVE-2025-38737.json · Rebuilt by cve.day 2026-11-25T22:59:04.255Z
