NULL Pointer Dereference Affecting kernel-modules-extra package, versions <0:4.18.0-305.108.1.el8_4


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-KERNELMODULESEXTRA-5957297
  • published1 Mar 2023
  • disclosed9 Aug 2022

Introduced: 9 Aug 2022

CVE-2023-1095  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade RHEL:8 kernel-modules-extra to version 0:4.18.0-305.108.1.el8_4 or higher.
This issue was patched in RHSA-2023:5628.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-modules-extra package and not the kernel-modules-extra package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

In nf_tables_updtable, if nf_tables_table_enable returns an error, nft_trans_destroy is called to free the transaction object. nft_trans_destroy() calls list_del(), but the transaction was never placed on a list -- the list head is all zeroes, this results in a NULL pointer dereference.

CVSS Scores

version 3.1