linux-yocto/drivers
Ban ZuoXiang ff7ccaadb0 iommu/vt-d: Fix misplaced domain_attached assignment
Commit fb5873b779 ("iommu/vt-d: Restore context entry setup order
for aliased devices") was incorrectly backported: the domain_attached
assignment was mistakenly placed in device_set_dirty_tracking()
instead of original identity_domain_attach_dev().

Fix this by moving the assignment to the correct function as in the
original commit.

Fixes: fb5873b779 ("iommu/vt-d: Restore context entry setup order for aliased devices")
Closes: https://lore.kernel.org/linux-iommu/721D44AF820A4FEB+722679cb-2226-4287-8835-9251ad69a1ac@bbaa.fun/
Cc: stable@vger.kernel.org
Reported-by: Ban ZuoXiang <bbaa@bbaa.fun>
Signed-off-by: Ban ZuoXiang <bbaa@bbaa.fun>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-24 08:56:38 +02:00
..
accel accel/ivpu: Trigger device recovery on engine reset/resume failure 2025-07-06 11:01:38 +02:00
accessibility
acpi Revert "ACPI: battery: negate current when discharging" 2025-07-17 18:37:12 +02:00
amba
android binder: fix offset calculation in debug log 2025-05-09 09:50:29 +02:00
ata ata: pata_cs5536: fix build on 32-bit UML 2025-07-10 16:05:06 +02:00
atm atm: idt77252: Add missing dma_map_error() 2025-07-17 18:37:20 +02:00
auxdisplay auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common" 2025-05-29 11:02:24 +02:00
base x86/bugs: Add a Transient Scheduler Attacks mitigation 2025-07-10 16:05:14 +02:00
bcma
block loop: use kiocb helpers to fix lockdep warning 2025-07-24 08:56:32 +02:00
bluetooth Bluetooth: btusb: QCA: Fix downloading wrong NVM for WCN6855 GF variant without board ID 2025-07-24 08:56:33 +02:00
bus Revert "bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first" 2025-06-27 11:11:36 +01:00
cache
cdrom
cdx cdx: Fix possible UAF error in driver_override_show() 2025-03-13 13:02:15 +01:00
char ipmi:msghandler: Fix potential memory corruption in ipmi_create_user() 2025-07-17 18:37:07 +02:00
clk clk: scmi: Handle case where child clocks are initialized before their parents 2025-07-17 18:37:14 +02:00
clocksource clocksource: mips-gic-timer: Enable counter when CPUs start 2025-05-29 11:02:41 +02:00
comedi comedi: Fix initialization of data for instructions that write to subdevice 2025-07-24 08:56:29 +02:00
connector
counter counter: interrupt-cnt: Protect enable/disable OPs with mutex 2025-06-19 15:32:12 +02:00
cpufreq cpufreq/amd-pstate: Add missing NULL ptr check in amd_pstate_update 2025-06-27 11:11:39 +01:00
cpuidle cpuidle: psci: Fix cpuhotplug routine with PREEMPT_RT=y 2025-07-24 08:56:25 +02:00
crypto crypto: zynqmp-sha - Add locking 2025-07-10 16:04:54 +02:00
cxl cxl/region: Add a dev_err() on missing target list entries 2025-07-06 11:01:32 +02:00
dax
dca
devfreq
dio
dma dmaengine: nbpfaxi: Fix memory corruption in probe() 2025-07-24 08:56:25 +02:00
dma-buf dma-buf: fix timeout handling in dma_resv_wait_timeout v2 2025-07-10 16:05:12 +02:00
dpll dpll: Add an assertion to check freq_supported_num 2025-05-29 11:02:31 +02:00
edac EDAC/amd64: Fix size calculation for Non-Power-of-Two DIMMs 2025-07-06 11:01:42 +02:00
eisa
extcon
firewire
firmware firmware: arm_ffa: Replace mutex with rwlock to avoid sleep in atomic context 2025-07-10 16:04:44 +02:00
fpga fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt() 2025-06-19 15:32:13 +02:00
fsi
gnss
gpio gpio: mlxbf3: only get IRQ for device instance 0 2025-06-27 11:11:46 +01:00
gpu drm/xe: Move page fault init after topology init 2025-07-24 08:56:38 +02:00
greybus greybus: gb-beagleplay: Add error handling for gb_greybus_init 2025-04-10 14:39:22 +02:00
hid HID: core: do not bypass hid_hw_raw_request 2025-07-24 08:56:22 +02:00
hsi HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition 2025-04-20 10:16:02 +02:00
hte
hv Drivers: hv: Allocate interrupt and monitor pages aligned to system page boundary 2025-06-27 11:11:24 +01:00
hwmon hwmon: (corsair-cpro) Validate the size of the received input buffer 2025-07-24 08:56:32 +02:00
hwspinlock
hwtracing coresight: Only check bottom two claim bits 2025-07-06 11:01:34 +02:00
i2c i2c: omap: fix deprecated of_property_read_bool() use 2025-07-24 08:56:37 +02:00
i3c i3c: master: svc: Fix implicit fallthrough in svc_i3c_master_ibi_work() 2025-05-29 11:03:26 +02:00
idle
iio iio: common: st_sensors: Fix use of uninitialize device structs 2025-07-24 08:56:28 +02:00
infiniband IB/mlx5: Fix potential deadlock in MR deregistration 2025-07-10 16:05:09 +02:00
input Input: xpad - set correct controller type for Acer NGR200 2025-07-24 08:56:21 +02:00
interconnect
iommu iommu/vt-d: Fix misplaced domain_attached assignment 2025-07-24 08:56:38 +02:00
ipack
irqchip irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ 2025-07-17 18:37:03 +02:00
isdn
leds leds: multicolor: Fix intensity setting while SW blinking 2025-07-06 11:01:32 +02:00
macintosh
mailbox mailbox: Not protect module_put with spin_lock_irqsave 2025-07-06 11:01:32 +02:00
mcb mcb: fix a double free bug in chameleon_parse_gdd() 2025-05-02 07:59:08 +02:00
md dm-bufio: fix sched in atomic context 2025-07-24 08:56:22 +02:00
media media: uvcvideo: Rollback non processed entities on error 2025-07-06 11:01:47 +02:00
memory memory: omap-gpmc: drop no compatible check 2025-04-10 14:39:31 +02:00
memstick memstick: core: Zero initialize id_reg in h_memstick_read_dev_id() 2025-07-24 08:56:26 +02:00
message
mfd mfd: exynos-lpass: Fix another error handling path in exynos_lpass_probe() 2025-07-10 16:05:02 +02:00
misc misc: tps6594-pfsm: Add NULL pointer check in tps6594_pfsm_probe() 2025-07-06 11:01:35 +02:00
mmc mmc: sdhci_am654: Workaround for Errata i2312 2025-07-24 08:56:26 +02:00
most
mtd mtd: spinand: fix memory leak of ECC engine conf 2025-07-10 16:05:08 +02:00
mux
net net: libwx: fix multicast packets received count 2025-07-24 08:56:37 +02:00
nfc
ntb ntb_hw_amd: Add NTB PCI ID for new gen CPU 2025-05-02 07:59:20 +02:00
nubus
nvdimm libnvdimm/labels: Fix divide error in nd_label_data_init() 2025-05-29 11:02:09 +02:00
nvme nvmet-tcp: fix callback lock for TLS handshake 2025-07-24 08:56:31 +02:00
nvmem nvmem: layouts: u-boot-env: remove crc32 endianness conversion 2025-07-24 08:56:21 +02:00
of of: unittest: Unlock on error in unittest_data_add() 2025-06-19 15:31:48 +02:00
opp
parisc
parport
pci Revert "PCI/ACPI: Fix allocated memory release on error in pci_acpi_scan_root()" 2025-07-17 18:37:13 +02:00
pcmcia
peci
perf perf/amlogic: Replace smp_processor_id() with raw_smp_processor_id() in meson_ddr_pmu_create() 2025-06-19 15:31:38 +02:00
phy phy: tegra: xusb: Disable periodic tracking on Tegra234 2025-07-24 08:56:20 +02:00
pinctrl pinctrl: qcom: msm: mark certain pins as invalid for interrupts 2025-07-17 18:37:09 +02:00
platform platform/x86: think-lmi: Fix sysfs group cleanup 2025-07-10 16:05:13 +02:00
pmdomain pmdomain: governor: Consider CPU latency tolerance from pm_domain_cpu_gov 2025-07-24 08:56:27 +02:00
pnp
power power: supply: max17040: adjust thermal channel scaling 2025-06-27 11:11:28 +01:00
powercap powercap: intel_rapl: Do not change CLAMPING bit if ENABLE bit cannot be changed 2025-07-10 16:05:12 +02:00
pps
ps3
ptp ptp: allow reading of currently dialed frequency to succeed on free-running clocks 2025-06-27 11:11:43 +01:00
pwm pwm: mediatek: Ensure to disable clocks in error path 2025-07-17 18:37:10 +02:00
rapidio drivers/rapidio/rio_cm.c: prevent possible heap overwrite 2025-06-27 11:11:36 +01:00
ras RAS/AMD/FMPM: Get masked address 2025-04-25 10:47:56 +02:00
regulator regulator: fan53555: add enable_time support and soft-start times 2025-07-10 16:05:07 +02:00
remoteproc remoteproc: k3-r5: Refactor sequential core power up/down operations 2025-07-10 16:05:02 +02:00
reset
rpmsg rpmsg: qcom_smd: Fix uninitialized return variable in __qcom_smd_send() 2025-06-19 15:32:06 +02:00
rtc rtc: cmos: use spin_lock_irqsave in cmos_interrupt 2025-07-10 16:04:41 +02:00
s390 s390/pkey: Prevent overflow in size calculation for memdup_user() 2025-07-06 11:01:38 +02:00
sbus
scsi scsi: lpfc: Restore clearing of NLP_UNREG_INP in ndlp->nlp_flag 2025-07-10 16:05:05 +02:00
sh
siox
slimbus slimbus: messaging: Free transaction ID in delayed interrupt scenario 2025-03-13 13:02:16 +01:00
soc soc: aspeed: lpc-snoop: Don't disable channels that aren't enabled 2025-07-24 08:56:27 +02:00
soundwire soundwire: amd: fix for clearing command status register 2025-07-24 08:56:29 +02:00
spi spi: Add check for 8-bit transfer with 8 IO mode support 2025-07-24 08:56:22 +02:00
spmi
ssb
staging Revert "staging: vchiq_arm: Create keep-alive thread during probe" 2025-07-24 08:56:21 +02:00
target scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port() 2025-07-10 16:05:07 +02:00
tc
tee optee: ffa: fix sleep in atomic context 2025-07-10 16:05:12 +02:00
thermal thermal/drivers/mediatek/lvts: Remove unused lvts_debugfs_exit 2025-06-19 15:32:38 +02:00
thunderbolt thunderbolt: Fix bit masking in tb_dp_port_set_hops() 2025-07-24 08:56:21 +02:00
tty pch_uart: Fix dma_sync_sg_for_device() nents value 2025-07-24 08:56:21 +02:00
ufs scsi: ufs: core: Fix spelling of a sysfs attribute name 2025-07-10 16:04:46 +02:00
uio uio_hv_generic: Align ring size to system page 2025-06-27 11:11:25 +01:00
usb usb: dwc3: qcom: Don't leave BCR asserted 2025-07-24 08:56:36 +02:00
vdpa vdpa/mlx5: Fix mlx5_vdpa_get_config() endianness on big-endian machines 2025-05-29 11:02:38 +02:00
vfio hisi_acc_vfio_pci: bugfix the problem of uninstalling driver 2025-07-10 16:05:00 +02:00
vhost vhost-scsi: Return queue full for page alloc failures during copy 2025-05-29 11:02:38 +02:00
video fbcon: Make sure modelist not set on unregistered console 2025-06-27 11:11:35 +01:00
virt configfs-tsm-report: Fix NULL dereference of tsm_ops 2025-06-27 11:11:22 +01:00
virtio virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN 2025-05-29 11:01:58 +02:00
w1 w1: fix NULL pointer dereference in probe 2025-04-10 14:39:22 +02:00
watchdog watchdog: da9052_wdt: respect TWDMIN 2025-06-27 11:11:35 +01:00
xen xen/x86: fix initial memory balloon target 2025-06-19 15:31:40 +02:00
zorro
Kconfig
Makefile