In the Linux kernel, the following vulnerability has been resolved: parisc: Fix random data corruption from exception handler The current exception handler implementation, which assists when accessing user space memory, may exhibit random data corruption if the compiler decides to use a different register than the specified register %r29 (defined in ASMEXCEPTIONTABLEREG) for the error code. If the compiler choose another register, the fault handler will nevertheless store -EFAULT into %r29 and thus trash whatever this register is used for. Looking at the assembly I found that this happens sometimes in emulateldd(). To solve the issue, the easiest solution would be if it somehow is possible to tell the fault handler which register is used to hold the error code. Using %0 or %1 in the inline assembly is not posssible as it will show up as e.g. %r29 (with the "%r" prefix), which the GNU assembler can not convert to an integer. This patch takes another, better and more flexible approach: We extend the _extable (which is out of the execution path) by one 32-word. In this word we tell the compiler to insert the assembler instruction "or %r0,%r0,%reg", where %reg references the register which the compiler choosed for the error return code. In case of an access failure, the fault handler finds the _extable entry and can examine the opcode. The used register is encoded in the lowest 5 bits, and the fault handler can then store -EFAULT into this register. Since we extend the _extable to 3 words we can't use the BUILDTIMETABLE_SORT config option any longer.
{ "ubuntu_priority": "medium", "binaries": [ { "linux-source-6.8.0": "6.8.0-11.11", "linux-buildinfo-6.8.0-11-generic": "6.8.0-11.11", "linux-cloud-tools-6.8.0-11": "6.8.0-11.11", "linux-modules-extra-6.8.0-11-generic": "6.8.0-11.11", "linux-libc-dev": "6.8.0-11.11", "linux-headers-6.8.0-11-generic-64k": "6.8.0-11.11", "linux-image-unsigned-6.8.0-11-generic": "6.8.0-11.11", "linux-tools-6.8.0-11-generic": "6.8.0-11.11", "linux-image-unsigned-6.8.0-11-generic-64k": "6.8.0-11.11", "linux-image-6.8.0-11-generic": "6.8.0-11.11", "linux-image-unsigned-6.8.0-11-generic-64k-dbgsym": "6.8.0-11.11", "linux-tools-6.8.0-11": "6.8.0-11.11", "linux-image-unsigned-6.8.0-11-generic-dbgsym": "6.8.0-11.11", "linux-headers-6.8.0-11-generic": "6.8.0-11.11", "linux-tools-host": "6.8.0-11.11", "linux-cloud-tools-6.8.0-11-generic": "6.8.0-11.11", "linux-buildinfo-6.8.0-11-generic-64k": "6.8.0-11.11", "linux-tools-common": "6.8.0-11.11", "linux-headers-6.8.0-11": "6.8.0-11.11", "linux-lib-rust-6.8.0-11-generic": "6.8.0-11.11", "linux-image-6.8.0-11-generic-dbgsym": "6.8.0-11.11", "linux-modules-6.8.0-11-generic-64k": "6.8.0-11.11", "linux-modules-6.8.0-11-generic": "6.8.0-11.11", "linux-tools-6.8.0-11-generic-64k": "6.8.0-11.11", "linux-modules-iwlwifi-6.8.0-11-generic": "6.8.0-11.11", "linux-cloud-tools-common": "6.8.0-11.11" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-tools-6.8.0-1001-aws": "6.8.0-1001.1", "linux-aws-cloud-tools-6.8.0-1001": "6.8.0-1001.1", "linux-buildinfo-6.8.0-1001-aws": "6.8.0-1001.1", "linux-modules-6.8.0-1001-aws": "6.8.0-1001.1", "linux-cloud-tools-6.8.0-1001-aws": "6.8.0-1001.1", "linux-aws-headers-6.8.0-1001": "6.8.0-1001.1", "linux-image-unsigned-6.8.0-1001-aws": "6.8.0-1001.1", "linux-modules-extra-6.8.0-1001-aws": "6.8.0-1001.1", "linux-image-unsigned-6.8.0-1001-aws-dbgsym": "6.8.0-1001.1", "linux-aws-tools-6.8.0-1001": "6.8.0-1001.1", "linux-headers-6.8.0-1001-aws": "6.8.0-1001.1" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-cloud-tools-6.8.0-1001-azure": "6.8.0-1001.1", "linux-azure-tools-6.8.0-1001": "6.8.0-1001.1", "linux-tools-6.8.0-1001-azure": "6.8.0-1001.1", "linux-azure-headers-6.8.0-1001": "6.8.0-1001.1", "linux-modules-iwlwifi-6.8.0-1001-azure": "6.8.0-1001.1", "linux-buildinfo-6.8.0-1001-azure": "6.8.0-1001.1", "linux-modules-extra-6.8.0-1001-azure": "6.8.0-1001.1", "linux-headers-6.8.0-1001-azure": "6.8.0-1001.1", "linux-azure-cloud-tools-6.8.0-1001": "6.8.0-1001.1", "linux-modules-6.8.0-1001-azure": "6.8.0-1001.1", "linux-image-unsigned-6.8.0-1001-azure-dbgsym": "6.8.0-1001.1", "linux-image-unsigned-6.8.0-1001-azure": "6.8.0-1001.1" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-headers-6.8.0-1002-gcp": "6.8.0-1002.2", "linux-gcp-tools-6.8.0-1002": "6.8.0-1002.2", "linux-buildinfo-6.8.0-1002-gcp": "6.8.0-1002.2", "linux-tools-6.8.0-1002-gcp": "6.8.0-1002.2", "linux-image-unsigned-6.8.0-1002-gcp": "6.8.0-1002.2", "linux-image-unsigned-6.8.0-1002-gcp-dbgsym": "6.8.0-1002.2", "linux-modules-iwlwifi-6.8.0-1002-gcp": "6.8.0-1002.2", "linux-modules-6.8.0-1002-gcp": "6.8.0-1002.2", "linux-modules-extra-6.8.0-1002-gcp": "6.8.0-1002.2", "linux-gcp-headers-6.8.0-1002": "6.8.0-1002.2" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-tools-6.8.0-1003-gke": "6.8.0-1003.5", "linux-buildinfo-6.8.0-1003-gke": "6.8.0-1003.5", "linux-image-unsigned-6.8.0-1003-gke-dbgsym": "6.8.0-1003.5", "linux-gke-headers-6.8.0-1003": "6.8.0-1003.5", "linux-modules-6.8.0-1003-gke": "6.8.0-1003.5", "linux-modules-extra-6.8.0-1003-gke": "6.8.0-1003.5", "linux-gke-tools-6.8.0-1003": "6.8.0-1003.5", "linux-image-unsigned-6.8.0-1003-gke": "6.8.0-1003.5", "linux-headers-6.8.0-1003-gke": "6.8.0-1003.5" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-modules-iwlwifi-6.8.0-1001-ibm": "6.8.0-1001.1", "linux-ibm-source-6.8.0": "6.8.0-1001.1", "linux-headers-6.8.0-1001-ibm": "6.8.0-1001.1", "linux-ibm-headers-6.8.0-1001": "6.8.0-1001.1", "linux-image-unsigned-6.8.0-1001-ibm-dbgsym": "6.8.0-1001.1", "linux-ibm-tools-6.8.0-1001": "6.8.0-1001.1", "linux-tools-6.8.0-1001-ibm": "6.8.0-1001.1", "linux-modules-extra-6.8.0-1001-ibm": "6.8.0-1001.1", "linux-buildinfo-6.8.0-1001-ibm": "6.8.0-1001.1", "linux-ibm-tools-common": "6.8.0-1001.1", "linux-image-unsigned-6.8.0-1001-ibm": "6.8.0-1001.1", "linux-ibm-cloud-tools-common": "6.8.0-1001.1", "linux-modules-6.8.0-1001-ibm": "6.8.0-1001.1" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-tools-6.8.0-7-lowlatency-64k": "6.8.0-7.7.1", "linux-lowlatency-cloud-tools-common": "6.8.0-7.7.1", "linux-lowlatency-cloud-tools-6.8.0-7": "6.8.0-7.7.1", "linux-lowlatency-tools-common": "6.8.0-7.7.1", "linux-cloud-tools-6.8.0-7-lowlatency": "6.8.0-7.7.1", "linux-buildinfo-6.8.0-7-lowlatency": "6.8.0-7.7.1", "linux-lowlatency-headers-6.8.0-7": "6.8.0-7.7.1", "linux-image-unsigned-6.8.0-7-lowlatency": "6.8.0-7.7.1", "linux-headers-6.8.0-7-lowlatency": "6.8.0-7.7.1", "linux-modules-6.8.0-7-lowlatency-64k": "6.8.0-7.7.1", "linux-tools-6.8.0-7-lowlatency": "6.8.0-7.7.1", "linux-modules-iwlwifi-6.8.0-7-lowlatency": "6.8.0-7.7.1", "linux-lowlatency-lib-rust-6.8.0-7-lowlatency": "6.8.0-7.7.1", "linux-image-unsigned-6.8.0-7-lowlatency-dbgsym": "6.8.0-7.7.1", "linux-headers-6.8.0-7-lowlatency-64k": "6.8.0-7.7.1", "linux-image-unsigned-6.8.0-7-lowlatency-64k": "6.8.0-7.7.1", "linux-lowlatency-tools-6.8.0-7": "6.8.0-7.7.1", "linux-lowlatency-tools-host": "6.8.0-7.7.1", "linux-buildinfo-6.8.0-7-lowlatency-64k": "6.8.0-7.7.1", "linux-image-unsigned-6.8.0-7-lowlatency-64k-dbgsym": "6.8.0-7.7.1", "linux-modules-6.8.0-7-lowlatency": "6.8.0-7.7.1" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-nvidia-tools-host": "6.8.0-1007.7", "linux-tools-6.8.0-1007-nvidia-64k": "6.8.0-1007.7", "linux-buildinfo-6.8.0-1007-nvidia": "6.8.0-1007.7", "linux-nvidia-tools-6.8.0-1007": "6.8.0-1007.7", "linux-buildinfo-6.8.0-1007-nvidia-64k": "6.8.0-1007.7", "linux-modules-nvidia-fs-6.8.0-1007-nvidia-64k": "6.8.0-1007.7", "linux-image-unsigned-6.8.0-1007-nvidia": "6.8.0-1007.7", "linux-modules-extra-6.8.0-1007-nvidia": "6.8.0-1007.7", "linux-tools-6.8.0-1007-nvidia": "6.8.0-1007.7", "linux-headers-6.8.0-1007-nvidia": "6.8.0-1007.7", "linux-modules-6.8.0-1007-nvidia": "6.8.0-1007.7", "linux-image-unsigned-6.8.0-1007-nvidia-64k": "6.8.0-1007.7", "linux-modules-nvidia-fs-6.8.0-1007-nvidia": "6.8.0-1007.7", "linux-image-unsigned-6.8.0-1007-nvidia-64k-dbgsym": "6.8.0-1007.7", "linux-image-unsigned-6.8.0-1007-nvidia-dbgsym": "6.8.0-1007.7", "linux-headers-6.8.0-1007-nvidia-64k": "6.8.0-1007.7", "linux-nvidia-headers-6.8.0-1007": "6.8.0-1007.7", "linux-modules-6.8.0-1007-nvidia-64k": "6.8.0-1007.7" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-modules-ipu6-6.8.0-1003-oem": "6.8.0-1003.3", "linux-tools-6.8.0-1003-oem": "6.8.0-1003.3", "linux-image-unsigned-6.8.0-1003-oem": "6.8.0-1003.3", "linux-modules-iwlwifi-6.8.0-1003-oem": "6.8.0-1003.3", "linux-modules-6.8.0-1003-oem": "6.8.0-1003.3", "linux-headers-6.8.0-1003-oem": "6.8.0-1003.3", "linux-oem-6.8-tools-6.8.0-1003": "6.8.0-1003.3", "linux-oem-6.8-headers-6.8.0-1003": "6.8.0-1003.3", "linux-modules-ivsc-6.8.0-1003-oem": "6.8.0-1003.3", "linux-buildinfo-6.8.0-1003-oem": "6.8.0-1003.3", "linux-image-unsigned-6.8.0-1003-oem-dbgsym": "6.8.0-1003.3" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-buildinfo-6.8.0-1001-oracle": "6.8.0-1001.1", "linux-oracle-headers-6.8.0-1001": "6.8.0-1001.1", "linux-oracle-tools-6.8.0-1001": "6.8.0-1001.1", "linux-image-unsigned-6.8.0-1001-oracle-dbgsym": "6.8.0-1001.1", "linux-headers-6.8.0-1001-oracle": "6.8.0-1001.1", "linux-modules-iwlwifi-6.8.0-1001-oracle": "6.8.0-1001.1", "linux-tools-6.8.0-1001-oracle": "6.8.0-1001.1", "linux-modules-6.8.0-1001-oracle": "6.8.0-1001.1", "linux-image-unsigned-6.8.0-1001-oracle": "6.8.0-1001.1", "linux-modules-extra-6.8.0-1001-oracle": "6.8.0-1001.1" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-raspi-tools-6.8.0-1001": "6.8.0-1001.1", "linux-image-6.8.0-1001-raspi-dbgsym": "6.8.0-1001.1", "linux-modules-6.8.0-1001-raspi": "6.8.0-1001.1", "linux-tools-6.8.0-1001-raspi": "6.8.0-1001.1", "linux-image-6.8.0-1001-raspi": "6.8.0-1001.1", "linux-headers-6.8.0-1001-raspi": "6.8.0-1001.1", "linux-buildinfo-6.8.0-1001-raspi": "6.8.0-1001.1", "linux-raspi-headers-6.8.0-1001": "6.8.0-1001.1" } ], "availability": "No subscription required" }
{ "ubuntu_priority": "medium", "binaries": [ { "linux-riscv-headers-6.8.0-20": "6.8.0-20.20.1", "linux-modules-6.8.0-20-generic": "6.8.0-20.20.1", "linux-buildinfo-6.8.0-20-generic": "6.8.0-20.20.1", "linux-image-6.8.0-20-generic-dbgsym": "6.8.0-20.20.1", "linux-tools-6.8.0-20-generic": "6.8.0-20.20.1", "linux-headers-6.8.0-20-generic": "6.8.0-20.20.1", "linux-riscv-tools-6.8.0-20": "6.8.0-20.20.1", "linux-image-6.8.0-20-generic": "6.8.0-20.20.1" } ], "availability": "No subscription required" }