Bug 2246944 (CVE-2023-46813) - CVE-2023-46813 kernel: SEV-ES local priv escalation
Summary: CVE-2023-46813 kernel: SEV-ES local priv escalation
Keywords:
Status: NEW
Alias: CVE-2023-46813
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2261969
Blocks: 2246946
TreeView+ depends on / blocked
 
Reported: 2023-10-30 08:37 UTC by Avinash Hanwate
Modified: 2024-04-17 19:06 UTC (History)
45 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A buffer overflow and null pointer dereference flaw was found in the Linux kernel's Secure Encrypted Virtualization (SEV) implementation for AMD functionality. This issue occurs when a user in SEV guest VM accesses MMIO registers, which could allow a local user to crash the system or escalate their privileges on the system.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:0610 0 None None None 2024-01-30 14:48:52 UTC
Red Hat Product Errata RHBA-2024:0611 0 None None None 2024-01-30 14:53:19 UTC
Red Hat Product Errata RHBA-2024:0688 0 None None None 2024-02-05 17:04:07 UTC
Red Hat Product Errata RHSA-2024:0431 0 None None None 2024-01-24 15:24:49 UTC
Red Hat Product Errata RHSA-2024:0432 0 None None None 2024-01-24 15:25:43 UTC
Red Hat Product Errata RHSA-2024:0439 0 None None None 2024-01-24 16:36:35 UTC
Red Hat Product Errata RHSA-2024:0448 0 None None None 2024-01-24 16:38:27 UTC
Red Hat Product Errata RHSA-2024:0461 0 None None None 2024-01-24 16:29:20 UTC
Red Hat Product Errata RHSA-2024:0575 0 None None None 2024-01-30 13:22:28 UTC
Red Hat Product Errata RHSA-2024:0724 0 None None None 2024-02-07 16:30:41 UTC
Red Hat Product Errata RHSA-2024:0881 0 None None None 2024-02-20 12:28:46 UTC
Red Hat Product Errata RHSA-2024:0897 0 None None None 2024-02-20 12:33:29 UTC

Description Avinash Hanwate 2023-10-30 08:37:56 UTC
An issue was discovered in the Linux kernel before 6.5.9, exploitable by local users with userspace access to MMIO registers. Incorrect access checking in the #VC handler and instruction emulation of the SEV-ES emulation of MMIO accesses could lead to arbitrary write access to kernel memory (and thus privilege escalation). This depends on a race condition through which userspace can replace an instruction before the #VC handler reads it.

https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.5.9
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b9cb9c45583b911e0db71d09caa6b56469eb2bdf
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=63e44bc52047f182601e7817da969a105aa1f721
https://bugzilla.suse.com/show_bug.cgi?id=1212649
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a37cd2a59d0cb270b1bba568fd3a3b8668b9d3ba

Comment 5 errata-xmlrpc 2024-01-24 15:24:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2024:0431 https://access.redhat.com/errata/RHSA-2024:0431

Comment 6 errata-xmlrpc 2024-01-24 15:25:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2024:0432 https://access.redhat.com/errata/RHSA-2024:0432

Comment 7 errata-xmlrpc 2024-01-24 16:29:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:0461 https://access.redhat.com/errata/RHSA-2024:0461

Comment 8 errata-xmlrpc 2024-01-24 16:36:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:0439 https://access.redhat.com/errata/RHSA-2024:0439

Comment 9 errata-xmlrpc 2024-01-24 16:38:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:0448 https://access.redhat.com/errata/RHSA-2024:0448

Comment 10 errata-xmlrpc 2024-01-30 13:22:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:0575 https://access.redhat.com/errata/RHSA-2024:0575

Comment 11 Alex 2024-01-30 16:32:44 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2261969]

Comment 13 Justin M. Forbes 2024-02-02 22:50:07 UTC
This was fixed for Fedora with the 6.5.9 stable kernel updates.

Comment 14 errata-xmlrpc 2024-02-07 16:30:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0724 https://access.redhat.com/errata/RHSA-2024:0724

Comment 16 errata-xmlrpc 2024-02-20 12:28:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:0881 https://access.redhat.com/errata/RHSA-2024:0881

Comment 17 errata-xmlrpc 2024-02-20 12:33:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:0897 https://access.redhat.com/errata/RHSA-2024:0897


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