Omkar Sai Sandeep Katadi
d17f5a05b1
Merge remote-tracking branch into HEAD
...
* keystone/mirror-android12-5.10-2024-01: (31 commits)
FROMGIT: PM / devfreq: Synchronize devfreq_monitor_[start/stop]
UPSTREAM: dm verity: don't perform FEC for failed readahead IO
UPSTREAM: netfilter: nft_set_pipapo: skip inactive elements during set walk
UPSTREAM: ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
UPSTREAM: x86/sev: Check for user-space IOIO pointing to kernel space
UPSTREAM: x86/sev: Check IOBM for IOIO exceptions from user-space
UPSTREAM: nvmet-tcp: Fix a possible UAF in queue intialization setup
FROMLIST: binder: fix memory leaks of spam and pending work
ANDROID: Snapshot Mainline's version of checkpatch.pl
ANDROID: scsi: ufs: vendor check response and recovery addition
ANDROID: scsi: ufs: add perf heuristic design
ANDROID: ABI: Update symbol list for Mediatek
ANDROID: Add vendor hook for ufs perf heuristic and error recovery
UPSTREAM: io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
UPSTREAM: ufs: core: wlun send SSU timeout recovery
ANDROID: GKI: db845c: Update symbols list and ABI on rpmsg_register_device_override
ANDROID: fix up rpmsg_device ABI break
ANDROID: fix up platform_device ABI break
UPSTREAM: rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
UPSTREAM: rpmsg: glink: Release driver_override
...
Change-Id: Id3f746423cbd37cfd3c5067624b47d5862806306
2024-01-17 21:35:03 +00:00
keystone-kernel-automerger
8b95ddb951
Merge android12-5.10-2023-11_r3 into HEAD
...
* commit '347e22ab61eedb6b491c16dc69edfe09dd777efe':
ANDROID: ABI: Update symbol list for Mediatek
ANDROID: Add vendor hook for ufs perf heuristic and error recovery
ANDROID: scsi: ufs: add perf heuristic design
ANDROID: scsi: ufs: vendor check response and recovery addition
Change-Id: Icb614f76c3110e14e1f24608d08c496d64611ab3
Signed-off-by: keystone-kernel-automerger <keystone-kernel-automerger@google.com >
2024-01-09 18:30:40 +00:00
Viktor Martensson
26d1d50930
ANDROID: Initialize android12-5.10-2024-01
...
Bug: 317142228
Signed-off-by: Viktor Martensson <vmartensson@google.com >
Change-Id: I1c6e83ac5e853f5aa1aebc51af987098b29fcd60
2024-01-05 18:26:54 +00:00
Browse Zhang
347e22ab61
ANDROID: ABI: Update symbol list for Mediatek
...
Add below symbols into MTK symbol list
7 function symbols added
'int __tracepoint__android_vh_ufs_perf_huristic_ctrl(void*,
struct ufs_hba*, struct ufshcd_lrb*, int *)'
'int __tracepoint__android_vh_ufs_send_command_post_change(
void*, struct ufs_hba*, struct ufshcd_lrb*)'
'int __tracepoint__android_vh_ufs_abort_success_ctrl(void*,
struct ufs_hba*, struct ufshcd_lrb*)'
'int __tracepoint__android_vh_ufs_compl_rsp_check_done(void*,
struct ufs_hba*, struct ufshcd_lrb*, bool*)'
'int __tracepoint__android_vh_ufs_err_handler(void*, struct
ufs_hba*, bool*)'
'int __tracepoint__android_vh_ufs_err_check_ctrl(void*, struct
ufs_hba*, bool*)'
'int __tracepoint__android_vh_ufs_err_print_ctrl(void*, struct
ufs_hba*, bool*)'
7 variable symbols added
'struct __tracepoint__android_vh_ufs_perf_huristic_ctrl'
'struct __tracepoint__android_vh_ufs_send_command_post_change'
'struct __tracepoint__android_vh_ufs_abort_success_ctrl'
'struct __tracepoint__android_vh_ufs_compl_rsp_check_done'
'struct __tracepoint__android_vh_ufs_err_handler'
'struct __tracepoint__android_vh_ufs_err_check_ctrl'
'struct __tracepoint__android_vh_ufs_err_print_ctrl'
Bug: 312806167
Bug: 318440193
Change-Id: I0134d606c09f26e061439e5f179aab2b482fa10a
Signed-off-by: Sanjeev Yadav <sanjeev.y@mediatek.com >
Signed-off-by: Browse Zhang <browse.zhang@mediatek.com >
(cherry picked from commit 83578817d0
)
2024-01-05 10:02:31 +00:00
Browse Zhang
5c4229df61
ANDROID: Add vendor hook for ufs perf heuristic and error recovery
...
Added vendor hook to consider ufs host/device perf heuristic
and error recovery according to different platform/design
Vendor/Platform can take necessary action according to their
design/implementation
Added vendor hook before calling UFS command ops
- trace_android_vh_ufs_perf_huristic_ctrl
Added vendor hook after sending UFS command to host
- trace_android_vh_ufs_send_command_post_change
Added vendor hook for abort success case
- trace_android_vh_ufs_abort_success_ctrl
Added vendor hook for completion response check
- trace_android_vh_ufs_compl_rsp_check_done
Added vendor hook for vendor specific error handling
- trace_android_vh_ufs_err_handler
Added vendor hook for err logs printing control
- trace_android_vh_ufs_err_print_ctrl
Added vendor hook for error checking flow trigger
- trace_android_vh_ufs_err_check_ctrl
Bug: 312806167
Bug: 318440193
Change-Id: I2190afe62b60da9d47001307f858f10fc8a59986
Signed-off-by: Sanjeev Yadav <sanjeev.y@mediatek.com >
Signed-off-by: Browse Zhang <browse.zhang@mediatek.com >
(cherry picked from commit 85d8fb9163
)
2024-01-05 10:02:22 +00:00
Browse Zhang
b4e30faae0
ANDROID: scsi: ufs: add perf heuristic design
...
Added vendor hook to consider ufs host/device perf heuristic
according to different platform/design
Vendor/Platform can take necessary action according to their
design/implementation
Added vendor hook before calling UFS command ops
- trace_android_vh_ufs_perf_huristic_ctrl
Added vendor hook after sending UFS command to host
- trace_android_vh_ufs_send_command_post_change
Added vendor hook for abort success case
- trace_android_vh_ufs_abort_success_ctrl
Bug: 312806167
Bug: 318440193
Signed-off-by: Sanjeev Yadav <sanjeev.y@mediatek.com >
Signed-off-by: Browse Zhang <browse.zhang@mediatek.com >
Change-Id: Ibd07480d1086ec82f2ba6a52e21da08750796221
(cherry picked from commit 4246d242fa
)
2024-01-05 10:02:07 +00:00
Browse Zhang
850eb94047
ANDROID: scsi: ufs: vendor check response and recovery addition
...
As per Vendor HW design consideration,
added Vendor specific error handling flow
Under the error checking flow, Vendor can check errors as per their HW design/arch and recover
them accordingly.
Added vendor hook for completion response check
- trace_android_vh_ufs_compl_rsp_check_done
Added vendor hook for vendor specific error handling
- trace_android_vh_ufs_err_handler
Added vendor hook for err logs printing control
- trace_android_vh_ufs_err_print_ctrl
Added vendor hook for error checking flow trigger
- trace_android_vh_ufs_err_check_ctrl
Bug: 312806167
Bug: 318440193
Change-Id: I614737218537f197c68780f5b528b1948d5e29ea
Signed-off-by: Sanjeev Yadav <sanjeev.y@mediatek.com >
Signed-off-by: Browse Zhang <browse.zhang@mediatek.com >
(cherry picked from commit b39b9bde93
)
2024-01-03 02:43:35 +00:00
Mukesh Ojha
99512f1216
FROMGIT: PM / devfreq: Synchronize devfreq_monitor_[start/stop]
...
There is a chance if a frequent switch of the governor
done in a loop result in timer list corruption where
timer cancel being done from two place one from
cancel_delayed_work_sync() and followed by expire_timers()
can be seen from the traces[1].
while true
do
echo "simple_ondemand" > /sys/class/devfreq/1d84000.ufshc/governor
echo "performance" > /sys/class/devfreq/1d84000.ufshc/governor
done
It looks to be issue with devfreq driver where
device_monitor_[start/stop] need to synchronized so that
delayed work should get corrupted while it is either
being queued or running or being cancelled.
Let's use polling flag and devfreq lock to synchronize the
queueing the timer instance twice and work data being
corrupted.
[1]
...
..
<idle>-0 [003] 9436.209662: timer_cancel timer=0xffffff80444f0428
<idle>-0 [003] 9436.209664: timer_expire_entry timer=0xffffff80444f0428 now=0x10022da1c function=__typeid__ZTSFvP10timer_listE_global_addr baseclk=0x10022da1c
<idle>-0 [003] 9436.209718: timer_expire_exit timer=0xffffff80444f0428
kworker/u16:6-14217 [003] 9436.209863: timer_start timer=0xffffff80444f0428 function=__typeid__ZTSFvP10timer_listE_global_addr expires=0x10022da2b now=0x10022da1c flags=182452227
vendor.xxxyyy.ha-1593 [004] 9436.209888: timer_cancel timer=0xffffff80444f0428
vendor.xxxyyy.ha-1593 [004] 9436.216390: timer_init timer=0xffffff80444f0428
vendor.xxxyyy.ha-1593 [004] 9436.216392: timer_start timer=0xffffff80444f0428 function=__typeid__ZTSFvP10timer_listE_global_addr expires=0x10022da2c now=0x10022da1d flags=186646532
vendor.xxxyyy.ha-1593 [005] 9436.220992: timer_cancel timer=0xffffff80444f0428
xxxyyyTraceManag-7795 [004] 9436.261641: timer_cancel timer=0xffffff80444f0428
[2]
9436.261653][ C4] Unable to handle kernel paging request at virtual address dead00000000012a
[ 9436.261664][ C4] Mem abort info:
[ 9436.261666][ C4] ESR = 0x96000044
[ 9436.261669][ C4] EC = 0x25: DABT (current EL), IL = 32 bits
[ 9436.261671][ C4] SET = 0, FnV = 0
[ 9436.261673][ C4] EA = 0, S1PTW = 0
[ 9436.261675][ C4] Data abort info:
[ 9436.261677][ C4] ISV = 0, ISS = 0x00000044
[ 9436.261680][ C4] CM = 0, WnR = 1
[ 9436.261682][ C4] [dead00000000012a] address between user and kernel address ranges
[ 9436.261685][ C4] Internal error: Oops: 96000044 [#1 ] PREEMPT SMP
[ 9436.261701][ C4] Skip md ftrace buffer dump for: 0x3a982d0
...
[ 9436.262138][ C4] CPU: 4 PID: 7795 Comm: TraceManag Tainted: G S W O 5.10.149-android12-9-o-g17f915d29d0c #1
[ 9436.262141][ C4] Hardware name: Qualcomm Technologies, Inc. (DT)
[ 9436.262144][ C4] pstate: 22400085 (nzCv daIf +PAN -UAO +TCO BTYPE=--)
[ 9436.262161][ C4] pc : expire_timers+0x9c/0x438
[ 9436.262164][ C4] lr : expire_timers+0x2a4/0x438
[ 9436.262168][ C4] sp : ffffffc010023dd0
[ 9436.262171][ C4] x29: ffffffc010023df0 x28: ffffffd0636fdc18
[ 9436.262178][ C4] x27: ffffffd063569dd0 x26: ffffffd063536008
[ 9436.262182][ C4] x25: 0000000000000001 x24: ffffff88f7c69280
[ 9436.262185][ C4] x23: 00000000000000e0 x22: dead000000000122
[ 9436.262188][ C4] x21: 000000010022da29 x20: ffffff8af72b4e80
[ 9436.262191][ C4] x19: ffffffc010023e50 x18: ffffffc010025038
[ 9436.262195][ C4] x17: 0000000000000240 x16: 0000000000000201
[ 9436.262199][ C4] x15: ffffffffffffffff x14: ffffff889f3c3100
[ 9436.262203][ C4] x13: ffffff889f3c3100 x12: 00000000049f56b8
[ 9436.262207][ C4] x11: 00000000049f56b8 x10: 00000000ffffffff
[ 9436.262212][ C4] x9 : ffffffc010023e50 x8 : dead000000000122
[ 9436.262216][ C4] x7 : ffffffffffffffff x6 : ffffffc0100239d8
[ 9436.262220][ C4] x5 : 0000000000000000 x4 : 0000000000000101
[ 9436.262223][ C4] x3 : 0000000000000080 x2 : ffffff889edc155c
[ 9436.262227][ C4] x1 : ffffff8001005200 x0 : ffffff80444f0428
[ 9436.262232][ C4] Call trace:
[ 9436.262236][ C4] expire_timers+0x9c/0x438
[ 9436.262240][ C4] __run_timers+0x1f0/0x330
[ 9436.262245][ C4] run_timer_softirq+0x28/0x58
[ 9436.262255][ C4] efi_header_end+0x168/0x5ec
[ 9436.262265][ C4] __irq_exit_rcu+0x108/0x124
[ 9436.262274][ C4] __handle_domain_irq+0x118/0x1e4
[ 9436.262282][ C4] gic_handle_irq.30369+0x6c/0x2bc
[ 9436.262286][ C4] el0_irq_naked+0x60/0x6c
Bug: 317188938
Change-Id: I9a22325f6abbf28217c8f37b093cf77509b0139a
Link: https://lore.kernel.org/all/1700860318-4025-1-git-send-email-quic_mojha@quicinc.com/
Reported-by: Joyyoung Huang <huangzaiyang@oppo.com >
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com >
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com >
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com >
(cherry picked from commit aed5ed595960c6d301dcd4ed31aeaa7a8054c0c6
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git devfreq-next)
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
2023-12-22 22:47:40 +00:00
Wu Bo
d5552f63b8
UPSTREAM: dm verity: don't perform FEC for failed readahead IO
...
We found an issue under Android OTA scenario that many BIOs have to do
FEC where the data under dm-verity is 100% complete and no corruption.
Android OTA has many dm-block layers, from upper to lower:
dm-verity
dm-snapshot
dm-origin & dm-cow
dm-linear
ufs
DM tables have to change 2 times during Android OTA merging process.
When doing table change, the dm-snapshot will be suspended for a while.
During this interval, many readahead IOs are submitted to dm_verity
from filesystem. Then the kverity works are busy doing FEC process
which cost too much time to finish dm-verity IO. This causes needless
delay which feels like system is hung.
After adding debugging it was found that each readahead IO needed
around 10s to finish when this situation occurred. This is due to IO
amplification:
dm-snapshot suspend
erofs_readahead // 300+ io is submitted
dm_submit_bio (dm_verity)
dm_submit_bio (dm_snapshot)
bio return EIO
bio got nothing, it's empty
verity_end_io
verity_verify_io
forloop range(0, io->n_blocks) // each io->nblocks ~= 20
verity_fec_decode
fec_decode_rsb
fec_read_bufs
forloop range(0, v->fec->rsn) // v->fec->rsn = 253
new_read
submit_bio (dm_snapshot)
end loop
end loop
dm-snapshot resume
Readahead BIOs get nothing while dm-snapshot is suspended, so all of
them will cause verity's FEC.
Each readahead BIO needs to verify ~20 (io->nblocks) blocks.
Each block needs to do FEC, and every block needs to do 253
(v->fec->rsn) reads.
So during the suspend interval(~200ms), 300 readahead BIOs trigger
~1518000 (300*20*253) IOs to dm-snapshot.
As readahead IO is not required by userspace, and to fix this issue,
it is best to pass readahead errors to upper layer to handle it.
Cc: stable@vger.kernel.org
Fixes: a739ff3f54
("dm verity: add support for forward error correction")
Bug: 316972624
Link: https://lore.kernel.org/dm-devel/b84fb49-bf63-3442-8c99-d565e134f2@redhat.com
Signed-off-by: Wu Bo <bo.wu@vivo.com >
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com >
Signed-off-by: Mike Snitzer <snitzer@kernel.org >
Signed-off-by: Akilesh Kailash <akailash@google.com >
(cherry picked from commit 0193e3966ceeeef69e235975918b287ab093082b)
Change-Id: I73560e5660cebdc1997e1f9926cbb8888789eb46
2023-12-22 00:57:08 +00:00
Florian Westphal
2274751099
UPSTREAM: netfilter: nft_set_pipapo: skip inactive elements during set walk
...
commit 317eb9685095678f2c9f5a8189de698c5354316a upstream.
Otherwise set elements can be deactivated twice which will cause a crash.
Bug: 316310313
Reported-by: Xingyuan Mo <hdthky0@gmail.com >
Fixes: 3c4287f620
("nf_tables: Add set type for arbitrary concatenation of ranges")
Signed-off-by: Florian Westphal <fw@strlen.de >
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 189c2a82933c67ad360c421258d5449f6647544a)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I27fb6ee806642e23ca02700763a387341dd463e6
2023-12-21 13:56:13 +00:00
Zhengchao Shao
a72131befe
UPSTREAM: ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
...
[ Upstream commit e2b706c691905fe78468c361aaabc719d0a496f1 ]
When I perform the following test operations:
1.ip link add br0 type bridge
2.brctl addif br0 eth0
3.ip addr add 239.0.0.1/32 dev eth0
4.ip addr add 239.0.0.1/32 dev br0
5.ip addr add 224.0.0.1/32 dev br0
6.while ((1))
do
ifconfig br0 up
ifconfig br0 down
done
7.send IGMPv2 query packets to port eth0 continuously. For example,
./mausezahn ethX -c 0 "01 00 5e 00 00 01 00 72 19 88 aa 02 08 00 45 00 00
1c 00 01 00 00 01 02 0e 7f c0 a8 0a b7 e0 00 00 01 11 64 ee 9b 00 00 00 00"
The preceding tests may trigger the refcnt uaf issue of the mc list. The
stack is as follows:
refcount_t: addition on 0; use-after-free.
WARNING: CPU: 21 PID: 144 at lib/refcount.c:25 refcount_warn_saturate (lib/refcount.c:25)
CPU: 21 PID: 144 Comm: ksoftirqd/21 Kdump: loaded Not tainted 6.7.0-rc1-next-20231117-dirty #80
Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
RIP: 0010:refcount_warn_saturate (lib/refcount.c:25)
RSP: 0018:ffffb68f00657910 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8a00c3bf96c0 RCX: ffff8a07b6160908
RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff8a07b6160900
RBP: ffff8a00cba36862 R08: 0000000000000000 R09: 00000000ffff7fff
R10: ffffb68f006577c0 R11: ffffffffb0fdcdc8 R12: ffff8a00c3bf9680
R13: ffff8a00c3bf96f0 R14: 0000000000000000 R15: ffff8a00d8766e00
FS: 0000000000000000(0000) GS:ffff8a07b6140000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f10b520b28 CR3: 000000039741a000 CR4: 00000000000006f0
Call Trace:
<TASK>
igmp_heard_query (net/ipv4/igmp.c:1068)
igmp_rcv (net/ipv4/igmp.c:1132)
ip_protocol_deliver_rcu (net/ipv4/ip_input.c:205)
ip_local_deliver_finish (net/ipv4/ip_input.c:234)
__netif_receive_skb_one_core (net/core/dev.c:5529)
netif_receive_skb_internal (net/core/dev.c:5729)
netif_receive_skb (net/core/dev.c:5788)
br_handle_frame_finish (net/bridge/br_input.c:216)
nf_hook_bridge_pre (net/bridge/br_input.c:294)
__netif_receive_skb_core (net/core/dev.c:5423)
__netif_receive_skb_list_core (net/core/dev.c:5606)
__netif_receive_skb_list (net/core/dev.c:5674)
netif_receive_skb_list_internal (net/core/dev.c:5764)
napi_gro_receive (net/core/gro.c:609)
e1000_clean_rx_irq (drivers/net/ethernet/intel/e1000/e1000_main.c:4467)
e1000_clean (drivers/net/ethernet/intel/e1000/e1000_main.c:3805)
__napi_poll (net/core/dev.c:6533)
net_rx_action (net/core/dev.c:6735)
__do_softirq (kernel/softirq.c:554)
run_ksoftirqd (kernel/softirq.c:913)
smpboot_thread_fn (kernel/smpboot.c:164)
kthread (kernel/kthread.c:388)
ret_from_fork (arch/x86/kernel/process.c:153)
ret_from_fork_asm (arch/x86/entry/entry_64.S:250)
</TASK>
The root causes are as follows:
Thread A Thread B
... netif_receive_skb
br_dev_stop ...
br_multicast_leave_snoopers ...
__ip_mc_dec_group ...
__igmp_group_dropped igmp_rcv
igmp_stop_timer igmp_heard_query //ref = 1
ip_ma_put igmp_mod_timer
refcount_dec_and_test igmp_start_timer //ref = 0
... refcount_inc //ref increases from 0
When the device receives an IGMPv2 Query message, it starts the timer
immediately, regardless of whether the device is running. If the device is
down and has left the multicast group, it will cause the mc list refcount
uaf issue.
Bug: 316932391
Fixes: 1da177e4c3
("Linux-2.6.12-rc2")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com >
Reviewed-by: Eric Dumazet <edumazet@google.com >
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
Signed-off-by: Sasha Levin <sashal@kernel.org >
(cherry picked from commit 94445d9583079e0ccc5dde1370076ff24800d86e)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I277be2304e564994e05b981ccd6cd8cbb9dc85be
2023-12-21 13:35:32 +00:00
Joerg Roedel
718225bcc1
UPSTREAM: x86/sev: Check for user-space IOIO pointing to kernel space
...
Upstream commit: 63e44bc52047f182601e7817da969a105aa1f721
Check the memory operand of INS/OUTS before emulating the instruction.
The #VC exception can get raised from user-space, but the memory operand
can be manipulated to access kernel memory before the emulation actually
begins and after the exception handler has run.
[ bp: Massage commit message. ]
Bug: 309733863
Fixes: 597cfe4821
("x86/boot/compressed/64: Setup a GHCB-based VC Exception handler")
Reported-by: Tom Dohrmann <erbse.13@gmx.de >
Signed-off-by: Joerg Roedel <jroedel@suse.de >
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de >
Cc: <stable@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 6550cbe25d
)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: Ie21d33ca750d1668244c9a954cb7ab6872066c2e
2023-12-21 13:08:52 +00:00
Joerg Roedel
5b118b5b1d
UPSTREAM: x86/sev: Check IOBM for IOIO exceptions from user-space
...
Upstream commit: b9cb9c45583b911e0db71d09caa6b56469eb2bdf
Check the IO permission bitmap (if present) before emulating IOIO #VC
exceptions for user-space. These permissions are checked by hardware
already before the #VC is raised, but due to the VC-handler decoding
race it needs to be checked again in software.
Bug: 309733863
Fixes: 25189d08e5
("x86/sev-es: Add support for handling IOIO exceptions")
Reported-by: Tom Dohrmann <erbse.13@gmx.de >
Signed-off-by: Joerg Roedel <jroedel@suse.de >
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de >
Tested-by: Tom Dohrmann <erbse.13@gmx.de >
Cc: <stable@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 5bb9ba7daf
)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I559d1ee6aa0793f7bfd7b5e603cdaba2336d0562
2023-12-21 13:08:52 +00:00
Sagi Grimberg
0edf68775a
UPSTREAM: nvmet-tcp: Fix a possible UAF in queue intialization setup
...
commit d920abd1e7c4884f9ecd0749d1921b7ab19ddfbd upstream.
From Alon:
"Due to a logical bug in the NVMe-oF/TCP subsystem in the Linux kernel,
a malicious user can cause a UAF and a double free, which may lead to
RCE (may also lead to an LPE in case the attacker already has local
privileges)."
Hence, when a queue initialization fails after the ahash requests are
allocated, it is guaranteed that the queue removal async work will be
called, hence leave the deallocation to the queue removal.
Also, be extra careful not to continue processing the socket, so set
queue rcv_state to NVMET_TCP_RECV_ERR upon a socket error.
Bug: 310114968
Cc: stable@vger.kernel.org
Reported-by: Alon Zahavi <zahavi.alon@gmail.com >
Tested-by: Alon Zahavi <zahavi.alon@gmail.com >
Signed-off-by: Sagi Grimberg <sagi@grimberg.me >
Reviewed-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com >
Signed-off-by: Keith Busch <kbusch@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit e985d78bdc
)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: Ifd7ec8294182a6bf6d8c261aeda5d989e909f7ff
2023-12-21 13:05:32 +00:00
Carlos Llamas
f22c548c91
FROMLIST: binder: fix memory leaks of spam and pending work
...
commit 1aa3aaf8953c84bad398adf6c3cabc9d6685bf7d upstream
A transaction complete work is allocated and queued for each
transaction. Under certain conditions the work->type might be marked as
BINDER_WORK_TRANSACTION_ONEWAY_SPAM_SUSPECT to notify userspace about
potential spamming threads or as BINDER_WORK_TRANSACTION_PENDING when
the target is currently frozen.
However, these work types are not being handled in binder_release_work()
so they will leak during a cleanup. This was reported by syzkaller with
the following kmemleak dump:
BUG: memory leak
unreferenced object 0xffff88810e2d6de0 (size 32):
comm "syz-executor338", pid 5046, jiffies 4294968230 (age 13.590s)
hex dump (first 32 bytes):
e0 6d 2d 0e 81 88 ff ff e0 6d 2d 0e 81 88 ff ff .m-......m-.....
04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff81573b75>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1114
[<ffffffff83d41873>] kmalloc include/linux/slab.h:599 [inline]
[<ffffffff83d41873>] kzalloc include/linux/slab.h:720 [inline]
[<ffffffff83d41873>] binder_transaction+0x573/0x4050 drivers/android/binder.c:3152
[<ffffffff83d45a05>] binder_thread_write+0x6b5/0x1860 drivers/android/binder.c:4010
[<ffffffff83d486dc>] binder_ioctl_write_read drivers/android/binder.c:5066 [inline]
[<ffffffff83d486dc>] binder_ioctl+0x1b2c/0x3cf0 drivers/android/binder.c:5352
[<ffffffff816b25f2>] vfs_ioctl fs/ioctl.c:51 [inline]
[<ffffffff816b25f2>] __do_sys_ioctl fs/ioctl.c:871 [inline]
[<ffffffff816b25f2>] __se_sys_ioctl fs/ioctl.c:857 [inline]
[<ffffffff816b25f2>] __x64_sys_ioctl+0xf2/0x140 fs/ioctl.c:857
[<ffffffff84b30008>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
[<ffffffff84b30008>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
[<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
Fix the leaks by kfreeing these work types in binder_release_work() and
handle them as a BINDER_WORK_TRANSACTION_COMPLETE cleanup.
Cc: stable@vger.kernel.org
Fixes: a7dc1e6f99df ("binder: tell userspace to dump current backtrace when detected oneway spamming")
Reported-by: syzbot+7f10c1653e35933c0f1e@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=7f10c1653e35933c0f1e
Suggested-by: Alice Ryhl <aliceryhl@google.com >
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Acked-by: Todd Kjos <tkjos@google.com >
Link: https://lore.kernel.org/r/20230922175138.230331-1-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
[cmllamas: backport to v5.15 by dropping BINDER_WORK_TRANSACTION_PENDING
as commit 0567461a7a6e is not present. Remove fixes tag accordingly.]
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
Link: https://lore.kernel.org/all/20231208034842.997899-1-cmllamas@google.com/
Change-Id: I8e1ee7af87ef5706544e4f320e9498b8f4855a6b
[cmllamas: also backport to v5.10 to fix OOT 0493c72d6d
]
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2023-12-15 13:22:07 +00:00
Lee Jones
5144c1c2e3
ANDROID: Snapshot Mainline's version of checkpatch.pl
...
Nothing fancy here. Keeping full history is not required.
`git checkout mainline/master -- scripts/checkpatch.pl`
This may need to be done periodically.
Bug: 316492624
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I4c90b50197ca7277c59e96bf332ecf795c4f3d12
2023-12-15 09:35:04 +00:00
Browse Zhang
b39b9bde93
ANDROID: scsi: ufs: vendor check response and recovery addition
...
As per Vendor HW design consideration,
added Vendor specific error handling flow
Under the error checking flow, Vendor can check errors as per their HW design/arch and recover
them accordingly.
Added vendor hook for completion response check
- trace_android_vh_ufs_compl_rsp_check_done
Added vendor hook for vendor specific error handling
- trace_android_vh_ufs_err_handler
Added vendor hook for err logs printing control
- trace_android_vh_ufs_err_print_ctrl
Added vendor hook for error checking flow trigger
- trace_android_vh_ufs_err_check_ctrl
Bug: 312806167
Change-Id: I614737218537f197c68780f5b528b1948d5e29ea
Signed-off-by: Sanjeev Yadav <sanjeev.y@mediatek.com >
Signed-off-by: Browse Zhang <browse.zhang@mediatek.com >
2023-12-12 22:03:30 +00:00
Browse Zhang
4246d242fa
ANDROID: scsi: ufs: add perf heuristic design
...
Added vendor hook to consider ufs host/device perf heuristic
according to different platform/design
Vendor/Platform can take necessary action according to their
design/implementation
Added vendor hook before calling UFS command ops
- trace_android_vh_ufs_perf_huristic_ctrl
Added vendor hook after sending UFS command to host
- trace_android_vh_ufs_send_command_post_change
Added vendor hook for abort success case
- trace_android_vh_ufs_abort_success_ctrl
Bug: 312806167
Signed-off-by: Sanjeev Yadav <sanjeev.y@mediatek.com >
Signed-off-by: Browse Zhang <browse.zhang@mediatek.com >
Change-Id: Ibd07480d1086ec82f2ba6a52e21da08750796221
2023-12-12 22:03:30 +00:00
Browse Zhang
83578817d0
ANDROID: ABI: Update symbol list for Mediatek
...
Add below symbols into MTK symbol list
7 function symbols added
'int __tracepoint__android_vh_ufs_perf_huristic_ctrl(void*,
struct ufs_hba*, struct ufshcd_lrb*, int *)'
'int __tracepoint__android_vh_ufs_send_command_post_change(
void*, struct ufs_hba*, struct ufshcd_lrb*)'
'int __tracepoint__android_vh_ufs_abort_success_ctrl(void*,
struct ufs_hba*, struct ufshcd_lrb*)'
'int __tracepoint__android_vh_ufs_compl_rsp_check_done(void*,
struct ufs_hba*, struct ufshcd_lrb*, bool*)'
'int __tracepoint__android_vh_ufs_err_handler(void*, struct
ufs_hba*, bool*)'
'int __tracepoint__android_vh_ufs_err_check_ctrl(void*, struct
ufs_hba*, bool*)'
'int __tracepoint__android_vh_ufs_err_print_ctrl(void*, struct
ufs_hba*, bool*)'
7 variable symbols added
'struct __tracepoint__android_vh_ufs_perf_huristic_ctrl'
'struct __tracepoint__android_vh_ufs_send_command_post_change'
'struct __tracepoint__android_vh_ufs_abort_success_ctrl'
'struct __tracepoint__android_vh_ufs_compl_rsp_check_done'
'struct __tracepoint__android_vh_ufs_err_handler'
'struct __tracepoint__android_vh_ufs_err_check_ctrl'
'struct __tracepoint__android_vh_ufs_err_print_ctrl'
Bug: 312806167
Change-Id: I0134d606c09f26e061439e5f179aab2b482fa10a
Signed-off-by: Sanjeev Yadav <sanjeev.y@mediatek.com >
Signed-off-by: Browse Zhang <browse.zhang@mediatek.com >
2023-12-12 22:03:30 +00:00
Browse Zhang
85d8fb9163
ANDROID: Add vendor hook for ufs perf heuristic and error recovery
...
Added vendor hook to consider ufs host/device perf heuristic
and error recovery according to different platform/design
Vendor/Platform can take necessary action according to their
design/implementation
Added vendor hook before calling UFS command ops
- trace_android_vh_ufs_perf_huristic_ctrl
Added vendor hook after sending UFS command to host
- trace_android_vh_ufs_send_command_post_change
Added vendor hook for abort success case
- trace_android_vh_ufs_abort_success_ctrl
Added vendor hook for completion response check
- trace_android_vh_ufs_compl_rsp_check_done
Added vendor hook for vendor specific error handling
- trace_android_vh_ufs_err_handler
Added vendor hook for err logs printing control
- trace_android_vh_ufs_err_print_ctrl
Added vendor hook for error checking flow trigger
- trace_android_vh_ufs_err_check_ctrl
Bug: 312806167
Change-Id: I2190afe62b60da9d47001307f858f10fc8a59986
Signed-off-by: Sanjeev Yadav <sanjeev.y@mediatek.com >
Signed-off-by: Browse Zhang <browse.zhang@mediatek.com >
2023-12-12 22:03:30 +00:00
Jens Axboe
7b8b02fa37
UPSTREAM: io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
...
commit 7644b1a1c9a7ae8ab99175989bfc8676055edb46 upstream.
We could race with SQ thread exit, and if we do, we'll hit a NULL pointer
dereference when the thread is cleared. Grab the SQPOLL data lock before
attempting to get the task cpu and pid for fdinfo, this ensures we have a
stable view of it.
Bug: 309790656
Cc: stable@vger.kernel.org
Link: https://bugzilla.kernel.org/show_bug.cgi?id=218032
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de >
Signed-off-by: Jens Axboe <axboe@kernel.dk >
Signed-off-by: He Gao <hegao@google.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 3d7912710e5e187217313fea5c145881cfeaf952)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I044e0285d4535440606ff593230b873e3145db91
2023-12-12 17:54:05 +00:00
Peter Wang
469a933a87
UPSTREAM: ufs: core: wlun send SSU timeout recovery
...
When runtime pm send SSU times out, the SCSI core invokes
eh_host_reset_handler, which hooks function ufshcd_eh_host_reset_handler
schedule eh_work and stuck at wait flush_work(&hba->eh_work).
However, ufshcd_err_handler hangs in wait rpm resume.
Do link recovery only in this case.
Below is IO hang stack dump in kernel-6.1
kworker/4:0 D
<ffffffd7d31f6fb4> __switch_to+0x180/0x344
<ffffffd7d31f779c> __schedule+0x5ec/0xa14
<ffffffd7d31f7c3c> schedule+0x78/0xe0
<ffffffd7d31fefbc> schedule_timeout+0xb0/0x15c
<ffffffd7d31f8120> io_schedule_timeout+0x48/0x70
<ffffffd7d31f8e40> do_wait_for_common+0x108/0x19c
<ffffffd7d31f837c> wait_for_completion_io_timeout+0x50/0x78
<ffffffd7d2876bc0> blk_execute_rq+0x1b8/0x218
<ffffffd7d2b4297c> scsi_execute_cmd+0x148/0x238
<ffffffd7d2da7358> ufshcd_set_dev_pwr_mode+0xe8/0x244
<ffffffd7d2da7e40> __ufshcd_wl_resume+0x1e0/0x45c
<ffffffd7d2da7b28> ufshcd_wl_runtime_resume+0x3c/0x174
<ffffffd7d2b4f290> scsi_runtime_resume+0x7c/0xc8
<ffffffd7d2ae1d48> __rpm_callback+0xa0/0x410
<ffffffd7d2ae0128> rpm_resume+0x43c/0x67c
<ffffffd7d2ae1e98> __rpm_callback+0x1f0/0x410
<ffffffd7d2ae014c> rpm_resume+0x460/0x67c
<ffffffd7d2ae1450> pm_runtime_work+0xa4/0xac
<ffffffd7d22e39ac> process_one_work+0x208/0x598
<ffffffd7d22e3fc0> worker_thread+0x228/0x438
<ffffffd7d22eb038> kthread+0x104/0x1d4
<ffffffd7d22171a0> ret_from_fork+0x10/0x20
scsi_eh_0 D
<ffffffd7d31f6fb4> __switch_to+0x180/0x344
<ffffffd7d31f779c> __schedule+0x5ec/0xa14
<ffffffd7d31f7c3c> schedule+0x78/0xe0
<ffffffd7d31fef50> schedule_timeout+0x44/0x15c
<ffffffd7d31f8e40> do_wait_for_common+0x108/0x19c
<ffffffd7d31f8234> wait_for_completion+0x48/0x64
<ffffffd7d22deb88> __flush_work+0x260/0x2d0
<ffffffd7d22de918> flush_work+0x10/0x20
<ffffffd7d2da4728> ufshcd_eh_host_reset_handler+0x88/0xcc
<ffffffd7d2b41da4> scsi_try_host_reset+0x48/0xe0
<ffffffd7d2b410fc> scsi_eh_ready_devs+0x934/0xa40
<ffffffd7d2b41618> scsi_error_handler+0x168/0x374
<ffffffd7d22eb038> kthread+0x104/0x1d4
<ffffffd7d22171a0> ret_from_fork+0x10/0x20
kworker/u16:5 D
<ffffffd7d31f6fb4> __switch_to+0x180/0x344
<ffffffd7d31f779c> __schedule+0x5ec/0xa14
<ffffffd7d31f7c3c> schedule+0x78/0xe0
<ffffffd7d2adfe00> rpm_resume+0x114/0x67c
<ffffffd7d2adfca8> __pm_runtime_resume+0x70/0xb4
<ffffffd7d2d9cf48> ufshcd_err_handler+0x1a0/0xe68
<ffffffd7d22e39ac> process_one_work+0x208/0x598
<ffffffd7d22e3fc0> worker_thread+0x228/0x438
<ffffffd7d22eb038> kthread+0x104/0x1d4
<ffffffd7d22171a0> ret_from_fork+0x10/0x20
(cherry picked from commit 971237b900c38f50e7865289a2aecb77dc7f09f3)
Link: https://lore.kernel.org/all/20230927033557.13801-1-peter.wang@mediatek.com/
Change-Id: I51d4ddec2be7ef71fd333ca7658539f38eeb8c31
Signed-off-by: Peter Wang <peter.wang@mediatek.com >
Reviewed-by: Bart Van Assche <bvanassche@acm.org >
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com >
Signed-off-by: Peng Zhou <peng.zhou@mediatek.corp-partner.google.com >
2023-12-04 23:07:23 +00:00
Yongqin Liu
1b6cfcd1ed
ANDROID: GKI: db845c: Update symbols list and ABI on rpmsg_register_device_override
...
android12-5.10 is broken on Dragonboard 845c because of
recently added symbol, rpmsg_register_device_override.
So updated the symbols list by running:
"BUILD_CONFIG=common/build.config.db845c \
KMI_SYMBOL_LIST_ADD_ONLY=1 build/build_abi.sh -s"
And the abi_gki_aarch64 ABI by running:
"BUILD_CONFIG=common/build.config.gki.aarch64 \
ABI_DEFINITION=abi_gki_aarch64.xml KMI_SYMBOL_LIST_ADD_ONLY=1 \
build/build_abi.sh --update --print-report"
========================================================
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable
1 Added function:
[A] 'function int rpmsg_register_device_override(rpmsg_device*, const char*)'
========================================================
Bug: 313495196
Change-Id: I3a3504b6d2061bfce0abe9801e2ecb210c337b9f
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org >
Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com >
2023-12-01 13:56:31 -08:00
Greg Kroah-Hartman
ced76f823f
ANDROID: fix up rpmsg_device ABI break
...
In commit e70898ae1a42 ("rpmsg: Fix kfree() of static memory on setting
driver_override") a pointer was changed to const, which messes with the
CRC and ABI checks. As the code is fine if this is left as not-const,
just put it back to preserve the abi.
Bug: 161946584
Fixes: e70898ae1a42 ("rpmsg: Fix kfree() of static memory on setting driver_override")
Change-Id: I9a87b9cf412191d9872b48f1f876a81df6701de0
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
(cherry picked from commit 4f2270e2bca1854ebe8be23a82f665eaa27ee831)
Signed-off-by: Lee Jones <joneslee@google.com >
2023-11-28 18:00:10 +00:00
Greg Kroah-Hartman
72b5689f02
ANDROID: fix up platform_device ABI break
...
In commit 063444d66f90 ("driver: platform: Add helper for safer setting
of driver_override"), a pointer was changed to const, which messes with
the CRC and ABI checks. As the code is fine if this is left as
not-const, just put it back to preserve the abi.
Bug: 161946584
Fixes: 063444d66f90 ("driver: platform: Add helper for safer setting of driver_override")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ieb4a730a6a5767d31fbec2f1ba683617f5cda7a9
(cherry picked from commit c4dd1cfc1d5a7ce8ec37fe4ce11d3ce58bc6f3e9)
Signed-off-by: Lee Jones <joneslee@google.com >
2023-11-28 18:00:10 +00:00
Hangyu Hua
4172086503
UPSTREAM: rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
...
commit d7bd416d35121c95fe47330e09a5c04adbc5f928 upstream.
rpmsg_register_device_override need to call put_device to free vch when
driver_set_override fails.
Fix this by adding a put_device() to the error path.
Bug: 295334746
Fixes: bb17d110cbf2 ("rpmsg: Fix calling device_lock() on non-initialized device")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Hangyu Hua <hbh25y@gmail.com >
Link: https://lore.kernel.org/r/20220624024120.11576-1-hbh25y@gmail.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit d4c8bf5635c4bedaf2470761ced1f502b2d5434e)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I10440a18479d5d207bafb706311c0467b853cf6c
2023-11-28 18:00:10 +00:00
Bjorn Andersson
0f4467ff35
UPSTREAM: rpmsg: glink: Release driver_override
...
commit fb80ef67e8ff6a00d3faad4cb348dafdb8eccfd8 upstream.
Upon termination of the rpmsg_device, driver_override needs to be freed
to avoid leaking the potentially assigned string.
Bug: 295334746
Fixes: 42cd402b8fd4 ("rpmsg: Fix kfree() of static memory on setting driver_override")
Fixes: 39e47767ec
("rpmsg: Add driver_override device attribute for rpmsg_device")
Reviewed-by: Chris Lew <quic_clew@quicinc.com >
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20230109223931.1706429-1-quic_bjorande@quicinc.com
Signed-off-by: Lee Jones <lee@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit a82e0fda8a2f8561a6a6681e8b3557e60cad17da)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I08b147ad640a8e2d71699a09815bbf048425a1fd
2023-11-28 18:00:10 +00:00
Krzysztof Kozlowski
fa6692abc2
BACKPORT: rpmsg: Fix calling device_lock() on non-initialized device
...
commit bb17d110cbf270d5247a6e261c5ad50e362d1675 upstream.
driver_set_override() helper uses device_lock() so it should not be
called before rpmsg_register_device() (which calls device_register()).
Effect can be seen with CONFIG_DEBUG_MUTEXES:
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 3 PID: 57 at kernel/locking/mutex.c:582 __mutex_lock+0x1ec/0x430
...
Call trace:
__mutex_lock+0x1ec/0x430
mutex_lock_nested+0x44/0x50
driver_set_override+0x124/0x150
qcom_glink_native_probe+0x30c/0x3b0
glink_rpm_probe+0x274/0x350
platform_probe+0x6c/0xe0
really_probe+0x17c/0x3d0
__driver_probe_device+0x114/0x190
driver_probe_device+0x3c/0xf0
...
Refactor the rpmsg_register_device() function to use two-step device
registering (initialization + add) and call driver_set_override() in
proper moment.
This moves the code around, so while at it also NULL-ify the
rpdev->driver_override in error path to be sure it won't be kfree()
second time.
Bug: 295334746
Fixes: 42cd402b8fd4 ("rpmsg: Fix kfree() of static memory on setting driver_override")
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Link: https://lore.kernel.org/r/20220429195946.1061725-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit bfd4a664ddfbe12f008efb0b0ab6bf25a8ab2538)
[Lee: Git was confused that the hunk being removed had changed]
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: Ic07d9ff669e88a50354ad8e978ae8e93316a2a5e
2023-11-28 18:00:10 +00:00
Krzysztof Kozlowski
20f1dfc0f7
BACKPORT: rpmsg: Fix kfree() of static memory on setting driver_override
...
commit 42cd402b8fd4672b692400fe5f9eecd55d2794ac upstream.
The driver_override field from platform driver should not be initialized
from static memory (string literal) because the core later kfree() it,
for example when driver_override is set via sysfs.
Use dedicated helper to set driver_override properly.
Bug: 295334746
Fixes: 950a7388f02b ("rpmsg: Turn name service into a stand alone driver")
Fixes: c0cdc19f84
("rpmsg: Driver for user space endpoint interface")
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220419113435.246203-13-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 2e76b4f6218c4db3ff00eb15d94d72f371736de4)
[Lee: Cater for name change s/rpmsg_chrdev/rpmsg_ctrl/ due to previous backport]
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: Ib900ad13efcfdf7e50fb92bb45dff2b8aa8ff443
2023-11-28 18:00:10 +00:00
Krzysztof Kozlowski
68482b6bd9
UPSTREAM: rpmsg: Constify local variable in field store macro
...
commit e5f89131a06142e91073b6959d91cea73861d40e upstream.
Memory pointed by variable 'old' in field store macro is not modified,
so it can be made a pointer to const.
Bug: 295334746
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220419113435.246203-12-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 5c0da71871d3ac3f96d37067bf1a0ba9c25c2c72)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: If5610892601368e855ec1be57e01dbbe06ae046a
2023-11-28 18:00:10 +00:00
Krzysztof Kozlowski
66b73fb5b9
UPSTREAM: driver: platform: Add helper for safer setting of driver_override
...
commit 6c2f421174273de8f83cde4286d1c076d43a2d35 upstream.
Several core drivers and buses expect that driver_override is a
dynamically allocated memory thus later they can kfree() it.
However such assumption is not documented, there were in the past and
there are already users setting it to a string literal. This leads to
kfree() of static memory during device release (e.g. in error paths or
during unbind):
kernel BUG at ../mm/slub.c:3960!
Internal error: Oops - BUG: 0 [#1 ] PREEMPT SMP ARM
...
(kfree) from [<c058da50>] (platform_device_release+0x88/0xb4)
(platform_device_release) from [<c0585be0>] (device_release+0x2c/0x90)
(device_release) from [<c0a69050>] (kobject_put+0xec/0x20c)
(kobject_put) from [<c0f2f120>] (exynos5_clk_probe+0x154/0x18c)
(exynos5_clk_probe) from [<c058de70>] (platform_drv_probe+0x6c/0xa4)
(platform_drv_probe) from [<c058b7ac>] (really_probe+0x280/0x414)
(really_probe) from [<c058baf4>] (driver_probe_device+0x78/0x1c4)
(driver_probe_device) from [<c0589854>] (bus_for_each_drv+0x74/0xb8)
(bus_for_each_drv) from [<c058b48c>] (__device_attach+0xd4/0x16c)
(__device_attach) from [<c058a638>] (bus_probe_device+0x88/0x90)
(bus_probe_device) from [<c05871fc>] (device_add+0x3dc/0x62c)
(device_add) from [<c075ff10>] (of_platform_device_create_pdata+0x94/0xbc)
(of_platform_device_create_pdata) from [<c07600ec>] (of_platform_bus_create+0x1a8/0x4fc)
(of_platform_bus_create) from [<c0760150>] (of_platform_bus_create+0x20c/0x4fc)
(of_platform_bus_create) from [<c07605f0>] (of_platform_populate+0x84/0x118)
(of_platform_populate) from [<c0f3c964>] (of_platform_default_populate_init+0xa0/0xb8)
(of_platform_default_populate_init) from [<c01031f8>] (do_one_initcall+0x8c/0x404)
Provide a helper which clearly documents the usage of driver_override.
This will allow later to reuse the helper and reduce the amount of
duplicated code.
Convert the platform driver to use a new helper and make the
driver_override field const char (it is not modified by the core).
Bug: 95334746
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220419113435.246203-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 389190b25472627d010a9eb3c5a7227c3e92fa08)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I1ef85ee1f3828e947adec4a45363d8434876aade
2023-11-28 18:00:10 +00:00
Biswarup Pal
525ecbbfda
FROMGIT: Input: uinput - allow injecting event times
...
Currently, uinput doesn't use the input_set_timestamp API, so any
event injected using uinput is not accurately timestamped in terms of
measuring when the actual event happened. Hence, call the
input_set_timestamp API from uinput in order to provide a more
accurate sense of time for the event. Propagate only the timestamps
which are a) positive, b) within a pre-defined offset (10 secs) from
the current time, and c) not in the future.
Bug: 271946580
Bug: 277040837
Change-Id: I928be61d0114b78e2098995ee49eeb0376bef2a3
(cherry picked from commit 3a2df60200a03f78173f1fd831aa54c08464dcde
https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git master)
Signed-off-by: Biswarup Pal <biswarupp@google.com >
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net >
Reviewed-by: Siarhei Vishniakou <svv@google.com >
Link: https://lore.kernel.org/r/20230427000152.1407471-1-biswarupp@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
(cherry picked from commit ee1f5fc55cc7bf1bca78edbb8a1f9d989d4ea03e)
2023-11-24 11:42:46 +00:00
keystone-kernel-automerger
9a1e7741b4
Merge android12-5.10-2023-11_r2 into HEAD
...
* commit '226a9632f13d26e93fa416f6b003712b69118322':
BACKPORT: firmware_loader: Abort all upcoming firmware load request once reboot triggered
UPSTREAM: firmware_loader: Refactor kill_pending_fw_fallback_reqs()
UPSTREAM: kheaders: Have cpio unconditionally replace files
ANDROID: abi_gki_aarch64_qcom: Add android_gki_sysctl_vals
Change-Id: I6f07f48c1927d8905507202ea996e66ce45d4a89
Signed-off-by: keystone-kernel-automerger <keystone-kernel-automerger@google.com >
2023-11-24 06:53:02 +00:00
Mukesh Ojha
226a9632f1
BACKPORT: firmware_loader: Abort all upcoming firmware load request once reboot triggered
...
There could be following scenario where there is a ongoing reboot
is going from processA which tries to call all the reboot notifier
callback and one of them is firmware reboot call which tries to
abort all the ongoing firmware userspace request under fw_lock but
there could be another processB which tries to do request firmware,
which came just after abort done from ProcessA and ask for userspace
to load the firmware and this can stop the ongoing reboot ProcessA
to stall for next 60s(default timeout) which may not be expected
behaviour everyone like to see, instead we should abort any firmware
load request which came once firmware knows about the reboot through
notification.
ProcessA ProcessB
kernel_restart_prepare
blocking_notifier_call_chain
fw_shutdown_notify
kill_pending_fw_fallback_reqs
__fw_load_abort
fw_state_aborted request_firmware
__fw_state_set firmware_fallback_sysfs
... fw_load_from_user_helper
.. ...
. ..
usermodehelper_read_trylock
fw_load_sysfs_fallback
fw_sysfs_wait_timeout
usermodehelper_disable
__usermodehelper_disable
down_write()
Bug: 309378049
Bug: 312700424
Change-Id: I61eb91f21a01460f340f890b25c60de7597a87ff
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com >
Acked-by: Luis Chamberlain <mcgrof@kernel.org >
Link: https://lore.kernel.org/r/1698330459-31776-2-git-send-email-quic_mojha@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit effd7c70eaa0440688b60b9d419243695ede3c45)
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
(cherry picked from commit ba88bbf1bb
)
2023-11-22 14:16:37 +00:00
Mukesh Ojha
4dbf047a83
UPSTREAM: firmware_loader: Refactor kill_pending_fw_fallback_reqs()
...
Rename 'only_kill_custom' and refactor logic related to it
to be more meaningful.
Bug: 309378049
Bug: 312700424
Change-Id: I119d2f8c29b9b624e6c1d8546c1533d76a2cc51d
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com >
Acked-by: Luis Chamberlain <mcgrof@kernel.org >
Link: https://lore.kernel.org/r/1698330459-31776-1-git-send-email-quic_mojha@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 87ffa98eeee8d62a56afdad80ea697e7a6e5c354)
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
(cherry picked from commit 10120b0270
)
2023-11-22 14:16:37 +00:00
Daniel Mentz
048c70af61
UPSTREAM: kheaders: Have cpio unconditionally replace files
...
For out-of-tree builds, this script invokes cpio twice to copy header
files from the srctree and subsequently from the objtree. According to a
comment in the script, there might be situations in which certain files
already exist in the destination directory when header files are copied
from the objtree:
"The second CPIO can complain if files already exist which can happen
with out of tree builds having stale headers in srctree. Just silence
CPIO for now."
GNU cpio might simply print a warning like "newer or same age version
exists", but toybox cpio exits with a non-zero exit code unless the
command line option "-u" is specified.
To improve compatibility with toybox cpio, add the command line option
"-u" to unconditionally replace existing files in the destination
directory.
Bug: 312397409
Bug: 312700424
Signed-off-by: Daniel Mentz <danielmentz@google.com >
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org >
Change-Id: I1797f7ca3f36c71a313cccce1bc53fcc2d04ca65
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
(cherry picked from commit 1e8ca62b79dec20aeded4fe283f4890e5016767a)
2023-11-22 14:16:37 +00:00
Srinivasarao Pathipati
67bc129eec
ANDROID: abi_gki_aarch64_qcom: Add android_gki_sysctl_vals
...
The commit 44da38b39c
("ANDROID: GKI: fix up sysctl_vals ABI
change") introduces new symbol android_gki_sysctl_vals, add it
to the symbol list.
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable
1 Added variable:
[A] 'const int android_gki_sysctl_vals[10]'
Bug: 312089212
Bug: 312700424
Change-Id: I68b218becb5a077fce95c2888f2f20e1c5053ad1
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
2023-11-22 14:12:35 +00:00
Srinivasarao Pathipati
e6278ff4b7
ANDROID: abi_gki_aarch64_qcom: Add android_gki_sysctl_vals
...
The commit 44da38b39c
("ANDROID: GKI: fix up sysctl_vals ABI
change") introduces new symbol android_gki_sysctl_vals, add it
to the symbol list.
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable
1 Added variable:
[A] 'const int android_gki_sysctl_vals[10]'
Bug: 312089212
Change-Id: I68b218becb5a077fce95c2888f2f20e1c5053ad1
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
2023-11-22 10:20:00 +05:30
Daniel Mentz
4194727e2c
UPSTREAM: kheaders: Have cpio unconditionally replace files
...
For out-of-tree builds, this script invokes cpio twice to copy header
files from the srctree and subsequently from the objtree. According to a
comment in the script, there might be situations in which certain files
already exist in the destination directory when header files are copied
from the objtree:
"The second CPIO can complain if files already exist which can happen
with out of tree builds having stale headers in srctree. Just silence
CPIO for now."
GNU cpio might simply print a warning like "newer or same age version
exists", but toybox cpio exits with a non-zero exit code unless the
command line option "-u" is specified.
To improve compatibility with toybox cpio, add the command line option
"-u" to unconditionally replace existing files in the destination
directory.
Bug: 312397409
Signed-off-by: Daniel Mentz <danielmentz@google.com >
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org >
Change-Id: I1797f7ca3f36c71a313cccce1bc53fcc2d04ca65
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
(cherry picked from commit 1e8ca62b79dec20aeded4fe283f4890e5016767a)
2023-11-21 19:46:42 +00:00
lfc
efe30da3a3
ANDROID: ABI: Update oplus symbol list
...
Leaf changes summary: 12 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 6 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 6 Added variables
6 Added functions:
[A] 'function int __traceiter_android_vh_alloc_oem_binder_struct(void*, binder_transaction_data*, binder_transaction*, binder_proc*)'
[A] 'function int __traceiter_android_vh_binder_free_buf(void*, binder_proc*, binder_thread*, binder_buffer*)'
[A] 'function int __traceiter_android_vh_binder_proc_transaction_finish(void*, binder_proc*, binder_transaction*, task_struct*, bool, bool)'
[A] 'function int __traceiter_android_vh_binder_special_task(void*, binder_transaction*, binder_proc*, binder_thread*, binder_work*, list_head*, bool, bool*)'
[A] 'function int __traceiter_android_vh_binder_transaction_received(void*, binder_transaction*, binder_proc*, binder_thread*, uint32_t)'
[A] 'function int __traceiter_android_vh_free_oem_binder_struct(void*, binder_transaction*)'
6 Added variables:
[A] 'tracepoint __tracepoint_android_vh_alloc_oem_binder_struct'
[A] 'tracepoint __tracepoint_android_vh_binder_free_buf'
[A] 'tracepoint __tracepoint_android_vh_binder_proc_transaction_finish'
[A] 'tracepoint __tracepoint_android_vh_binder_special_task'
[A] 'tracepoint __tracepoint_android_vh_binder_transaction_received'
[A] 'tracepoint __tracepoint_android_vh_free_oem_binder_struct'
Bug: 308391339
Change-Id: Id46f5d977fa8f9bbc7496a115ec4683eb4c768ef
Signed-off-by: lfc <lfc@oppo.com >
2023-11-21 02:43:35 +00:00
lfc
464ef3ee59
ANDROID: vendor_hooks: Add hooks for binder
...
Add hooks to support oem's binder feature of improving binder_thread->task sched priority
1) Check if it is a specific task in trace_android_vh_alloc_oem_binder_struct() and store the flag to t->android_vendor_data1
2) If it is a specific binder task and binder_thread selected, raise the sched priority of binder_thread->task in runqueue.
3) If it is a specific binder task but no binder_thread selected (e.g pending_async or no free threads), insert t->work to the appropriate position in the list.
4) Reset the sched priority when BR_TRANSACTION or BC_FREE_BUFFER.
Some high-priority async binder task reset the sched priority when BC_FREE_BUFFER in trace_android_vh_binder_free_buf().
Some middle-priority async binder task reset the sched priority when driver return server "BR_TRANSACTION" in trace_android_vh_binder_transaction_received().
Bug: 308391339
Change-Id: Iab4939fe4a4881b31961aaa2fef500b51c944743
Signed-off-by: lfc <lfc@oppo.com >
2023-11-21 02:40:33 +00:00
Omkar Sai Sandeep Katadi
469da4ab8f
Merge remote-tracking branch into HEAD
...
* keystone/mirror-android12-5.10-2023-11: (1922 commits)
ANDROID: GKI: Update symbols to symbol list
ANDROID: Add Interrupt Hook for madvise Compression
UPSTREAM: netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
BACKPORT: ravb: Fix use-after-free issue in ravb_tx_timeout_work()
UPSTREAM: ravb: Fix up dma_free_coherent() call in ravb_remove()
Revert "netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp"
Revert "net: bridge: use DEV_STATS_INC()"
Revert "configfs: fix a race in configfs_lookup()"
UPSTREAM: netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
UPSTREAM: net: xfrm: Fix xfrm_address_filter OOB read
UPSTREAM: igb: set max size RX buffer when store bad packet is enabled
UPSTREAM: netfilter: nfnetlink_osf: avoid OOB read
ANDROID: abi_gki_aarch64_qcom: Add wait_for_device_probe symbol
UPSTREAM: netfilter: xt_sctp: validate the flag_info count
UPSTREAM: netfilter: xt_u32: validate user space input
UPSTREAM: net/sched: Retire rsvp classifier
UPSTREAM: ipv4: fix null-deref in ipv4_link_failure
UPSTREAM: netfilter: nf_tables: disallow rule removal from chain binding
UPSTREAM: netfilter: nf_tables: report use refcount overflow
FROMLIST: lib/test_meminit: fix off-by-one error in test_pages()
...
Change-Id: Id4fdaa634f2b047dd463cf698b5ea1e7ebf7a205
Signed-off-by: Omkar Sai Sandeep Katadi <okatadi@google.com >
2023-11-14 20:07:54 +00:00
Mukesh Ojha
ba88bbf1bb
BACKPORT: firmware_loader: Abort all upcoming firmware load request once reboot triggered
...
There could be following scenario where there is a ongoing reboot
is going from processA which tries to call all the reboot notifier
callback and one of them is firmware reboot call which tries to
abort all the ongoing firmware userspace request under fw_lock but
there could be another processB which tries to do request firmware,
which came just after abort done from ProcessA and ask for userspace
to load the firmware and this can stop the ongoing reboot ProcessA
to stall for next 60s(default timeout) which may not be expected
behaviour everyone like to see, instead we should abort any firmware
load request which came once firmware knows about the reboot through
notification.
ProcessA ProcessB
kernel_restart_prepare
blocking_notifier_call_chain
fw_shutdown_notify
kill_pending_fw_fallback_reqs
__fw_load_abort
fw_state_aborted request_firmware
__fw_state_set firmware_fallback_sysfs
... fw_load_from_user_helper
.. ...
. ..
usermodehelper_read_trylock
fw_load_sysfs_fallback
fw_sysfs_wait_timeout
usermodehelper_disable
__usermodehelper_disable
down_write()
Bug: 309378049
Change-Id: I61eb91f21a01460f340f890b25c60de7597a87ff
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com >
Acked-by: Luis Chamberlain <mcgrof@kernel.org >
Link: https://lore.kernel.org/r/1698330459-31776-2-git-send-email-quic_mojha@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit effd7c70eaa0440688b60b9d419243695ede3c45)
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
2023-11-06 15:14:28 +05:30
Mukesh Ojha
10120b0270
UPSTREAM: firmware_loader: Refactor kill_pending_fw_fallback_reqs()
...
Rename 'only_kill_custom' and refactor logic related to it
to be more meaningful.
Bug: 309378049
Change-Id: I119d2f8c29b9b624e6c1d8546c1533d76a2cc51d
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com >
Acked-by: Luis Chamberlain <mcgrof@kernel.org >
Link: https://lore.kernel.org/r/1698330459-31776-1-git-send-email-quic_mojha@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 87ffa98eeee8d62a56afdad80ea697e7a6e5c354)
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
2023-11-06 14:52:33 +05:30
SzuWei Lin
409fe6c1ec
ANDROID: Initialize android12-5.10-2023-11
...
Bug: 308740277
Signed-off-by: SzuWei Lin <szuweilin@google.com >
Change-Id: I3dbe954d40632909279a9ec25245d663eabcb2fa
2023-11-04 16:02:55 +08:00
Treehugger Robot
f40707abde
Merge "Merge tag 'android12-5.10.198_r00' into android12-5.10" into android12-5.10
2023-11-03 21:00:44 +00:00
zihan ju
422887ef07
ANDROID: GKI: Update symbols to symbol list
...
Leaf changes summary: 2 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable
1 Added function:
[A] 'function int __traceiter_android_vh_should_end_madvise(void*, mm_struct*, bool*, bool*)'
1 Added variable:
[A] 'tracepoint __tracepoint_android_vh_should_end_madvise'
Bug: 307846869
Change-Id: Ib0f337ae35bf7129d90561054f9a8e17ccbbd28b
Signed-off-by: zihan ju <zihan.ju@transsion.com >
2023-11-01 19:07:41 +00:00
zihan ju
91d2427218
ANDROID: Add Interrupt Hook for madvise Compression
...
We introduce an interrupt hook in Android to manage memory compression
using madvise, improving user experience.
Currently, when a user returns to the home screen, memory compression is
triggered using madvise. The vma and PAGEOUT flag are sent to
process_madvise, initiating page reclaim.
However, if an app is re-opened soon after starting compression, the
reclaim process can cause read delays, leading to potential lag.
To resolve this, we propose to skip pte range traversal. By comparing
the vma's task uid with the current app's uid, we can identify and
interrupt the madvise operation for that vma.
Implementing this requires a vendor hook for should_end_madvise. This
allows us to skip traversal, enhancing user experience.
Bug: 307846869
Change-Id: If2bdbc200b7305e92f836353b7356aa115e00705
Signed-off-by: zihan ju <zihan.ju@transsion.com >
2023-11-01 19:07:41 +00:00
Kyle Zeng
4e38f783da
UPSTREAM: netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
...
commit 050d91c03b28ca479df13dfb02bcd2c60dd6a878 upstream.
The missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can
lead to the use of wrong `CIDR_POS(c)` for calculating array offsets,
which can lead to integer underflow. As a result, it leads to slab
out-of-bound access.
This patch adds back the IP_SET_HASH_WITH_NET0 macro to
ip_set_hash_netportnet to address the issue.
Bug: 302199939
Fixes: 886503f34d
("netfilter: ipset: actually allow allowable CIDR 0 in hash:net,port,net")
Suggested-by: Jozsef Kadlecsik <kadlec@netfilter.org >
Signed-off-by: Kyle Zeng <zengyhkyle@gmail.com >
Acked-by: Jozsef Kadlecsik <kadlec@netfilter.org >
Signed-off-by: Florian Westphal <fw@strlen.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14)
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I11cc1650e7df9d54041164b6bdb01f3a0de46de4
2023-10-31 15:55:55 +00:00
Greg Kroah-Hartman
1289e04b48
Merge tag 'android12-5.10.198_r00' into android12-5.10
...
This merges catches the android12-5.10 branch up with the 5.10.198 LTS
release. Included in here are the following commits:
* 9db823a19d
Revert "netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp"
* f95f372cf9
Revert "net: bridge: use DEV_STATS_INC()"
* 3e7bedcc0e
Merge 5.10.198 into android12-5.10-lts
|\
| * a8d812240f
Linux 5.10.198
| * 660627c71b
xen/events: replace evtchn_rwlock with RCU
| * 1e3d016a95
mmc: renesas_sdhi: only reset SCC when its pointer is populated
| * a7d86a77c3
netfilter: nftables: exthdr: fix 4-byte stack OOB write
| * 84f6b686df
netfilter: nf_tables: fix kdoc warnings after gc rework
| * c17446c008
parisc: Restore __ldcw_align for PA-RISC 2.0 processors
| * cfc333393a
RDMA/mlx5: Fix NULL string error
| * 0d520cdb0c
RDMA/siw: Fix connection failure handling
| * 5a4a6a47e0
RDMA/uverbs: Fix typo of sizeof argument
| * 626868282c
RDMA/cma: Fix truncation compilation warning in make_cma_ports
| * 7de0e42444
RDMA/cma: Initialize ib_sa_multicast structure to 0 when join
| * 36953b4da7
gpio: pxa: disable pinctrl calls for MMP_GPIO
| * 6ad972e668
gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
| * d7d8f1a679
IB/mlx4: Fix the size of a buffer in add_port_entries()
| * 204c2d485f
of: dynamic: Fix potential memory leak in of_changeset_action()
| * b74f12f98b
RDMA/core: Require admin capabilities to set system parameters
| * ccd87fe7a0
dm zoned: free dmz->ddev array in dmz_put_zoned_devices
| * 82d87c944e
cpupower: add Makefile dependencies for install targets
| * 492241613c
sctp: update hb timer immediately after users change hb_interval
| * f876584938
sctp: update transport state when processing a dupcook packet
| * ff346b01eb
tcp: fix delayed ACKs for MSS boundary condition
| * 677aaa261e
tcp: fix quick-ack counting to count actual ACKs of new data
| * 6a24d0661f
tipc: fix a potential deadlock on &tx->lock
| * b9f1568ba3
net: stmmac: dwmac-stm32: fix resume on STM32 MCU
| * 3a5142f017
netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
| * 0ba9348532
netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
| * b212f361a5
net: ethernet: ti: am65-cpsw: Fix error code in am65_cpsw_nuss_init_tx_chns()
| * dba849cc98
net: nfc: llcp: Add lock when modifying device list
| * 30bc4d7aeb
net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg
| * d44346dda7
net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
| * 96b2e10903
ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
| * 2ea52a2fb8
net: fix possible store tearing in neigh_periodic_work()
| * 6e3d9e5cab
modpost: add missing else to the "of" check
| * 225cd4f67b
NFSv4: Fix a nfs4_state_manager() race
| * d8f2ba9ec3
ima: rework CONFIG_IMA dependency block
| * 77f82df960
scsi: target: core: Fix deadlock due to recursive locking
| * a9430129d8
ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
| * 725fd20805
regmap: rbtree: Fix wrong register marked as in-cache when creating new node
| * 666cdc43df
wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
| * 54a4faab2b
drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()
| * 93dd471d3a
bpf: Fix tr dereferencing
| * 10a18c8bac
wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
| * 8c15c1bcc5
wifi: iwlwifi: dbg_ini: fix structure packing
| * a5f643ab11
ubi: Refuse attaching if mtd's erasesize is 0
| * 33420a8206
arm64: Add Cortex-A520 CPU part definition
| * 81d03e2518
net: prevent rewrite of msg_name in sock_sendmsg()
| * 72fc02ebfc
net: replace calls to sock->ops->connect() with kernel_connect()
| * 1aeff207e2
wifi: mwifiex: Fix tlv_buf_left calculation
| * f6f25930fa
qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info
| * b9c4b3ca90
scsi: zfcp: Fix a double put in zfcp_port_enqueue()
| * 04b6b67a3e
Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3"
| * c2cf152e8b
Revert "clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz"
| * f94471c0cc
block: fix use-after-free of q->q_usage_counter
| * 0d6987d4a3
rbd: take header_rwsem in rbd_dev_refresh() only when updating
| * d3d170c5fc
rbd: decouple parent info read-in from updating rbd_dev
| * 3ceb306f9b
rbd: decouple header read-in from updating rbd_dev->header
| * 7c4f11d73b
rbd: move rbd_dev_refresh() definition
| * d0952ce316
drm/mediatek: Fix backport issue in mtk_drm_gem_prime_vmap()
| * c33d75a57a
ring-buffer: Fix bytes info in per_cpu buffer stats
| * 0ecde7dd76
ring-buffer: remove obsolete comment for free_buffer_page()
| * 2ad1a1d3d6
NFSv4: Fix a state manager thread deadlock regression
| * ec4325e806
NFS: rename nfs_client_kset to nfs_kset
| * 598539f38c
NFS: Cleanup unused rpc_clnt variable
| * 19f3d5d13b
spi: zynqmp-gqspi: fix clock imbalance on probe failure
| * 2cdec9c13f
spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe
| * ae03dafc37
fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
| * 8ec1abb59a
ata: libata-sata: increase PMP SRST timeout to 10s
| * dc0bd0f2da
ata: libata-core: Do not register PM operations for SAS ports
| * 531d9f6dbf
ata: libata-core: Fix port and device removal
| * 99d308c319
ata: libata-core: Fix ata_port_request_pm() locking
| * eaf4496662
net: thunderbolt: Fix TCPv6 GSO checksum calculation
| * 72595dbfca
bpf: Fix BTF_ID symbol generation collision in tools/
| * 6a80578bd4
bpf: Fix BTF_ID symbol generation collision
| * cbbfdb4bab
btrfs: properly report 0 avail for very full file systems
| * ef47f25e98
ring-buffer: Update "shortest_full" in polling
| * b7a0df4c08
proc: nommu: /proc/<pid>/maps: release mmap read lock
| * acc7fc82d0
Revert "SUNRPC dont update timeout value on connection reset"
| * e3b8c9e0fc
i2c: i801: unregister tco_pdev in i801_probe() error path
| * b664e9db8d
ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
| * 25872c67de
ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
| * 5a03b42ae1
netfilter: nf_tables: disallow rule removal from chain binding
| * 7130a87ca3
nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
| * e14afa4450
serial: 8250_port: Check IRQ data before use
| * 6d5c886293
Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
| * 14443223e0
Smack:- Use overlay inode label in smack_inode_copy_up()
| * 297c51c63f
smack: Retrieve transmuting information in smack_inode_getsecurity()
| * 41de7a6b95
smack: Record transmuting in smk_transmuted
| * 831f18c735
nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev
| * fb28f89d50
netfilter: nft_exthdr: Fix for unsafe packet data read
| * e18216cd0e
netfilter: nft_exthdr: Search chunks in SCTP packets only
| * 152b8ac839
watchdog: iTCO_wdt: Set NO_REBOOT if the watchdog is not already running
| * 13b7d49f33
watchdog: iTCO_wdt: No need to stop the timer in probe
| * 0d599a3f57
nvme-pci: do not set the NUMA node of device if it has none
| * 97e148dcb9
nvme-pci: factor out a nvme_pci_alloc_dev helper
| * 71357c751f
nvme-pci: factor the iod mempool creation into a helper
| * 38f82cf860
ACPI: Check StorageD3Enable _DSD property in ACPI code
| * 67025d5654
cgroup: Fix suspicious rcu_dereference_check() usage warning
| * b2788f6d49
sched/cpuacct: Optimize away RCU read lock
| * 82756d8a23
sched/cpuacct: Fix charge percpu cpuusage
| * f8e8e72c58
sched/cpuacct: Fix user/system in shown cpuacct.usage*
| * ef3c728ca0
perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
| * da91481c5d
fbdev/sh7760fb: Depend on FB=y
| * ffc459a930
ncsi: Propagate carrier gain/loss events to the NCSI controller
| * 8c2500228b
powerpc/watchpoints: Disable preemption in thread_change_pc()
| * f5bdbed036
media: vb2: frame_vector.c: replace WARN_ONCE with a comment
| * ebc9184806
bpf: Clarify error expectations from bpf_clone_redirect
| * 0118244848
spi: nxp-fspi: reset the FLSHxCR1 registers
| * f6cf19c1b3
ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
| * 2afd8fcee0
scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command
| * 0decc581e1
scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command
| * f44e66447c
platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
| * cee5151c54
ring-buffer: Do not attempt to read past "commit"
| * 2956e33fb4
selftests: fix dependency checker script
| * 9ccce21bd7
ring-buffer: Avoid softlockup in ring_buffer_resize()
| * 5dfcb92905
selftests/ftrace: Correctly enable event in instance-event.tc
| * 38ef4b2e4d
scsi: qedf: Add synchronization between I/O completions and abort
| * 2081b2a15b
parisc: irq: Make irq_stack_union static to avoid sparse warning
| * f47efdffdc
parisc: drivers: Fix sparse warning
| * d967a9472b
parisc: iosapic.c: Fix sparse warnings
| * 7b2440c2d6
parisc: sba: Fix compile warning wrt list of SBA devices
| * c793005999
dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock
| * 061f402753
i2c: npcm7xx: Fix callback completion ordering
| * dd81e91b2e
gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
| * b317f69871
xtensa: boot/lib: fix function prototypes
| * be17dfdcc8
xtensa: boot: don't add include-dirs
| * a10bfbe599
xtensa: iss/network: make functions static
| * 608af5511a
xtensa: add default definition for XCHAL_HAVE_DIV32
| * 3696261859
power: supply: ucs1002: fix error code in ucs1002_get_property()
| * eff55feb8b
bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
| * 1bc8867196
ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
| * a2a592adad
ARM: dts: Unify pwm-omap-dmtimer node names
| * 2d9c9589da
ARM: dts: am335x: Guardian: Update beeper label
| * ef83f35ced
ARM: dts: motorola-mapphone: Drop second ti,wlcore compatible value
| * 12a28c379e
ARM: dts: motorola-mapphone: Add 1.2GHz OPP
| * afdc40a74a
ARM: dts: motorola-mapphone: Configure lower temperature passive cooling
| * 093a9a02d4
ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4
| * 28e5423ad8
ARM: dts: omap: correct indentation
| * 50789f3723
clk: tegra: fix error return case for recalc_rate
| * 0fd5839e25
bus: ti-sysc: Fix missing AM35xx SoC matching
| * 1d4d846e2a
bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
| * a8ee76d727
MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
| * d678c078f3
btrfs: reset destination buffer when read_extent_buffer() gets invalid range
| * a1f85bc9bc
ata: ahci: Add Elkhart Lake AHCI controller
| * 51d190cc98
ata: ahci: Rename board_ahci_mobile
| * 8061c399c8
ata: ahci: Add support for AMD A85 FCH (Hudson D4)
| * 0156cce71f
ata: libata: Rename link flag ATA_LFLAG_NO_DB_DELAY
| * 9f0d346630
netfilter: nft_exthdr: Fix non-linear header modification
| * ed60b8014c
netfilter: exthdr: add support for tcp option removal
| * 10670abe11
netfilter: nft_exthdr: break evaluation if setting TCP option fails
| * 45b3eb6afc
netfilter: nf_tables: add and use nft_thoff helper
| * 39546418b8
netfilter: nf_tables: add and use nft_sk helper
| * af844ba799
netfilter: nft_exthdr: Support SCTP chunks
| * 858ca19216
netfilter: use actual socket sk for REJECT action
| * 2d9ea86f3c
media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts
| * c4cc1f690f
media: venus: hfi: Add a 6xx boot logic
| * 4596fece3c
media: venus: core: Add differentiator IS_V6(core)
| * 3ed9d3dc24
media: venus: hfi: Define additional 6xx registers
| * ebccb53232
media: venus: hfi,pm,firmware: Convert to block relative addressing
| * 4ccdeb68da
media: venus: core: Add io base variables for each block
| * 6d3745bbc3
mmc: renesas_sdhi: register irqs before registering controller
| * 995ef65e4b
mmc: tmio: support custom irq masks
| * 97eb045386
mmc: renesas_sdhi: populate SCC pointer at the proper place
| * 7217ceb61a
mmc: renesas_sdhi: probe into TMIO after SCC parameters have been setup
| * e492f81251
Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN
| * 677bff659f
Input: i8042 - rename i8042-x86ia64io.h to i8042-acpipnpio.h
| * 3fac8ce48f
netfilter: nf_tables: double hook unregistration in netns path
| * e51f30826b
netfilter: nf_tables: unregister flowtable hooks on netns exit
| * 5e95c88e90
i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
| * 0a78bcc2d5
gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
| * f515112e83
net: rds: Fix possible NULL-pointer dereference
| * 466e88548e
bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
| * 78106529b3
locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
| * a8dd21118b
seqlock: Prefix internal seqcount_t-only macros with a "do_"
| * ac01a0dd79
seqlock: Rename __seqprop() users
| * a8460ee6c8
seqlock: avoid -Wshadow warnings
| * f1893feb20
netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
| * b44dd92e2a
team: fix null-ptr-deref when team device type is changed
| * 04cc361f02
net: bridge: use DEV_STATS_INC()
| * 1671dc1b25
net: hns3: add 5ms delay before clear firmware reset irq source
| * 309af4a39b
net: hns3: only enable unicast promisc when mac table full
| * ae806c74c0
x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
| * 423ba1b3a5
x86/srso: Fix srso_show_state() side effect
| * 1ec40ef6f7
platform/x86: intel_scu_ipc: Fail IPC send if still busy
| * 4c5eaf6d8b
platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command()
| * 441b61d742
platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt()
| * c463898b6e
platform/x86: intel_scu_ipc: Check status after timeout in busy_loop()
| * 60d73c62e3
dccp: fix dccp_v4_err()/dccp_v6_err() again
| * 09a1c790e1
powerpc/perf/hv-24x7: Update domain value check
| * 8689c9ace9
ipv4: fix null-deref in ipv4_link_failure
| * 47907ebeb7
i40e: Fix VF VLAN offloading when port VLAN is configured
| * a91861446f
ASoC: imx-audmix: Fix return error with devm_clk_get()
| * c4ecedf980
selftests: tls: swap the TX and RX sockets in some tests
| * 78ef69b6e7
selftests/tls: Add {} to avoid static checker warning
| * 388c9d3eef
bpf: Avoid deadlock when using queue and stack maps from NMI
| * 6dc85d848c
netfilter: nf_tables: disallow element removal on anonymous sets
| * a45632f997
ASoC: meson: spdifin: start hw on dai probe
| * 09c85f2d21
netfilter: nf_tables: fix memleak when more than 255 elements expired
| * 4deaf1316b
netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
| * 26d0e4d632
netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails
| * b796c4e4bf
netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
| * c323ed65f6
netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
| * 09f2dda1e5
netfilter: nf_tables: defer gc run if previous batch is still pending
| * b71dcee2fc
netfilter: nf_tables: use correct lock to protect gc_list
| * 23292bdfda
netfilter: nf_tables: GC transaction race with abort path
| * dc0b1f0195
netfilter: nf_tables: GC transaction race with netns dismantle
| * 4046f2b56e
netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
| * 891ca5dfe3
netfilter: nf_tables: don't fail inserts if duplicate has expired
| * 911dd3cdf1
netfilter: nf_tables: remove busy mark and gc batch API
| * 77046cb008
netfilter: nft_set_hash: mark set element as dead when deleting from packet path
| * 146c768667
netfilter: nf_tables: adapt set backend to use GC transaction API
| * 448be07748
netfilter: nf_tables: GC transaction API to avoid race with control plane
| * b15ea4017a
netfilter: nf_tables: don't skip expired elements during walk
| * f8bf770615
netfilter: nf_tables: integrate pipapo into commit protocol
| * 9b65bff30a
tracing: Have event inject files inc the trace array ref count
| * f8a86ab3c4
ext4: do not let fstrim block system suspend
| * c502b09d9b
ext4: move setting of trimmed bit into ext4_try_to_trim_range()
| * e78e9f08a2
ext4: replace the traditional ternary conditional operator with with max()/min()
| * cbf6a0f654
ext4: mark group as trimmed only if it was fully scanned
| * 5eaf4a1e06
ext4: change s_last_trim_minblks type to unsigned long
| * 24a86315a3
ext4: scope ret locally in ext4_try_to_trim_range()
| * da1895f731
ext4: add new helper interface ext4_try_to_trim_range()
| * 6f5fc957df
ext4: remove the 'group' parameter of ext4_trim_extent
| * 69c9665830
ata: libahci: clear pending interrupt status
| * 11d15a115c
ata: ahci: Drop pointless VPRINTK() calls and convert the remaining ones
| * 407bf1c140
tracing: Increase trace array ref count on enable and filter files
| * 3f7df02fa0
SUNRPC: Mark the cred for revalidation if the server rejects it
| * 25ae2b2fdb
NFS/pNFS: Report EINVAL errors from connect() to the server
| * 26db22a639
NFS: Use the correct commit info in nfs_join_page_group()
* | 3414e62421
Merge 5.10.197 into android12-5.10-lts
|\|
| * 393e225fe8
Linux 5.10.197
| * 242c5740dd
ext4: fix rec_len verify error
| * 8768583b25
scsi: pm8001: Setup IRQs on resume
| * f4fffa1abb
scsi: megaraid_sas: Fix deadlock on firmware crashdump
| * 3753e568d6
ata: libata: disallow dev-initiated LPM transitions to unsupported states
| * 993bb01d22
i2c: aspeed: Reset the i2c controller when timeout occurs
| * f5e303fce3
tracefs: Add missing lockdown check to tracefs_create_dir()
| * 96afb318ae
nfsd: fix change_info in NFSv4 RENAME replies
| * b3183f5f05
tracing: Have option files inc the trace array ref count
| * ec7eb8b064
tracing: Have current_trace inc the trace array ref count
| * bb3e295a38
drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
| * 2cdcf6481c
mm/filemap: fix infinite loop in generic_file_buffered_read()
| * 0c5d5f8e0d
proc: fix a dentry lock race between release_task and lookup
| * 8db844077e
net/sched: Retire rsvp classifier
| * 7a8f285cb5
drm/amdgpu: fix amdgpu_cs_p1_user_fence
| * 7390bb377b
btrfs: release path before inode lookup during the ino lookup ioctl
| * 3d379dd109
btrfs: fix lockdep splat and potential deadlock after failure running delayed items
| * c6422e6f17
ovl: fix incorrect fdput() on aio completion
| * 68308b0a33
attr: block mode changes of symlinks
| * 634444dea8
md/raid1: fix error: ISO C90 forbids mixed declarations
| * 7be3a38f0e
samples/hw_breakpoint: fix building without module unloading
| * d20beafaa6
x86/boot/compressed: Reserve more memory for page tables
| * 7635020b9b
scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
| * f990052376
selftests: tracing: Fix to unmount tracefs for recovering environment
| * ae889fffae
scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
| * 82910aa550
drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
| * df380d6f5c
btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
| * ab90a3930d
btrfs: add a helper to read the superblock metadata_uuid
| * cc87d2bb39
btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
| * e16f5f8cab
perf tools: Add an option to build without libbfd
| * c560958127
perf jevents: Make build dependency on test JSONs
| * 4954c5a054
mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
| * b87d03ed6a
mtd: rawnand: brcmnand: Allow SoC to provide I/O operations
| * 5df5829158
kobject: Add sanity check for kset->kobj.ktype in kset_register()
| * a3efb2b57e
media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
| * f354456f8d
serial: cpm_uart: Avoid suspicious locking
| * bbe3ff47bf
scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
| * 6d3a1dd105
usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
| * 890d10e6b7
media: pci: cx23885: replace BUG with error return
| * 2ae53dd15e
media: tuners: qt1010: replace BUG_ON with a regular error
| * 578b67614a
media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
| * a9def3e971
media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
| * 4a9763d2bc
media: anysee: fix null-ptr-deref in anysee_master_xfer
| * c7e5ac737d
media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
| * 97fdbdb750
media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
| * 6c01ef65de
media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
| * 9f3b2b6668
powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
| * 756747d4b4
jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
| * 6f8b344589
fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
| * 4bff1d95ba
ext2: fix datatype of block number in ext2_xattr_set2()
| * 7993cfc041
md: raid1: fix potential OOB in raid1_remove_disk()
| * 5933cd6139
bus: ti-sysc: Configure uart quirks for k3 SoC
| * 5475b8bea1
drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
| * d51d6c42d1
ALSA: hda: intel-dsp-cfg: add LunarLake support
| * fcfb71848e
samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
| * 9726e8dcab
drm/bridge: tc358762: Instruct DSI host to generate HSE packets
| * 672205c6f2
wifi: mac80211_hwsim: drop short frames
| * 5bf52e431c
netfilter: ebtables: fix fortify warnings in size_entry_mwt()
| * f6f0a68754
alx: fix OOB-read compiler warning
| * acf0019b93
mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
| * c7a8813d91
tpm_tis: Resend command to recover from data transfer errors
| * 0fc7147c69
crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
| * 03385b243b
wifi: wil6210: fix fortify warnings
| * 269eb4e1d5
wifi: mwifiex: fix fortify warning
| * 08fdbe3790
wifi: ath9k: fix printk specifier
| * 268a10c9eb
wifi: ath9k: fix fortify warnings
| * 8c19ddc215
crypto: lrw,xts - Replace strlcpy with strscpy
| * cfca20009b
devlink: remove reload failed checks in params get/set callbacks
| * 020ecfa7b6
hw_breakpoint: fix single-stepping when using bpf_overflow_handler
| * bfc747fe07
ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
| * dc01bfdc3d
perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
| * 560014aefb
ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
| * 3f72fdb20f
scftorture: Forgive memory-allocation failure if KASAN
| * 55887adc76
rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
| * f8bab887a4
kernel/fork: beware of __put_task_struct() calling context
| * 625c12dc04
ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
| * a6f4129378
locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
| * b7c3cf2f6c
btrfs: output extra debug info if we failed to find an inline backref
| * 69ddafc7a7
autofs: fix memory leak of waitqueues in autofs_catatonic_mode
* | 16aeda0b7d
Merge 5.10.196 into android12-5.10-lts
|\|
| * ff0bfa8f23
Linux 5.10.196
| * 2cc1f49862
Revert "configfs: fix a race in configfs_lookup()"
* | 5b4fcff944
Revert "configfs: fix a race in configfs_lookup()"
* | 84ae70e787
FROMLIST: lib/test_meminit: fix off-by-one error in test_pages()
* | a8b0203a91
FROMLIST: drm/mediatek: Fix backport issue in mtk_drm_gem_prime_vmap()
* | cb5f0587c6
Revert "scsi: core: Use 32-bit hostnum in scsi_host_lookup()"
* | 734d166d62
Revert "fs/nls: make load_nls() take a const parameter"
* | db08d2cf82
Revert "tracing: Introduce pipe_cpumask to avoid race on trace_pipes"
* | 73c7cc0b1e
Revert "tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY"
* | 2b40885cdc
Revert "crypto: api - Use work queue in crypto_destroy_instance"
* | 92ecfcb0af
Revert "ip_tunnels: use DEV_STATS_INC()"
* | 8026d5839b
Merge 5.10.195 into android12-5.10-lts
|\|
| * 5452d1be67
Linux 5.10.195
| * d653c35de0
parisc: Drop loops_per_jiffy from per_cpu struct
| * 1d02ef8c8a
drm/amd/display: Fix a bug when searching for insert_above_mpcc
| * 2e18493c42
kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
| * 606a0d8ff6
ixgbe: fix timestamp configuration code
| * 6edf82223f
ipv6: fix ip6_sock_set_addr_preferences() typo
| * a5096cc6e7
net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
| * 03be4412d3
platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
| * 687031788f
platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors
| * 33db24ad81
kcm: Fix memory leak in error path of kcm_sendmsg()
| * ed584f1e72
r8152: check budget for r8152_poll()
| * 1e90a93ac4
hsr: Fix uninit-value access in fill_frame_info()
| * 75f2de75c1
net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
| * 61054a8ddb
net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
| * d1c6c93c27
net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
| * fcb9e879a5
kselftest/runner.sh: Propagate SIGTERM to runner child
| * d94aac13a1
selftests/kselftest/runner/run_one(): allow running non-executable files
| * 7c8ddcdab1
net: ipv4: fix one memleak in __inet_del_ifa()
| * 15dabd02a9
bus: mhi: host: Skip MHI reset if device is in RDDM
| * de20747ee6
ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
| * 81d06d1919
ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
| * 61fa6a16bb
scsi: qla2xxx: Flush mailbox commands on chip reset
| * b5775b8530
scsi: qla2xxx: Fix crash in PCIe error handling
| * 41a660c204
scsi: qla2xxx: Consolidate zio threshold setting for both FCP & NVMe
| * 5c069bce2d
scsi: qla2xxx: If fcport is undergoing deletion complete I/O with retry
| * e7ed3585d0
arm64: sdei: abort running SDEI handlers during crash
| * 0b55460c31
ACPI: APEI: explicit init of HEST and GHES in apci_init()
| * c6dc2a2e11
perf hists browser: Fix the number of entries for 'e' key
| * c07e4a4ef3
perf tools: Handle old data in PERF_RECORD_ATTR
| * b52a33a907
perf hists browser: Fix hierarchy mode header
| * d72b01d9f9
drm/amd/display: prevent potential division by zero errors
| * d68f639dde
mtd: rawnand: brcmnand: Fix potential false time out warning
| * d00b031266
mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
| * c839a24d6e
mtd: rawnand: brcmnand: Fix crash during the panic_write
| * e76cef3dcd
btrfs: use the correct superblock to compare fsid in btrfs_validate_super
| * f2873a18c2
btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
| * 3856e7b118
fuse: nlookup missing decrement in fuse_direntplus_link
| * 1d21b03f77
ata: pata_ftide010: Add missing MODULE_DESCRIPTION
| * 35a3dec703
ata: sata_gemini: Add missing MODULE_DESCRIPTION
| * b1d63e2bbd
ext4: add correct group descriptors and reserved GDT blocks to system zone
| * 6612d5b535
sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
| * 97ef9ba7df
net: hns3: fix the port information display when sfp is absent
| * 780f60dde2
netfilter: nfnetlink_osf: avoid OOB read
| * e89a361d99
net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
| * 94a3117eff
net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
| * e90e70343b
ip_tunnels: use DEV_STATS_INC()
| * 2539b28a2b
idr: fix param name in idr_alloc_cyclic() doc
| * 0878052579
s390/zcrypt: don't leak memory if dev_set_name() fails
| * d878011b5d
igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
| * 417b11433e
igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
| * 9444881a37
igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
| * 46f02fc7f6
kcm: Destroy mutex in kcm_exit_net()
| * 746a8df5e4
net: sched: sch_qfq: Fix UAF in qfq_dequeue()
| * 31e08e7fa6
af_unix: Fix data race around sk->sk_err.
| * 90e32f81f9
af_unix: Fix data-races around sk->sk_shutdown.
| * cf29b42766
af_unix: Fix data-race around unix_tot_inflight.
| * b401d7e485
af_unix: Fix data-races around user->unix_inflight.
| * 98e12d075c
net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
| * d47bc5023e
veth: Fixing transmit return status for dropped packets
| * ab9796f43c
igb: disable virtualization features on 82580
| * 160fdb4116
ipv4: ignore dst hint for multipath routes
| * 29039819c6
drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
| * 23d2651372
drm/i915/gvt: Save/restore HW status to support GVT suspend/resume
| * 895dc4c471
net: read sk->sk_family once in sk_mc_loop()
| * 8edced38db
ipv4: annotate data-races around fi->fib_dead
| * ab5c26dc53
sctp: annotate data-races around sk->sk_wmem_queued
| * 94d527c375
net/sched: fq_pie: avoid stalls in fq_pie_timer()
| * a2d9d884e8
pwm: lpc32xx: Remove handling of PWM channels
| * 6909e28cf3
watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
| * aec02fba99
perf top: Don't pass an ERR_PTR() directly to perf_session__delete()
| * 28df38af32
x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
| * 23ec6fc52c
perf annotate bpf: Don't enclose non-debug code with an assert()
| * 934d29b9fa
backlight: gpio_backlight: Drop output GPIO direction check for initial power state
| * 84f9953215
kconfig: fix possible buffer overflow
| * 6cc6f79b93
NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
| * 4185605cd0
NFS: Fix a potential data corruption
| * 2ccab9f827
soc: qcom: qmi_encdec: Restrict string length in decode
| * bf27518fb9
clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
| * 972acd701b
clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz
| * 9214536728
dt-bindings: clock: xlnx,versal-clk: drop select:false
| * 690a22d6c5
pinctrl: cherryview: fix address_space_handler() argument
| * b02d1fb74e
parisc: led: Reduce CPU overhead for disk & lan LED computation
| * 3add85c962
parisc: led: Fix LAN receive and transmit LEDs
| * 2a1cf9fe09
lib/test_meminit: allocate pages up to order MAX_ORDER
| * 6bfa28f441
drm/ast: Fix DRAM init on AST2200
| * 4aade6c910
fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
| * db8b5a2254
scsi: qla2xxx: Remove unsupported ql2xenabledif option
| * fd48544f3e
scsi: qla2xxx: Turn off noisy message log
| * 931fadf972
scsi: qla2xxx: Fix erroneous link up failure
| * 3694f18bea
scsi: qla2xxx: fix inconsistent TMF timeout
| * 4d7da12483
scsi: qla2xxx: Fix deletion race condition
| * f271e3d64b
io_uring: break iopolling on signal
| * 9faa6d0677
io_uring: break out of iowq iopoll on teardown
| * 208858d4b0
io_uring: always lock in io_apoll_task_func
| * 6ffab754d2
net/ipv6: SKB symmetric hash should incorporate transport ports
| * 26f9ccb7a0
udf: initialize newblock to 0
| * 06494cd473
md/md-bitmap: remove unnecessary local variable in backlog_store()
| * 5103216b86
tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY
| * 1c4c9191b3
usb: typec: tcpci: clear the fault status bit
| * beba5051dd
USB: core: Fix oversight in SuperSpeed initialization
| * 9d241c5d9a
USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()
| * 6ceffc2ecf
USB: core: Change usb_get_device_descriptor() API
| * 3cef18d13f
USB: core: Unite old scheme and new scheme descriptor reads
| * 38e1f2ee82
usb: typec: bus: verify partner exists in typec_altmode_attention
| * b97e3c5e97
cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
| * a1d2e2c670
crypto: stm32 - fix loop iterating through scatterlist for DMA
| * 54d03dc5d1
s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
| * dc2f60de9a
pstore/ram: Check start of empty przs during init
| * 5b1f71c0b9
fsverity: skip PKCS#7 parser when keyring is empty
| * a9864e126b
net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
| * c681d477c0
X.509: if signature is unsupported skip validation
| * 4b8a938e32
dccp: Fix out of bounds access in DCCP error handler
| * a4f4a5b41a
dlm: fix plock lookup when using multiple lockspaces
| * 9f73fd6972
parisc: Fix /proc/cpuinfo output for lscpu
| * 1f03e6dd19
procfs: block chmod on /proc/thread-self/comm
| * 9a0b35dc3a
Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
| * 3d8d13a174
ntb: Fix calculation ntb_transport_tx_free_entry()
| * c028e90e0d
ntb: Clean up tx tail index on link down
| * 3cfdc448e8
ntb: Drop packets when qp link is down
| * ffed0c8fcf
scsi: mpt3sas: Perform additional retries if doorbell read returns 0
| * bf67d43f07
Revert "scsi: qla2xxx: Fix buffer overrun"
| * 27dfaf2ee0
media: dvb: symbol fixup for dvb_attach()
| * 5a85727239
arm64: csum: Fix OoB access in IP checksum code for negative lengths
| * b24bebcea5
xtensa: PMU: fix base address for the newer hardware
| * 8594605a04
backlight/lv5207lp: Compare against struct fb_info.device
| * e2c77841cd
backlight/bd6107: Compare against struct fb_info.device
| * 35c56c4873
backlight/gpio_backlight: Compare against struct fb_info.device
| * 13264260eb
ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
| * 5c5f02e16b
ipmi_si: fix a memleak in try_smi_init()
| * 5d27baee6c
scsi: core: Fix the scsi_set_resid() documentation
| * 8c90c4e619
printk: ringbuffer: Fix truncating buffer size min_t cast
| * 61b918dfb6
ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
| * ab192e5e5d
PM / devfreq: Fix leak in devfreq_dev_release()
| * 3e39008e9e
igb: set max size RX buffer when store bad packet is enabled
| * 8836c26620
skbuff: skb_segment, Call zero copy functions before using skbuff frags
| * 5541827d13
netfilter: xt_sctp: validate the flag_info count
| * a1b711c370
netfilter: xt_u32: validate user space input
| * 83091f8ac0
netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
| * 1186eaffd8
igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
| * 504bb3fc66
virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
| * ea374bdf23
cpufreq: Fix the race condition while updating the transition_task of policy
| * 27b75c7203
dmaengine: ste_dma40: Add missing IRQ check in d40_probe
| * cfe215a04a
um: Fix hostaudio build errors
| * eb33921806
mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
| * 40d8f9bffe
mtd: spi-nor: Check bus width while setting QE bit
| * 71ac2ffd7f
rpmsg: glink: Add check for kstrdup
| * 268fce6ec2
phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
| * 6739746f4b
phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
| * 88813bd9bb
phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
| * 3a890f993b
mtd: rawnand: brcmnand: Fix mtd oobsize
| * c5d30d6aa8
tracing: Fix race issue between cpu buffer write and swap
| * ee519526d5
x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
| * 15ec7cb55e
HID: multitouch: Correct devm device reference for hidinput input_dev name
| * e38a6f1268
HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
| * bdb3cd9dff
RDMA/siw: Correct wrong debug message
| * d006f2cb3c
RDMA/siw: Balance the reference of cep->kref in the error path
| * aa950b9835
Revert "IB/isert: Fix incorrect release of isert connection"
| * 9baf2278b3
amba: bus: fix refcount leak
| * 0c6c0280f7
serial: tegra: handle clk prepare error in tegra_uart_hw_init()
| * 9cce8ef7a6
scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
| * 356da2d5c0
scsi: core: Use 32-bit hostnum in scsi_host_lookup()
| * 629079f502
cgroup:namespace: Remove unused cgroup_namespaces_init()
| * 3534ae5f17
media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
| * a427ce197e
media: ov2680: Fix vflip / hflip set functions
| * cd7a0e391e
media: ov2680: Fix ov2680_bayer_order()
| * faf1408a68
media: ov2680: Remove auto-gain and auto-exposure controls
| * e1552a0b99
media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
| * 2d29ce41de
media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
| * 44c71cbe7c
USB: gadget: f_mass_storage: Fix unused variable warning
| * 8f7de82158
media: go7007: Remove redundant if statement
| * 3183b0cab7
iommu/vt-d: Fix to flush cache of PASID directory table
| * 4136094df5
iommu/qcom: Disable and reset context bank before programming
| * b374b039e0
fsi: aspeed: Reset master errors after CFAM reset
| * f8949c06c7
IB/uverbs: Fix an potential error pointer dereference
| * 10bd5f8ceb
driver core: test_async: fix an error code
| * 19138f8cc6
dma-buf/sync_file: Fix docs syntax
| * e621dbeb9f
coresight: tmc: Explicit type conversions to prevent integer overflow
| * d7f21ef741
scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
| * 1198a0e935
scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
| * d86d85e23e
scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
| * 4ede2ee95b
x86/APM: drop the duplicate APM_MINOR_DEV macro
| * 9a26aaea6c
serial: sprd: Fix DMA buffer leak issue
| * 6232bd4dca
serial: sprd: Assign sprd_port after initialized to avoid wrong access
| * 6d65079c69
scsi: qla4xxx: Add length check when parsing nlattrs
| * b65b13d01b
scsi: be2iscsi: Add length check when parsing nlattrs
| * 4df82c6d6e
scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
| * 18d49266dd
scsi: iscsi: Add length check for nlattr payload
| * 3ef17ca476
scsi: iscsi: Rename iscsi_set_param() to iscsi_if_set_param()
| * 8356a3ba10
scsi: RDMA/srp: Fix residual handling
| * cc2d5cdb19
usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
| * 5a6f480b2e
media: mediatek: vcodec: Return NULL if no vdec_fb is found
| * 43c69dc9a3
media: rkvdec: increase max supported height for H.264
| * 1e5eac0022
scsi: hisi_sas: Fix normally completed I/O analysed as failed
| * b6aca9f5ab
scsi: hisi_sas: Fix warnings detected by sparse
| * 0d383e555f
scsi: hisi_sas: Modify v3 HW SATA completion error processing
| * 6342206051
scsi: hisi_sas: Modify v3 HW SSP underflow error processing
| * d84e5d445a
scsi: libsas: Introduce more SAM status code aliases in enum exec_status
| * 519b9e3e5c
scsi: hisi_sas: Print SAS address for v3 hw erroneous completion print
| * 5e5a528c29
media: cx24120: Add retval check for cx24120_message_send()
| * d13a84874a
media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
| * 656423cc56
media: dib7000p: Fix potential division by zero
| * 61bc9293da
drivers: usb: smsusb: fix error handling code in smsusb_init_device
| * d8a8f75fce
media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
| * 5865926da2
media: i2c: tvp5150: check return value of devm_kasprintf()
| * 6dff92b3fe
media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables
| * 9d82a58d2a
NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
| * 7bc36ac671
NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
| * 3f1a2b0b2d
NFSD: da_addr_body field missing in some GETDEVICEINFO replies
| * aaeac3a6b1
fs: lockd: avoid possible wrong NULL parameter
| * 6d53616189
jfs: validate max amount of blocks before allocation.
| * f08944e3c6
powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
| * 46ff3bd14b
nfs/blocklayout: Use the passed in gfp flags
| * 953c54dfdc
powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT
| * e46cc0e42f
powerpc: Don't include lppaca.h in paca.h
| * 9837d6a483
wifi: ath10k: Use RMW accessors for changing LNKCTL
| * 924d1ab987
net/mlx5: Use RMW accessors for changing LNKCTL
| * 37eecd5085
drm/radeon: Use RMW accessors for changing LNKCTL
| * ead3dbc92b
drm/amdgpu: Use RMW accessors for changing LNKCTL
| * 2f8269ca80
powerpc/perf: Convert fsl_emb notifier to state machine callbacks
| * d45bf1528b
powerpc/fadump: reset dump area size if fadump memory reserve fails
| * ad83d83dd8
vfio/type1: fix cap_migration information leak
| * d8f5613c5c
clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
| * 0d81a0546b
clk: imx8mp: fix sai4 clock
| * 69795c689e
PCI/ASPM: Use RMW accessors for changing LNKCTL
| * f647b8fe55
PCI: pciehp: Use RMW accessors for changing LNKCTL
| * ae52f8ba45
pinctrl: mcp23s08: check return value of devm_kasprintf()
| * ef8e561ddb
PCI: Mark NVIDIA T4 GPUs to avoid bus reset
| * 344c16a844
clk: qcom: reset: Use the correct type of sleep/delay based on length
| * 289f5a88f1
clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
| * b3a80429b1
clk: qcom: gcc-sm8250: use ARRAY_SIZE instead of specifying num_parents
| * 245759d987
ext4: correct grp validation in ext4_mb_good_group
| * 2aefe3ae09
clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
| * 74a5f9755a
clk: qcom: gcc-sc7180: use ARRAY_SIZE instead of specifying num_parents
| * 2640d3be82
clk: sunxi-ng: Modify mismatched function name
| * c1ff788f73
drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
| * 13623b966b
ipmi:ssif: Fix a memory leak when scanning for an adapter
| * 6128288d8f
ipmi:ssif: Add check for kstrdup
| * 8917591d72
ALSA: ac97: Fix possible error value of *rac97
| * cd062ebe0c
of: unittest: Fix overlay type in apply/revert check
| * ca7634e549
bus: ti-sysc: Fix cast to enum warning
| * 43f561e809
drm/mediatek: Fix potential memory leak if vmap() fail
| * 2655155486
bus: ti-sysc: Fix build warning for 64-bit build
| * 98ef243d59
audit: fix possible soft lockup in __audit_inode_child()
| * 69800bc5d7
drm/msm/a2xx: Call adreno_gpu_init() earlier
| * 7fcbaf4bdb
drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
| * 9b89db24c6
smackfs: Prevent underflow in smk_set_cipso()
| * 9f4017cac7
firmware: meson_sm: fix to avoid potential NULL pointer dereference
| * 815e42029f
drm/msm/mdp5: Don't leak some plane state
| * a21e73a6d8
drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
| * 524f23b082
ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
| * e2d1c9b397
drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
| * c02917e70a
drm/armada: Fix off-by-one error in armada_overlay_get_property()
| * f41c65f8d0
of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
| * 883fdbbdbe
drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
| * 5f0994e3f2
drm/tegra: Remove superfluous error messages around platform_get_irq()
| * 4a61d72585
md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
| * 8563d52a4f
md/bitmap: don't set max_write_behind if there is no write mostly device
| * a15f309eb9
drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
| * 8e766a94ec
arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
| * 36d3e4dedb
arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
| * 0eea279e01
ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
| * ed4e48de89
drm: adv7511: Fix low refresh rate register for ADV7533/5
| * 61ccdd2167
ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
| * e9875d2f25
ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
| * c4c72bf42f
ARM: dts: s5pv210: adjust node names to DT spec
| * bbcea0924b
ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
| * a2d6c5e8e7
ARM: dts: s3c64xx: align pinctrl with dtschema
| * 3f0d83994e
x86/mm: Fix PAT bit missing from page protection modify mask
| * b56309c77d
drm/etnaviv: fix dumping of active MMU context
| * 8303282409
ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
| * 031ab0f10e
ARM: dts: BCM53573: Add cells sizes to PCIe node
| * 8415d803d8
ARM: dts: BCM53573: Drop nonexistent #usb-cells
| * cfc4a78e70
ARM: dts: BCM53573: Describe on-SoC BCM53125 rev 4 switch
| * 36d958ad40
ARM: dts: BCM5301X: Harmonize EHCI/OHCI DT nodes name
| * 826ef15769
drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
| * 967cbc8a23
arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller
| * 71d2d9aa2b
soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
| * 1356531e92
soc: qcom: ocmem: Add OCMEM hardware version print
| * 4bf179f536
ASoC: stac9766: fix build errors with REGMAP_AC97
| * 86d89987f0
quota: fix dqput() to follow the guarantees dquot_srcu should provide
| * af4ff47489
quota: add new helper dquot_active()
| * 905e316e5e
quota: rename dquot_active() to inode_quota_active()
| * a5da2849db
quota: factor out dquot_write_dquot()
| * 53805176ec
drm/bridge: tc358764: Fix debug print parameter order
| * abd1c17ef4
netrom: Deny concurrent connect().
| * b08cc6c039
net/sched: sch_hfsc: Ensure inner classes have fsc curve
| * ab04c731a1
hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
| * db7a353166
mlxsw: i2c: Limit single transaction buffer size
| * 3d36ba3f7e
mlxsw: i2c: Fix chunk size setting in output mailbox buffer
| * 7cc9e1dcc1
net: arcnet: Do not call kfree_skb() under local_irq_disable()
| * d4f79aa9ee
wifi: ath9k: use IS_ERR() with debugfs_create_dir()
| * 50f89daf9e
Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()
| * bef85d58f7
wifi: mwifiex: avoid possible NULL skb pointer dereference
| * cfce1973ff
wifi: ath9k: protect WMI command response buffer replacement with a lock
| * ee72b2b1f5
wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
| * 91d92d8975
samples/bpf: fix broken map lookup probe
| * 08a6e99a33
wifi: mwifiex: Fix missed return in oob checks failed path
| * 0c4240d23d
wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
| * 0fe11dd3fe
fs: ocfs2: namei: check return value of ocfs2_add_entry()
| * d8f5415d4d
lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
| * a97f221651
lwt: Fix return values of BPF xmit ops
| * 97ccf9f195
hwrng: iproc-rng200 - Implement suspend and resume calls
| * 49729fc472
crypto: caam - fix unchecked return value error
| * 7a97044477
ice: ice_aq_check_events: fix off-by-one check when filling buffer
| * 9b812dcf2b
selftests/bpf: Clean up fmod_ret in bench_rename test script
| * 88bc7122db
net: tcp: fix unexcepted socket die when snd_wnd is 0
| * e87da6a0ac
Bluetooth: Fix potential use-after-free when clear keys
| * 6668886ebe
Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
| * 625bf86bf5
crypto: api - Use work queue in crypto_destroy_instance
| * 7545292d87
crypto: stm32 - Properly handle pm_runtime_get failing
| * 323084d77d
selftests/bpf: fix static assert compilation issue for test_cls_*.c
| * a8d6965843
wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
| * 3fe3923d09
wifi: mwifiex: Fix OOB and integer underflow when rx packets
| * 5120d93c24
can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
| * 1d6c3017ce
spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
| * ca7ee1b75c
wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
| * 791a12102e
bpf: reject unhashed sockets in bpf_sk_assign
| * 4d271804f5
udp: re-score reuseport groups when connected sockets are present
| * e6e11cbaa1
regmap: rbtree: Use alloc_flags for memory allocations
| * 1d210321de
hwrng: nomadik - keep clock enabled while hwrng is registered
| * f24152c209
tcp: tcp_enter_quickack_mode() should be static
| * b275f0ae35
bpf: Clear the probe_addr for uprobe
| * 514116de91
bpftool: Use a local bpf_perf_event_value to fix accessing its fields
| * 920b2f99bc
cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
| * 133a1f45b9
x86/efistub: Fix PCI ROM preservation in mixed mode
| * 3de36b8b9b
s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
| * e06326ff3a
s390/pkey: fix/harmonize internal keyblob headers
| * 08b1803bfc
perf/imx_ddr: don't enable counter0 if none of 4 counters are used
| * c0e1f9bddc
x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
| * 0682fc175c
selftests/resctrl: Close perf value read fd on errors
| * f399938a91
selftests/resctrl: Unmount resctrl FS if child fails to run benchmark
| * bf1f7aeb57
selftests/resctrl: Don't leak buffer in fill_cache()
| * 3ee719b3a0
OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
| * 066fbd8bc9
refscale: Fix uninitalized use of wait_queue_head_t
| * ac96370db7
selftests/harness: Actually report SKIP for signal tests
| * ac5a73b5d9
tmpfs: verify {g,u}id mount options correctly
| * 644e93a790
fs: Fix error checking for d_hash_and_lookup()
| * 731f39e4a1
eventfd: prevent underflow for eventfd semaphores
| * 755e86f28a
eventfd: Export eventfd_ctx_do_read()
| * 6b5d585e23
reiserfs: Check the return value from __getblk()
| * 5101e2c8a5
Revert "net: macsec: preserve ingress frame ordering"
| * ca8f04553e
udf: Handle error when adding extent to a file
| * 4ac54312f6
udf: Check consistency of Space Bitmap Descriptor
| * 42714d3d70
net: Avoid address overwrite in kernel_connect
| * 4ded72985b
platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
| * 0c0547d2a6
tracing: Introduce pipe_cpumask to avoid race on trace_pipes
| * 99d8d419dd
ALSA: seq: oss: Fix racy open/close of MIDI devices
| * 21f47cc15a
scsi: storvsc: Always set no_report_opcodes
| * 5cbc749d11
sctp: handle invalid error codes without calling BUG()
| * 2bdd081a7d
bnx2x: fix page fault following EEH recovery
| * d11a454288
netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
| * 7dd6ef1ced
scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
| * 7a1a7f40ad
idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
| * d399b6ce1a
net: usb: qmi_wwan: add Quectel EM05GV2
| * bb8a4a3632
vmbus_testing: fix wrong python syntax for integer value comparison
| * 0ff30413a7
clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
| * 0111b7bb51
kprobes: Prohibit probing on CFI preamble symbol
| * 654e3d2779
security: keys: perform capable check only on privileged operations
| * b23cbd3c25
ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()
| * 331d85f0bc
ovl: Always reevaluate the file signature for IMA
| * 357badc01a
drm/amd/display: Exit idle optimizations before attempt to access PHY
| * de0cdcceaa
platform/x86: huawei-wmi: Silence ambient light sensor
| * 8964b32a67
platform/x86: intel: hid: Always call BTNL ACPI method
| * 6b953ee81a
ASoC: atmel: Fix the 8K sample parameter in I2SC master
| * 37121461dd
ASoc: codecs: ES8316: Fix DMIC config
| * bc2b0d4d37
fs/nls: make load_nls() take a const parameter
| * 0a584c0779
s390/dasd: fix hanging device after request requeue
| * 0c96df6913
s390/dasd: use correct number of retries for ERP requests
| * a5fd143673
m68k: Fix invalid .section syntax
| * f7700e987f
vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
| * b7cd83cfff
ethernet: atheros: fix return value check in atl1c_tso_csum()
| * 16c1134267
ASoC: da7219: Check for failure reading AAD IRQ events
| * afa2dbd7d1
ASoC: da7219: Flush pending AAD IRQ when suspending
| * efa372af6b
9p: virtio: make sure 'offs' is initialized in zc_request
| * 2f13007fbe
media: pci: cx23885: fix error handling for cx23885 ATSC boards
| * 92704dd055
media: pulse8-cec: handle possible ping error
| * 9d9cdc32bf
phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code
| * a8ba2b6959
ARM: dts: imx: Set default tuning step for imx7d usdhc
| * 678a88ac02
ARM: dts: imx: Adjust dma-apbh node name
| * 6895499b22
ARM: dts: imx7s: Drop dma-apb interrupt-names
| * 614c27dfde
ARM: dts: imx: update sdma node name format
| * d45e2a3d2e
ASoC: rt5682: Fix a problem with error handling in the io init function of the soundwire
| * 977baccbbd
pinctrl: amd: Don't show `Invalid config param` errors
| * f1d637b63d
nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
| * 0e11bb5ad3
nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
| * 734c6d3dc7
fsi: master-ast-cf: Add MODULE_FIRMWARE macro
| * da5dc81ed2
firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
| * 9fda231901
serial: sc16is7xx: fix bug when first setting GPIO direction
| * 2f982ce208
serial: sc16is7xx: fix broken port 0 uart init
| * bd0ed45dd6
serial: qcom-geni: fix opp vote on shutdown
| * c709c7ca02
configfs: fix a race in configfs_lookup()
| * 746b363bef
Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
| * b074fb0fa0
staging: rtl8712: fix race condition
| * 65bfaf5f9d
HID: wacom: remove the battery when the EKR is off
| * 542c614707
usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0
| * 5c4996c229
usb: dwc3: meson-g12a: do post init to fix broken usb after resumption
| * d44fa38193
USB: serial: option: add FOXCONN T99W368/T99W373 product
| * df6696e42e
USB: serial: option: add Quectel EM05G variant (0x030e)
| * f71b0b4a49
modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
| * 92de8497c3
rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
| * 1aeb76ffdf
net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
| * d90e5956c0
mmc: au1xmmc: force non-modular build and remove symbol_get usage
| * c1112a2b54
ARM: pxa: remove use of symbol_get()
| * 8c599aa78c
erofs: ensure that the post-EOF tails are all zeroed
* | 397f70b65c
Merge 5.10.194 into android12-5.10-lts
|\|
| * 006d584764
Linux 5.10.194
| * d93ba6e46e
rcu-tasks: Add trc_inspect_reader() checks for exiting critical section
| * 3e22624f8f
rcu-tasks: Wait for trc_read_check_handler() IPIs
| * 9190c1f0ae
rcu-tasks: Fix IPI failure handling in trc_wait_for_one_reader
| * ad4f8c117b
rcu: Prevent expedited GP from enabling tick on offline CPU
| * 268e922522
Revert "MIPS: Alchemy: fix dbdma2"
| * 79ea9eb723
Revert "drm/amdgpu: install stub fence into potential unused fence pointers"
| * be4ccafc07
mhi: pci_generic: Fix implicit conversion warning
| * df3427204f
ARM: module: Use module_init_layout_section() to spot init sections
| * b59cfee8d8
arm64: module: Use module_init_layout_section() to spot init sections
| * 943ed7dc5e
arm64: module-plts: inline linux/moduleloader.h
| * ecd62c8512
module: Expose module_init_layout_section()
* | feb0269d54
Revert "drm/display/dp: Fix the DP DSC Receiver cap size"
* | 3acf914de4
Merge 5.10.193 into android12-5.10-lts
|\|
| * 4566606fe3
Linux 5.10.193
| * b3ac2c1d72
mm,hwpoison: fix printing of page flags
| * 7f92be110c
ASoC: Intel: sof_sdw: include rt711.h for RT711 JD mode
| * 32f71ef627
mm: memory-failure: fix unexpected return value in soft_offline_page()
| * 20c2db79f1
mm: memory-failure: kill soft_offline_free_page()
| * 406166a3ac
mm: fix page reference leak in soft_offline_page()
| * 749630ce91
mm,hwpoison: refactor get_any_page
| * 0df5eaab03
dma-buf/sw_sync: Avoid recursive lock during fence signal
| * 7592a392b3
pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
| * 91cbf41a9d
clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
| * 148a86651c
scsi: core: raid_class: Remove raid_component_add()
| * 5d02f4320a
scsi: snic: Fix double free in snic_tgt_create()
| * d643d3f322
ASoC: rt711: add two jack detection modes
| * c7b26063fc
drm/i915: Fix premature release of request's reusable memory
| * 2d69f68ad4
cgroup/cpuset: Free DL BW in case can_attach() fails
| * 4603c2a104
sched/deadline: Create DL BW alloc, free & check overflow interface
| * c9546921a4
cgroup/cpuset: Iterate only if DEADLINE tasks are present
| * 5ac05ce568
sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
| * b950133d9a
sched/cpuset: Bring back cpuset_mutex
| * 312713e3ea
cgroup/cpuset: Rename functions dealing with DEADLINE accounting
| * b2125926ba
timers/nohz: Switch to ONESHOT_STOPPED in the low-res handler when the tick is stopped
| * ae4f109b95
tick: Detect and fix jiffies update stall
| * c7e91047d3
torture: Fix hang during kthread shutdown phase
| * 4bc6a4fca1
x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
| * 9e0c0b4ce5
drm/display/dp: Fix the DP DSC Receiver cap size
| * 8735d1c66c
drm/vmwgfx: Fix shader stage validation
| * ff0639b222
PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
| * da4e9eff0f
media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
| * d2540b5f5a
of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
| * 851f686ed0
radix tree: remove unused variable
| * 3b9a61570b
lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
| * 72e4a5a28e
batman-adv: Hold rtnl lock during MTU update via netlink
| * ee1d443eef
batman-adv: Fix batadv_v_ogm_aggr_send memory leak
| * 0c6da1d849
batman-adv: Fix TT global entry leak when client roamed back
| * 6f5d10c0ac
batman-adv: Do not get eth header before batadv_check_management_packet
| * 7c09590883
batman-adv: Don't increase MTU when set by user
| * 480f2a129d
batman-adv: Trigger events for auto adjusted MTU
| * 0dbedf9afe
selinux: set next pointer before attaching to list
| * a54c2048cd
nfsd: Fix race to FREE_STATEID and cl_revoked
| * 7c262127d2
NFS: Fix a use after free in nfs_direct_join_group()
| * f3c5697aae
mm: add a call to flush_cache_vmap() in vmap_pfn()
| * c9a0e31d92
clk: Fix slab-out-of-bounds error in devm_clk_release()
| * f979b92db1
NFSv4: Fix dropped lock for racing OPEN and delegation return
| * 0a809e0157
ibmveth: Use dcbf rather than dcbfl
| * ffde5f9e88
bonding: fix macvlan over alb bond support
| * 615ea2603d
net: remove bond_slave_has_mac_rcu()
| * c8e1e17dee
rtnetlink: Reject negative ifindexes in RTM_NEWLINK
| * 7b79dabd63
rtnetlink: return ENODEV when ifname does not exist and group is given
| * d64cdb9cb6
netfilter: nf_tables: fix out of memory error handling
| * 5db1249c70
net/sched: fix a qdisc modification with ambiguous command request
| * 3847137cd1
igb: Avoid starting unnecessary workqueues
| * fa7d7a7f00
ice: fix receive buffer size miscalculation
| * 70dfdbba30
net: validate veth and vxcan peer ifindexes
| * 67c8d7ef54
net: bcmgenet: Fix return value check for fixed_phy_register()
| * 92b20b1569
net: bgmac: Fix return value check for fixed_phy_register()
| * 0b39e3070a
ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
| * 8162b73eef
dccp: annotate data-races in dccp_poll()
| * 403cc3e625
sock: annotate data-races around prot->memory_pressure
| * 005b6572d0
octeontx2-af: SDP: fix receive link config
| * b8205dfed6
tracing: Fix memleak due to race between current_tracer and trace
| * 9c2ceffd4e
tracing: Fix cpu buffers unavailable due to 'record_disabled' missed
| * 0498107394
rbd: prevent busy loop when requesting exclusive lock
| * 5f16975233
rbd: retrieve and check lock owner twice before blocklisting
| * 2547026bb8
rbd: make get_lock_owner_info() return a single locker or NULL
| * 145248ebe0
libceph, rbd: ignore addr->type while comparing in some cases
| * 61c303cfb1
drm/amd/display: check TG is non-null before checking if enabled
| * b964eb37c0
drm/amd/display: do not wait for mpc idle if tg is disabled
| * 7e11c58b26
ALSA: pcm: Fix potential data race at PCM memory allocation helpers
| * 8c3a4c3b64
dm integrity: reduce vmalloc space footprint on 32-bit architectures
| * 4fdfd3d2f0
dm integrity: increase RECALC_SECTORS to improve recalculate speed
| * 570f52137e
fbdev: fix potential OOB read in fast_imageblit()
| * 31131cce24
fbdev: Fix sys_imageblit() for arbitrary image widths
| * 209a84a14c
fbdev: Improve performance of sys_imageblit()
| * 188edaaaad
MIPS: cpu-features: Use boot_cpu_type for CPU type based features
| * 61913b303b
MIPS: cpu-features: Enable octeon_cache by cpu_type
| * bda55fb5ca
fs: dlm: fix mismatch of plock results from userspace
| * c3a1c4d996
fs: dlm: use dlm_plock_info for do_unlock_close
| * d503919895
fs: dlm: change plock interrupted message to debug again
| * 1652bcbf9e
fs: dlm: add pid to debug log
| * e850cd32df
dlm: replace usage of found with dedicated list iterator variable
| * 7b44c1f383
dlm: improve plock logging if interrupted
| * cd689b5912
PCI: acpiphp: Reassign resources on bridge if necessary
| * e827572152
xprtrdma: Remap Receive buffers after a reconnect
| * 8a64aadc29
NFSv4: fix out path in __nfs4_get_acl_uncached
| * c6aecc29d2
objtool/x86: Fix SRSO mess
* | 4d68de3b8c
UPSTREAM: mhi: pci_generic: Fix implicit conversion warning
* | 9577f310ce
Revert "macsec: Fix traffic counters/statistics"
* | 13fda7dc0e
Revert "macsec: use DEV_STATS_INC()"
* | 63caeeae27
Revert "xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH"
* | b23fd871be
Merge 5.10.192 into android12-5.10-lts
|\|
| * 1599cb60ba
Linux 5.10.192
| * 0e8139f923
x86/srso: Correct the mitigation status when SMT is disabled
| * 23e5987465
objtool/x86: Fixup frame-pointer vs rethunk
| * 26e3f7690c
x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
| * 88e16ce7f8
x86/srso: Disable the mitigation on unaffected configurations
| * 69712baf24
x86/CPU/AMD: Fix the DIV(0) initial fix attempt
| * 62ebfeb0dc
x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
| * 91b349289e
x86/static_call: Fix __static_call_fixup()
| * d2be58f921
x86/srso: Explain the untraining sequences a bit more
| * 06597b650b
x86/cpu: Cleanup the untrain mess
| * e0f50b0e41
x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
| * 0676a39253
x86/cpu: Rename original retbleed methods
| * 8b0ff83e8a
x86/cpu: Clean up SRSO return thunk mess
| * 20e24c8b4c
x86/ibt: Add ANNOTATE_NOENDBR
| * bbbe1b23c7
objtool: Add frame-pointer-specific function ignore
| * bd3d12e6fd
x86/alternative: Make custom return thunk unconditional
| * 043d3bfe0a
x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
| * d5b3c88d15
x86/cpu: Fix __x86_return_thunk symbol type
| * 5962f64ed2
mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
| * 98c7fe38c4
net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
| * 9aead733f5
virtio-net: set queues after driver_ok
| * c080cee930
af_unix: Fix null-ptr-deref in unix_stream_sendpage().
| * 7aa165d761
netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
| * e62de63c63
mmc: block: Fix in_flight[issue_type] value error
| * 9022e9e62d
mmc: wbsd: fix double mmc_free_host() in wbsd_init()
| * 6e74926ede
cifs: Release folio lock on fscache read hit.
| * a04ac0c318
ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
| * bd70d0b280
serial: 8250: Fix oops for port->pm on uart_change_pm()
| * 03a7f213af
ALSA: hda/realtek - Remodified 3k pull low procedure
| * b7d1c71984
ASoC: meson: axg-tdm-formatter: fix channel slot allocation
| * e761b7e90a
ASoC: rt5665: add missed regulator_bulk_disable
| * d23dd85903
arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
| * 70626b93d6
arm64: dts: rockchip: sort nodes/properties on rk3399-rock-4
| * 7ba9ac0b5a
arm64: dts: rockchip: fix regulator name on rk3399-rock-4
| * fba59a4b55
arm64: dts: rockchip: add SPDIF node for ROCK Pi 4
| * 77806f63c3
arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4
| * 1411c3e86e
arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4
| * eb5b1e932c
arm64: dts: rockchip: fix supplies on rk3399-rock-pi-4
| * 73990370d6
bus: ti-sysc: Flush posted write on enable before reset
| * 0a593e8a9d
net: do not allow gso_size to be set to GSO_BY_FRAGS
| * 51bc052db8
sock: Fix misuse of sk_under_memory_pressure()
| * 773075d38a
net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
| * 0a9040dede
i40e: fix misleading debug logs
| * abe68922d7
team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
| * 526d42c558
net: phy: broadcom: stub c45 read/write for 54810
| * a7653eaea0
netfilter: nft_dynset: disallow object maps
| * 49f57a9087
ipvs: fix racy memcpy in proc_do_sync_threshold
| * c8d0d3811e
drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
| * 86517421f4
selftests: mirror_gre_changes: Tighten up the TTL test match
| * 614811692e
xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
| * bd30aa9c7f
xfrm: add NULL check in xfrm_update_ae_params
| * 0b4d69539f
ip_vti: fix potential slab-use-after-free in decode_session6
| * ec23b25e56
ip6_vti: fix slab-use-after-free in decode_session6
| * bafa236380
xfrm: fix slab-use-after-free in decode_session6
| * 0f89909c80
net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
| * 8b92d03cfc
net: af_key: fix sadb_x_filter validation
| * 7e50815d29
net: xfrm: Fix xfrm_address_filter OOB read
| * 549e4e167a
i2c: designware: Handle invalid SMBus block data response length value
| * bd7bef82ce
btrfs: fix BUG_ON condition in btrfs_cancel_balance
| * 483d713ba2
tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
| * 869ce5e598
tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
| * 0ba7f969be
powerpc/rtas_flash: allow user copy to flash block cache objects
| * c5f59de362
fbdev: mmp: fix value check in mmphw_probe()
| * 268cc9bc54
i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
| * 3ff54d904f
virtio-mmio: don't break lifecycle of vm_dev
| * b1fe05cc51
virtio-mmio: Use to_virtio_mmio_device() to simply code
| * 3b76d92636
tracing/probes: Fix to update dynamic data counter if fetcharg uses it
| * 265a979ded
tracing/probes: Have process_fetch_insn() take a void * instead of pt_regs
| * a890545353
mmc: meson-gx: fix deferred probing
| * e8a41b4a50
mmc: meson-gx: use devm_mmc_alloc_host
| * 50ed76c9e0
mmc: core: add devm_mmc_alloc_host
| * d523ce6f51
mmc: sunxi: fix deferred probing
| * 939a12f29a
mmc: bcm2835: fix deferred probing
| * 01dfc61f72
USB: dwc3: qcom: fix NULL-deref on suspend
| * 3e2b5d66e9
usb: cdns3: fix NCM gadget RX speed 20x slow than expection at iMX8QM
| * f5c11b45f3
usb: cdns3: allocate TX FIFO size according to composite EP number
| * a461bcfb36
usb: gadget: udc: core: Introduce check_config to verify USB configuration
| * a64f5fe493
irqchip/mips-gic: Use raw spinlock for gic_lock
| * 0704666c57
irqchip/mips-gic: Get rid of the reliance on irq_cpu_online()
| * 372f1752b7
bus: mhi: host: Range check CHDBOFF and ERDBOFF
| * 77944a6f3c
bus: mhi: Move host MHI code to "host" directory
| * f738912615
bus: mhi: Add MMIO region length to controller structure
| * 1cacbb711e
bus: mhi: Add MHI PCI support for WWAN modems
| * 436b423253
iio: addac: stx104: Fix race condition when converting analog-to-digital
| * aeecd8d97d
iio: addac: stx104: Fix race condition for stx104_write_raw()
| * f6576d4851
iio: adc: stx104: Implement and utilize register structures
| * 9d16098245
iio: adc: stx104: Utilize iomap interface
| * d2ba1f40fc
dt-bindings: iio: add AD74413R
| * c5e580831b
iio: add addac subdirectory
| * bb70fdbfa2
IMA: allow/fix UML builds
| * 66a3b2a121
ring-buffer: Do not swap cpu_buffer during resize process
| * dd5a12cdf2
powerpc/kasan: Disable KCOV in KASAN code
| * 9f9eed4511
ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
| * 7a21c2e474
ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
| * b870b9a47f
drm/amdgpu: Fix potential fence use-after-free v2
| * f19add5c77
Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
| * 2958cf9f80
Bluetooth: L2CAP: Fix use-after-free
| * 04bb8af40a
pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
| * 7c5b2649f6
gfs2: Fix possible data races in gfs2_show_options()
| * e8f3d96051
usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
| * 7a3a7c6fa0
usb: chipidea: imx: don't request QoS for imx8ulp
| * 2caeb722f0
media: platform: mediatek: vpu: fix NULL ptr dereference
| * 99d6afa19d
usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
| * e52de26cb3
media: v4l2-mem2mem: add lock to protect parameter num_rdy
| * 5c094ca994
FS: JFS: Check for read-only mounted filesystem in txBegin
| * 2a3f20efe6
FS: JFS: Fix null-ptr-deref Read in txBegin
| * e778c8b0a9
MIPS: dec: prom: Address -Warray-bounds warning
| * 911b48eec4
fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
| * 4503f6fc95
udf: Fix uninitialized array access for some pathnames
| * a2966e0436
ovl: check type and offset of struct vfsmount in ovl_entry
| * 73311dd831
RDMA/mlx5: Return the firmware result upon destroying QP/RQ
| * 19312bc3ff
HID: add quirk for 03f0:464a HP Elite Presenter Mouse
| * 04bd3a362d
drm/amdgpu: install stub fence into potential unused fence pointers
| * 04e774fb67
dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
| * cbaebbba72
quota: fix warning in dqgrab()
| * 8a4f4d47b8
quota: Properly disable quotas when add_dquot_ref() fails
| * df907501ba
iopoll: Call cpu_relax() in busy loops
| * 940ccc291c
ASoC: Intel: sof_sdw: Add support for Rex soundwire
| * b2882c51e6
ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
| * dbe0f607f8
PCI: tegra194: Fix possible array out of bounds access
| * 10459ffd56
ASoC: Intel: sof_sdw: add quirk for LNL RVP
| * 9f4dd39696
ASoC: Intel: sof_sdw: add quirk for MTL RVP
| * 751c5b6a23
ALSA: emu10k1: roll up loops in DSP setup code for Audigy
| * e6825b30d3
drm/radeon: Fix integer overflow in radeon_cs_parser_init
| * e6c0a9728e
net/mlx5: Skip clock update work when device is in error state
| * 81cc91bba4
net/mlx5: Move all internal timer metadata into a dedicated struct
| * ba2e27e510
net/mlx5: Refactor init clock function
| * e77ef78741
macsec: use DEV_STATS_INC()
| * ecf0e627fb
macsec: Fix traffic counters/statistics
| * b630367a60
mmc: sdhci-f-sdh30: Replace with sdhci_pltfm
* | 412095349f
Merge 5.10.191 into android12-5.10-lts
|\|
| * da742ebfa0
Linux 5.10.191
| * 3b55ce96ef
sch_netem: fix issues in netem_change() vs get_dist_table()
| * db9d161a04
alpha: remove __init annotation from exported page_is_ram()
| * 4af122b5d7
scsi: qedf: Fix firmware halt over suspend and resume
| * 3bb05745ca
scsi: qedi: Fix firmware halt over suspend and resume
| * aa9a76d5ff
scsi: core: Fix possible memory leak if device_add() fails
| * 58889d5ad7
scsi: snic: Fix possible memory leak if device_add() fails
| * a370e2d653
scsi: 53c700: Check that command slot is not NULL
| * 1678408d08
scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
| * 267ad381c2
scsi: core: Fix legacy /proc parsing buffer overflow
| * 039ce5eb6b
netfilter: nf_tables: report use refcount overflow
| * 93b3195d37
nvme-rdma: fix potential unbalanced freeze & unfreeze
| * 9ad83e3e61
nvme-tcp: fix potential unbalanced freeze & unfreeze
| * 200ae5fa0b
btrfs: set cache_block_group_error if we find an error
| * bd3175f9d5
btrfs: don't stop integrity writeback too early
| * c91d822127
ibmvnic: Handle DMA unmapping of login buffs in release functions
| * 9024873b94
ibmvnic: Unmap DMA login rsp buffer on send login fail
| * d4750cea76
ibmvnic: Enforce stronger sanity checks on login response
| * 879750c6a7
net/mlx5: Allow 0 for total host VFs
| * f8510dfa95
dmaengine: mcf-edma: Fix a potential un-allocated memory access
| * e8d349408a
net: hns3: add wait until mac link down
| * 70660e6faa
net: hns3: refactor hclge_mac_link_status_wait for interface reuse
| * b564f32fb3
net: phy: at803x: remove set/get wol callbacks for AR8032
| * 0d35738118
wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
| * 33c677d1e0
IB/hfi1: Fix possible panic during hotplug remove
| * 13f7752f4a
drivers: net: prevent tun_build_skb() to exceed the packet size limit
| * 6d701c95ee
dccp: fix data-race around dp->dccps_mss_cache
| * 6d0bd7b7b3
bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
| * 5850c391fd
tunnels: fix kasan splat when generating ipv4 pmtu error
| * b3b6b9331a
net/packet: annotate data-races around tp->status
| * cafe399d4d
mISDN: Update parameter type of dsp_cmx_send()
| * 4f1d1cc16a
selftests: forwarding: tc_flower: Relax success criterion
| * 501e3de09a
selftests: forwarding: Switch off timeout
| * fe8fac37aa
selftests: forwarding: Skip test when no interfaces are specified
| * 44a47be97c
selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
| * 0a93fa240d
selftests: forwarding: ethtool: Skip when using veth pairs
| * 7e6af9c133
selftests: forwarding: Add a helper to skip test when using veth pairs
| * e731ad5221
selftests/rseq: Fix build with undefined __weak
| * cba47d0c95
drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
| * 98eaa12c96
x86: Move gds_ucode_mitigated() declaration to header
| * 09f78fc442
x86/speculation: Add cpu_show_gds() prototype
| * 5258281a93
x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
| * eda9f8ffca
x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
| * cb1eefc046
x86/srso: Fix build breakage with the LLVM linker
| * df8d390a21
usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
| * 598ccdb92d
usb: dwc3: Properly handle processing of pending events
| * fe7c3a445d
usb-storage: alauda: Fix uninit-value in alauda_check_media()
| * d7e5e2b87f
binder: fix memory leak in binder_init()
| * 0439ce5aef
iio: cros_ec: Fix the allocation size for cros_ec_command
| * aa425ee227
io_uring: correct check for O_TMPFILE
| * 3720724087
nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
| * a16c66baa4
x86/pkeys: Revert a5eff72597
("x86/pkeys: Add PKRU value to init_fpstate")
| * 04499d2c97
radix tree test suite: fix incorrect allocation size for pthreads
| * db0e1e2abd
hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
| * a73d999fdf
drm/amd/display: check attr flag before set cursor degamma on DCN3+
| * 188e8e25ae
drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
| * 6b6839e440
drm/nouveau/gr: enable memory loads on helper invocation on all channels
| * 002cde0b78
riscv,mmio: Fix readX()-to-delay() ordering
| * 8362ad5367
dmaengine: pl330: Return DMA_PAUSED when transaction is paused
| * 7328c5319e
selftests/bpf: Fix sk_assign on s390x
| * b1a3e27d6b
selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code
| * 4af2d9ddb7
selftests/bpf: make test_align selftest more robust
| * 1952a4d5e4
bpf: aggressively forget precise markings during state checkpointing
| * 7ca3e7459f
bpf: stop setting precise in current state
| * 2474ec58b9
bpf: allow precision tracking for programs with subprogs
| * 6796c2a0c5
ipv6: adjust ndisc_is_useropt() to also return true for PIO
| * f327f463c7
mmc: moxart: read scr register without changing byte order
| * 890ac460b0
wireguard: allowedips: expand maximum node depth
* | e06ad3b48e
Revert "drm/ttm: add ttm_bo_pin()/ttm_bo_unpin() v2"
* | 918b4c2c76
Revert "drm/ttm: make ttm_bo_unpin more defensive"
* | 1c80a01fc2
Revert "drm/ttm: never consider pinned BOs for eviction&swap"
* | 70435a8ac9
Revert "drm/ttm: check null pointer before accessing when swapping"
* | 0dd121e0e6
Revert "tracing: Show real address for trace event arguments"
* | 06fab437d7
Revert "tracing: Fix sleeping while atomic in kdb ftdump"
* | df0f5bd7a8
Merge 5.10.190 into android12-5.10-lts
|/
* ec585727b6
Linux 5.10.190
* b6fc2fbf89
x86/CPU/AMD: Do not leak quotient data after a division by 0
* 98b7ab5e8d
ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
* 14f2e2ac73
ARM: dts: imx6sll: fixup of operating points
* f1c928496d
ARM: dts: imx: add usb alias
* c0e7123e89
wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
* 37fad83ae5
mt76: mt7615: Fix fall-through warnings for Clang
* b85c7882fd
mt76: move band capabilities in mt76_phy
* 381f7df0f3
exfat: check if filename entries exceeds max filename length
* bd3bdb9e0d
exfat: support dynamic allocate bh for exfat_entry_set_cache
* e0d192a402
exfat: speed up iterate/lookup by fixing start point of traversing cluster chain
* 86e4e949ea
PM: sleep: wakeirq: fix wake irq arming
* 9a320469ad
PM / wakeirq: support enabling wake-up irq after runtime_suspend called
* 48d1d0ce07
soundwire: fix enumeration completion
* 7d949774e7
soundwire: bus: pm_runtime_request_resume on peripheral attachment
* 662735bc11
soundwire: bus: add better dev_dbg to track complete() calls
* 173d9c7090
selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
* c08de20e70
selftests/rseq: check if libc rseq support is registered
* fbb6657037
powerpc/mm/altmap: Fix altmap boundary check
* 1f09d67d39
mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
* 027710952b
mtd: rawnand: omap_elm: Fix incorrect type in assignment
* d328849fb6
ext2: Drop fragment support
* 7e4e87ec56
fs: Protect reconfiguration of sb read-write from racing writes
* ec0d0be417
net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
* 06f87c9621
Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
* 7f740bc696
fs/sysv: Null check to prevent null-ptr-deref bug
* 426656e8dd
tracing: Fix sleeping while atomic in kdb ftdump
* 4f86da9abe
file: reinstate f_pos locking optimization for regular files
* d39971d902
drm/ttm: check null pointer before accessing when swapping
* c9c78b91c7
open: make RESOLVE_CACHED correctly test for O_TMPFILE
* 3048cb0dc0
bpf: Disable preemption in bpf_event_output
* 33a339e717
net: tap_open(): set sk_uid from current_fsuid()
* 5ea23f1cb6
net: tun_chr_open(): set sk_uid from current_fsuid()
* 8d104bfd41
arm64: dts: stratix10: fix incorrect I2C property for SCL signal
* 8625802a1b
mtd: rawnand: meson: fix OOB available bytes for ECC
* 82dc2bffea
mtd: spinand: toshiba: Fix ecc_get_status
* ddf7cc7029
exfat: release s_lock before calling dir_emit()
* 79d16a84ea
exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
* a4b2673e3c
ceph: defer stopping mdsc delayed_work
* b5b39ff691
USB: zaurus: Add ID for A-300/B-500/C-700
* 513bfdde8a
libceph: fix potential hang in ceph_osdc_notify()
* 181274d2f3
scsi: zfcp: Defer fc_rport blocking until after ADISC response
* 6d9f5f3d89
tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
* 05d1dc88c4
tcp_metrics: annotate data-races around tm->tcpm_net
* 079afb1815
tcp_metrics: annotate data-races around tm->tcpm_vals[]
* 57bcbbb208
tcp_metrics: annotate data-races around tm->tcpm_lock
* 289091eef3
tcp_metrics: annotate data-races around tm->tcpm_stamp
* 420aad608f
tcp_metrics: fix addr_same() helper
* 80e9488ece
net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
* 7a634336a0
net/mlx5: fs_core: Make find_closest_ft more generic
* c650597647
vxlan: Fix nexthop hash size
* 1683124129
ip6mr: Fix skb_under_panic in ip6mr_cache_report()
* c33d5a5c5b
s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
* 8e309f43d0
net: dcb: choose correct policy to parse DCB_ATTR_BCN
* 6d4f24736d
net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
* 216092963c
net: ll_temac: fix error checking of irq_of_parse_and_map()
* 20fe059c1d
net: ll_temac: Switch to use dev_err_probe() helper
* a0e42f4bd4
bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
* aaa71c4e8a
net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
* a8d478200b
net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
* b4256c99a7
net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
* 268b29ef19
net: add missing data-race annotation for sk_ll_usec
* ad417bab9d
net: add missing data-race annotations around sk->sk_peek_off
* 11e0590af3
net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
* dc20f7bada
net: add missing READ_ONCE(sk->sk_sndbuf) annotation
* 427c611d84
net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
* c7ebe08f40
net: annotate data-races around sk->sk_max_pacing_rate
* 14db69381d
mISDN: hfcpci: Fix potential deadlock on &hc->lock
* d163337bef
net: sched: cls_u32: Fix match key mis-addressing
* e68929f11b
perf test uprobe_from_different_cu: Skip if there is no gcc
* eb8031b7ce
net: dsa: fix value check in bcm_sf2_sw_probe()
* abb0172fa8
rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
* 6b93c51068
bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
* 2cf6791207
net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
* 1651598547
net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
* ef3d0a732d
wifi: cfg80211: Fix return value in scan logic
* b4bdcbc0e3
KVM: s390: fix sthyi error handling
* 4241cfc973
word-at-a-time: use the same return type for has_zero regardless of endianness
* 94f8447ab8
arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
* 832a4d4cdb
loop: Select I/O scheduler 'none' from inside add_disk()
* 3f7395c382
perf: Fix function pointer case
* a883b98dc7
io_uring: gate iowait schedule on having pending requests
* 058c0cbd25
x86/kprobes: Fix JNG/JNLE emulation
* edc2ac7c72
x86/kprobes: Update kcb status flag after singlestepping
* f07f3938c8
x86/kprobes: Move 'inline' to the beginning of the kprobe_is_ss() declaration
* 2b5afe25f5
x86/kprobes: Fix to identify indirect jmp and others using range case
* ba7d1dae9f
x86/kprobes: Use int3 instead of debug trap for single-step
* 2c57553a77
x86/kprobes: Identify far indirect JMP correctly
* 41db23bad9
x86/kprobes: Retrieve correct opcode for group instruction
* ff97a14c8a
x86/kprobes: Do not decode opcode in resume_execution()
* 5601d812c8
kprobes/x86: Fix fall-through warnings for Clang
* 7a413fa047
ASoC: cs42l51: fix driver to properly autoload with automatic module loading
* 4d360a8194
io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq
* 9164e27c5a
selftests: mptcp: depend on SYN_COOKIES
* f0acd6c3a2
cpufreq: intel_pstate: Drop ACPI _PSS states table patching
* a241fc02f1
ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
* ad938dd2af
ACPI: processor: perflib: Use the "no limit" frequency QoS
* 4148f28f98
drm/ttm: make ttm_bo_unpin more defensive
* c0f2b2b020
dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
* aae65b1793
ceph: never send metrics if disable_send_metrics is set
* 4f669618c9
ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
* c837f121bc
s390/dasd: fix hanging device after quiesce/resume
* 276738b382
virtio-net: fix race between set queues and probe
* 3d10481a90
btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
* fc511ae405
staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
* 223ecf871b
staging: rtl8712: Use constants from <linux/ieee80211.h>
* 836b131683
KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
* c710ff0612
KVM: nVMX: Do not clear CR3 load/store exiting bits if L1 wants 'em
* 7fc51da40b
KVM: VMX: Fold ept_update_paging_mode_cr0() back into vmx_set_cr0()
* 96c73bc9ef
KVM: VMX: Invert handling of CR0.WP for EPT without unrestricted guest
* 90cd5ab951
irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
* 57b8db5800
irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
* b1867cddd7
tpm_tis: Explicitly check for error code
* 5be81139d2
nfsd: Remove incorrect check in nfsd4_validate_stateid
* 4a871fcebc
file: always lock position for FMODE_ATOMIC_POS
* c5c797ccc3
btrfs: check for commit error at btrfs_attach_transaction_barrier()
* 5e0e4e72ca
hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
* 7c6df7f0fc
ALSA: hda/relatek: Enable Mute LED on HP 250 G8
* 8fc0eabaa7
tty: n_gsm: fix UAF in gsm_cleanup_mux
* caac4b6c15
staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
* baef414b1c
Documentation: security-bugs.rst: clarify CVE handling
* 0d5b23743b
Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
* 65cd02e3c3
Revert "usb: xhci: tegra: Fix error check"
* b0fd110578
usb: xhci-mtk: set the dma max_seg_size
* d0b588bbe4
USB: quirks: add quirk for Focusrite Scarlett
* 66a622275a
usb: ohci-at91: Fix the unhandle interrupt when resume
* 96c433aff5
usb: dwc3: don't reset device side if dwc3 was configured as host-only
* 05b201de44
usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
* 75ad45cef6
Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
* bf468806b6
can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
* d5db33a667
USB: serial: simple: sort driver entries
* 81c54eef1d
USB: serial: simple: add Kaufmann RKS+CAN VCP
* fca2a74eee
USB: serial: option: add Quectel EC200A module support
* c704cb2113
USB: serial: option: support Quectel EM060K_128
* 1037ee1dbf
serial: sifive: Fix sifive_serial_console_setup() section
* 6209a7383d
serial: 8250_dw: Preserve original value of DLF register
* 9e671a6116
serial: qcom-geni: drop bogus runtime pm state update
* 68e6287ac6
USB: gadget: Fix the memory leak in raw_gadget driver
* da1b105dc6
Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
* a6d2fd1703
tracing: Fix warning in trace_buffered_event_disable()
* 0efbdbc453
ring-buffer: Fix wrong stat of cpu_buffer->read
* e410839c0c
ata: pata_ns87415: mark ns87560_tf_read static
* 82ce0ae87a
dm raid: protect md_stop() with 'reconfig_mutex'
* d6a1cf4ee5
dm raid: clean up four equivalent goto tags in raid_ctr()
* a43c761a7e
dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
* d82bfe9686
block: Fix a source code comment in include/uapi/linux/blkzoned.h
* ab6d14bc40
ASoC: fsl_spdif: Silence output on stop
* 94bac776cd
drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
* b0100bdb9d
RDMA/mthca: Fix crash when polling CQ for shared QPs
* 62a8a4cafa
drm/msm/adreno: Fix snapshot BINDLESS_DATA size
* 5c9e03b867
drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
* 08aa5a5297
RDMA/mlx4: Make check for invalid flags stricter
* 9d1fd118bc
tipc: stop tipc crypto on failure in tipc_node_create
* d03de93776
tipc: check return value of pskb_trim()
* 3661bab5af
benet: fix return value check in be_lancer_xmit_workarounds()
* f40f7a858b
net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
* 3ed3729a6a
net/sched: mqprio: add extack to mqprio_parse_nlattr()
* 6227b46154
net/sched: mqprio: refactor nlattr parsing to a separate function
* 308a43f152
netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
* ab5a97a94b
netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
* 7782ce022f
netfilter: nftables: add helper function to validate set element data
* 893cb3c351
netfilter: nft_set_rbtree: fix overlap expiration walk
* 89060b831c
platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
* 75f57acda3
team: reset team's flags when down link is P2P device
* de982f46be
bonding: reset bond's flags when down link is P2P device
* b2712c4bfc
ice: Fix memory management in ice_ethtool_fdir.c
* 0cd74fbd3b
tcp: Reduce chance of collisions in inet6_hashfn().
* b55a2b34b1
ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
* 5a3c929682
ethernet: atheros: fix return value check in atl1e_tso_csum()
* ad249aa3c3
phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
* 6f26f14573
vxlan: calculate correct header length for GPE
* d2741769d5
vxlan: move to its own directory
* 076f786f04
net: hns3: fix wrong bw weight of disabled tc issue
* 344b7c0003
net: hns3: reconstruct function hclge_ets_validate()
* 111b699300
net: phy: marvell10g: fix 88x3310 power up
* 8a6cc852f6
i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
* 39c789c957
media: staging: atomisp: select V4L2_FWNODE
* fb1db97904
phy: qcom-snps-femto-v2: properly enable ref clock
* ffebc22bdd
phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
* f34090579a
phy: qcom-snps: correct struct qcom_snps_hsphy kerneldoc
* ceba255a79
phy: qcom-snps: Use dev_err_probe() to simplify code
* ed3d841f2f
ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
* e3454b438c
pwm: meson: fix handling of period/duty if greater than UINT_MAX
* b306d09967
pwm: meson: Simplify duplicated per-channel tracking
* 840ce9cfc8
tracing: Show real address for trace event arguments
* 8996b13051
drm/ttm: never consider pinned BOs for eviction&swap
* 5f6d5b58c5
drm/ttm: add ttm_bo_pin()/ttm_bo_unpin() v2
* 1815d9bf02
fs: dlm: interrupt posix locks only when process is killed
* 0f6741acfd
dlm: rearrange async condition return
* 7931233310
dlm: cleanup plock_op vs plock_xop
* 838d6e86ec
PCI/ASPM: Avoid link retraining race
* 9f283ca643
PCI/ASPM: Factor out pcie_wait_for_retrain()
* ffc0ee491f
PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
* 9fd349c885
i2c: nomadik: Remove a useless call in the remove function
* a7ab5d7943
i2c: nomadik: Use devm_clk_get_enabled()
* ec954a4ab0
i2c: nomadik: Remove unnecessary goto label
* 04b1140678
i2c: Improve size determinations
* 41e90f0e50
i2c: Delete error messages for failed memory allocations
* 52df40a5c7
btrfs: fix extent buffer leak after tree mod log failure at split_node()
* 52403c3dad
btrfs: fix race between quota disable and relocation
* 3069fc0326
gpio: tps68470: Make tps68470_gpio_output() always set the initial value
* 22786d5381
io_uring: don't audit the capability check in io_uring_create()
* 8e635da0e0
KVM: s390: pv: fix index value of replaced ASCE
Change-Id: I0a0bef19a2542dd337e01594e091619a1e35698a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2023-10-31 10:18:41 +00:00