MediumFix available
net: dsa: felix: fix possible NULL pointer dereference
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: net: dsa: felix: fix possible NULL pointer dereference As the possible failure of the allocation, kzalloc() may return NULL pointer. Therefore, it should be better to check the 'sgi' in order to prevent the dereference of NULL pointer.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.17.3
- CVEs
- CVE-2022-49141
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 02:16 UTC · Revision 1
Source evidence
net: dsa: felix: fix possible NULL pointer dereference
core-osv · Original sourcePublished 26 Feb 2025, 01:55 UTC
In the Linux kernel, the following vulnerability has been resolved: net: dsa: felix: fix possible NULL pointer dereference As the possible failure of the allocation, kzalloc() may return NULL pointer. Therefore, it should be better to check the 'sgi' in order to prevent the dereference of NULL pointer.
osv:CVE-2022-49141
Kernel
Fixed versions: 5.17.3
Complete source record
{
"id": "c20751ce1ac81507fb80101545b9dba3f711c78d562f417aa7abd96a4c4681af",
"url": "https://osv.dev/vulnerability/CVE-2022-49141",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: dsa: felix: fix possible NULL pointer dereference",
"summary": "In the Linux kernel, the following vulnerability has been resolved: net: dsa: felix: fix possible NULL pointer dereference As the possible failure of the allocation, kzalloc() may return NULL pointer. Therefore, it should be better to check the 'sgi' in order to prevent the dereference of NULL pointer.",
"evidence": "osv:CVE-2022-49141",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.17.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2022-49141",
"aliases": [
"CVE-2022-49141"
],
"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": "23ae3a7877718931474684ef4fbbaf1d1511ee84"
},
{
"fixed": "b7ff8b5e75d4e91ec8c62d621aac8dfb84c57aa9"
},
{
"fixed": "866b7a278cdb51eb158cd8513bc7438fc857804a"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49141.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.17.0"
},
{
"fixed": "5.17.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49141.json"
}
}
],
"modified": "2026-10-28T02:30:49.274028040Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/866b7a278cdb51eb158cd8513bc7438fc857804a",
"https://git.kernel.org/stable/c/b7ff8b5e75d4e91ec8c62d621aac8dfb84c57aa9",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49141.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-49141",
"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/2022/49xxx/CVE-2022-49141.json"
}
},
"related_cves": [
{
"value": "CVE-2022-49141",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517287,
"published_at": "2025-02-26T01:55:12.197+00:00"
}