| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-37844: cifs: avoid NULL pointer dereference in dbg call |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| cifs: avoid NULL pointer dereference in dbg call |
| |
| cifs_server_dbg() implies server to be non-NULL so |
| move call under condition to avoid NULL pointer dereference. |
| |
| Found by Linux Verification Center (linuxtesting.org) with SVACE. |
| |
| The Linux kernel CVE team has assigned CVE-2025-37844 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.7 with commit e79b0332ae06b4895dcecddf4bbc5d3917e9383c and fixed in 5.10.237 with commit ba3ce6c60cd5db258687dfeba9fc608f5e7cadf3 |
| Issue introduced in 5.7 with commit e79b0332ae06b4895dcecddf4bbc5d3917e9383c and fixed in 5.15.181 with commit 9c9000cb91b986eb7f75835340c67857ab97c09b |
| Issue introduced in 5.7 with commit e79b0332ae06b4895dcecddf4bbc5d3917e9383c and fixed in 6.1.135 with commit b2a1833e1c63e2585867ebeaf4dd41494dcede4b |
| Issue introduced in 5.7 with commit e79b0332ae06b4895dcecddf4bbc5d3917e9383c and fixed in 6.6.88 with commit 864ba5c651b03830f36f0906c21af05b15c1aaa6 |
| Issue introduced in 5.7 with commit e79b0332ae06b4895dcecddf4bbc5d3917e9383c and fixed in 6.12.24 with commit e0717385f5c51e290c2cd2ad4699a778316b5132 |
| Issue introduced in 5.7 with commit e79b0332ae06b4895dcecddf4bbc5d3917e9383c and fixed in 6.13.12 with commit 20048e658652e731f5cadf4a695925e570ca0ff9 |
| Issue introduced in 5.7 with commit e79b0332ae06b4895dcecddf4bbc5d3917e9383c and fixed in 6.14.3 with commit 6c14ee6af8f1f188b668afd6d003f7516a507b08 |
| Issue introduced in 5.7 with commit e79b0332ae06b4895dcecddf4bbc5d3917e9383c and fixed in 6.15 with commit b4885bd5935bb26f0a414ad55679a372e53f9b9b |
| Issue introduced in 5.6.7 with commit 53e83828d352304fec5e19751f38ed8c65e6ec2f |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2025-37844 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| fs/smb/client/smb2misc.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/ba3ce6c60cd5db258687dfeba9fc608f5e7cadf3 |
| https://git.kernel.org/stable/c/9c9000cb91b986eb7f75835340c67857ab97c09b |
| https://git.kernel.org/stable/c/b2a1833e1c63e2585867ebeaf4dd41494dcede4b |
| https://git.kernel.org/stable/c/864ba5c651b03830f36f0906c21af05b15c1aaa6 |
| https://git.kernel.org/stable/c/e0717385f5c51e290c2cd2ad4699a778316b5132 |
| https://git.kernel.org/stable/c/20048e658652e731f5cadf4a695925e570ca0ff9 |
| https://git.kernel.org/stable/c/6c14ee6af8f1f188b668afd6d003f7516a507b08 |
| https://git.kernel.org/stable/c/b4885bd5935bb26f0a414ad55679a372e53f9b9b |