CVE-2024-47809
dlm: fix possible lkb_resource null dereference
Reported by linux · Published January 11, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e1ffea6bec96d4349dbfcc42ad3e436259f64243, b98333c67daf887c724cd692e88e2db9418c0861, 8d55ce46dd543c6965970ce70c22c3076dd35b1e, 6fbdc3980b70e9c1c86eccea7d5ee68108008fa7, 2db11504ef82a60c1a2063ba7431a5cd013ecfcb |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 43279e5376017c40b4be9af5bc79cbb4ef6f53d7, 43279e5376017c40b4be9af5bc79cbb4ef6f53d7, 43279e5376017c40b4be9af5bc79cbb4ef6f53d7 |
| Linux | Linux | 2.6.30, 0, 5.15.209 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| Linux | Linux | 43279e5376017c40b4be9af5bc79cbb4ef6f53d7, 43279e5376017c40b4be9af5bc79cbb4ef6f53d7, 6.13 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5, 3.1.7, 3.1.6 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.6, 3.1.5, 3.1.7 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | 3.1.5, 3.1.6, 3.1.7 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.5, 3.1.6 |
| linux | linux_kernel | 2.6.30, 2.6.30, 2.6.30 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | 3.1.5, 3.1.7, 3.1.6 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.6, 3.1.5, 3.1.7 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | 3.1.6, 3.1.5, 3.1.7 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.7, 3.1.5, 3.1.6 |
Timeline
- Jan 11, 2025 CVE Published
- Jan 12, 2025 EPSS Score (30 in total, the first dated here)
- Feb 22, 2025 Coalition ESS Score (16 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 3, 2026 Security Advisory (139 in total, the first dated here)
- Jan 3, 2026 CVE Updated
- Apr 29, 2026 Distribution Patch (123 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47809
vulnetix vdb fixes CVE-2024-47809
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47809/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart