MediumFix available
iio: adc: ti-ads1298: Add NULL check in ads1298_init
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: Add NULL check in ads1298_init devm_kasprintf() can return a NULL pointer on failure. A check on the return value of such a call in ads1298_init() is missing. Add it.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.10
- CVEs
- CVE-2024-57944
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 01:56 UTC · Revision 1
Source evidence
iio: adc: ti-ads1298: Add NULL check in ads1298_init
core-osv · Original sourcePublished 21 Jan 2025, 12:18 UTC
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: Add NULL check in ads1298_init devm_kasprintf() can return a NULL pointer on failure. A check on the return value of such a call in ads1298_init() is missing. Add it.
osv:CVE-2024-57944
Kernel
Fixed versions: 6.12.10
Complete source record
{
"id": "05d0d69bb6b70ad744fd2d3dc416528bcfbf773fe0a962bcb918a869738c5712",
"url": "https://osv.dev/vulnerability/CVE-2024-57944",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "iio: adc: ti-ads1298: Add NULL check in ads1298_init",
"summary": "In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: Add NULL check in ads1298_init devm_kasprintf() can return a NULL pointer on failure. A check on the return value of such a call in ads1298_init() is missing. Add it.",
"evidence": "osv:CVE-2024-57944",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2024-57944",
"aliases": [
"CVE-2024-57944"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "00ef7708fa6073a84f6898fdcdfe965d903b0378"
},
{
"fixed": "69b680bbac9bd611aaa308769d6c71e3e70eb3c3"
},
{
"fixed": "bcb394bb28e55312cace75362b8e489eb0e02a30"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57944.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.12.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57944.json"
}
}
],
"modified": "2026-10-28T02:30:25.284301628Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/69b680bbac9bd611aaa308769d6c71e3e70eb3c3",
"https://git.kernel.org/stable/c/bcb394bb28e55312cace75362b8e489eb0e02a30",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57944.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-57944",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57944.json"
}
},
"related_cves": [
{
"value": "CVE-2024-57944",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491745,
"published_at": "2025-01-21T12:18:11.882+00:00"
}