# CVE-2024-47809: dlm: fix possible lkb_resource null dereference

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-01-11T12:25:15.356Z
- Modified: 2026-11-10T13:17:24.020Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

dlm: fix possible lkb_resource null dereference

This patch fixes a possible null pointer dereference when this function is
called from request_lock() as lkb->lkb_resource is not assigned yet,
only after validate_lock_args() by calling attach_lkb(). Another issue
is that a resource name could be a non printable bytearray and we cannot
assume to be ASCII coded.

The log functionality is probably never being hit when DLM is used in
normal way and no debug logging is enabled. The null pointer dereference
can only occur on a new created lkb that does not have the resource
assigned yet, it probably never hits the null pointer dereference but we
should be sure that other changes might not change this behaviour and we
actually can hit the mentioned null pointer dereference.

In this patch we just drop the printout of the resource name, the lkb id
is enough to make a possible connection to a resource name if this
exists.

(As written by CVE List.)

## Affected

- Linux Linux: from 43279e5376017c40b4be9af5bc79cbb4ef6f53d7 before e1ffea6bec96d4349dbfcc42ad3e436259f64243; from 43279e5376017c40b4be9af5bc79cbb4ef6f53d7 before 8d55ce46dd543c6965970ce70c22c3076dd35b1e; from 43279e5376017c40b4be9af5bc79cbb4ef6f53d7 before 6fbdc3980b70e9c1c86eccea7d5ee68108008fa7; from 43279e5376017c40b4be9af5bc79cbb4ef6f53d7 before 2db11504ef82a60c1a2063ba7431a5cd013ecfcb; from 43279e5376017c40b4be9af5bc79cbb4ef6f53d7 before b98333c67daf887c724cd692e88e2db9418c0861; 2.6.30 (not affected: before 2.6.30; from 5.15.209 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.66 up to 6.6.*; from 6.12.5 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: before 6.6.66; from 6.7 before 6.12.5

## Every score

- CISA-ADP: 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`
- 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/e1ffea6bec96d4349dbfcc42ad3e436259f64243>
- <https://git.kernel.org/stable/c/8d55ce46dd543c6965970ce70c22c3076dd35b1e>
- <https://git.kernel.org/stable/c/6fbdc3980b70e9c1c86eccea7d5ee68108008fa7> (patch)
- <https://git.kernel.org/stable/c/2db11504ef82a60c1a2063ba7431a5cd013ecfcb> (patch)
- <https://git.kernel.org/stable/c/b98333c67daf887c724cd692e88e2db9418c0861> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

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

---

Page: https://cve.day/CVE-2024-47809 · Whole record: https://cve.day/CVE-2024-47809.json · Rebuilt by cve.day 2026-11-25T22:58:50.917Z
