android_kernel_xiaomi_sm7250/include
Greg Kroah-Hartman f3674eb0fb ANDROID: fix up abi issue with struct snd_pcm_runtime
A portion of the fix for CVE-2022-1048, commit 9cb6c40a6e ("ALSA: pcm:
Fix races among concurrent hw_params and hw_free calls") and
40f4cffbe1 ("ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and
mmap_lock"), caused an ABI break by adding a new field to struct
snd_pcm_runtime.  Because we have to keep this new addition, it is safe
to move it to the end of the structure because this is only ever created
by the sound core, and referenced as a pointer everywhere else.

This does require a .xml update also to handle the increased structure
size:

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 1 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

'struct snd_pcm_runtime at pcm.h:367:1' changed:
  type size changed from 6144 to 6464 (in bits)
  2 data member insertions:
    'mutex buffer_mutex', at offset 6144 (in bits) at pcm.h:454:1
    'atomic_t buffer_accessing', at offset 6400 (in bits) at pcm.h:455:1
  59 impacted interfaces

Bug: 161946584
Fixes: 9cb6c40a6e ("ALSA: pcm: Fix races among concurrent hw_params and hw_free calls")
Fixes: 40f4cffbe1 ("ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I525799616e06c1d2c5513821a3361e99dcb7e553
2022-05-18 14:50:41 +02:00
..
acpi ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions 2022-01-27 09:04:27 +01:00
asm-generic This is the 4.19.219 stable release 2021-12-01 09:42:16 +01:00
clocksource
crypto BACKPORT: crypto: blake2b - sync with blake2s implementation 2021-10-20 10:11:13 -07:00
drm This is the 4.19.199 stable release 2021-07-28 13:24:42 +02:00
dt-bindings
keys
kvm
linux ANDROID: GKI: update the abi .xml file due to hex_to_bin() changes 2022-05-13 09:30:42 +02:00
math-emu
media Revert "media: subdev: disallow ioctl for saa6588/davinci" 2021-07-21 09:24:52 +02:00
memory
misc
net This is the 4.19.243 stable release 2022-05-16 08:49:22 +02:00
pcmcia
ras
rdma RDMA/netlink: Add __maybe_unused to static inline in C file 2021-11-26 11:36:24 +01:00
scsi This is the 4.19.198 stable release 2021-07-20 16:38:59 +02:00
soc irqchip/eznps: Fix build error for !ARC700 builds 2020-09-17 13:45:25 +02:00
sound ANDROID: fix up abi issue with struct snd_pcm_runtime 2022-05-18 14:50:41 +02:00
target scsi: target: Fix ordered tag handling 2021-11-26 11:36:20 +01:00
trace This is the 4.19.218 stable release 2021-11-26 15:19:33 +01:00
uapi This is the 4.19.238 stable release 2022-04-18 09:57:50 +02:00
vdso UPSTREAM: vdso: Remove superfluous #ifdef __KERNEL__ in vdso/datapage.h 2020-11-16 09:22:35 +01:00
video
xen xen/gnttab: fix gnttab_end_foreign_access() without page specified 2022-03-11 10:15:13 +01:00
OWNERS ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS 2021-04-03 14:09:44 +00:00