Bug 2546374 (CVE-2026-98318) - CVE-2026-98318 kernel: smb: client: validate absolute native symlink targets before NT fixups
Summary: CVE-2026-98318 kernel: smb: client: validate absolute native symlink targets ...
Keywords:
Status: NEW
Alias: CVE-2026-98318
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 09:08 UTC by OSIDB Bzimport
Modified: 2026-11-12 03:35 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:99133 0 None None None 2026-11-11 23:35:44 UTC
Red Hat Product Errata RHSA-2026:99135 0 None None None 2026-11-12 02:52:41 UTC
Red Hat Product Errata RHSA-2026:99139 0 None None None 2026-11-11 23:19:08 UTC
Red Hat Product Errata RHSA-2026:99148 0 None None None 2026-11-12 03:35:46 UTC

Description OSIDB Bzimport 2026-10-06 09:08:14 UTC
In the Linux kernel, the following vulnerability has been resolved:

smb: client: validate absolute native symlink targets before NT fixups

With symlinkroot unset, an absolute target is copied without conversion
to an NT drive path. Later code still assumes an NT prefix is present
when modifying the target and calculating the print name length.

For "/ab", this causes two failures: sym[5] and path[5] are written
past their allocations, and plen -= 2 * poff subtracts an assumed
8-byte prefix from a 6-byte UTF-16 target, wrapping u16 plen to 65534.
That underflow causes another overflow: memcpy() copies 65534 bytes
into a 24-byte buffer. A user with write access to a mounted share
can trigger these bugs with default settings.

Validate the NT drive prefix, including an ASCII drive letter, before
accessing fixed offsets or subtracting the prefix length.

Comment 5 errata-xmlrpc 2026-11-11 23:19:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.2 Extended Update Support

Via RHSA-2026:99139 https://access.redhat.com/errata/RHSA-2026:99139

Comment 6 errata-xmlrpc 2026-11-11 23:35:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:99133 https://access.redhat.com/errata/RHSA-2026:99133

Comment 7 errata-xmlrpc 2026-11-12 02:52:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:99135 https://access.redhat.com/errata/RHSA-2026:99135

Comment 8 errata-xmlrpc 2026-11-12 03:35:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.8 Extended Update Support

Via RHSA-2026:99148 https://access.redhat.com/errata/RHSA-2026:99148


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