Public vulnerability disclosure

CVE-2022-49803

netdevsim: Fix memory leak of nsim_dev->fa_cookie

published

In the Linux kernel, the following vulnerability has been resolved: netdevsim: Fix memory leak of nsim_dev->fa_cookie kmemleak reports this issue: unreferenced object 0xffff8881bac872d0 (size 8): comm "sh", pid 58603, jiffies 4481524462 (age 68.065s) hex dump (first 8 bytes): 04 00 00 00 de ad be ef ........ backtrace: [<00000000c80b8577>] __kmalloc+0x49/0x150 [<000000005292b8c6>] nsim_dev_trap_fa_cookie_write+0xc1/0x210 [netdevsim] [<0000000093d78e77>] full_proxy_write+0xf3/0x180 [<000000005a662c16>] vfs_write+0x1c5/0xaf0 [<000000007aabf84a>] ksys_write+0xed/0x1c0 [<000000005f1d2e47>] do_syscall_64+0x3b/0x90 [<000000006001c6ec>] entry_SYSCALL_64_after_hwframe+0x63/0xcd The issue occurs in the following scenarios: nsim_dev_trap_fa_cookie_write() kmalloc() fa_cookie nsim_dev->fa_cookie = fa_cookie .. nsim_drv_remove() The fa_cookie allocked in nsim_dev_trap_fa_cookie_write() is not freed. To fix, add kfree(nsim_dev->fa_cookie) to nsim_drv_remove().

Technical severityUnscoredNo score in collected sources
Published2025-05-01Source updated 2026-11-05
Collected2026-11-052 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Linux
Linux
≥ d3cbb907ae57fe5da314b51d949b617b538bdeae; < 7d79725a7073d86b9185f87718e22f3d65115801 (affected, git)
≥ d3cbb907ae57fe5da314b51d949b617b538bdeae; < 6d463ddd0107d4188229d996dcdd45c99bad8af7 (affected, git)
≥ d3cbb907ae57fe5da314b51d949b617b538bdeae; < 207edad5717e0a5709ce8467f0eff41c607835c9 (affected, git)
≥ d3cbb907ae57fe5da314b51d949b617b538bdeae; < 064bc7312bd09a48798418663090be0c776183db (affected, git)
Other versions: unaffected
CNA: Linux
Linux
Linux
5.7 (affected)
≥ 0; < 5.7 (unaffected, semver)
≥ 5.10.260; ≤ 5.10.* (unaffected, semver)
≥ 5.15.209; ≤ 5.15.* (unaffected, semver)
≥ 6.0.10; ≤ 6.0.* (unaffected, semver)
≥ 6.1; ≤ * (unaffected, original_commit_for_fix)
Other versions: affected
CNA: Linux

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

No CVSS assessment reported. An unscored record is not a low-severity determination.

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide