# bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()

CVE record · `CVE-2022-49840`

- **Identifiers:** `CVE-2022-49840`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 14:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1cf1cae963c2e6032aebe1637e995bc2f5d330f4 to before 047824a730699c6c66df43306b80f700c9dfc2fd` (git)
  - affected: `1cf1cae963c2e6032aebe1637e995bc2f5d330f4 to before 730fb1ef974a13915bc7651364d8b3318891cd70` (git)
  - affected: `1cf1cae963c2e6032aebe1637e995bc2f5d330f4 to before 7a704dbfd3735304e261f2787c52fbc7c3884736` (git)
  - affected: `1cf1cae963c2e6032aebe1637e995bc2f5d330f4 to before e60f37a1d379c821c17b08f366412dce9ef3d99f` (git)
  - affected: `1cf1cae963c2e6032aebe1637e995bc2f5d330f4 to before eaa8edd86514afac9deb9bf9a5053e74f37edf40` (git)
  - affected: `1cf1cae963c2e6032aebe1637e995bc2f5d330f4 to before 1b597f2d6a55e9f549989913860ad5170da04964` (git)
  - affected: `1cf1cae963c2e6032aebe1637e995bc2f5d330f4 to before d3fd203f36d46aa29600a72d57a1b61af80e4a25` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.12`
  - unaffected: `before 4.12` (semver)
  - unaffected: `4.14.300 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.267 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.225 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.156 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.80 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.10 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 1 May 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-49840](https://www.cve.org/CVERecord?id=CVE-2022-49840)
- [NVD: CVE-2022-49840](https://nvd.nist.gov/vuln/detail/CVE-2022-49840)

### References from the CNA

- <https://git.kernel.org/stable/c/047824a730699c6c66df43306b80f700c9dfc2fd>
- <https://git.kernel.org/stable/c/730fb1ef974a13915bc7651364d8b3318891cd70>
- <https://git.kernel.org/stable/c/7a704dbfd3735304e261f2787c52fbc7c3884736>
- <https://git.kernel.org/stable/c/e60f37a1d379c821c17b08f366412dce9ef3d99f>
- <https://git.kernel.org/stable/c/eaa8edd86514afac9deb9bf9a5053e74f37edf40>
- <https://git.kernel.org/stable/c/1b597f2d6a55e9f549989913860ad5170da04964>
- <https://git.kernel.org/stable/c/d3fd203f36d46aa29600a72d57a1b61af80e4a25>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-49840>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-49840/>. Everything for agents: <https://agentprime.io/llms.txt>.
