Bug 2119855 (CVE-2022-36879) - CVE-2022-36879 kernel: xfrm_expand_policies() in net/xfrm/xfrm_policy.c can cause a refcount to be dropped twice
Summary: CVE-2022-36879 kernel: xfrm_expand_policies() in net/xfrm/xfrm_policy.c can c...
Keywords:
Status: NEW
Alias: CVE-2022-36879
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2183128 2183130 2119856 2122185 2122186 2122187 2122188 2183129 2183131
Blocks: 2111787
TreeView+ depends on / blocked
 
Reported: 2022-08-19 16:46 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-07-07 08:29 UTC (History)
57 users (show)

Fixed In Version: kernel 5.19-rc8
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel’s IP framework for transforming packets (XFRM subsystem). An error while resolving policies in xfrm_bundle_lookup causes the refcount to drop twice, leading to a possible crash and a denial of service.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-08-19 16:46:32 UTC
An issue was discovered in the Linux kernel through 5.18.14. xfrm_expand_policies in net/xfrm/xfrm_policy.c can cause a refcount to be dropped twice.

Reference and upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=f85daf0e725358be78dfd208dea5fd665d8cb901

Comment 1 Guilherme de Almeida Suckevicz 2022-08-19 16:46:58 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2119856]

Comment 2 Justin M. Forbes 2022-08-22 21:12:15 UTC
This was fixed for Fedora with the 5.18.15 stable kernel updates.


Note You need to log in before you can comment on or make changes to this bug.