CVE-2022-49008

Source
https://cve.org/CVERecord?id=CVE-2022-49008
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49008.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49008
Downstream
Published
2024-10-21T20:06:20Z
Modified
2026-08-12T03:51:26Z
Summary
can: can327: can327_feed_frame_to_netdev(): fix potential skb leak when netdev is down
Details

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

can: can327: can327_feed_frame_to_netdev(): fix potential skb leak when netdev is down

In can327_feed_frame_to_netdev(), it did not free the skb when netdev is down, and all callers of can327_feed_frame_to_netdev() did not free allocated skb too. That would trigger skb leak.

Fix it by adding kfree_skb() in can327_feed_frame_to_netdev() when netdev is down. Not tested, just compiled.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49008.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
43da2f07622f41376c7ddab8f73dc2b1d3ab9715
Fixed
797b1d9fc0e1f4351e4ad49b078c1a3cdc0d4a08
Fixed
8fa452cfafed521aaf5a18c71003fe24b1ee6141

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49008.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.0.12

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49008.json"