590 Commits
bka ... vic

Author SHA1 Message Date
theshaenix
104418f71b Revert "atoll_defconfig: Enable DCE"
This reverts commit 6b0d712604bae4980606d6007dd81917f1b12c7c.
2025-11-26 01:41:16 +05:30
theshaenix
b22a4126fc config: enable CONFIG_ANDROID_SIMPLE_LMK 2025-11-26 01:41:16 +05:30
Sultan Alsawaf
19aaeeac83 mm: Always indicate OOM kill progress when Simple LMK is enabled
When Simple LMK is enabled, the page allocator slowpath always thinks that
no OOM kill progress is made because out_of_memory() returns false. As a
result, spurious page allocation failures are observed when memory is low
and Simple LMK is killing tasks, simply because the page allocator slowpath
doesn't think that any OOM killing is taking place.

Fix this by simply making out_of_memory() always return true when Simple
LMK is enabled.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:15 +05:30
Sultan Alsawaf
01a9f6d454 simple_lmk: Reap anonymous memory from victims
The OOM reaper makes it possible to immediately release anonymous memory
from a dying process in order to free up memory faster. This provides
immediate relief under heavy memory pressure instead of waiting for victim
processes to naturally release their memory.

Utilize the OOM reaper by creating another kthread in Simple LMK to perform
victim reaping. Similar to the OOM reaper kthread (which is unused with
Simple LMK), this new kthread allows reaping to race with exit_mmap() in
order to preclude the need to take a reference to an mm's address space and
thus potentially mmput() an mm's last reference. Doing so would stall the
reaper kthread, preventing it from being able to quickly reap new victims.

Reaping is done on victims one at a time by descending order of anonymous
pages, so that the most promising victims with the most anonymous pages
are reaped first. Victims are also marked for reaping via MMF_OOM_VICTIM so
that they reap themselves first in exit_mmap(). Even if a victim isn't
reaped by the reaper thread, it'll free its anonymous memory first thing in
exit_mmap() as a small win towards making memory available sooner.

By relieving memory pressure faster via reaping, Simple LMK not only
doesn't need to kill as many processes, but also improves system
responsiveness when memory is low since memory pressure is relieved sooner.

Although not strictly required, Simple LMK should be the only one utilizing
the OOM reaper. Any other code that may utilize the OOM reaper, such as
patches that invoke the OOM reaper for all SIGKILLs, should be disabled.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:15 +05:30
Sultan Alsawaf
dea3352211 simple_lmk: Reduce unnecessary wake ups
We can check if the waitqueue is actually active before calling wake_up()
in order to avoid an unnecessary wake_up() if the reclaim thread is already
running. Furthermore, the release barrier when zeroing needs_reclaim is
unnecessary, so remove it.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:14 +05:30
Sultan Alsawaf
1ae9421203 simple_lmk: Ratelimit the 'no processes available to kill' message
Under extreme simulated memory pressure, the 'no processes available to
kill' message can be spammed hundreds of thousands of times, which is not
productive. Ratelimit it.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:14 +05:30
Sultan Alsawaf
e8174dd162 simple_lmk: Fix victim scheduling priority elevation
As it turns out, victim scheduling priority elevation has always been
broken for two reasons:
1. The minimum valid RT priority is 1, not 0. As a result,
   sched_setscheduler_nocheck() always fails with -EINVAL.
2. The thread within a victim thread group which happens to hold the mm is
   not necessarily the only thread with references to the mm, and isn't
   necessarily the thread which will release the final mm reference. As a
   result, victim threads which hold mm references may take a while to
   release them, and the unlucky thread which puts the final mm reference
   may take a very long time to release all memory if it doesn't have RT
   scheduling priority.

These issues cause victims to often take a very long time to release their
memory, possibly up to several seconds depending on system load. This, in
turn, causes Simple LMK to constantly hit the reclaim timeout and kill more
processes, with Simple LMK being rather ineffective since victims may not
release any memory for several seconds.

Fix the broken scheduling priority elevation by changing the RT priority to
the valid lowest priority of 1 and applying it to all threads in the thread
group, instead of just the thread which holds the mm.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:13 +05:30
Sultan Alsawaf
1f5704dda6 simple_lmk: Thaw victims upon killing them
With freezable cgroups and their recent utilization in Android, it's
possible for some of Simple LMK's victims to be frozen at the time that
they're selected for killing. The forced SIGKILL used for killing
victims can only wake up processes containing TASK_WAKEKILL and/or
TASK_INTERRUPTIBLE, not TASK_UNINTERRUPTIBLE, which is the state used on
frozen tasks. In order to wake frozen tasks from their uninterruptible
slumber so that they can die, we must thaw them. Leaving victims frozen
can otherwise make them take an indefinite amount of time to process our
SIGKILL and thus free memory.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:13 +05:30
Sultan Alsawaf
605e5f50d4 simple_lmk: Make the reclaim thread freezable
There are two problems with the current uninterruptible wait used in the
reclaim thread: the hung task detector is upset about an uninterruptible
thread being asleep for so long, and killing processes can generate I/O.

Since killing a process can generate I/O, the reclaim thread should
participate in system-wide suspend operations. This neatly solves the
hung task detector issue since wait_event_freezable() puts the current
process into an interruptible sleep.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:12 +05:30
Sultan Alsawaf
9f11f8e6cb simple_lmk: Be extra paranoid if tasks can have no pages
If it's possible for a task to have no pages, then there could be a case
where `pages_found` is zero while `nr_found` isn't, which would cause
the found tasks' locks to never be unlocked, and thus mayhem. We can
change the `pages_found` check to use `nr_found` instead in order to
naturally defend against this scenario, in case it is indeed possible.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:12 +05:30
Sultan Alsawaf
45e9605f11 mm: Increment kswapd_waiters for throttled direct reclaimers
Throttled direct reclaimers will wake up kswapd and wait for kswapd to
satisfy their page allocation request, even when the failed allocation
lacks the __GFP_KSWAPD_RECLAIM flag in its gfp mask. As a result, kswapd
may think that there are no waiters and thus exit prematurely, causing
throttled direct reclaimers lacking __GFP_KSWAPD_RECLAIM to stall on
waiting for kswapd to wake them up. Incrementing the kswapd_waiters
counter when such direct reclaimers become throttled fixes the problem.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:11 +05:30
Jens Axboe
98711ba5a3 buffer: eliminate the need to call free_more_memory() in __getblk_slow()
Since the previous commit removed any case where grow_buffers()
would return failure due to memory allocations, we can safely
remove the case where we have to call free_more_memory() in
this function.

Since this is also the last user of free_more_memory(), kill
it off completely.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-11-26 01:41:11 +05:30
Jens Axboe
3fe581ec63 buffer: grow_dev_page() should use __GFP_NOFAIL for all cases
We currently use it for find_or_create_page(), which means that it
cannot fail. Ensure we also pass in 'retry == true' to
alloc_page_buffers(), which also ensure that it cannot fail.

After this, there are no failure cases in grow_dev_page() that
occur because of a failed memory allocation.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-11-26 01:41:10 +05:30
Jens Axboe
fb2ba23ee7 buffer: have alloc_page_buffers() use __GFP_NOFAIL
Instead of adding weird retry logic in that function, utilize
__GFP_NOFAIL to ensure that the vm takes care of handling any
potential retries appropriately. This means we don't have to
call free_more_memory() from here.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-11-26 01:41:10 +05:30
Sultan Alsawaf
c77916e8c0 mm: vmpressure: Fix rampant inaccuracies caused by stale data usage
After a period of intense memory pressure is over, it's common for
vmpressure to still have old reclaim efficiency data accumulated from
this time. When memory pressure starts to rise again, this stale data
will factor into vmpressure's calculations, and can cause vmpressure to
report an erroneously high pressure. The reverse is possible, too:
vmpressure may report pressures that are erroneously low due to stale
data that's been stored.

Furthermore, since kswapd can still be performing reclaim when there are
no failed memory allocations stuck in the page allocator's slow path,
vmpressure may still report pressures when there aren't any memory
allocations to satisfy. This can cause last-resort memory reclaimers to
kill processes to free memory when it's not needed.

To fix the rampant stale data, keep track of when there are processes
utilizing reclaim in the page allocator's slow path, and reset the
accumulated data in vmpressure when a new period of elevated memory
pressure begins. Extra measures are taken for the kswapd issue mentioned
above by ignoring all reclaim efficiency data reported by kswapd when
there aren't any failed memory allocations in the page allocator which
utilize reclaim.

Note that since sr_lock can now be used from IRQ context, IRQs must be
disabled whenever sr_lock is used to prevent deadlocks.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:09 +05:30
Sultan Alsawaf
5a9d4a1128 mm: vmpressure: Fix a race that would erroneously clear accumulated data
Since the code that determines whether data should be cleared and the
code that actually clears the data are in separate spin-locked critical
sections, new data could be generated on another CPU after it is
determined that the existing data should be cleared, but before the
current CPU clears the existing data. This would cause the new data
reported by the other CPU to be lost.

Fix the race by clearing accumulated data within the same spin-locked
critical section that determines whether or not data should be cleared.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:09 +05:30
Sultan Alsawaf
5f296399e1 mm: vmpressure: Ignore costly-order allocations for direct reclaim too
The direct reclaim vmpressure path was erroneously excluded from the
PAGE_ALLOC_COSTLY_ORDER check which was added in commit "mm: vmpressure:
Ignore allocation orders above PAGE_ALLOC_COSTLY_ORDER".

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:08 +05:30
Sultan Alsawaf
af76860ba0 simple_lmk: Optimize victim finder to eliminate hard-coded adj ranges
Hard-coding adj ranges to search for victims results in a few problems.
Firstly, the hard-coded adjs must be vigilantly updated to match what
userspace uses, which makes long-term support a headache. Secondly, a
full traversal of every running process must be done for each adj range,
which can turn out to be quite expensive, especially if userspace
assigns many different adj values and we want to enumerate them all.
This leads us to the final problem, which is that processes with
different adjs within the same hard-coded adj range will be treated the
same, even though they're not: the process with a higher adj is less
important, and the process with a lower adj is more important. This
could be fixed by enumerating every possible adj, but again, that would
necessitate several scans through the active process list, which is bad
for performance, especially since latency is critical here.

Since adjs are only 16 bits, and we only care about positive adjs, that
leaves us with 15 bits of the adj that matter. This is a relatively
small number of potential adjs (32,768), which makes it possible to
allocate a static array that's indexed using the adj. Each entry in this
array is a pointer to the first task_struct in a singly-linked list of
task_structs sharing an adj. A `simple_lmk_next` member is added to
task_struct to accommodate this linked list. The victim finder now
iterates downward through the array searching for linked lists of tasks,
starting from the highest adj found, so that the lowest-priority
processes are always considered first for reclaim. This fixes all of the
problems mentioned above, and now there is only one traversal through
every running process. The array itself only takes up 256 KiB of memory
on 64-bit, which is a very small price to pay for the advantages gained.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:08 +05:30
Sultan Alsawaf
c4ea485bce simple_lmk: Cacheline-align the victims array and mm_free_lock on SMP
The victims array and mm_free_lock data structures can be used very
heavily in parallel on SMP, in which case they would benefit from being
cacheline-aligned. Make it so for SMP.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:07 +05:30
Sultan Alsawaf
64d131fa9c simple_lmk: Pass a custom swap function to sort()
When sort() isn't provided with a custom swap function, it falls back
onto its generic implementation of just swapping one byte at a time,
which is quite slow. Since we know the type of the objects being sorted,
we can provide our own swap function which simply uses the swap() macro.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:06 +05:30
Sultan Alsawaf
2375ad7d46 simple_lmk: Skip victim reduction when all victims need to be killed
When there aren't enough pages found, it means all of the victims that
were found need to be killed. The additional processing that attempts to
reduce the number of victims can be skipped in this case.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:06 +05:30
Sultan Alsawaf
1002f6aa63 simple_lmk: Use MIN_FREE_PAGES wherever pages_needed is used
There's no reason to pass this constant around in a parameter.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:05 +05:30
Sultan Alsawaf
51a309c4d6 simple_lmk: Don't block in simple_lmk_mm_freed() on mm_free_lock
When the mm_free_lock write lock is held, it means that reclaim is
either starting or ending, in which case there's nothing that needs to
be done in simple_lmk_mm_freed(). We can use a trylock here instead to
avoid blocking.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:04 +05:30
Sultan Alsawaf
14ade4e289 mm: vmpressure: Don't export tunables to userspace
Userspace could change these tunables and make Simple LMK function
poorly. Don't export them.

Reported-by: attack11 <fernandobouchet@gmail.com>
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:04 +05:30
Sultan Alsawaf
c02ae8bc0e simple_lmk: Update Kconfig description for VM pressure change
Simple LMK uses VM pressure now, not a kswapd hook like before. Update
the Kconfig description to reflect such.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:03 +05:30
Sultan Alsawaf
073faae34a simple_lmk: Add !PSI dependency
When PSI is enabled, lmkd in userspace will use PSI notifications to
perform low memory kills. Therefore, to ensure that Simple LMK is the
only active LMK implementation, add a !PSI dependency.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:03 +05:30
Sultan Alsawaf
44b17edba7 simple_lmk: Print a message when the timeout is reached
This aids in selecting an adequate timeout. If the timeout is hit often
and Simple LMK is killing too much, then the timeout should be
lengthened. If the timeout is rarely hit and Simple LMK is not killing
fast enough under pressure, then the timeout should be shortened.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:02 +05:30
Sultan Alsawaf
2d403f20cc simple_lmk: Remove unnecessary clean-up when timeout is reached
Zeroing out the mm struct pointers when the timeout is hit isn't needed
because mm_free_lock prevents any readers from accessing the mm struct
pointers while clean-up occurs, and since the simple_lmk_mm_freed() loop
bound is set to zero during clean-up, there is no possibility of dying
processes ever reading stale mm struct pointers.

Therefore, it is unnecessary to clear out the mm struct pointers when
the timeout is reached. Now the only step to do when the timeout is
reached is to re-init the completion, but since reinit_completion() just
sets a struct member to zero, call reinit_completion() unconditionally
as it is faster than encapsulating it within a conditional statement.

Also take this opportunity to rename some variables and tidy up some
code indentation.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:02 +05:30
Sultan Alsawaf
39d8fd2def simple_lmk: Hold an RCU read lock instead of the tasklist read lock
We already check to see if each eligible process isn't already dying, so
an RCU read lock can be used to speed things up instead of holding the
tasklist read lock.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:01 +05:30
Sultan Alsawaf
10cf359ebd mm: Don't stop kswapd on a per-node basis when there are no waiters
The page allocator wakes all kswapds in an allocation context's allowed
nodemask in the slow path, so it doesn't make sense to have the kswapd-
waiter count per each NUMA node. Instead, it should be a global counter
to stop all kswapds when there are no failed allocation requests.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:01 +05:30
Sultan Alsawaf
b022abe810 simple_lmk: Consider all positive adjs when finding victims
We are allowed to kill any process with a positive adj, so we shouldn't
exclude any processes with adjs greater than 999. This would present a
problem with quirky applications that set their own adj score, such as
stress-ng. In the case of stress-ng, it would set its adj score to 1000
and thus exempt itself from being killed by Simple LMK. This shouldn't
be allowed; any process with a positive adj, up to the highest positive
adj possible (32767) should be killable.

Reported-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:00 +05:30
Sultan Alsawaf
10f5fa6607 mm: vmpressure: Ignore allocation orders above PAGE_ALLOC_COSTLY_ORDER
PAGE_ALLOC_COSTLY_ORDER allocations can cause vmpressure to incorrectly
think that memory pressure is high, when it's really just that the
allocation's high order is difficult to satisfy. When this rare scenario
occurs, ignore the input to vmpressure to avoid sending out a spurious
high-pressure signal.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:41:00 +05:30
Sultan Alsawaf
ac25977acb mm: Don't warn on page allocation failures for OOM-killed processes
It can be normal for a dying process to have its page allocation request
fail when it has an OOM or LMK kill pending. In this case, it's actually
detrimental to print out a massive allocation failure message because
this means the running process needs to die quickly and release its
memory, which is slowed down slightly by the massive kmsg splat. The
allocation failure message is also a false positive in this case, since
the failure is intentional rather than being the result of an inability
to allocate memory.

Suppress the allocation failure warning for processes that are killed to
release memory in order to expedite their death and remedy the kmsg
confusion from seeing spurious allocation failure messages.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:59 +05:30
Sultan Alsawaf
996e058e42 mm: Adjust tsk_is_oom_victim() for Simple LMK
The page allocator uses tsk_is_oom_victim() to determine when to
fast-path memory allocations in order to get an allocating process out
of the page allocator and into do_exit() quickly. Unfortunately,
tsk_is_oom_victim()'s check to see if a process is killed for OOM
purposes is to look for the presence of an OOM reaper artifact that only
the OOM killer sets. This means that for processes killed by Simple LMK,
there is no fast-pathing done in the page allocator to get them to die
faster.

Remedy this by changing tsk_is_oom_victim() to look for the existence of
the TIF_MEMDIE flag, which Simple LMK sets for its victims.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:59 +05:30
Sultan Alsawaf
90fd99dc74 mm: vmpressure: Don't cache the window size
Caching the window size can result in delayed or inaccurate pressure
reports. Since calculating a fresh window size is cheap, do so all the
time instead of relying on a stale, cached value.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:58 +05:30
Sultan Alsawaf
1045128388 mm: vmpressure: Interpret zero scanned pages as 100% pressure
When no pages are scanned, it usually means no zones were reclaimable
and nothing could be done. In this case, the reported pressure should be
100 to elicit help from any listeners. This fixes the vmpressure
framework not working when memory pressure is very high.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:58 +05:30
Sultan Alsawaf
dce2339850 mm: vmpressure: Don't exclude any allocation types
Although userspace processes can't directly help with kernel memory
pressure, killing userspace processes can relieve kernel memory if they
are responsible for that pressure in the first place. It doesn't make
sense to exclude any allocation types knowing that userspace can indeed
affect all memory pressure, so don't exclude any allocation types from
the pressure calculations.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:57 +05:30
Sultan Alsawaf
14d8415179 simple_lmk: Update adj targeting for Android 10
Android 10 changed its adj assignments. Update Simple LMK to use the
new adjs, which also requires looking at each pair of adjs as a range.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:57 +05:30
Sultan Alsawaf
25c0b1fa3a simple_lmk: Use vmpressure notifier to trigger kills
Using kswapd's scan depth to trigger task kills is inconsistent and
unreliable. When memory pressure quickly spikes, the kswapd scan depth
trigger fails to kick off Simple LMK fast enough, causing severe lag.
Additionally, kswapd could stop scanning prematurely before reaching the
desired scan depth to trigger Simple LMK, which could also cause stalls.

To remedy this, use the vmpressure framework instead, since it provides
more consistent and accurate readings on memory pressure. This is not
very tunable though, so remove CONFIG_ANDROID_SIMPLE_LMK_AGGRESSION.
Triggering Simple LMK to kill when the reported memory pressure is 100
should yield good results on all setups.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:56 +05:30
Sultan Alsawaf
e2422dab59 mm: Stop kswapd early when nothing's waiting for it to free pages
Keeping kswapd running when all the failed allocations that invoked it
are satisfied incurs a high overhead due to unnecessary page eviction
and writeback, as well as spurious VM pressure events to various
registered shrinkers. When kswapd doesn't need to work to make an
allocation succeed anymore, stop it prematurely to save resources.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:56 +05:30
Sultan Alsawaf
7e69526dcc simple_lmk: Include swap memory usage in the size of victims
Swap memory usage is important when determining what to kill, so include
it in the victim size calculation.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:55 +05:30
Sultan Alsawaf
7d01604580 simple_lmk: Relax memory barriers and clean up some styling
wake_up() executes a full memory barrier when waking a process up, so
there's no need for the acquire in the wait event. Additionally,
because of this, the atomic_cmpxchg() only needs a read barrier.

The cmpxchg() in simple_lmk_mm_freed() is atomic when it doesn't need to
be, so replace it with an extra line of code.

The atomic_inc_return() in simple_lmk_mm_freed() lies within a lock, so
it doesn't need explicit memory barriers.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:55 +05:30
Sultan Alsawaf
abe50fd0a1 simple_lmk: Place victims onto SCHED_RR
Just increasing the victim's priority to the maximum niceness isn't
enough to make it totally preempt everything in SCHED_FAIR, which is
important to make sure victims die quickly. Resource-wise, this isn't
very burdensome since the RT priority is just set to zero, and because
dying victims don't have much to do: they only need to finish whatever
they're doing quickly. SCHED_RR is used over SCHED_FIFO so that CPU time
between the victims is divided evenly to help them all finish at around
the same time, as fast as possible.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:54 +05:30
Sultan Alsawaf
600a4bac0c simple_lmk: Add a timeout to stop waiting for victims to die
Simple LMK tries to wait until all of the victims it kills have their
memory freed; however, sometimes victims can take a while to die, which
can block Simple LMK from killing more processes in time when needed.
After the specified timeout elapses, Simple LMK will stop waiting and
make itself available to kill more processes.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:54 +05:30
Sultan Alsawaf
8e631a10d0 simple_lmk: Ignore tasks that won't free memory
Dying processes aren't going to help free memory, so ignore them.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:53 +05:30
Sultan Alsawaf
89c6220d88 simple_lmk: Simplify tricks used to speed up the death process
set_user_nice() doesn't schedule, and although set_cpus_allowed_ptr()
can schedule, it will only do so when the specified task cannot run on
the new set of allowed CPUs. Since cpu_all_mask is used,
set_cpus_allowed_ptr() will never schedule. Therefore, both the priority
elevation and cpus_allowed change can be moved to inside the task lock
to simplify and speed things up.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:53 +05:30
Sultan Alsawaf
9108a4bb37 simple_lmk: Report mm as freed as soon as exit_mmap() finishes
exit_mmap() is responsible for freeing the vast majority of an mm's
memory; in order to unblock Simple LMK faster, report an mm as freed as
soon as exit_mmap() finishes.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:52 +05:30
Sultan Alsawaf
c6745e63cb simple_lmk: Mark victim thread group with TIF_MEMDIE
The OOM killer sets the TIF_MEMDIE thread flag for its victims to alert
other kernel code that the current process was killed due to memory
pressure, and needs to finish whatever it's doing quickly. In the page
allocator this allows victim processes to quickly allocate memory using
emergency reserves. This is especially important when memory pressure is
high; if all processes are taking a while to allocate memory, then our
victim processes will face the same problem and can potentially get
stuck in the page allocator for a while rather than die expeditiously.

To ensure that victim processes die quickly, set TIF_MEMDIE for the
entire victim thread group.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:52 +05:30
Sultan Alsawaf
364a725995 simple_lmk: Disable OOM killer when Simple LMK is enabled
The OOM killer only serves to be a liability when Simple LMK is used.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:51 +05:30
Sultan Alsawaf
d5abaffa7e simple_lmk: Print a message when there are no processes to kill
Makes it clear that Simple LMK tried its best but there was nothing it
could do.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:51 +05:30
Sultan Alsawaf
1162ff26e0 simple_lmk: Remove compat cruft not specific to 4.14
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:50 +05:30
Sultan Alsawaf
8ee9570a69 simple_lmk: Update copyright to 2020
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:50 +05:30
Sultan Alsawaf
99454494ca simple_lmk: Don't queue up new reclaim requests during reclaim
Queuing up reclaim requests while a reclaim is in progress doesn't make
sense, since the additional reclaims may not be needed after the
existing reclaim completes. This would cause Simple LMK to go berserk
during periods of high memory pressure where kswapd would fire off
reclaim requests nonstop.

Make Simple LMK ignore new reclaim requests until an existing reclaim is
finished to prevent a slaughter-fest.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:49 +05:30
Sultan Alsawaf
cbef7a1e44 simple_lmk: Increase default minfree value
After commit "simple_lmk: Make reclaim deterministic", Simple LMK's
behavior changed and thus requires some slight re-tuning to make it work
well again.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:49 +05:30
Sultan Alsawaf
90bdfa97bc simple_lmk: Clean up some code style nitpicks
Using a parameter to pass around a unmodified pointer to a global
variable is crufty; just use the `victims` variable directly instead.
Also, compress the code in simple_lmk_init_set() a bit to make it look
cleaner.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:48 +05:30
Sultan Alsawaf
a5218db0c0 simple_lmk: Make reclaim deterministic
The 20 ms delay in the reclaim thread is a hacky fudge factor that can
cause Simple LMK to behave wildly differently depending on the
circumstances of when it is invoked. When kswapd doesn't get enough CPU
time to finish up and go back to sleep within 20 ms, Simple LMK performs
superfluous reclaims.

This is suboptimal, so make Simple LMK more deterministic by eliminating
the delay and instead queuing up reclaim requests from kswapd.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:48 +05:30
Sultan Alsawaf
7c119f20e8 simple_lmk: Fix broken multicopy atomicity for victims_to_kill
When the reclaim thread writes to victims_to_kill on one CPU, it expects
the updated value to be immediately reflected on all CPUs in order for
simple_lmk_mm_freed() to work correctly. Due to the lack of memory
barriers to guarantee multicopy atomicity, simple_lmk_mm_freed() can be
given a victim's mm without knowing the correct victims_to_kill value,
which can cause the reclaim thread to remain stuck waiting forever for
all victims to be freed. This scenario, despite being rare, has been
observed.

Fix this by using proper atomic helpers with memory barriers.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:47 +05:30
Sultan Alsawaf
f43553f2dc simple_lmk: Use proper atomic_* operations where needed
cmpxchg() is only atomic with respect to the local CPU, so it cannot be
relied on with how it's used in Simple LMK. Switch to fully atomic
operations instead for full atomic guarantees.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:46 +05:30
Sultan Alsawaf
7ead0d4baa simple_lmk: Remove kthread_should_stop() exit condition
Simple LMK's reclaim thread should never stop; there's no need to have
this check.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:46 +05:30
Sultan Alsawaf
73a9c99308 simple_lmk: Fix pages_found calculation
Previously, pages_found would be calculated using an uninitialized
variable. Fix it.

Reported-by: Julian Liu <wlootlxt123@gmail.com>
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:45 +05:30
Sultan Alsawaf
0d01445a6a simple_lmk: Introduce Simple Low Memory Killer for Android
This is a complete low memory killer solution for Android that is small
and simple. Processes are killed according to the priorities that
Android gives them, so that the least important processes are always
killed first. Processes are killed until memory deficits are satisfied,
as observed from kswapd struggling to free up pages. Simple LMK stops
killing processes when kswapd finally goes back to sleep.

The only tunables are the desired amount of memory to be freed per
reclaim event and desired frequency of reclaim events. Simple LMK tries
to free at least the desired amount of memory per reclaim and waits
until all of its victims' memory is freed before proceeding to kill more
processes.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-11-26 01:40:45 +05:30
RoHaN
475976a7bd atoll_defconfig: Enable SHA512 and CRC32 crypto extensions
Signed-off-by: RoHaN <reaper10x10x@gmail.com>
2025-11-26 01:40:44 +05:30
Alexander Winkowski
1276c45af6 atoll_defconfig: Disable memory cgroups support
Memory cgroups introduce high overhead. In Android 11 Google
recommends to use them for low-RAM devices only [1].

[1] https://source.android.com/devices/tech/perf/lmkd#userspace-lmkd-in-android-r

Change-Id: I3914b9fb3fc7f88450ae82efc33117c5e2774af8
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2025-11-26 01:40:44 +05:30
Kyle Lin
588e69b802 atoll_defconfig: Enable CONFIG_COMPAT_VDSO
Test: build
Bug: 154245183
Change-Id: I7c32f542ed032de2cee298c982b4eabfd4ed0afe
Signed-off-by: Kyle Lin <kylelin@google.com>
2025-11-26 01:40:43 +05:30
Martin Liu
b5e127f550 atoll_defconfig: Disable BALANCE_ANON_FILE_RECLAIM
Disable QC customized config to align upstream behavior

Bug: 158449887
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I015219b9be587fd4bd89adc6f15450569b842074
2025-11-26 01:40:43 +05:30
Danny Lin
1a4ec2efb8 atoll_defconfig: Disable redundant Spectre variant 2 mitigations
Our big and Prime clusters are currently getting software mitigations
for Spectre variant 2 (CVE-2017-5715) applied through Trusted Firmware
despite the presence of Arm v8.5-A hardware mitigations. Disable the
software mitigations since they're redundant and are only hurting
performance.

Details and analysis:

The Kryo cores used in the aforementioned clusters are semi-custom
Cortex-A76 derivatives [1]. According to Arm, newer revisions of their
reference Cortex-A76 designs (r3p0 and newer) are immune to Spectre v2
thanks to hardware mitigations implemented as part of Arm v8.5-A [2].

While I was unable to locate a working Spectre v2 PoC for AArch64, Arm's
overview suggests that the v2 and v3(a) mitigations come together as part
of the single Arm v8.5-A update [3], so we can test for whether the cores
are susceptible to v2 by testing for their susceptibility to v3 and/or
v3a. This is helpful because there *is* a public and working Spectre v3a
PoC for AArch64 on GitHub [4]. Running the PoC revealed no conclusive
successes for the v3 exploit, which should mean that our cores are also
not vulnerable to Spectre v2.

Variants 1 and 4 was not considered because Arm's documentation states
that v1 and v4 mitigations are completely unrelated to those for v2 [5].

All PoC runs were conducted within a regular Android app's context with
the app's processes locked to the big and Prime clusters (CPUs 4-7),
since Arm states that the little cluster's cores (Cortex-A55) are
not affected by any variants of Spectre [2].

[1] https://en.wikichip.org/wiki/qualcomm/snapdragon_800/855
[2] https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Security%20update%2010%20September%2018/Kernel_Mitigations_Detail_v1.7.pdf?revision=730b8541-ca91-4fde-a2bb-4093054748ae
[3] https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability
[4] https://github.com/lgeek/spec_poc_arm
[5] https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Security%20update%2010%20September%2018/Kernel_Mitigations_Detail_v1.7.pdf?revision=730b8541-ca91-4fde-a2bb-4093054748ae

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Change-Id: I4411899b7da9a7e1899ea7532e922c40bb077ab1
2025-11-26 01:40:42 +05:30
Juhyung Park
10afe7e1f1 atoll_defconfig: disable compression for pstore-ram
Compression doesn't allow any more additional log saves anyways.

Change-Id: I96bff9eedf3371853155850eeafefe5e30b3fe66
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2025-11-26 01:40:42 +05:30
Alexander Winkowski
26ebd7a13b atoll_defconfig: Disable errata
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2025-11-26 01:40:41 +05:30
Isaac J. Manjarres
af752d63bb atoll_defconfig: Disable ZONE_DMA
Disable the DMA zone on for faster memory allocations,
and better memory utilization by merging the memory consumed
by the DMA zone with the normal memory zone.

Change-Id: If3ecf649878ad70bc6045a2c619ef99054ed469d
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2025-11-26 01:40:41 +05:30
RoHaNRaJ
fc50840aa4 atoll_defconfig: Configure cpuset assist
Signed-off-by: RoHaNRaJ <reaPeR10x10x@gmail.com>
2025-11-26 01:40:40 +05:30
RoHaNRaJ
49b651b57b atoll_defconfig: Set schedutil rate limits
Based on 61e555768e

Signed-off-by: RoHaNRaJ <reaPeR10x10x@gmail.com>
2025-11-26 01:40:40 +05:30
Panchajanya1999
14d62630b7 arm64/defconfig: Disable PAN emulation
Since we aren't running a hardened kernel, there is no need of
PAN (Privileged Access Never) emulation.

Test: Run callbench and check results before and after the commit.

Before this commit:
syscall: 130ns
libc: 50ns
mmap: 17476 ns
read: 11054 ns

After this commit:
syscall: 121ns
libc: 46ns
mmap: 16235 ns
read: 6454 ns

There's a 7% syscall improvement and 7.8% libc improvement.

Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>
Signed-off-by: reaPeR1010 <reaPeR10x10x@gmail.com>
2025-11-26 01:40:39 +05:30
Suren Baghdasaryan
aada462122 atoll_defconfig: Remove FAIR_GROUP_SCHED
This feature is undesirable and not required by Android.

Bug: 153203661
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I8adeb2ab1cac3041c812bbab7907df6bac57ac6d
2025-11-26 01:40:39 +05:30
Pedro Bertoleti
8d920a7a0b arm64: configs: Disable per-process reclaim
Accordingly to FPS tests
(http://perf.mot.com/apps/fps/rungraphs/?runids=44588,44602,44598),
overall device performance has been improved when PPR is disabled (mainly
considering Major Page Fault and Swap IO improvements).

Change-Id: I89dade542cf47c754787fd17c11cc90e61d34473
Reviewed-on: https://gerrit.mot.com/2112482
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Fernanda Schmidt <fschmidt@motorola.com>
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Carlos Pinho <cpinho@motorola.com>
Submit-Approved: Jira Key
2025-11-26 01:40:38 +05:30
RoHaNRaJ
c7695495d4 atoll_defconfig: Disable ESOC
Signed-off-by: RoHaNRaJ <reaPeR10x10x@gmail.com>
2025-11-26 01:40:38 +05:30
RoHaNRaJ
92338d8d4b atoll_defconfig: Enable DCE
Signed-off-by: RoHaNRaJ <reaPeR10x10x@gmail.com>
2025-11-26 01:40:37 +05:30
theshaenix
b17132e95a config: enable advanced TCP congestion control and set Westwood as default
This patch updates the atoll defconfig to enable additional TCP
congestion control algorithms and configure Westwood as the default
algorithm. These changes improve handling on variable mobile/WiFi
networks while keeping CUBIC and BBR available for optional use.

Enabled:
- CONFIG_TCP_CONG_ADVANCED
- CONFIG_TCP_CONG_CUBIC
- CONFIG_TCP_CONG_WESTWOOD
- CONFIG_TCP_CONG_BBR

Default:
- CONFIG_DEFAULT_WESTWOOD=y
- CONFIG_DEFAULT_TCP_CONG="westwood"
2025-11-26 01:40:37 +05:30
theshaenix
f2874d56b6 sm7125: updated the build script 2025-11-26 01:40:33 +05:30
Fiqri Ardyansyah
993ffc614e atoll__defconfig: Make lz4 default ZRAM compress
Signed-off-by: pri0818 <priyanshusinghal0818@gmail.com>
Signed-off-by: priiii0818 <priyanshusinghal0818@gmail.com>
Signed-off-by: GenZSouL <priyanshusinghal0818x@gmail.com>
2025-11-26 01:39:44 +05:30
Aarqw12
18c4acec3b dts: atoll : Fix comment gpu
caf have did a mistake and set /* NOM1 */ for 750mhz.

set /* TURBO */ for fix it.

fix commit b7272170103fa70a4d0b79500105c660e1a908fd

Signed-off-by: Aarqw12 <lcockx@protonmail.com>
Signed-off-by: negrroo <mohammedaelnaggar1@gmail.com>
2025-11-26 01:39:44 +05:30
Aarqw12
6bd812023d dts : atoll : Update TURBO & NOM_L1 bus voting for atoll GPU
update the GPU TURBO & NOM_L1 bus req voting to 2133 MHz

Signed-off-by: negrroo <mohammedaelnaggar1@gmail.com>
2025-11-26 01:39:23 +05:30
kurumich4n
61bc19d386 leds: qpnp-flash-v2: Bump DEFAULT_TORCH_STRENGTH 2025-11-22 18:05:30 +05:30
Flopster101
3646c384c0 ARM64: dts/qcom: pmi632: Enable realtime LED flash brightness control
Signed-off-by: Flopster101 <nahuelgomez329@gmail.com>
Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
2025-11-22 18:05:29 +05:30
Flopster101
b24af99baa leds: qpnp-flash-v2: Implement custom brightness control hack
* Intended to be compatible with caa6a682ee, but does not require opening a file from within the kernel (which was unsafe).
* It's independent from the standard `brightness` attribute that's present on all LED class drivers.
* Only for torch-class devices.

Signed-off-by: Flopster101 <nahuelgomez329@gmail.com>
Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
2025-11-22 18:05:29 +05:30
Kavya Nunna
0949eae442 leds:qpnp-flash-v2: Add support for flash realtime control
In the default design, every time we change the brightness
in torch node it gets reflected only when the enable bit
in the switch node is toggled from 0 to 1. Add new DT property
to optionally allow brightness change to reflect in realtime,
for as long as the switch node enable bit remains set.

Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
Change-Id: If4cd4dbea611ab6c13ec8ac2ec16d6b39fed1e20
Signed-off-by: TogoFire <togofire@mailfence.com>
Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
2025-11-22 18:05:29 +05:30
LordShenron
3d06428fe1 fs: Gain 30% Linux Disk performance
NOATIME and NODIRATIME by default
Took from Kunal Kene's Black Box kernel
2025-11-22 18:05:28 +05:30
John Galt
279a29622f block/blk-throttle: tweak for flash
We're latency efficient enough for this tuning to benefit us.
2025-11-22 18:05:28 +05:30
jonghyun26.kim
247a50a3f9 power_supply: Fix unbalanced the power supplies
If a driver invokes multiple power_supply_register(), the each supply
will not be saved in the supplied_from[] with the correct index.

supplied_from[0] = "dc"
num_supplies = 1;

supplied_from[0] = "usb"
num_supplies = 2;

supplied_from[0] = "battery"
num_supplies = 3;
...

It results in NPE when iterating the supplied_from[] with num_supplies on
__power_supply_is_supplied_by()

Bug: 63785418
Change-Id: Ifd14ca7c6e2df247e1090e4fa8d8c66bd2912180
Signed-off-by; Devin Kim <dojip.kim@lge.com>
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: rezaadi0105 <rezaadipangestu5@gmail.com>
2025-11-22 18:05:27 +05:30
Pranav Vashi
a364a196c7 power: qpnp-qg: Rectify prop for shutdown threshold
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: rezaadi0105 <rezaadipangestu5@gmail.com>
2025-11-22 18:05:26 +05:30
Sultan Alsawaf
db9914f7c0 smb5-lib: Fix misleading indentation warning due to missing braces
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Change-Id: Ic0463785333cce49458f402d97b8335d772e277f
Signed-off-by: rezaadi0105 <rezaadipangestu5@gmail.com>
2025-11-22 18:05:21 +05:30
Dakkshesh
2605f426a8 drivers/misc: Introduce KernelSpace Profile Modes
git-subtree-dir: drivers/misc/kprofiles
git-subtree-mainline: eb1715437701a8e9990cd2e35c1d1fd927ee30d5
git-subtree-split: 52df4eb2b8f1202ff74d3b5257c0d06946a165aa
Signed-off-by: pri0818 <priyanshusinghal0818@gmail.com>
Signed-off-by: priiii0818 <priyanshusinghal0818@gmail.com>
Signed-off-by: GenZSouL <priyanshusinghal0818x@gmail.com>
2025-09-21 23:21:16 +05:30
theshaenix
b8a667041f Revert "[SQUASH] drivers: Add KernelSU-Next V1.0.9 and SUSFS V1.5.9"
This reverts commit 6bd2b81a9c.
2025-09-13 21:33:34 +05:30
Alexander Winkowski
8bf50bc72f power: supply: qcom: Increase current for non-QC charging
It's useful for me because I have to use standard chargers frequently.

Change-Id: Iab8e7fb4a416908b8172aa5c41a217af7b96148e
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-09-13 21:33:33 +05:30
engstk
48152512a2 drivers: misc: implement usb fast charge mode
echo 0 /sys/kernel/fast_charge/force_fast_charge (disable)
echo 1 /sys/kernel/fast_charge/force_fast_charge (enable)

Enables force charging up to 900mA in usb mode

Signed-off-by: engstk <eng.stk@sapo.pt>
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-09-13 21:33:32 +05:30
aminfauzi
822db2d415 drivers: enable usb fast charge by default
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-09-13 21:33:28 +05:30
Rve27
b45d96444f power: smb5-lib: Implement bypass charging
Signed-off-by: Rve27 <rve27github@gmail.com>
2025-09-13 21:32:55 +05:30
aminfauzi
d016e7a079 configs: Enable EROFS
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-09-13 21:32:51 +05:30
Alexandre Frade
9cbac73dba block/mq-deadline: Optimize mq-deadline
* Disable front_merges by default
* Increase write priority to improve responsiveness

Signed-off-by: Alexandre Frade <kernel@xanmod.org>
2025-09-13 21:30:53 +05:30
Bart Van Assche
593ce9a47e loop: Select I/O scheduler 'none' from inside add_disk()
commit 2112f5c1330a671fa852051d85cb9eadc05d7eb7 upstream.

We noticed that the user interface of Android devices becomes very slow
under memory pressure. This is because Android uses the zram driver on top
of the loop driver for swapping, because under memory pressure the swap
code alternates reads and writes quickly, because mq-deadline is the
default scheduler for loop devices and because mq-deadline delays writes by
five seconds for such a workload with default settings. Fix this by making
the kernel select I/O scheduler 'none' from inside add_disk() for loop
devices. This default can be overridden at any time from user space,
e.g. via a udev rule. This approach has an advantage compared to changing
the I/O scheduler from userspace from 'mq-deadline' into 'none', namely
that synchronize_rcu() does not get called.

This patch changes the default I/O scheduler for loop devices from
'mq-deadline' into 'none'.

Additionally, this patch reduces the Android boot time on my test setup
with 0.5 seconds compared to configuring the loop I/O scheduler from user
space.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Martijn Coenen <maco@android.com>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20210805174200.3250718-3-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-13 21:30:52 +05:30
Edwin Moquete
ba1747c6f4 media/platform/msm: Import 4.4 camera_v2 stack
From LA.UM.9.2.r1-03700-SDMxx0.0
2025-09-13 21:30:51 +05:30
Vijay kumar Tumati
e3b2ac7466 msm: camera: sensor: Add support for front aux sensor
Allow front aux sensor to be connected on device.

Change-Id: I0386c23c77b38200c20581cd85b20c96bf074547
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
2025-09-13 21:30:50 +05:30
aminfauzi
9d41c00c5c atoll: configs: CONFIG_HZ_300=y
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-09-13 21:30:50 +05:30
sohamxda7
ea6e0c961d qpnp-smb2: Silence dmesg spam while charging
* 'Set prop 16 is not supported in pc_port'

Signed-off-by: sohamxda7 <sensoham135@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2025-09-13 21:30:49 +05:30
aminfauzi
c6999bb78e power: qcom: Force 900mA charging for USB2.0
Pzqqt: Port to smb-lib, and adapt to usb fast charge mode switch state
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-09-13 21:30:48 +05:30
Fiqri Ardyansyah
aa44d2b45b drivers: camera: Fix potential buffer overflows
This fixes the -Wfortify-source warning detected on Clang 18.0.0.

../drivers/media/platform/msm/camera/cam_utils/cam_io_util.c:270:4: warning: 'snprintf' will always be truncated; specified size is 12, but format string expands to at least 13 [-Wfortify-source]
  270 |                         snprintf(p_str, 12, "0x%08x: ",
      |                         ^
../drivers/media/platform/msm/camera/cam_utils/cam_io_util.c:275:3: warning: 'snprintf' will always be truncated; specified size is 10, but format string expands to at least 11 [-Wfortify-source]
  275 |                 snprintf(p_str, 10, "%08x  ", data);
      |                 ^
../drivers/media/platform/msm/camera/cam_sensor_module/cam_csiphy/cam_csiphy_soc.c:46:4: warning: 'snprintf' will always be truncated; specified size is 12, but format string expands to at least 13 [-Wfortify-source]
   46 |                         snprintf(p_str, 12, "0x%08x: ",
      |                         ^
../drivers/media/platform/msm/camera/cam_sensor_module/cam_csiphy/cam_csiphy_soc.c:51:3: warning: 'snprintf' will always be truncated; specified size is 9, but format string expands to at least 10 [-Wfortify-source]
   51 |                 snprintf(p_str, 9, "%08x ", data);
      |                 ^

Signed-off-by: Fiqri Ardyansyah <fiqri0927936@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-09-13 21:30:48 +05:30
Zhongqiu Han
9b4cc7e393 sched: idle: Optimize the generic idle loop by removing needless memory barrier
The memory barrier rmb() in generic idle loop do_idle() function is not
needed, it doesn't order any load instruction, just remove it as needless
rmb() can cause performance impact.

The rmb() was introduced by the tglx/history.git commit f2f1b44c75c4
("[PATCH] Remove RCU abuse in cpu_idle()") to order the loads between
cpu_idle_map and pm_idle. It pairs with wmb() in function cpu_idle_wait().

And then with the removal of cpu_idle_state in function cpu_idle() and
wmb() in function cpu_idle_wait() in commit 783e391b7b ("x86: Simplify
cpu_idle_wait"), rmb() no longer has a reason to exist.

After that, commit d166991234 ("idle: Implement generic idle function")
implemented a generic idle function cpu_idle_loop() which resembles the
functionality found in arch/. And it retained the rmb() in generic idle
loop in file kernel/cpu/idle.c.

And at last, commit cf37b6b484 ("sched/idle: Move cpu/idle.c to
sched/idle.c") moved cpu/idle.c to sched/idle.c. And commit c1de45ca83
("sched/idle: Add support for tasks that inject idle") renamed function
cpu_idle_loop() to do_idle().

History Tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
Signed-off-by: Zhongqiu Han <quic_zhonhan@quicinc.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20241009093745.9504-1-quic_zhonhan@quicinc.com
Change-Id: I7d04d05f25b66ab266b66424dfddd58857e5242b
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-09-13 21:30:46 +05:30
Fiqri Ardyansyah
7e329b56df cpufreq: Simplify logic for enable powersave governor when battery saver is on
There's really no need to add a logical "if" and
just use the logical "or ( || )" operator.

Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com>
Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
2025-09-13 21:30:46 +05:30
Fiqri Ardyansyah
57f6eed30c cpufreq: Force enable powersave governor when battery saver is on
This has a significant effect when power saver mode is active.

Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com>
Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
2025-09-13 21:30:45 +05:30
aminfauzi
c86f938daf mm: reduce swappiness
Swappiness controls how aggressively the kernel swaps memory
from RAM. The default is 60% and a lower number is known to
improve system responsiveness.

Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-09-13 21:30:44 +05:30
aminfauzi
d10ec40258 block: Add mq-deadline I/O scheduler
The mq-deadline I/O scheduler is more stable than others. Additionally, the boot time is shorter with the mq-deadline I/O scheduler. It only changes the scheduler on new kernel.

Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-09-13 21:30:43 +05:30
aminfauzi
3bd708e084 fs: Active dynamic fsync by default
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-09-13 21:30:43 +05:30
theshaenix
613c232ba4 sched/fair: fix reweight_task() declaration and definition
The CFS scheduler was failing to build due to:

  error: implicit declaration of function 'reweight_task'
  error: conflicting types for 'reweight_task'
  error: too many arguments to function call, expected 3, have 4

This patch fixes it by:
- Adding a forward declaration for reweight_task()
- Defining reweight_task() with the correct signature
- Updating the call to reweight_entity() to pass 3 args instead of 4

With this change, fair.c builds cleanly again without implicit
declaration or argument mismatch errors.
2025-09-12 22:44:27 +05:30
theshaenix
d157bb9f45 bump the version_number to v1.0.2 2025-09-12 22:20:07 +05:30
theshaenix
977dc13522 sched/fair: bore: Implement sched_burst_exclude_kthreads
sched_burst_exclude_kthreads was introduced in the newer version of
sched BORE. This feature is trivial to implement but is a handy one.
2025-09-12 21:08:17 +05:30
theshaenix
930f34e47e sched/fair: bore: sched_burst_fork_atavistic = 0 2025-09-12 21:04:43 +05:30
theshaenix
8647662867 sched/fair: bore: sched_burst_smoothness_short = 1 2025-09-12 21:03:59 +05:30
theshaenix
789c824ffb sched: Implement Burst-Oriented Response Enhancer scheduler
Ref: https://github.com/firelzrd/bore-scheduler
Patch: 0001-linux4.19.y-bore5.1.0.patch
2025-09-12 21:02:33 +05:30
theshaenix
7436d698e2 Revert "of/irq: Refer to actual buffer size in of_irq_parse_one()"
This reverts commit c5599e93ce.
2025-09-05 14:18:27 +05:30
theshaenix
bee6c9a29f Revert "of/irq: Support #msi-cells=<0> in of_msi_get_domain"
This reverts commit 6daa837812.
2025-09-05 14:17:59 +05:30
theshaenix
1b06c79588 Revert "ext4: no need to continue when the number of entries is 1"
This reverts commit 7445c15c98.
2025-09-05 14:14:50 +05:30
theshaenix
73a28f8eaa Revert "ext4: ext4_search_dir should return a proper error"
This reverts commit 989495abd7.
2025-09-05 14:14:10 +05:30
theshaenix
5b3f77fcf4 zram: Use lz4 as default zRAM compression
Faster comression using lz4. zram optimization
2025-09-05 13:56:51 +05:30
theshaenix
ceba8fed0a configs: Enable Sbalance
Exclude the last CPU of each cluster from balancing in order to keep the
maximum amount of single-threaded performance available to the system per
each cluster. That way, when IRQ pressure is high, each cluster will have
at least one CPU which isn't affected by IRQ pressure.
2025-09-05 13:43:48 +05:30
Sultan Alsawaf
8fc3c8270f kernel: Introduce SBalance IRQ balancer
This is a simple IRQ balancer that polls every X number of milliseconds and
moves IRQs from the most interrupt-heavy CPU to the least interrupt-heavy
CPUs until the heaviest CPU is no longer the heaviest. IRQs are only moved
from one source CPU to any number of destination CPUs per balance run.
Balancing is skipped if the gap between the most interrupt-heavy CPU and
the least interrupt-heavy CPU is below the configured threshold of
interrupts.

The heaviest IRQs are targeted for migration in order to reduce the number
of IRQs to migrate. If moving an IRQ would reduce overall balance, then it
won't be migrated.

The most interrupt-heavy CPU is calculated by scaling the number of new
interrupts on that CPU to the CPU's current capacity. This way, interrupt
heaviness takes into account factors such as thermal pressure and time
spent processing interrupts rather than just the sheer number of them. This
also makes SBalance aware of CPU asymmetry, where different CPUs can have
different performance capacities and be proportionally balanced.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: Dark-Matter7232 <me@const.eu.org>
2025-09-05 13:43:27 +05:30
theshaenix
e7bfc757b0 configs: enable wireguard support 2025-09-05 13:41:16 +05:30
Tashfin Shakeer Rhythm
8663061c1e treewide: Drop arm64 V8 ASM lz4 decompression acceleration
It will be reimported after upstreaming lz4 to v1.10.0. Drop for
now to avoid conflicts.

This reverts the following commits:

 - 255efc520cad2 ("lib/lz4: Use ARM64 v8 ASM to accelerate lz4 decompression")
 - fe3b46fc49a5c ("incfs: Use ARM64 v8 ASM to accelerate lz4 decompression")
 - ef84deed4fc6c ("crypto: lz4: Use ARM64 v8 ASM to accelerate decompression")
 - 5ff394e7850e6 ("lz4armv8: Update assembly instructions from Huawei kernel drop")
 - 0e8a6f678ef99 ("lib/lz4: Import arm64 V8 ASM lz4 decompression acceleration")

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:49:31 +05:30
Tashfin Shakeer Rhythm
c1627aadd1 lib/lz4: Use ARM64 v8 ASM to accelerate lz4 decompression
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:49:17 +05:30
Dark-Matter7232
d897745bbe lz4armv8: Update assembly instructions from Huawei kernel drop
Signed-off-by: Dark-Matter7232 <me@const.eu.org>
[Tashar02: Fragment from original commit, improve indentations and reword commit message]
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:49:09 +05:30
阿菌•未霜
d8e0f8c4cd lib/lz4: Import arm64 V8 ASM lz4 decompression acceleration
Change-Id: I3c8dd91df090bb692784a6b7a61c8877b1e1dfba
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:49:02 +05:30
Tashfin Shakeer Rhythm
517a6739a5 lz4: Eliminate unused functions
This fixes the following warnings by Clang:

../lib/lz4/lz4_decompress.c:904:12: warning: unused function 'LZ4_decompress_fast' [-Wunused-function]
static int LZ4_decompress_fast(const char *source, char *dest, int originalSize)
           ^
../lib/lz4/lz4_decompress.c:941:12: warning: unused function 'LZ4_decompress_fast_extDict' [-Wunused-function]
static int LZ4_decompress_fast_extDict(const char *source, char *dest,
           ^
../lib/lz4/lz4_decompress.c:1052:12: warning: unused function 'LZ4_decompress_fast_continue' [-Wunused-function]
static int LZ4_decompress_fast_continue(LZ4_streamDecode_t *LZ4_streamDecode,
           ^
../lib/lz4/lz4_decompress.c:1099:12: warning: unused function 'LZ4_decompress_safe_usingDict' [-Wunused-function]
static int LZ4_decompress_safe_usingDict(const char *source, char *dest,
           ^
../lib/lz4/lz4_decompress.c:1118:12: warning: unused function 'LZ4_decompress_fast_usingDict' [-Wunused-function]
static int LZ4_decompress_fast_usingDict(const char *source, char *dest,
           ^

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:48:53 +05:30
Tashfin Shakeer Rhythm
4c9b2110ec lz4: Staticize some functions
This fixes the following warnings by sparse:

../lib/lz4/lz4_compress.c:838:5: warning: symbol 'LZ4_compress_fast_extState' was not declared. Should it be static?
../lib/lz4/lz4_decompress.c:141:8: warning: symbol 'read_long_length_no_check' was not declared. Should it be static?
../lib/lz4/lz4_decompress.c:904:5: warning: symbol 'LZ4_decompress_fast' was not declared. Should it be static?
../lib/lz4/lz4_decompress.c:1052:5: warning: symbol 'LZ4_decompress_fast_continue' was not declared. Should it be static?
../lib/lz4/lz4_decompress.c:1099:5: warning: symbol 'LZ4_decompress_safe_usingDict' was not declared. Should it be static?
../lib/lz4/lz4_decompress.c:1118:5: warning: symbol 'LZ4_decompress_fast_usingDict' was not declared. Should it be static?

Since some of the functions have been marked as static now, there is no
need to export them. Remove the redundant export symbols as well.

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:48:43 +05:30
Andrzej Perczak
d5152bdc9d lz4: Update to version 1.9.4
Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:48:31 +05:30
Andrzej Perczak
ee4cc22096 lib: Update LZ4 module to v1.9.3+
Update lz4 module using official repository from revision [1].

Keep in mind lz4hc wasn't updated thus it is not used. It may not
compile anymore.

[1]: 4ebe313e00

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:48:10 +05:30
Tashfin Shakeer Rhythm
8c3c34a74e lz4: Prepare for upgradation
We will update the lz4 module using its official repository.
The changes can collide with our modifications and backports.
Make some way for new codes and that's why, revert a few patches.

This reverts the following commits:

ad28920b5ab5 ("BACKPORT: lz4: fix LZ4_decompress_safe_partial read out of bound")
7151d98737e1 ("lib/lz4/lz4_decompress.c: document deliberate use of `&'")
5d136a311f8e ("lib/lz4: explicitly support in-place decompression")

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:47:59 +05:30
Tiezhu Yang
2df3576b51 lib: make LZ4_decompress_safe_forceExtDict() static
LZ4_decompress_safe_forceExtDict() is only used in
lib/lz4/lz4_decompress.c, make it static to fix the build warning about
"no previous prototype" [1].

[1] https://lore.kernel.org/lkml/202206260948.akgsho1q-lkp@intel.com/

Link: https://lkml.kernel.org/r/1656298965-8698-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:47:49 +05:30
Rajat Asthana
60c57ed4e9 lz4_decompress: declare LZ4_decompress_safe_withPrefix64k static
Declare LZ4_decompress_safe_withPrefix64k as static to fix sparse
warning:

> warning: symbol 'LZ4_decompress_safe_withPrefix64k' was not declared.
> Should it be static?

Link: https://lkml.kernel.org/r/20210511154345.610569-1-thisisrast7@gmail.com
Signed-off-by: Rajat Asthana <thisisrast7@gmail.com>
Reviewed-by: Nick Terrell <terrelln@fb.com>
Cc: Gao Xiang <hsiangkao@redhat.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:47:36 +05:30
Nick Terrell
08b2279396 lz4: fix kernel decompression speed
This patch replaces all memcpy() calls with LZ4_memcpy() which calls
__builtin_memcpy() so the compiler can inline it.

LZ4 relies heavily on memcpy() with a constant size being inlined.  In x86
and i386 pre-boot environments memcpy() cannot be inlined because memcpy()
doesn't get defined as __builtin_memcpy().

An equivalent patch has been applied upstream so that the next import
won't lose this change [1].

I've measured the kernel decompression speed using QEMU before and after
this patch for the x86_64 and i386 architectures.  The speed-up is about
10x as shown below.

Code	Arch	Kernel Size	Time	Speed
v5.8	x86_64	11504832 B	148 ms	 79 MB/s
patch	x86_64	11503872 B	 13 ms	885 MB/s
v5.8	i386	 9621216 B	 91 ms	106 MB/s
patch	i386	 9620224 B	 10 ms	962 MB/s

I also measured the time to decompress the initramfs on x86_64, i386, and
arm.  All three show the same decompression speed before and after, as
expected.

[1] https://github.com/lz4/lz4/pull/890

Signed-off-by: Nick Terrell <terrelln@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Yann Collet <yann.collet.73@gmail.com>
Cc: Gao Xiang <gaoxiang25@huawei.com>
Cc: Sven Schmidt <4sschmid@informatik.uni-hamburg.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Arvind Sankar <nivedita@alum.mit.edu>
Link: http://lkml.kernel.org/r/20200803194022.2966806-1-nickrterrell@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Divyanshu-Modi <divyan.m05@gmail.com>
Change-Id: Ia1fae7b16e6428f5a2f5d53311b74e1ca71f61f1
Signed-off-by: Divyanshu-Modi <divyan.m05@gmail.com>
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-05 12:47:25 +05:30
Guo Xuenan
ed5bafe35e lz4: fix LZ4_decompress_safe_partial read out of bound
commit eafc0a02391b7b36617b36c97c4b5d6832cf5e24 upstream.

When partialDecoding, it is EOF if we've either filled the output buffer
or can't proceed with reading an offset for following match.

In some extreme corner cases when compressed data is suitably corrupted,
UAF will occur.  As reported by KASAN [1], LZ4_decompress_safe_partial
may lead to read out of bound problem during decoding.  lz4 upstream has
fixed it [2] and this issue has been disscussed here [3] before.

current decompression routine was ported from lz4 v1.8.3, bumping
lib/lz4 to v1.9.+ is certainly a huge work to be done later, so, we'd
better fix it first.

[1] https://lore.kernel.org/all/000000000000830d1205cf7f0477@google.com/
[2] c5d6f8a8be#
[3] https://lore.kernel.org/all/CC666AE8-4CA4-4951-B6FB-A2EFDE3AC03B@fb.com/

Link: https://lkml.kernel.org/r/20211111105048.2006070-1-guoxuenan@huawei.com
Reported-by: syzbot+63d688f1d899c588fb71@syzkaller.appspotmail.com
Signed-off-by: Guo Xuenan <guoxuenan@huawei.com>
Reviewed-by: Nick Terrell <terrelln@fb.com>
Acked-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Cc: Yann Collet <cyan@fb.com>
Cc: Chengyang Fan <cy.fan@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-05 12:47:13 +05:30
Gao Xiang
ded327a439 lib/lz4: explicitly support in-place decompression
commit 89b158635ad79574bde8e94d45dad33f8cf09549 upstream.

LZ4 final literal copy could be overlapped when doing
in-place decompression, so it's unsafe to just use memcpy()
on an optimized memcpy approach but memmove() instead.

Upstream LZ4 has updated this years ago [1] (and the impact
is non-sensible [2] plus only a few bytes remain), this commit
just synchronizes LZ4 upstream code to the kernel side as well.

It can be observed as EROFS in-place decompression failure
on specific files when X86_FEATURE_ERMS is unsupported,
memcpy() optimization of commit 59daa706fb ("x86, mem:
Optimize memcpy by avoiding memory false dependece") will
be enabled then.

Currently most modern x86-CPUs support ERMS, these CPUs just
use "rep movsb" approach so no problem at all. However, it can
still be verified with forcely disabling ERMS feature...

arch/x86/lib/memcpy_64.S:
        ALTERNATIVE_2 "jmp memcpy_orig", "", X86_FEATURE_REP_GOOD, \
-                     "jmp memcpy_erms", X86_FEATURE_ERMS
+                     "jmp memcpy_orig", X86_FEATURE_ERMS

We didn't observe any strange on arm64/arm/x86 platform before
since most memcpy() would behave in an increasing address order
("copy upwards" [3]) and it's the correct order of in-place
decompression but it really needs an update to memmove() for sure
considering it's an undefined behavior according to the standard
and some unique optimization already exists in the kernel.

[1] 33cb8518ac
[2] https://github.com/lz4/lz4/pull/717#issuecomment-497818921
[3] https://sourceware.org/bugzilla/show_bug.cgi?id=12518

Link: https://lkml.kernel.org/r/20201122030749.2698994-1-hsiangkao@redhat.com
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Reviewed-by: Nick Terrell <terrelln@fb.com>
Cc: Yann Collet <yann.collet.73@gmail.com>
Cc: Miao Xie <miaoxie@huawei.com>
Cc: Chao Yu <yuchao0@huawei.com>
Cc: Li Guifu <bluce.liguifu@huawei.com>
Cc: Guo Xuenan <guoxuenan@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-05 12:47:03 +05:30
Linus Torvalds
060b8717b9 lz4: do not export static symbol
Kbuild now complains (rightly) about it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 12:46:53 +05:30
Gao Xiang
9784e48adf lib/lz4: update LZ4 decompressor module
Update the LZ4 compression module based on LZ4 v1.8.3 in order for the
erofs file system to use the newest LZ4_decompress_safe_partial() which
can now decode exactly the nb of bytes requested [1] to take place of the
open hacked code in the erofs file system itself.

Currently, apart from the erofs file system, no other users use
LZ4_decompress_safe_partial, so no worry about the interface.

In addition, LZ4 v1.8.x boosts up decompression speed compared to the
current code which is based on LZ4 v1.7.3, mainly due to shortcut
optimization for the specific common LZ4-sequences [2].

lzbench testdata (tested in kirin710, 8 cores, 4 big cores
at 2189Mhz, 2GB DDR RAM at 1622Mhz, with enwik8 testdata [3]):

Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   5004 MB/s  4924 MB/s   100000000 100.00 enwik8
lz4hc 1.7.3 -9             12 MB/s   653 MB/s    42203253  42.20 enwik8
lz4hc 1.8.0 -9             12 MB/s   908 MB/s    42203096  42.20 enwik8
lz4hc 1.8.3 -9             11 MB/s   965 MB/s    42203094  42.20 enwik8

[1] https://github.com/lz4/lz4/issues/566
    08d347b5b2

[2] v1.8.1 perf: slightly faster compression and decompression speed
    a31b7058cb
    v1.8.2 perf: slightly faster HC compression and decompression speed
    45f8603aae
    1a191b3f8d

[3] http://mattmahoney.net/dc/textdata.html
    http://mattmahoney.net/dc/enwik8.zip

Link: http://lkml.kernel.org/r/1537181207-21932-1-git-send-email-gaoxiang25@huawei.com
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Tested-by: Guo Xuenan <guoxuenan@huawei.com>
Cc: Colin Ian King <colin.king@canonical.com>
Cc: Yann Collet <yann.collet.73@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Fang Wei <fangwei1@huawei.com>
Cc: Chao Yu <yuchao0@huawei.com>
Cc: Miao Xie <miaoxie@huawei.com>
Cc: Sven Schmidt <4sschmid@informatik.uni-hamburg.de>
Cc: Kyungsik Lee <kyungsik.lee@lge.com>
Cc: <weidu.du@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 12:46:41 +05:30
Michael Bestas
28c40e5243 power: qpnp-smb5: Implement charging_enabled node
Change-Id: I0abc9ac4c32a5067e65c2650eb204b9eca437afa
2025-09-05 12:44:33 +05:30
Kuba Wojciechowski
7d6b87d910 power/supply: qpnp-smb5: Report fast charging when a proprietary charger is attached
Android figures out if charging is "rapid" by checking
POWER_SUPPLY_PROP_CURRENT_MAX and when the proprietary charger tech
Xiaomi's using is active that value isn't always reported correctly.
Work around that by reporting an arbitrary value that's high enough to
qualify as "rapid" when a proprietary charger is attached and fully
authenticated (by checking smblib_get_fastcharge_mode() which is a
custom utility function added by Xiaomi). Other charger types (HVDCP/PD)
still use standard smblib_get_prop_input_current_max().

Test: original 33W charger is reported as "rapid" immediately after
plugging it in, a slow charger is still detected as "slow".

Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Change-Id: If9247081f2eae8132857be44487f83ba36b4c129
Signed-off-by: Hazama25 <hazamafawkes@gmail.com>
2025-09-05 12:44:12 +05:30
theshaenix
890381f211 Revert "ext4: avoid OOB when system.data xattr changes underneath the filesystem"
This reverts commit 25fb52c992.
2025-09-05 12:14:33 +05:30
theshaenix
a637250586 Revert "ext4: return error on ext4_find_inline_entry"
This reverts commit 8226004cd2.
2025-09-05 12:10:53 +05:30
Forenche
66d2da785a wireguard: Update to version 1.0.20210606
Signed-off-by: Forenche <prahul2003@gmail.com>
2025-09-05 12:08:37 +05:30
theshaenix
a731860a92 Revert "net: add WireGuard from wireguard-linux-compat"
This reverts commit 0a2104ed48.
2025-09-05 12:08:12 +05:30
theshaenix
7aaa3b3e77 Revert "tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safe"
This reverts commit e5b4018d59.
2025-09-05 12:06:32 +05:30
theshaenix
1326cde7c8 Revert "CDC-NCM: avoid overflow in sanity checking"
This reverts commit ccb319092c.
2025-09-05 12:04:34 +05:30
theshaenix
c4d394a9a8 The handshake between the driver and the kernel has been updated to the modern, safer standard
the final action—the actual function that the timer is supposed to execute—remains identical

Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-09-05 12:00:02 +05:30
Vegard Nossum
ffbb95faf0 LTS: Update to 4.14.356
This corresponds to 4.19.323 upstream (v4.19.322..v4.19.323).

Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
2025-09-05 11:48:09 +05:30
Ryusuke Konishi
08caf4dea7 nilfs2: fix kernel bug due to missing clearing of checked flag
commit 41e192ad2779cae0102879612dfe46726e4396aa upstream.

Syzbot reported that in directory operations after nilfs2 detects
filesystem corruption and degrades to read-only,
__block_write_begin_int(), which is called to prepare block writes, may
fail the BUG_ON check for accesses exceeding the folio/page size,
triggering a kernel bug.

This was found to be because the "checked" flag of a page/folio was not
cleared when it was discarded by nilfs2's own routine, which causes the
sanity check of directory entries to be skipped when the directory
page/folio is reloaded.  So, fix that.

This was necessary when the use of nilfs2's own page discard routine was
applied to more than just metadata files.

Link: https://lkml.kernel.org/r/20241017193359.5051-1-konishi.ryusuke@gmail.com
Fixes: 8c26c4e269 ("nilfs2: fix issue with flush kernel thread after remount in RO mode because of driver's internal error or metadata corruption")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Reported-by: syzbot+d6ca2daf692c7a82f959@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=d6ca2daf692c7a82f959
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 994b2fa13a6c9cf3feca93090a9c337d48e3d60d)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:45:09 +05:30
Edward Adam Davis
67bf56b4e6 ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow
[ Upstream commit bc0a2f3a73fcdac651fca64df39306d1e5ebe3b0 ]

Syzbot reported a kernel BUG in ocfs2_truncate_inline.  There are two
reasons for this: first, the parameter value passed is greater than
ocfs2_max_inline_data_with_xattr, second, the start and end parameters of
ocfs2_truncate_inline are "unsigned int".

So, we need to add a sanity check for byte_start and byte_len right before
ocfs2_truncate_inline() in ocfs2_remove_inode_range(), if they are greater
than ocfs2_max_inline_data_with_xattr return -EINVAL.

Link: https://lkml.kernel.org/r/tencent_D48DB5122ADDAEDDD11918CFB68D93258C07@qq.com
Fixes: 1afc32b952 ("ocfs2: Write support for inline data")
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Reported-by: syzbot+81092778aac03460d6b7@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=81092778aac03460d6b7
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 27d95867bee806cdc448d122bd99f1d8b0544035)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:45:07 +05:30
Ryusuke Konishi
631772c5a7 nilfs2: fix potential deadlock with newly created symlinks
commit b3a033e3ecd3471248d474ef263aadc0059e516a upstream.

Syzbot reported that page_symlink(), called by nilfs_symlink(), triggers
memory reclamation involving the filesystem layer, which can result in
circular lock dependencies among the reader/writer semaphore
nilfs->ns_segctor_sem, s_writers percpu_rwsem (intwrite) and the
fs_reclaim pseudo lock.

This is because after commit 21fc61c73c ("don't put symlink bodies in
pagecache into highmem"), the gfp flags of the page cache for symbolic
links are overwritten to GFP_KERNEL via inode_nohighmem().

This is not a problem for symlinks read from the backing device, because
the __GFP_FS flag is dropped after inode_nohighmem() is called.  However,
when a new symlink is created with nilfs_symlink(), the gfp flags remain
overwritten to GFP_KERNEL.  Then, memory allocation called from
page_symlink() etc.  triggers memory reclamation including the FS layer,
which may call nilfs_evict_inode() or nilfs_dirty_inode().  And these can
cause a deadlock if they are called while nilfs->ns_segctor_sem is held:

Fix this issue by dropping the __GFP_FS flag from the page cache GFP flags
of newly created symlinks in the same way that nilfs_new_inode() and
__nilfs_read_inode() do, as a workaround until we adopt nofs allocation
scope consistently or improve the locking constraints.

Link: https://lkml.kernel.org/r/20241020050003.4308-1-konishi.ryusuke@gmail.com
Fixes: 21fc61c73c ("don't put symlink bodies in pagecache into highmem")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Reported-by: syzbot+9ef37ac20608f4836256@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=9ef37ac20608f4836256
Tested-by: syzbot+9ef37ac20608f4836256@syzkaller.appspotmail.com
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit cc38c596e648575ce58bfc31623a6506eda4b94a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:45:06 +05:30
Ville Syrjälä
ebc675ec40 wifi: iwlegacy: Clear stale interrupts before resuming device
commit 07c90acb071b9954e1fecb1e4f4f13d12c544b34 upstream.

iwl4965 fails upon resume from hibernation on my laptop. The reason
seems to be a stale interrupt which isn't being cleared out before
interrupts are enabled. We end up with a race beween the resume
trying to bring things back up, and the restart work (queued form
the interrupt handler) trying to bring things down. Eventually
the whole thing blows up.

Fix the problem by clearing out any stale interrupts before
interrupts get enabled during resume.

Here's a debug log of the indicent:
[   12.042589] ieee80211 phy0: il_isr ISR inta 0x00000080, enabled 0xaa00008b, fh 0x00000000
[   12.042625] ieee80211 phy0: il4965_irq_tasklet inta 0x00000080, enabled 0x00000000, fh 0x00000000
[   12.042651] iwl4965 0000:10:00.0: RF_KILL bit toggled to enable radio.
[   12.042653] iwl4965 0000:10:00.0: On demand firmware reload
[   12.042690] ieee80211 phy0: il4965_irq_tasklet End inta 0x00000000, enabled 0xaa00008b, fh 0x00000000, flags 0x00000282
[   12.052207] ieee80211 phy0: il4965_mac_start enter
[   12.052212] ieee80211 phy0: il_prep_station Add STA to driver ID 31: ff:ff:ff:ff:ff:ff
[   12.052244] ieee80211 phy0: il4965_set_hw_ready hardware  ready
[   12.052324] ieee80211 phy0: il_apm_init Init card's basic functions
[   12.052348] ieee80211 phy0: il_apm_init L1 Enabled; Disabling L0S
[   12.055727] ieee80211 phy0: il4965_load_bsm Begin load bsm
[   12.056140] ieee80211 phy0: il4965_verify_bsm Begin verify bsm
[   12.058642] ieee80211 phy0: il4965_verify_bsm BSM bootstrap uCode image OK
[   12.058721] ieee80211 phy0: il4965_load_bsm BSM write complete, poll 1 iterations
[   12.058734] ieee80211 phy0: __il4965_up iwl4965 is coming up
[   12.058737] ieee80211 phy0: il4965_mac_start Start UP work done.
[   12.058757] ieee80211 phy0: __il4965_down iwl4965 is going down
[   12.058761] ieee80211 phy0: il_scan_cancel_timeout Scan cancel timeout
[   12.058762] ieee80211 phy0: il_do_scan_abort Not performing scan to abort
[   12.058765] ieee80211 phy0: il_clear_ucode_stations Clearing ucode stations in driver
[   12.058767] ieee80211 phy0: il_clear_ucode_stations No active stations found to be cleared
[   12.058819] ieee80211 phy0: _il_apm_stop Stop card, put in low power state
[   12.058827] ieee80211 phy0: _il_apm_stop_master stop master
[   12.058864] ieee80211 phy0: il4965_clear_free_frames 0 frames on pre-allocated heap on clear.
[   12.058869] ieee80211 phy0: Hardware restart was requested
[   16.132299] iwl4965 0000:10:00.0: START_ALIVE timeout after 4000ms.
[   16.132303] ------------[ cut here ]------------
[   16.132304] Hardware became unavailable upon resume. This could be a software issue prior to suspend or a hardware issue.
[   16.132338] WARNING: CPU: 0 PID: 181 at net/mac80211/util.c:1826 ieee80211_reconfig+0x8f/0x14b0 [mac80211]
[   16.132390] Modules linked in: ctr ccm sch_fq_codel xt_tcpudp xt_multiport xt_state iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv4 ip_tables x_tables binfmt_misc joydev mousedev btusb btrtl btintel btbcm bluetooth ecdh_generic ecc iTCO_wdt i2c_dev iwl4965 iwlegacy coretemp snd_hda_codec_analog pcspkr psmouse mac80211 snd_hda_codec_generic libarc4 sdhci_pci cqhci sha256_generic sdhci libsha256 firewire_ohci snd_hda_intel snd_intel_dspcfg mmc_core snd_hda_codec snd_hwdep firewire_core led_class iosf_mbi snd_hda_core uhci_hcd lpc_ich crc_itu_t cfg80211 ehci_pci ehci_hcd snd_pcm usbcore mfd_core rfkill snd_timer snd usb_common soundcore video parport_pc parport intel_agp wmi intel_gtt backlight e1000e agpgart evdev
[   16.132456] CPU: 0 UID: 0 PID: 181 Comm: kworker/u8:6 Not tainted 6.11.0-cl+ #143
[   16.132460] Hardware name: Hewlett-Packard HP Compaq 6910p/30BE, BIOS 68MCU Ver. F.19 07/06/2010
[   16.132463] Workqueue: async async_run_entry_fn
[   16.132469] RIP: 0010:ieee80211_reconfig+0x8f/0x14b0 [mac80211]
[   16.132501] Code: da 02 00 00 c6 83 ad 05 00 00 00 48 89 df e8 98 1b fc ff 85 c0 41 89 c7 0f 84 e9 02 00 00 48 c7 c7 a0 e6 48 a0 e8 d1 77 c4 e0 <0f> 0b eb 2d 84 c0 0f 85 8b 01 00 00 c6 87 ad 05 00 00 00 e8 69 1b
[   16.132504] RSP: 0018:ffffc9000029fcf0 EFLAGS: 00010282
[   16.132507] RAX: 0000000000000000 RBX: ffff8880072008e0 RCX: 0000000000000001
[   16.132509] RDX: ffffffff81f21a18 RSI: 0000000000000086 RDI: 0000000000000001
[   16.132510] RBP: ffff8880072003c0 R08: 0000000000000000 R09: 0000000000000003
[   16.132512] R10: 0000000000000000 R11: ffff88807e5b0000 R12: 0000000000000001
[   16.132514] R13: 0000000000000000 R14: 0000000000000000 R15: 00000000ffffff92
[   16.132515] FS:  0000000000000000(0000) GS:ffff88807c200000(0000) knlGS:0000000000000000
[   16.132517] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   16.132519] CR2: 000055dd43786c08 CR3: 000000000978f000 CR4: 00000000000006f0
[   16.132521] Call Trace:
[   16.132525]  <TASK>
[   16.132526]  ? __warn+0x77/0x120
[   16.132532]  ? ieee80211_reconfig+0x8f/0x14b0 [mac80211]
[   16.132564]  ? report_bug+0x15c/0x190
[   16.132568]  ? handle_bug+0x36/0x70
[   16.132571]  ? exc_invalid_op+0x13/0x60
[   16.132573]  ? asm_exc_invalid_op+0x16/0x20
[   16.132579]  ? ieee80211_reconfig+0x8f/0x14b0 [mac80211]
[   16.132611]  ? snd_hdac_bus_init_cmd_io+0x24/0x200 [snd_hda_core]
[   16.132617]  ? pick_eevdf+0x133/0x1c0
[   16.132622]  ? check_preempt_wakeup_fair+0x70/0x90
[   16.132626]  ? wakeup_preempt+0x4a/0x60
[   16.132628]  ? ttwu_do_activate.isra.0+0x5a/0x190
[   16.132632]  wiphy_resume+0x79/0x1a0 [cfg80211]
[   16.132675]  ? wiphy_suspend+0x2a0/0x2a0 [cfg80211]
[   16.132697]  dpm_run_callback+0x75/0x1b0
[   16.132703]  device_resume+0x97/0x200
[   16.132707]  async_resume+0x14/0x20
[   16.132711]  async_run_entry_fn+0x1b/0xa0
[   16.132714]  process_one_work+0x13d/0x350
[   16.132718]  worker_thread+0x2be/0x3d0
[   16.132722]  ? cancel_delayed_work_sync+0x70/0x70
[   16.132725]  kthread+0xc0/0xf0
[   16.132729]  ? kthread_park+0x80/0x80
[   16.132732]  ret_from_fork+0x28/0x40
[   16.132735]  ? kthread_park+0x80/0x80
[   16.132738]  ret_from_fork_asm+0x11/0x20
[   16.132741]  </TASK>
[   16.132742] ---[ end trace 0000000000000000 ]---
[   16.132930] ------------[ cut here ]------------
[   16.132932] WARNING: CPU: 0 PID: 181 at net/mac80211/driver-ops.c:41 drv_stop+0xe7/0xf0 [mac80211]
[   16.132957] Modules linked in: ctr ccm sch_fq_codel xt_tcpudp xt_multiport xt_state iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv4 ip_tables x_tables binfmt_misc joydev mousedev btusb btrtl btintel btbcm bluetooth ecdh_generic ecc iTCO_wdt i2c_dev iwl4965 iwlegacy coretemp snd_hda_codec_analog pcspkr psmouse mac80211 snd_hda_codec_generic libarc4 sdhci_pci cqhci sha256_generic sdhci libsha256 firewire_ohci snd_hda_intel snd_intel_dspcfg mmc_core snd_hda_codec snd_hwdep firewire_core led_class iosf_mbi snd_hda_core uhci_hcd lpc_ich crc_itu_t cfg80211 ehci_pci ehci_hcd snd_pcm usbcore mfd_core rfkill snd_timer snd usb_common soundcore video parport_pc parport intel_agp wmi intel_gtt backlight e1000e agpgart evdev
[   16.133014] CPU: 0 UID: 0 PID: 181 Comm: kworker/u8:6 Tainted: G        W          6.11.0-cl+ #143
[   16.133018] Tainted: [W]=WARN
[   16.133019] Hardware name: Hewlett-Packard HP Compaq 6910p/30BE, BIOS 68MCU Ver. F.19 07/06/2010
[   16.133021] Workqueue: async async_run_entry_fn
[   16.133025] RIP: 0010:drv_stop+0xe7/0xf0 [mac80211]
[   16.133048] Code: 48 85 c0 74 0e 48 8b 78 08 89 ea 48 89 de e8 e0 87 04 00 65 ff 0d d1 de c4 5f 0f 85 42 ff ff ff e8 be 52 c2 e0 e9 38 ff ff ff <0f> 0b 5b 5d c3 0f 1f 40 00 41 54 49 89 fc 55 53 48 89 f3 2e 2e 2e
[   16.133050] RSP: 0018:ffffc9000029fc50 EFLAGS: 00010246
[   16.133053] RAX: 0000000000000000 RBX: ffff8880072008e0 RCX: ffff88800377f6c0
[   16.133054] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8880072008e0
[   16.133056] RBP: 0000000000000000 R08: ffffffff81f238d8 R09: 0000000000000000
[   16.133058] R10: ffff8880080520f0 R11: 0000000000000000 R12: ffff888008051c60
[   16.133060] R13: ffff8880072008e0 R14: 0000000000000000 R15: ffff8880072011d8
[   16.133061] FS:  0000000000000000(0000) GS:ffff88807c200000(0000) knlGS:0000000000000000
[   16.133063] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   16.133065] CR2: 000055dd43786c08 CR3: 000000000978f000 CR4: 00000000000006f0
[   16.133067] Call Trace:
[   16.133069]  <TASK>
[   16.133070]  ? __warn+0x77/0x120
[   16.133075]  ? drv_stop+0xe7/0xf0 [mac80211]
[   16.133098]  ? report_bug+0x15c/0x190
[   16.133100]  ? handle_bug+0x36/0x70
[   16.133103]  ? exc_invalid_op+0x13/0x60
[   16.133105]  ? asm_exc_invalid_op+0x16/0x20
[   16.133109]  ? drv_stop+0xe7/0xf0 [mac80211]
[   16.133132]  ieee80211_do_stop+0x55a/0x810 [mac80211]
[   16.133161]  ? fq_codel_reset+0xa5/0xc0 [sch_fq_codel]
[   16.133164]  ieee80211_stop+0x4f/0x180 [mac80211]
[   16.133192]  __dev_close_many+0xa2/0x120
[   16.133195]  dev_close_many+0x90/0x150
[   16.133198]  dev_close+0x5d/0x80
[   16.133200]  cfg80211_shutdown_all_interfaces+0x40/0xe0 [cfg80211]
[   16.133223]  wiphy_resume+0xb2/0x1a0 [cfg80211]
[   16.133247]  ? wiphy_suspend+0x2a0/0x2a0 [cfg80211]
[   16.133269]  dpm_run_callback+0x75/0x1b0
[   16.133273]  device_resume+0x97/0x200
[   16.133277]  async_resume+0x14/0x20
[   16.133280]  async_run_entry_fn+0x1b/0xa0
[   16.133283]  process_one_work+0x13d/0x350
[   16.133287]  worker_thread+0x2be/0x3d0
[   16.133290]  ? cancel_delayed_work_sync+0x70/0x70
[   16.133294]  kthread+0xc0/0xf0
[   16.133296]  ? kthread_park+0x80/0x80
[   16.133299]  ret_from_fork+0x28/0x40
[   16.133302]  ? kthread_park+0x80/0x80
[   16.133304]  ret_from_fork_asm+0x11/0x20
[   16.133307]  </TASK>
[   16.133308] ---[ end trace 0000000000000000 ]---
[   16.133335] ieee80211 phy0: PM: dpm_run_callback(): wiphy_resume [cfg80211] returns -110
[   16.133360] ieee80211 phy0: PM: failed to restore async: error -110

Cc: stable@vger.kernel.org
Cc: Stanislaw Gruszka <stf_xl@wp.pl>
Cc: Kalle Valo <kvalo@kernel.org>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241001200745.8276-1-ville.syrjala@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 271d282ecc15d7012e71ca82c89a6c0e13a063dd)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:45:05 +05:30
Felix Fietkau
bf1b197729 wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower
commit 393b6bc174b0dd21bb2a36c13b36e62fc3474a23 upstream.

Avoid potentially crashing in the driver because of uninitialized private data

Fixes: 5b3dc42b1b ("mac80211: add support for driver tx power reporting")
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/20241002095630.22431-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit b0b862aa3dbcd16b3c4715259a825f48ca540088)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:45:04 +05:30
Greg Kroah-Hartman
c82ea4a5a4 Revert "driver core: Fix uevent_show() vs driver detach race"
commit 9a71892cbcdb9d1459c84f5a4c722b14354158a5 upstream.

This reverts commit 15fffc6a5624b13b428bb1c6e9088e32a55eb82c.

This commit causes a regression, so revert it for now until it can come
back in a way that works for everyone.

Link: https://lore.kernel.org/all/172790598832.1168608.4519484276671503678.stgit@dwillia2-xfh.jf.intel.com/
Fixes: 15fffc6a5624 ("driver core: Fix uevent_show() vs driver detach race")
Cc: stable <stable@kernel.org>
Cc: Ashish Sangwan <a.sangwan@samsung.com>
Cc: Namjae Jeon <namjae.jeon@samsung.com>
Cc: Dirk Behme <dirk.behme@de.bosch.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Rafael J. Wysocki <rafael@kernel.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit fe10c8367687c27172a10ba5cc849bd82077bd7d)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:45:03 +05:30
Faisal Hassan
f3c8e25f88 xhci: Fix Link TRB DMA in command ring stopped completion event
commit 075919f6df5dd82ad0b1894898b315fbb3c29b84 upstream.

During the aborting of a command, the software receives a command
completion event for the command ring stopped, with the TRB pointing
to the next TRB after the aborted command.

If the command we abort is located just before the Link TRB in the
command ring, then during the 'command ring stopped' completion event,
the xHC gives the Link TRB in the event's cmd DMA, which causes a
mismatch in handling command completion event.

To address this situation, move the 'command ring stopped' completion
event check slightly earlier, since the specific command it stopped
on isn't of significant concern.

Fixes: 7f84eef0da ("USB: xhci: No-op command queueing and irq handler.")
Cc: stable@vger.kernel.org
Signed-off-by: Faisal Hassan <quic_faisalh@quicinc.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20241022155631.1185-1-quic_faisalh@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit d55d92597b7143f70e2db6108dac521d231ffa29)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:45:03 +05:30
Zijun Hu
9c952dbb5f usb: phy: Fix API devm_usb_put_phy() can not release the phy
commit fdce49b5da6e0fb6d077986dec3e90ef2b094b50 upstream.

For devm_usb_put_phy(), its comment says it needs to invoke usb_put_phy()
to release the phy, but it does not do that actually, so it can not fully
undo what the API devm_usb_get_phy() does, that is wrong, fixed by using
devres_release() instead of devres_destroy() within the API.

Fixes: cedf860237 ("usb: phy: move bulk of otg/otg.c to phy/phy.c")
Cc: stable@vger.kernel.org
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20241020-usb_phy_fix-v1-1-7f79243b8e1e@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 3a5693be9a47d368d39fee08325f5bf6cdd2ebaf)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:45:02 +05:30
Dimitri Sivanich
15e22f6fde misc: sgi-gru: Don't disable preemption in GRU driver
[ Upstream commit b983b271662bd6104d429b0fd97af3333ba760bf ]

Disabling preemption in the GRU driver is unnecessary, and clashes with
sleeping locks in several code paths.  Remove preempt_disable and
preempt_enable from the GRU driver.

Signed-off-by: Dimitri Sivanich <sivanich@hpe.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 88a0888162b375d79872fb1dece834bebea76fe3)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:59 +05:30
Daniel Palmer
0bf7136f8b net: amd: mvme147: Fix probe banner message
[ Upstream commit 82c5b53140faf89c31ea2b3a0985a2f291694169 ]

Currently this driver prints this line with what looks like
a rogue format specifier when the device is probed:
[    2.840000] eth%d: MVME147 at 0xfffe1800, irq 12, Hardware Address xx:xx:xx:xx:xx:xx

Change the printk() for netdev_info() and move it after the
registration has completed so it prints out the name of the
interface properly.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 34f2d9975aff5ddb9e15e4ddd58528c8fd570c4a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:20 +05:30
Pablo Neira Ayuso
a98297711a netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
[ Upstream commit d5953d680f7e96208c29ce4139a0e38de87a57fe ]

If access to offset + length is larger than the skbuff length, then
skb_checksum() triggers BUG_ON().

skb_checksum() internally subtracts the length parameter while iterating
over skbuff, BUG_ON(len) at the end of it checks that the expected
length to be included in the checksum calculation is fully consumed.

Fixes: 7ec3f7b47b ("netfilter: nft_payload: add packet mangling support")
Reported-by: Slavin Liu <slavin-ayu@qq.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a661ed364ae6ae88c2fafa9ddc27df1af2a73701)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:19 +05:30
Benoît Monin
94755e1c58 net: skip offload for NETIF_F_IPV6_CSUM if ipv6 header contains extension
[ Upstream commit 04c20a9356f283da623903e81e7c6d5df7e4dc3c ]

As documented in skbuff.h, devices with NETIF_F_IPV6_CSUM capability
can only checksum TCP and UDP over IPv6 if the IP header does not
contains extension.

This is enforced for UDP packets emitted from user-space to an IPv6
address as they go through ip6_make_skb(), which calls
__ip6_append_data() where a check is done on the header size before
setting CHECKSUM_PARTIAL.

But the introduction of UDP encapsulation with fou6 added a code-path
where it is possible to get an skb with a partial UDP checksum and an
IPv6 header with extension:
* fou6 adds a UDP header with a partial checksum if the inner packet
does not contains a valid checksum.
* ip6_tunnel adds an IPv6 header with a destination option extension
header if encap_limit is non-zero (the default value is 4).

The thread linked below describes in more details how to reproduce the
problem with GRE-in-UDP tunnel.

Add a check on the network header size in skb_csum_hwoffload_help() to
make sure no IPv6 packet with extension header is handed to a network
device with NETIF_F_IPV6_CSUM capability.

Link: https://lore.kernel.org/netdev/26548921.1r3eYUQgxm@benoit.monin/T/#u
Fixes: aa3463d65e ("fou: Add encap ops for IPv6 tunnels")
Signed-off-by: Benoît Monin <benoit.monin@gmx.fr>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/5fbeecfc311ea182aa1d1c771725ab8b4cac515e.1729778144.git.benoit.monin@gmx.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit bcefc3cd7f592a70fcbbbfd7ad1fbc69172ea78b)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:18 +05:30
Xin Long
f3cd266b32 net: support ip generic csum processing in skb_csum_hwoffload_help
[ Upstream commit 62fafcd63139920eb25b3fbf154177ce3e6f3232 ]

NETIF_F_IP|IPV6_CSUM feature flag indicates UDP and TCP csum offload
while NETIF_F_HW_CSUM feature flag indicates ip generic csum offload
for HW, which includes not only for TCP/UDP csum, but also for other
protocols' csum like GRE's.

However, in skb_csum_hwoffload_help() it only checks features against
NETIF_F_CSUM_MASK(NETIF_F_HW|IP|IPV6_CSUM). So if it's a non TCP/UDP
packet and the features doesn't support NETIF_F_HW_CSUM, but supports
NETIF_F_IP|IPV6_CSUM only, it would still return 0 and leave the HW
to do csum.

This patch is to support ip generic csum processing by checking
NETIF_F_HW_CSUM for all protocols, and check (NETIF_F_IP_CSUM |
NETIF_F_IPV6_CSUM) only for TCP and UDP.

Note that we're using skb->csum_offset to check if it's a TCP/UDP
proctol, this might be fragile. However, as Alex said, for now we
only have a few L4 protocols that are requesting Tx csum offload,
we'd better fix this until a new protocol comes with a same csum
offset.

v1->v2:
  - not extend skb->csum_not_inet, but use skb->csum_offset to tell
    if it's an UDP/TCP csum packet.
v2->v3:
  - add a note in the changelog, as Willem suggested.

Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 04c20a9356f2 ("net: skip offload for NETIF_F_IPV6_CSUM if ipv6 header contains extension")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 2c88668d57735d4ff65ce35747c8aa6662cc5013)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:17 +05:30
Pedro Tammela
08099a62d0 net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT
[ Upstream commit 2e95c4384438adeaa772caa560244b1a2efef816 ]

In qdisc_tree_reduce_backlog, Qdiscs with major handle ffff: are assumed
to be either root or ingress. This assumption is bogus since it's valid
to create egress qdiscs with major handle ffff:
Budimir Markovic found that for qdiscs like DRR that maintain an active
class list, it will cause a UAF with a dangling class pointer.

In 066a3b5b23, the concern was to avoid iterating over the ingress
qdisc since its parent is itself. The proper fix is to stop when parent
TC_H_ROOT is reached because the only way to retrieve ingress is when a
hierarchy which does not contain a ffff: major handle call into
qdisc_lookup with TC_H_MAJ(TC_H_ROOT).

In the scenario where major ffff: is an egress qdisc in any of the tree
levels, the updates will also propagate to TC_H_ROOT, which then the
iteration must stop.

Fixes: 066a3b5b23 ("[NET_SCHED] sch_api: fix qdisc_tree_decrease_qlen() loop")
Reported-by: Budimir Markovic <markovicbudimir@gmail.com>
Suggested-by: Jamal Hadi Salim <jhs@mojatatu.com>
Tested-by: Victor Nogueira <victor@mojatatu.com>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>

 net/sched/sch_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Horman <horms@kernel.org>

Link: https://patch.msgid.link/20241024165547.418570-1-jhs@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e7f9a6f97eb067599a74f3bcb6761976b0ed303e)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:16 +05:30
Pablo Neira Ayuso
a42155316f gtp: allow -1 to be specified as file description from userspace
[ Upstream commit 7515e37bce5c428a56a9b04ea7e96b3f53f17150 ]

Existing user space applications maintained by the Osmocom project are
breaking since a recent fix that addresses incorrect error checking.

Restore operation for user space programs that specify -1 as file
descriptor to skip GTPv0 or GTPv1 only sockets.

Fixes: defd8b3c37b0 ("gtp: fix a potential NULL pointer dereference")
Reported-by: Pau Espin Pedrol <pespin@sysmocom.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Tested-by: Oliver Smith <osmith@sysmocom.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241022144825.66740-1-pablo@netfilter.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 63d8172188c759c44cae7a57eece140e0b90a2e1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:14 +05:30
Christophe JAILLET
622db38088 gtp: simplify error handling code in 'gtp_encap_enable()'
[ Upstream commit b289ba5e07105548b8219695e5443d807a825eb8 ]

'gtp_encap_disable_sock(sk)' handles the case where sk is NULL, so there
is no need to test it before calling the function.

This saves a few line of code.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 7515e37bce5c ("gtp: allow -1 to be specified as file description from userspace")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 66f635f6ae87c35bd1bda16927e9393cacd05ee4)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:13 +05:30
Felix Fietkau
8279b73dd6 wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys
[ Upstream commit 52009b419355195912a628d0a9847922e90c348c ]

Sync iterator conditions with ieee80211_iter_keys_rcu.

Fixes: 830af02f24 ("mac80211: allow driver to iterate keys")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/20241006153630.87885-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit c9cf9510970e5b33e5bc21377380f1cf61685ed0)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:12 +05:30
Xiu Jianfeng
c917edc9a0 cgroup: Fix potential overflow issue when checking max_depth
[ Upstream commit 3cc4e13bb1617f6a13e5e6882465984148743cf4 ]

cgroup.max.depth is the maximum allowed descent depth below the current
cgroup. If the actual descent depth is equal or larger, an attempt to
create a new child cgroup will fail. However due to the cgroup->max_depth
is of int type and having the default value INT_MAX, the condition
'level > cgroup->max_depth' will never be satisfied, and it will cause
an overflow of the level after it reaches to INT_MAX.

Fix it by starting the level from 0 and using '>=' instead.

It's worth mentioning that this issue is unlikely to occur in reality,
as it's impossible to have a depth of INT_MAX hierarchy, but should be
be avoided logically.

Fixes: 1a926e0bba ("cgroup: implement hierarchy limits")
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 339df130db47ae7e89fddce5729b0f0566405d1d)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:11 +05:30
Sabrina Dubroca
77a20d4104 xfrm: validate new SA's prefixlen using SA family when sel.family is unset
[ Upstream commit 3f0ab59e6537c6a8f9e1b355b48f9c05a76e8563 ]

This expands the validation introduced in commit 07bf7908950a ("xfrm:
Validate address prefix lengths in the xfrm selector.")

syzbot created an SA with
    usersa.sel.family = AF_UNSPEC
    usersa.sel.prefixlen_s = 128
    usersa.family = AF_INET

Because of the AF_UNSPEC selector, verify_newsa_info doesn't put
limits on prefixlen_{s,d}. But then copy_from_user_state sets
x->sel.family to usersa.family (AF_INET). Do the same conversion in
verify_newsa_info before validating prefixlen_{s,d}, since that's how
prefixlen is going to be used later on.

Reported-by: syzbot+cc39f136925517aed571@syzkaller.appspotmail.com
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Antony Antony <antony.antony@secunet.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f31398570acf0f0804c644006f7bfa9067106b0a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:10 +05:30
junhua huang
86d7a78dc2 arm64/uprobes: change the uprobe_opcode_t typedef to fix the sparse warning
commit ef08c0fadd8a17ebe429b85e23952dac3263ad34 upstream.

After we fixed the uprobe inst endian in aarch_be, the sparse check report
the following warning info:

sparse warnings: (new ones prefixed by >>)
>> kernel/events/uprobes.c:223:25: sparse: sparse: restricted __le32 degrades to integer
>> kernel/events/uprobes.c:574:56: sparse: sparse: incorrect type in argument 4 (different base types)
@@     expected unsigned int [addressable] [usertype] opcode @@     got restricted __le32 [usertype] @@
   kernel/events/uprobes.c:574:56: sparse:     expected unsigned int [addressable] [usertype] opcode
   kernel/events/uprobes.c:574:56: sparse:     got restricted __le32 [usertype]
>> kernel/events/uprobes.c:1483:32: sparse: sparse: incorrect type in initializer (different base types)
@@     expected unsigned int [usertype] insn @@     got restricted __le32 [usertype] @@
   kernel/events/uprobes.c:1483:32: sparse:     expected unsigned int [usertype] insn
   kernel/events/uprobes.c:1483:32: sparse:     got restricted __le32 [usertype]

use the __le32 to u32 for uprobe_opcode_t, to keep the same.

Fixes: 60f07e22a73d ("arm64:uprobe fix the uprobe SWBP_INSN in big-endian")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: junhua huang <huang.junhua@zte.com.cn>
Link: https://lore.kernel.org/r/202212280954121197626@zte.com.cn
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 974955b61fe226c0d837106738fc0fb5910d67a8)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:09 +05:30
Ryusuke Konishi
926620cdb3 nilfs2: fix kernel bug due to missing clearing of buffer delay flag
commit 6ed469df0bfbef3e4b44fca954a781919db9f7ab upstream.

Syzbot reported that after nilfs2 reads a corrupted file system image
and degrades to read-only, the BUG_ON check for the buffer delay flag
in submit_bh_wbc() may fail, causing a kernel bug.

This is because the buffer delay flag is not cleared when clearing the
buffer state flags to discard a page/folio or a buffer head. So, fix
this.

This became necessary when the use of nilfs2's own page clear routine
was expanded.  This state inconsistency does not occur if the buffer
is written normally by log writing.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Link: https://lore.kernel.org/r/20241015213300.7114-1-konishi.ryusuke@gmail.com
Fixes: 8c26c4e269 ("nilfs2: fix issue with flush kernel thread after remount in RO mode because of driver's internal error or metadata corruption")
Reported-by: syzbot+985ada84bf055a575c07@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=985ada84bf055a575c07
Cc: stable@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 033bc52f35868c2493a2d95c56ece7fc155d7cb3)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:08 +05:30
Jinjie Ruan
ca75ebb0d2 posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()
[ Upstream commit 6e62807c7fbb3c758d233018caf94dfea9c65dbd ]

If get_clock_desc() succeeds, it calls fget() for the clockid's fd,
and get the clk->rwsem read lock, so the error path should release
the lock to make the lock balance and fput the clockid's fd to make
the refcount balance and release the fd related resource.

However the below commit left the error path locked behind resulting in
unbalanced locking. Check timespec64_valid_strict() before
get_clock_desc() to fix it, because the "ts" is not changed
after that.

Fixes: d8794ac20a29 ("posix-clock: Fix missing timespec64 check in pc_clock_settime()")
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Acked-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
[pabeni@redhat.com: fixed commit message typo]
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit d005400262ddaf1ca1666bbcd1acf42fe81d57ce)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:07 +05:30
Oliver Neukum
dce17a7cfb net: usb: usbnet: fix name regression
[ Upstream commit 8a7d12d674ac6f2147c18f36d1e15f1a48060edf ]

The fix for MAC addresses broke detection of the naming convention
because it gave network devices no random MAC before bind()
was called. This means that the check for the local assignment bit
was always negative as the address was zeroed from allocation,
instead of from overwriting the MAC with a unique hardware address.

The correct check for whether bind() has altered the MAC is
done with is_zero_ether_addr

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-by: Greg Thelen <gthelen@google.com>
Diagnosed-by: John Sperbeck <jsperbeck@google.com>
Fixes: bab8eb0dd4cb9 ("usbnet: modern method to get random MAC")
Link: https://patch.msgid.link/20241017071849.389636-1-oneukum@suse.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8f83f28d93d380fa4083f6a80fd7793f650e5278)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:44:03 +05:30
Wang Hai
d2068c660d be2net: fix potential memory leak in be_xmit()
[ Upstream commit e4dd8bfe0f6a23acd305f9b892c00899089bd621 ]

The be_xmit() returns NETDEV_TX_OK without freeing skb
in case of be_xmit_enqueue() fails, add dev_kfree_skb_any() to fix it.

Fixes: 760c295e0e ("be2net: Support for OS2BMC.")
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Message-ID: <20241015144802.12150-1-wanghai38@huawei.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 941026023c256939943a47d1c66671526befbb26)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:42 +05:30
Wang Hai
f5631eb152 net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
[ Upstream commit 2cb3f56e827abb22c4168ad0c1bbbf401bb2f3b8 ]

The sun3_82586_send_packet() returns NETDEV_TX_OK without freeing skb
in case of skb->len being too long, add dev_kfree_skb() to fix it.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Message-ID: <20241015144148.7918-1-wanghai38@huawei.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 137010d26dc5cd47cd62fef77cbe952d31951b7a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:41 +05:30
Dave Kleikamp
27237be1cf jfs: Fix sanity check in dbMount
[ Upstream commit 67373ca8404fe57eb1bb4b57f314cff77ce54932 ]

MAXAG is a legitimate value for bmp->db_numag

Fixes: e63866a47556 ("jfs: fix out-of-bounds in dbNextAG() and diAlloc()")

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ea462ee11dbc4eb779146313d3abf5e5187775e1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:40 +05:30
Mark Rutland
bdc13a5966 arm64: probes: Fix uprobes for big-endian kernels
[ Upstream commit 13f8f1e05f1dc36dbba6cba0ae03354c0dafcde7 ]

The arm64 uprobes code is broken for big-endian kernels as it doesn't
convert the in-memory instruction encoding (which is always
little-endian) into the kernel's native endianness before analyzing and
simulating instructions. This may result in a few distinct problems:

* The kernel may may erroneously reject probing an instruction which can
  safely be probed.

* The kernel may erroneously erroneously permit stepping an
  instruction out-of-line when that instruction cannot be stepped
  out-of-line safely.

* The kernel may erroneously simulate instruction incorrectly dur to
  interpretting the byte-swapped encoding.

The endianness mismatch isn't caught by the compiler or sparse because:

* The arch_uprobe::{insn,ixol} fields are encoded as arrays of u8, so
  the compiler and sparse have no idea these contain a little-endian
  32-bit value. The core uprobes code populates these with a memcpy()
  which similarly does not handle endianness.

* While the uprobe_opcode_t type is an alias for __le32, both
  arch_uprobe_analyze_insn() and arch_uprobe_skip_sstep() cast from u8[]
  to the similarly-named probe_opcode_t, which is an alias for u32.
  Hence there is no endianness conversion warning.

Fix this by changing the arch_uprobe::{insn,ixol} fields to __le32 and
adding the appropriate __le32_to_cpu() conversions prior to consuming
the instruction encoding. The core uprobes copies these fields as opaque
ranges of bytes, and so is unaffected by this change.

At the same time, remove MAX_UINSN_BYTES and consistently use
AARCH64_INSN_SIZE for clarity.

Tested with the following:

| #include <stdio.h>
| #include <stdbool.h>
|
| #define noinline __attribute__((noinline))
|
| static noinline void *adrp_self(void)
| {
|         void *addr;
|
|         asm volatile(
|         "       adrp    %x0, adrp_self\n"
|         "       add     %x0, %x0, :lo12:adrp_self\n"
|         : "=r" (addr));
| }
|
|
| int main(int argc, char *argv)
| {
|         void *ptr = adrp_self();
|         bool equal = (ptr == adrp_self);
|
|         printf("adrp_self   => %p\n"
|                "adrp_self() => %p\n"
|                "%s\n",
|                adrp_self, ptr, equal ? "EQUAL" : "NOT EQUAL");
|
|         return 0;
| }

.... where the adrp_self() function was compiled to:

| 00000000004007e0 <adrp_self>:
|   4007e0:       90000000        adrp    x0, 400000 <__ehdr_start>
|   4007e4:       911f8000        add     x0, x0, #0x7e0
|   4007e8:       d65f03c0        ret

Before this patch, the ADRP is not recognized, and is assumed to be
steppable, resulting in corruption of the result:

| # ./adrp-self
| adrp_self   => 0x4007e0
| adrp_self() => 0x4007e0
| EQUAL
| # echo 'p /root/adrp-self:0x007e0' > /sys/kernel/tracing/uprobe_events
| # echo 1 > /sys/kernel/tracing/events/uprobes/enable
| # ./adrp-self
| adrp_self   => 0x4007e0
| adrp_self() => 0xffffffffff7e0
| NOT EQUAL

After this patch, the ADRP is correctly recognized and simulated:

| # ./adrp-self
| adrp_self   => 0x4007e0
| adrp_self() => 0x4007e0
| EQUAL
| #
| # echo 'p /root/adrp-self:0x007e0' > /sys/kernel/tracing/uprobe_events
| # echo 1 > /sys/kernel/tracing/events/uprobes/enable
| # ./adrp-self
| adrp_self   => 0x4007e0
| adrp_self() => 0x4007e0
| EQUAL

Fixes: 9842ceae9f ("arm64: Add uprobe support")
Cc: stable@vger.kernel.org
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241008155851.801546-4-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b6a638cb600e13f94b5464724eaa6ab7f3349ca2)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:40 +05:30
junhua huang
6a3cf06857 arm64:uprobe fix the uprobe SWBP_INSN in big-endian
[ Upstream commit 60f07e22a73d318cddaafa5ef41a10476807cc07 ]

We use uprobe in aarch64_be, which we found the tracee task would exit
due to SIGILL when we enable the uprobe trace.
We can see the replace inst from uprobe is not correct in aarch big-endian.
As in Armv8-A, instruction fetches are always treated as little-endian,
we should treat the UPROBE_SWBP_INSN as little-endian。

The test case is as following。
bash-4.4# ./mqueue_test_aarchbe 1 1 2 1 10 > /dev/null &
bash-4.4# cd /sys/kernel/debug/tracing/
bash-4.4# echo 'p:test /mqueue_test_aarchbe:0xc30 %x0 %x1' > uprobe_events
bash-4.4# echo 1 > events/uprobes/enable
bash-4.4#
bash-4.4# ps
  PID TTY          TIME CMD
  140 ?        00:00:01 bash
  237 ?        00:00:00 ps
[1]+  Illegal instruction     ./mqueue_test_aarchbe 1 1 2 1 100 > /dev/null

which we debug use gdb as following:

bash-4.4# gdb attach 155
(gdb) disassemble send
Dump of assembler code for function send:
   0x0000000000400c30 <+0>:     .inst   0xa00020d4 ; undefined
   0x0000000000400c34 <+4>:     mov     x29, sp
   0x0000000000400c38 <+8>:     str     w0, [sp, #28]
   0x0000000000400c3c <+12>:    strb    w1, [sp, #27]
   0x0000000000400c40 <+16>:    str     xzr, [sp, #40]
   0x0000000000400c44 <+20>:    str     xzr, [sp, #48]
   0x0000000000400c48 <+24>:    add     x0, sp, #0x1b
   0x0000000000400c4c <+28>:    mov     w3, #0x0                 // #0
   0x0000000000400c50 <+32>:    mov     x2, #0x1                 // #1
   0x0000000000400c54 <+36>:    mov     x1, x0
   0x0000000000400c58 <+40>:    ldr     w0, [sp, #28]
   0x0000000000400c5c <+44>:    bl      0x405e10 <mq_send>
   0x0000000000400c60 <+48>:    str     w0, [sp, #60]
   0x0000000000400c64 <+52>:    ldr     w0, [sp, #60]
   0x0000000000400c68 <+56>:    ldp     x29, x30, [sp], #64
   0x0000000000400c6c <+60>:    ret
End of assembler dump.
(gdb) info b
No breakpoints or watchpoints.
(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0x0000000000400c30 in send ()
(gdb) x/10x 0x400c30
0x400c30 <send>:    0xd42000a0   0xfd030091      0xe01f00b9      0xe16f0039
0x400c40 <send+16>: 0xff1700f9   0xff1b00f9      0xe06f0091      0x03008052
0x400c50 <send+32>: 0x220080d2   0xe10300aa
(gdb) disassemble 0x400c30
Dump of assembler code for function send:
=> 0x0000000000400c30 <+0>:     .inst   0xa00020d4 ; undefined
   0x0000000000400c34 <+4>:     mov     x29, sp
   0x0000000000400c38 <+8>:     str     w0, [sp, #28]
   0x0000000000400c3c <+12>:    strb    w1, [sp, #27]
   0x0000000000400c40 <+16>:    str     xzr, [sp, #40]

Signed-off-by: junhua huang <huang.junhua@zte.com.cn>
Link: https://lore.kernel.org/r/202212021511106844809@zte.com.cn
Signed-off-by: Will Deacon <will@kernel.org>
Stable-dep-of: 13f8f1e05f1d ("arm64: probes: Fix uprobes for big-endian kernels")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8fd414d25465bb666c71b5490fa939411e49228b)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:39 +05:30
Ye Bin
bcd1432f2d Bluetooth: bnep: fix wild-memory-access in proto_unregister
[ Upstream commit 64a90991ba8d4e32e3173ddd83d0b24167a5668c ]

There's issue as follows:
  KASAN: maybe wild-memory-access in range [0xdead...108-0xdead...10f]
  CPU: 3 UID: 0 PID: 2805 Comm: rmmod Tainted: G        W
  RIP: 0010:proto_unregister+0xee/0x400
  Call Trace:
   <TASK>
   __do_sys_delete_module+0x318/0x580
   do_syscall_64+0xc1/0x1d0
   entry_SYSCALL_64_after_hwframe+0x77/0x7f

As bnep_init() ignore bnep_sock_init()'s return value, and bnep_sock_init()
will cleanup all resource. Then when remove bnep module will call
bnep_sock_cleanup() to cleanup sock's resource.
To solve above issue just return bnep_sock_init()'s return value in
bnep_exit().

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e232728242c4e98fb30e4c6bedb6ba8b482b6301)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:38 +05:30
Wang Hai
1a7e5c75ee net: systemport: fix potential memory leak in bcm_sysport_xmit()
[ Upstream commit c401ed1c709948e57945485088413e1bb5e94bd1 ]

The bcm_sysport_xmit() returns NETDEV_TX_OK without freeing skb
in case of dma_map_single() fails, add dev_kfree_skb() to fix it.

Fixes: 80105befdb ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Link: https://patch.msgid.link/20241014145115.44977-1-wanghai38@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8e81ce7d0166a2249deb6d5e42f28a8b8c9ea72f)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:37 +05:30
Wang Hai
24c460e74f net: ethernet: aeroflex: fix potential memory leak in greth_start_xmit_gbit()
[ Upstream commit cf57b5d7a2aad456719152ecd12007fe031628a3 ]

The greth_start_xmit_gbit() returns NETDEV_TX_OK without freeing skb
in case of skb->len being too long, add dev_kfree_skb() to fix it.

Fixes: d4c41139df ("net: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver")
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Reviewed-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Link: https://patch.msgid.link/20241012110434.49265-1-wanghai38@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 7517c13ae14dac758e4ec0d881e463a8315bbc7d)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:36 +05:30
Kalesh AP
fc99da6ca0 RDMA/bnxt_re: Return more meaningful error
[ Upstream commit 98647df0178df215b8239c5c365537283b2852a6 ]

When the HWRM command fails, driver currently returns -EFAULT(Bad
address). This does not look correct.

Modified to return -EIO(I/O error).

Fixes: cc1ec769b8 ("RDMA/bnxt_re: Fixing the Control path command and response handling")
Fixes: 65288a22ddd8 ("RDMA/bnxt_re: use shadow qd while posting non blocking rcfw command")
Link: https://patch.msgid.link/r/1728373302-19530-5-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8fb8f613a904d3ccf61fa824a95f2fa2c3b8f191)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:36 +05:30
Anumula Murali Mohan Reddy
65d4dff66e RDMA/cxgb4: Fix RDMA_CM_EVENT_UNREACHABLE error for iWARP
[ Upstream commit c659b405b82ead335bee6eb33f9691bf718e21e8 ]

ip_dev_find() always returns real net_device address, whether traffic is
running on a vlan or real device, if traffic is over vlan, filling
endpoint struture with real ndev and an attempt to send a connect request
will results in RDMA_CM_EVENT_UNREACHABLE error.  This patch fixes the
issue by using vlan_dev_real_dev().

Fixes: 830662f6f0 ("RDMA/cxgb4: Add support for active and passive open connection with IPv6 address")
Link: https://patch.msgid.link/r/20241007132311.70593-1-anumula@chelsio.com
Signed-off-by: Anumula Murali Mohan Reddy <anumula@chelsio.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 361576c9d34bd16b089864545073db383e372ba8)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:35 +05:30
Saravanan Vajravel
838faa9556 RDMA/bnxt_re: Fix incorrect AVID type in WQE structure
[ Upstream commit 9ab20f76ae9fad55ebaf36bdff04aea1c2552374 ]

Driver uses internal data structure to construct WQE frame.
It used avid type as u16 which can accommodate up to 64K AVs.
When outstanding AVID crosses 64K, driver truncates AVID and
hence it uses incorrect AVID to WR. This leads to WR failure
due to invalid AV ID and QP is moved to error state with reason
set to 19 (INVALID AVID). When RDMA CM path is used, this issue
hits QP1 and it is moved to error state

Fixes: 1ac5a40479 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Link: https://patch.msgid.link/r/1726715161-18941-3-git-send-email-selvin.xavier@broadcom.com
Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com>
Reviewed-by: Chandramohan Akula <chandramohan.akula@broadcom.com>
Signed-off-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 3e98839514a883188710c5467cf3b62a36c7885a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:34 +05:30
Ryusuke Konishi
b6de19cd30 nilfs2: propagate directory read errors from nilfs_find_entry()
commit 08cfa12adf888db98879dbd735bc741360a34168 upstream.

Syzbot reported that a task hang occurs in vcs_open() during a fuzzing
test for nilfs2.

The root cause of this problem is that in nilfs_find_entry(), which
searches for directory entries, ignores errors when loading a directory
page/folio via nilfs_get_folio() fails.

If the filesystem images is corrupted, and the i_size of the directory
inode is large, and the directory page/folio is successfully read but
fails the sanity check, for example when it is zero-filled,
nilfs_check_folio() may continue to spit out error messages in bursts.

Fix this issue by propagating the error to the callers when loading a
page/folio fails in nilfs_find_entry().

The current interface of nilfs_find_entry() and its callers is outdated
and cannot propagate error codes such as -EIO and -ENOMEM returned via
nilfs_find_entry(), so fix it together.

Link: https://lkml.kernel.org/r/20241004033640.6841-1-konishi.ryusuke@gmail.com
Fixes: 2ba466d74e ("nilfs2: directory entry operations")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Reported-by: Lizhi Xu <lizhi.xu@windriver.com>
Closes: https://lkml.kernel.org/r/20240927013806.3577931-1-lizhi.xu@windriver.com
Reported-by: syzbot+8a192e8d090fa9a31135@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=8a192e8d090fa9a31135
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit bb857ae1efd3138c653239ed1e7aef14e1242c81)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:43:31 +05:30
Zhang Rui
e1a1b8cddf x86/apic: Always explicitly disarm TSC-deadline timer
commit ffd95846c6ec6cf1f93da411ea10d504036cab42 upstream.

New processors have become pickier about the local APIC timer state
before entering low power modes. These low power modes are used (for
example) when you close your laptop lid and suspend. If you put your
laptop in a bag and it is not in this low power mode, it is likely
to get quite toasty while it quickly sucks the battery dry.

The problem boils down to some CPUs' inability to power down until the
CPU recognizes that the local APIC timer is shut down. The current
kernel code works in one-shot and periodic modes but does not work for
deadline mode. Deadline mode has been the supported and preferred mode
on Intel CPUs for over a decade and uses an MSR to drive the timer
instead of an APIC register.

Disable the TSC Deadline timer in lapic_timer_shutdown() by writing to
MSR_IA32_TSC_DEADLINE when in TSC-deadline mode. Also avoid writing
to the initial-count register (APIC_TMICT) which is ignored in
TSC-deadline mode.

Note: The APIC_LVTT|=APIC_LVT_MASKED operation should theoretically be
enough to tell the hardware that the timer will not fire in any of the
timer modes. But mitigating AMD erratum 411[1] also requires clearing
out APIC_TMICT. Solely setting APIC_LVT_MASKED is also ineffective in
practice on Intel Lunar Lake systems, which is the motivation for this
change.

1. 411 Processor May Exit Message-Triggered C1E State Without an Interrupt if Local APIC Timer Reaches Zero - https://www.amd.com/content/dam/amd/en/documents/archived-tech-docs/revision-guides/41322_10h_Rev_Gd.pdf

Fixes: 279f146143 ("x86: apic: Use tsc deadline for oneshot when available")
Suggested-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tested-by: Todd Brandt <todd.e.brandt@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/20241015061522.25288-1-rui.zhang%40intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e75562346cac53c7e933373a004b1829e861123a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:42:49 +05:30
Takashi Iwai
29cf6e5286 parport: Proper fix for array out-of-bounds access
commit 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9 upstream.

The recent fix for array out-of-bounds accesses replaced sprintf()
calls blindly with snprintf().  However, since snprintf() returns the
would-be-printed size, not the actually output size, the length
calculation can still go over the given limit.

Use scnprintf() instead of snprintf(), which returns the actually
output letters, for addressing the potential out-of-bounds access
properly.

Fixes: ab11dac93d2d ("dev/parport: fix the array out-of-bounds risk")
Cc: stable@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240920103318.19271-1-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 8aadef73ba3b325704ed5cfc4696a25c350182cf)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:42:45 +05:30
Daniele Palmas
df950096cb USB: serial: option: add Telit FN920C04 MBIM compositions
commit 6d951576ee16430822a8dee1e5c54d160e1de87d upstream.

Add the following Telit FN920C04 compositions:

0x10a2: MBIM + tty (AT/NMEA) + tty (AT) + tty (diag)
T:  Bus=03 Lev=01 Prnt=03 Port=06 Cnt=01 Dev#= 17 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1bc7 ProdID=10a2 Rev=05.15
S:  Manufacturer=Telit Cinterion
S:  Product=FN920
S:  SerialNumber=92c4c4d8
C:  #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=32ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=60 Driver=option
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=84(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=86(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:  If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

0x10a7: MBIM + tty (AT) + tty (AT) + tty (diag)
T:  Bus=03 Lev=01 Prnt=03 Port=06 Cnt=01 Dev#= 18 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1bc7 ProdID=10a7 Rev=05.15
S:  Manufacturer=Telit Cinterion
S:  Product=FN920
S:  SerialNumber=92c4c4d8
C:  #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=32ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=84(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=86(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:  If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

0x10aa: MBIM + tty (AT) + tty (diag) + DPL (data packet logging) + adb
T:  Bus=03 Lev=01 Prnt=03 Port=06 Cnt=01 Dev#= 15 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1bc7 ProdID=10aa Rev=05.15
S:  Manufacturer=Telit Cinterion
S:  Product=FN920
S:  SerialNumber=92c4c4d8
C:  #Ifs= 6 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=32ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=84(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:  If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 4 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=80 Driver=(none)
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 20cc2b146a8748902a5e4f5aa70457f48174b5c4)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:42:15 +05:30
Benjamin B. Frost
3a18460c70 USB: serial: option: add support for Quectel EG916Q-GL
commit 540eff5d7faf0c9330ec762da49df453263f7676 upstream.

Add Quectel EM916Q-GL with product ID 0x6007

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=2c7c ProdID=6007 Rev= 2.00
S:  Manufacturer=Quectel
S:  Product=EG916Q-GL
C:* #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=200mA
A:  FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=82(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=84(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=86(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=88(I) Atr=03(Int.) MxPS=  32 Ivl=32ms
I:  If#= 5 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

MI_00 Quectel USB Diag Port
MI_01 Quectel USB NMEA Port
MI_02 Quectel USB AT Port
MI_03 Quectel USB Modem Port
MI_04 Quectel USB Net Port

Signed-off-by: Benjamin B. Frost <benjamin@geanix.com>
Reviewed-by: Lars Melin <larsm17@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit cdb2c8b31ea3ba692c9ab213369b095e794c8f39)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:41:19 +05:30
Mathias Nyman
8538ef4df4 xhci: Fix incorrect stream context type macro
commit 6599b6a6fa8060145046d0744456b6abdb3122a7 upstream.

The stream contex type (SCT) bitfield is used both in the stream context
data structure,  and in the 'Set TR Dequeue pointer' command TRB.
In both cases it uses bits 3:1

The SCT_FOR_TRB(p) macro used to set the stream context type (SCT) field
for the 'Set TR Dequeue pointer' command TRB incorrectly shifts the value
1 bit left before masking the three bits.

Fix this by first masking and rshifting, just like the similar
SCT_FOR_CTX(p) macro does

This issue has not been visibile as the lost bit 3 is only used with
secondary stream arrays (SSA). Xhci driver currently only supports using
a primary stream array with Linear stream addressing.

Fixes: 95241dbdf8 ("xhci: Set SCT field for Set TR dequeue on streams")
Cc: stable@vger.kernel.org
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20241016140000.783905-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e76b961d32fd94c7af80bc0ea35e345f1f838c59)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:56 +05:30
Luiz Augusto von Dentz
675badf9e1 Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001
commit 2c1dda2acc4192d826e84008d963b528e24d12bc upstream.

Fake CSR controllers don't seem to handle short-transfer properly which
cause command to time out:

kernel: usb 1-1: new full-speed USB device number 19 using xhci_hcd
kernel: usb 1-1: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=88.91
kernel: usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
kernel: usb 1-1: Product: BT DONGLE10
...
Bluetooth: hci1: Opcode 0x1004 failed: -110
kernel: Bluetooth: hci1: command 0x1004 tx timeout

According to USB Spec 2.0 Section 5.7.3 Interrupt Transfer Packet Size
Constraints a interrupt transfer is considered complete when the size is 0
(ZPL) or < wMaxPacketSize:

 'When an interrupt transfer involves more data than can fit in one
 data payload of the currently established maximum size, all data
 payloads are required to be maximum-sized except for the last data
 payload, which will contain the remaining data. An interrupt transfer
 is complete when the endpoint does one of the following:

 • Has transferred exactly the amount of data expected
 • Transfers a packet with a payload size less than wMaxPacketSize or
 transfers a zero-length packet'

Link: https://bugzilla.kernel.org/show_bug.cgi?id=219365
Fixes: 7b05933340f4 ("Bluetooth: btusb: Fix not handling ZPL/short-transfer")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e32ae4a12628bb2c1046715f47ea7d57fc2b9cbf)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:54 +05:30
Emil Gedenryd
dd8049e770 iio: light: opt3001: add missing full-scale range value
commit 530688e39c644543b71bdd9cb45fdfb458a28eaa upstream.

The opt3001 driver uses predetermined full-scale range values to
determine what exponent to use for event trigger threshold values.
The problem is that one of the values specified in the datasheet is
missing from the implementation. This causes larger values to be
scaled down to an incorrect exponent, effectively reducing the
maximum settable threshold value by a factor of 2.

Add missing full-scale range array value.

Fixes: 94a9b7b180 ("iio: light: add support for TI's opt3001 light sensor")
Signed-off-by: Emil Gedenryd <emil.gedenryd@axis.com>
Cc: <Stable@vger.kernel.org>
Link: https://patch.msgid.link/20240913-add_opt3002-v2-1-69e04f840360@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 4401780146a19d65df6f49d5273855f33c9c0a35)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:53 +05:30
Christophe JAILLET
bf9a0b9df6 iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()
commit 3a29b84cf7fbf912a6ab1b9c886746f02b74ea25 upstream.

If hid_sensor_set_report_latency() fails, the error code should be returned
instead of a value likely to be interpreted as 'success'.

Fixes: 138bc7969c ("iio: hid-sensor-hub: Implement batch mode")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/c50640665f091a04086e5092cf50f73f2055107a.1727980825.git.christophe.jaillet@wanadoo.fr
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 485744b5bd1f15a3ce50f70af52a9d68761c57dd)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:52 +05:30
Javier Carrasco
46e8f48c88 iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig
commit 27b6aa68a68105086aef9f0cb541cd688e5edea8 upstream.

This driver makes use of regmap_mmio, but does not select the required
module.
Add the missing 'select REGMAP_MMIO'.

Fixes: 4d4b30526e ("iio: dac: add support for stm32 DAC")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241003-ad2s1210-select-v1-8-4019453f8c33@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 842911035eb20561218a0742f3e54e7978799c6a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:52 +05:30
Nikolay Kuratov
2415a47bf2 drm/vmwgfx: Handle surface check failure correctly
commit 26498b8d54373d31a621d7dec95c4bd842563b3b upstream.

Currently if condition (!bo and !vmw_kms_srf_ok()) was met
we go to err_out with ret == 0.
err_out dereferences vfb if ret == 0, but in our case vfb is still NULL.

Fix this by assigning sensible error to ret.

Found by Linux Verification Center (linuxtesting.org) with SVACE

Signed-off-by: Nikolay Kuratov <kniv@yandex-team.ru>
Cc: stable@vger.kernel.org
Fixes: 810b3e1683 ("drm/vmwgfx: Support topology greater than texture size")
Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241002122429.1981822-1-kniv@yandex-team.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit f924af529417292c74c043c627289f56ad95a002)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:51 +05:30
Jim Mattson
b64c468b7d x86/cpufeatures: Define X86_FEATURE_AMD_IBPB_RET
commit ff898623af2ed564300752bba83a680a1e4fec8d upstream.

AMD's initial implementation of IBPB did not clear the return address
predictor. Beginning with Zen4, AMD's IBPB *does* clear the return address
predictor. This behavior is enumerated by CPUID.80000008H:EBX.IBPB_RET[30].

Define X86_FEATURE_AMD_IBPB_RET for use in KVM_GET_SUPPORTED_CPUID,
when determining cross-vendor capabilities.

Suggested-by: Venkatesh Srinivas <venkateshs@chromium.org>
Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 9e460c6c7c8b72c4c23853627789c812fd2c3cf5)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:46 +05:30
Michael Mueller
9fe3d52739 KVM: s390: Change virtual to physical address access in diag 0x258 handler
commit cad4b3d4ab1f062708fff33f44d246853f51e966 upstream.

The parameters for the diag 0x258 are real addresses, not virtual, but
KVM was using them as virtual addresses. This only happened to work, since
the Linux kernel as a guest used to have a 1:1 mapping for physical vs
virtual addresses.

Fix KVM so that it correctly uses the addresses as real addresses.

Cc: stable@vger.kernel.org
Fixes: 8ae04b8f50 ("KVM: s390: Guest's memory access functions get access registers")
Suggested-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Michael Mueller <mimu@linux.ibm.com>
Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/20240917151904.74314-3-nrb@linux.ibm.com
Acked-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit a9dee098c6931dfd75abe015b04c1c66fa1507f6)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:12 +05:30
Thomas Weißschuh
fcedc5de59 s390/sclp_vt220: Convert newlines to CRLF instead of LFCR
commit dee3df68ab4b00fff6bdf9fc39541729af37307c upstream.

According to the VT220 specification the possible character combinations
sent on RETURN are only CR or CRLF [0].

	The Return key sends either a CR character (0/13) or a CR
	character (0/13) and an LF character (0/10), depending on the
	set/reset state of line feed/new line mode (LNM).

The sclp/vt220 driver however uses LFCR. This can confuse tools, for
example the kunit runner.

Link: https://vt100.net/docs/vt220-rm/chapter3.html#S3.2
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Link: https://lore.kernel.org/r/20241014-s390-kunit-v1-2-941defa765a6@linutronix.de
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit ce6924fdafb09a7231ecfcea119b4e4c83023c97)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:11 +05:30
Breno Leitao
b8cbe57566 KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin()
commit 49f683b41f28918df3e51ddc0d928cb2e934ccdb upstream.

Use {READ,WRITE}_ONCE() to access kvm->last_boosted_vcpu to ensure the
loads and stores are atomic.  In the extremely unlikely scenario the
compiler tears the stores, it's theoretically possible for KVM to attempt
to get a vCPU using an out-of-bounds index, e.g. if the write is split
into multiple 8-bit stores, and is paired with a 32-bit load on a VM with
257 vCPUs:

  CPU0                              CPU1
  last_boosted_vcpu = 0xff;

                                    (last_boosted_vcpu = 0x100)
                                    last_boosted_vcpu[15:8] = 0x01;
  i = (last_boosted_vcpu = 0x1ff)
                                    last_boosted_vcpu[7:0] = 0x00;

  vcpu = kvm->vcpu_array[0x1ff];

As detected by KCSAN:

  BUG: KCSAN: data-race in kvm_vcpu_on_spin [kvm] / kvm_vcpu_on_spin [kvm]

  write to 0xffffc90025a92344 of 4 bytes by task 4340 on cpu 16:
  kvm_vcpu_on_spin (arch/x86/kvm/../../../virt/kvm/kvm_main.c:4112) kvm
  handle_pause (arch/x86/kvm/vmx/vmx.c:5929) kvm_intel
  vmx_handle_exit (arch/x86/kvm/vmx/vmx.c:?
		 arch/x86/kvm/vmx/vmx.c:6606) kvm_intel
  vcpu_run (arch/x86/kvm/x86.c:11107 arch/x86/kvm/x86.c:11211) kvm
  kvm_arch_vcpu_ioctl_run (arch/x86/kvm/x86.c:?) kvm
  kvm_vcpu_ioctl (arch/x86/kvm/../../../virt/kvm/kvm_main.c:?) kvm
  __se_sys_ioctl (fs/ioctl.c:52 fs/ioctl.c:904 fs/ioctl.c:890)
  __x64_sys_ioctl (fs/ioctl.c:890)
  x64_sys_call (arch/x86/entry/syscall_64.c:33)
  do_syscall_64 (arch/x86/entry/common.c:?)
  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)

  read to 0xffffc90025a92344 of 4 bytes by task 4342 on cpu 4:
  kvm_vcpu_on_spin (arch/x86/kvm/../../../virt/kvm/kvm_main.c:4069) kvm
  handle_pause (arch/x86/kvm/vmx/vmx.c:5929) kvm_intel
  vmx_handle_exit (arch/x86/kvm/vmx/vmx.c:?
			arch/x86/kvm/vmx/vmx.c:6606) kvm_intel
  vcpu_run (arch/x86/kvm/x86.c:11107 arch/x86/kvm/x86.c:11211) kvm
  kvm_arch_vcpu_ioctl_run (arch/x86/kvm/x86.c:?) kvm
  kvm_vcpu_ioctl (arch/x86/kvm/../../../virt/kvm/kvm_main.c:?) kvm
  __se_sys_ioctl (fs/ioctl.c:52 fs/ioctl.c:904 fs/ioctl.c:890)
  __x64_sys_ioctl (fs/ioctl.c:890)
  x64_sys_call (arch/x86/entry/syscall_64.c:33)
  do_syscall_64 (arch/x86/entry/common.c:?)
  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)

  value changed: 0x00000012 -> 0x00000000

Fixes: 217ece6129 ("KVM: use yield_to instead of sleep in kvm_vcpu_on_spin")
Cc: stable@vger.kernel.org
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20240510092353.2261824-1-leitao@debian.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Saeed Mirzamohammadi <saeed.mirzamohammadi@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 11a772d5376aa6d3e2e69b5b5c585f79b60c0e17)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:09 +05:30
OGAWA Hirofumi
be1ff0420a fat: fix uninitialized variable
commit 963a7f4d3b90ee195b895ca06b95757fcba02d1a upstream.

syszbot produced this with a corrupted fs image.  In theory, however an IO
error would trigger this also.

This affects just an error report, so should not be a serious error.

Link: https://lkml.kernel.org/r/87r08wjsnh.fsf@mail.parknet.co.jp
Link: https://lkml.kernel.org/r/66ff2c95.050a0220.49194.03e9.GAE@google.com
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Reported-by: syzbot+ef0d7bc412553291aa86@syzkaller.appspotmail.com
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 09b2d2a2267187336b446f4c08e6204c30688bcf)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:09 +05:30
WangYuli
dcb35b343d PCI: Add function 0 DMA alias quirk for Glenfly Arise chip
commit 9246b487ab3c3b5993aae7552b7a4c541cc14a49 upstream.

Add DMA support for audio function of Glenfly Arise chip, which uses
Requester ID of function 0.

Link: https://lore.kernel.org/r/CA2BBD087345B6D1+20240823095708.3237375-1-wangyuli@uniontech.com
Signed-off-by: SiyuLi <siyuli@glenfly.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
[bhelgaas: lower-case hex to match local code, drop unused Device IDs]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 029efe3b57d981b0c239e50f3513838cae121578)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:08 +05:30
Mark Rutland
3e02c3cad4 arm64: probes: Fix simulate_ldr*_literal()
commit 50f813e57601c22b6f26ced3193b9b94d70a2640 upstream.

The simulate_ldr_literal() code always loads a 64-bit quantity, and when
simulating a 32-bit load into a 'W' register, it discards the most
significant 32 bits. For big-endian kernels this means that the relevant
bits are discarded, and the value returned is the the subsequent 32 bits
in memory (i.e. the value at addr + 4).

Additionally, simulate_ldr_literal() and simulate_ldrsw_literal() use a
plain C load, which the compiler may tear or elide (e.g. if the target
is the zero register). Today this doesn't happen to matter, but it may
matter in future if trampoline code uses a LDR (literal) or LDRSW
(literal).

Update simulate_ldr_literal() and simulate_ldrsw_literal() to use an
appropriately-sized READ_ONCE() to perform the access, which avoids
these problems.

Fixes: 39a67d49ba ("arm64: kprobes instruction simulation support")
Cc: stable@vger.kernel.org
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241008155851.801546-3-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 19f4d3a94c77295ee3a7bbac91e466955f458671)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:07 +05:30
Mark Rutland
747159a8ea arm64: probes: Remove broken LDR (literal) uprobe support
commit acc450aa07099d071b18174c22a1119c57da8227 upstream.

The simulate_ldr_literal() and simulate_ldrsw_literal() functions are
unsafe to use for uprobes. Both functions were originally written for
use with kprobes, and access memory with plain C accesses. When uprobes
was added, these were reused unmodified even though they cannot safely
access user memory.

There are three key problems:

1) The plain C accesses do not have corresponding extable entries, and
   thus if they encounter a fault the kernel will treat these as
   unintentional accesses to user memory, resulting in a BUG() which
   will kill the kernel thread, and likely lead to further issues (e.g.
   lockup or panic()).

2) The plain C accesses are subject to HW PAN and SW PAN, and so when
   either is in use, any attempt to simulate an access to user memory
   will fault. Thus neither simulate_ldr_literal() nor
   simulate_ldrsw_literal() can do anything useful when simulating a
   user instruction on any system with HW PAN or SW PAN.

3) The plain C accesses are privileged, as they run in kernel context,
   and in practice can access a small range of kernel virtual addresses.
   The instructions they simulate have a range of +/-1MiB, and since the
   simulated instructions must itself be a user instructions in the
   TTBR0 address range, these can address the final 1MiB of the TTBR1
   acddress range by wrapping downwards from an address in the first
   1MiB of the TTBR0 address range.

   In contemporary kernels the last 8MiB of TTBR1 address range is
   reserved, and accesses to this will always fault, meaning this is no
   worse than (1).

   Historically, it was theoretically possible for the linear map or
   vmemmap to spill into the final 8MiB of the TTBR1 address range, but
   in practice this is extremely unlikely to occur as this would
   require either:

   * Having enough physical memory to fill the entire linear map all the
     way to the final 1MiB of the TTBR1 address range.

   * Getting unlucky with KASLR randomization of the linear map such
     that the populated region happens to overlap with the last 1MiB of
     the TTBR address range.

   ... and in either case if we were to spill into the final page there
   would be larger problems as the final page would alias with error
   pointers.

Practically speaking, (1) and (2) are the big issues. Given there have
been no reports of problems since the broken code was introduced, it
appears that no-one is relying on probing these instructions with
uprobes.

Avoid these issues by not allowing uprobes on LDR (literal) and LDRSW
(literal), limiting the use of simulate_ldr_literal() and
simulate_ldrsw_literal() to kprobes. Attempts to place uprobes on LDR
(literal) and LDRSW (literal) will be rejected as
arm_probe_decode_insn() will return INSN_REJECTED. In future we can
consider introducing working uprobes support for these instructions, but
this will require more significant work.

Fixes: 9842ceae9f ("arm64: Add uprobe support")
Cc: stable@vger.kernel.org
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241008155851.801546-2-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit cc86f2e9876c8b5300238cec6bf0bd8c842078ee)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:05 +05:30
Jinjie Ruan
79b9b71c90 posix-clock: Fix missing timespec64 check in pc_clock_settime()
commit d8794ac20a299b647ba9958f6d657051fc51a540 upstream.

As Andrew pointed out, it will make sense that the PTP core
checked timespec64 struct's tv_sec and tv_nsec range before calling
ptp->info->settime64().

As the man manual of clock_settime() said, if tp.tv_sec is negative or
tp.tv_nsec is outside the range [0..999,999,999], it should return EINVAL,
which include dynamic clocks which handles PTP clock, and the condition is
consistent with timespec64_valid(). As Thomas suggested, timespec64_valid()
only check the timespec is valid, but not ensure that the time is
in a valid range, so check it ahead using timespec64_valid_strict()
in pc_clock_settime() and return -EINVAL if not valid.

There are some drivers that use tp->tv_sec and tp->tv_nsec directly to
write registers without validity checks and assume that the higher layer
has checked it, which is dangerous and will benefit from this, such as
hclge_ptp_settime(), igb_ptp_settime_i210(), _rcar_gen4_ptp_settime(),
and some drivers can remove the checks of itself.

Cc: stable@vger.kernel.org
Fixes: 0606f422b4 ("posix clocks: Introduce dynamic clocks")
Acked-by: Richard Cochran <richardcochran@gmail.com>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20241009072302.1754567-2-ruanjinjie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 29f085345cde24566efb751f39e5d367c381c584)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:05 +05:30
Anastasia Kovaleva
36d36def55 net: Fix an unsafe loop on the list
commit 1dae9f1187189bc09ff6d25ca97ead711f7e26f9 upstream.

The kernel may crash when deleting a genetlink family if there are still
listeners for that family:

Oops: Kernel access of bad area, sig: 11 [#1]
  ...
  NIP [c000000000c080bc] netlink_update_socket_mc+0x3c/0xc0
  LR [c000000000c0f764] __netlink_clear_multicast_users+0x74/0xc0
  Call Trace:
__netlink_clear_multicast_users+0x74/0xc0
genl_unregister_family+0xd4/0x2d0

Change the unsafe loop on the list to a safe one, because inside the
loop there is an element removal from this list.

Fixes: b8273570f8 ("genetlink: fix netns vs. netlink table locking (2)")
Cc: stable@vger.kernel.org
Signed-off-by: Anastasia Kovaleva <a.kovaleva@yadro.com>
Reviewed-by: Dmitry Bogdanov <d.bogdanov@yadro.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20241003104431.12391-1-a.kovaleva@yadro.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 464801a0f6ccb52b21faa33bac6014fd74cc5e10)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:04 +05:30
Icenowy Zheng
c0d9f6bc66 usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip
commit a6555cb1cb69db479d0760e392c175ba32426842 upstream.

JieLi tends to use SCSI via USB Mass Storage to implement their own
proprietary commands instead of implementing another USB interface.
Enumerating it as a generic mass storage device will lead to a Hardware
Error sense key get reported.

Ignore this bogus device to prevent appearing a unusable sdX device
file.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Cc: stable <stable@kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20241001083407.8336-1-uwu@icenowy.me
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 7a8df891d679d6627d91e334a734578ca16518eb)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:40:02 +05:30
Jose Alberto Reguero
e090c7fa05 usb: xhci: Fix problem with xhci resume from suspend
commit d44238d8254a36249d576c96473269dbe500f5e4 upstream.

I have a ASUS PN51 S mini pc that has two xhci devices. One from AMD,
and other from ASMEDIA. The one from ASMEDIA have problems when resume
from suspend, and keep broken until unplug the  power cord. I use this
kernel parameter: xhci-hcd.quirks=128 and then it works ok. I make a
path to reset only the ASMEDIA xhci.

Signed-off-by: Jose Alberto Reguero <jose.alberto.reguero@gmail.com>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20240919184202.22249-1-jose.alberto.reguero@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 52e998173cfed7d6953b3185f2da174712ce4a8f)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:39:58 +05:30
Oliver Neukum
74ae75c272 Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"
commit 71c717cd8a2e180126932cc6851ff21c1d04d69a upstream.

This reverts commit 86b20af11e84c26ae3fde4dcc4f490948e3f8035.

This patch leads to passing 0 to simple_read_from_buffer()
as a fifth argument, turning the read method into a nop.
The change is fundamentally flawed, as it breaks the driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20241007094004.242122-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 6f8f23390160355a4a571230986d524fd3929c2a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:39:35 +05:30
Wade Wang
578d2b58f9 HID: plantronics: Workaround for an unexcepted opposite volume key
commit 87b696209007b7c4ef7bdfe39ea0253404a43770 upstream.

Some Plantronics headset as the below send an unexcept opposite
volume key's HID report for each volume key press after 200ms, like
unecepted Volume Up Key following Volume Down key pressed by user.
This patch adds a quirk to hid-plantronics for these devices, which
will ignore the second unexcepted opposite volume key if it happens
within 220ms from the last one that was handled.
    Plantronics EncorePro 500 Series  (047f:431e)
    Plantronics Blackwire_3325 Series (047f:430c)

The patch was tested on the mentioned model, it shouldn't affect
other models, however, this quirk might be needed for them too.
Auto-repeat (when a key is held pressed) is not affected per test
result.

Cc: stable@vger.kernel.org
Signed-off-by: Wade Wang <wade.wang@hp.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit b1ce11ce52359eefa7bc33be13e946a7154fd35f)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:39:32 +05:30
Oliver Neukum
ccb319092c CDC-NCM: avoid overflow in sanity checking
commit 8d2b1a1ec9f559d30b724877da4ce592edc41fdc upstream.

A broken device may give an extreme offset like 0xFFF0
and a reasonable length for a fragment. In the sanity
check as formulated now, this will create an integer
overflow, defeating the sanity check. Both offset
and offset + len need to be checked in such a manner
that no overflow can occur.
And those quantities should be unsigned.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Bruno VERNAY <bruno.vernay@se.com>
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit a612395c7631918e0e10ea48b9ce5ab4340f26a6)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:38:45 +05:30
Eric Dumazet
0568c1aa3f ppp: fix ppp_async_encode() illegal access
[ Upstream commit 40dddd4b8bd08a69471efd96107a4e1c73fabefc ]

syzbot reported an issue in ppp_async_encode() [1]

In this case, pppoe_sendmsg() is called with a zero size.
Then ppp_async_encode() is called with an empty skb.

BUG: KMSAN: uninit-value in ppp_async_encode drivers/net/ppp/ppp_async.c:545 [inline]
 BUG: KMSAN: uninit-value in ppp_async_push+0xb4f/0x2660 drivers/net/ppp/ppp_async.c:675
  ppp_async_encode drivers/net/ppp/ppp_async.c:545 [inline]
  ppp_async_push+0xb4f/0x2660 drivers/net/ppp/ppp_async.c:675
  ppp_async_send+0x130/0x1b0 drivers/net/ppp/ppp_async.c:634
  ppp_channel_bridge_input drivers/net/ppp/ppp_generic.c:2280 [inline]
  ppp_input+0x1f1/0xe60 drivers/net/ppp/ppp_generic.c:2304
  pppoe_rcv_core+0x1d3/0x720 drivers/net/ppp/pppoe.c:379
  sk_backlog_rcv+0x13b/0x420 include/net/sock.h:1113
  __release_sock+0x1da/0x330 net/core/sock.c:3072
  release_sock+0x6b/0x250 net/core/sock.c:3626
  pppoe_sendmsg+0x2b8/0xb90 drivers/net/ppp/pppoe.c:903
  sock_sendmsg_nosec net/socket.c:729 [inline]
  __sock_sendmsg+0x30f/0x380 net/socket.c:744
  ____sys_sendmsg+0x903/0xb60 net/socket.c:2602
  ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2656
  __sys_sendmmsg+0x3c1/0x960 net/socket.c:2742
  __do_sys_sendmmsg net/socket.c:2771 [inline]
  __se_sys_sendmmsg net/socket.c:2768 [inline]
  __x64_sys_sendmmsg+0xbc/0x120 net/socket.c:2768
  x64_sys_call+0xb6e/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:308
  do_syscall_x64 arch/x86/entry/common.c:52 [inline]
  do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was created at:
  slab_post_alloc_hook mm/slub.c:4092 [inline]
  slab_alloc_node mm/slub.c:4135 [inline]
  kmem_cache_alloc_node_noprof+0x6bf/0xb80 mm/slub.c:4187
  kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:587
  __alloc_skb+0x363/0x7b0 net/core/skbuff.c:678
  alloc_skb include/linux/skbuff.h:1322 [inline]
  sock_wmalloc+0xfe/0x1a0 net/core/sock.c:2732
  pppoe_sendmsg+0x3a7/0xb90 drivers/net/ppp/pppoe.c:867
  sock_sendmsg_nosec net/socket.c:729 [inline]
  __sock_sendmsg+0x30f/0x380 net/socket.c:744
  ____sys_sendmsg+0x903/0xb60 net/socket.c:2602
  ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2656
  __sys_sendmmsg+0x3c1/0x960 net/socket.c:2742
  __do_sys_sendmmsg net/socket.c:2771 [inline]
  __se_sys_sendmmsg net/socket.c:2768 [inline]
  __x64_sys_sendmmsg+0xbc/0x120 net/socket.c:2768
  x64_sys_call+0xb6e/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:308
  do_syscall_x64 arch/x86/entry/common.c:52 [inline]
  do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 1 UID: 0 PID: 5411 Comm: syz.1.14 Not tainted 6.12.0-rc1-syzkaller-00165-g360c1f1f24c6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Reported-by: syzbot+1d121645899e7692f92a@syzkaller.appspotmail.com
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241009185802.3763282-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4151ec65abd755133ebec687218fadd2d2631167)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:51 +05:30
Rosen Penev
e9a0a69857 net: ibm: emac: mal: fix wrong goto
[ Upstream commit 08c8acc9d8f3f70d62dd928571368d5018206490 ]

dcr_map is called in the previous if and therefore needs to be unmapped.

Fixes: 1ff0fcfcb1 ("ibm_newemac: Fix new MAL feature handling")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20241007235711.5714-1-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4bd7823cacb21e32f3750828148ed5d18d3bf007)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:50 +05:30
Mohamed Khalfella
0db3e6548a igb: Do not bring the device up after non-fatal error
[ Upstream commit 330a699ecbfc9c26ec92c6310686da1230b4e7eb ]

Commit 004d25060c78 ("igb: Fix igb_down hung on surprise removal")
changed igb_io_error_detected() to ignore non-fatal pcie errors in order
to avoid hung task that can happen when igb_down() is called multiple
times. This caused an issue when processing transient non-fatal errors.
igb_io_resume(), which is called after igb_io_error_detected(), assumes
that device is brought down by igb_io_error_detected() if the interface
is up. This resulted in panic with stacktrace below.

[ T3256] igb 0000:09:00.0 haeth0: igb: haeth0 NIC Link is Down
[  T292] pcieport 0000:00:1c.5: AER: Uncorrected (Non-Fatal) error received: 0000:09:00.0
[  T292] igb 0000:09:00.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
[  T292] igb 0000:09:00.0:   device [8086:1537] error status/mask=00004000/00000000
[  T292] igb 0000:09:00.0:    [14] CmpltTO [  200.105524,009][  T292] igb 0000:09:00.0: AER:   TLP Header: 00000000 00000000 00000000 00000000
[  T292] pcieport 0000:00:1c.5: AER: broadcast error_detected message
[  T292] igb 0000:09:00.0: Non-correctable non-fatal error reported.
[  T292] pcieport 0000:00:1c.5: AER: broadcast mmio_enabled message
[  T292] pcieport 0000:00:1c.5: AER: broadcast resume message
[  T292] ------------[ cut here ]------------
[  T292] kernel BUG at net/core/dev.c:6539!
[  T292] invalid opcode: 0000 [#1] PREEMPT SMP
[  T292] RIP: 0010:napi_enable+0x37/0x40
[  T292] Call Trace:
[  T292]  <TASK>
[  T292]  ? die+0x33/0x90
[  T292]  ? do_trap+0xdc/0x110
[  T292]  ? napi_enable+0x37/0x40
[  T292]  ? do_error_trap+0x70/0xb0
[  T292]  ? napi_enable+0x37/0x40
[  T292]  ? napi_enable+0x37/0x40
[  T292]  ? exc_invalid_op+0x4e/0x70
[  T292]  ? napi_enable+0x37/0x40
[  T292]  ? asm_exc_invalid_op+0x16/0x20
[  T292]  ? napi_enable+0x37/0x40
[  T292]  igb_up+0x41/0x150
[  T292]  igb_io_resume+0x25/0x70
[  T292]  report_resume+0x54/0x70
[  T292]  ? report_frozen_detected+0x20/0x20
[  T292]  pci_walk_bus+0x6c/0x90
[  T292]  ? aer_print_port_info+0xa0/0xa0
[  T292]  pcie_do_recovery+0x22f/0x380
[  T292]  aer_process_err_devices+0x110/0x160
[  T292]  aer_isr+0x1c1/0x1e0
[  T292]  ? disable_irq_nosync+0x10/0x10
[  T292]  irq_thread_fn+0x1a/0x60
[  T292]  irq_thread+0xe3/0x1a0
[  T292]  ? irq_set_affinity_notifier+0x120/0x120
[  T292]  ? irq_affinity_notify+0x100/0x100
[  T292]  kthread+0xe2/0x110
[  T292]  ? kthread_complete_and_exit+0x20/0x20
[  T292]  ret_from_fork+0x2d/0x50
[  T292]  ? kthread_complete_and_exit+0x20/0x20
[  T292]  ret_from_fork_asm+0x11/0x20
[  T292]  </TASK>

To fix this issue igb_io_resume() checks if the interface is running and
the device is not down this means igb_io_error_detected() did not bring
the device down and there is no need to bring it up.

Signed-off-by: Mohamed Khalfella <mkhalfella@purestorage.com>
Reviewed-by: Yuanyuan Zhong <yzhong@purestorage.com>
Fixes: 004d25060c78 ("igb: Fix igb_down hung on surprise removal")
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit dca2ca65a8695d9593e2cf1b40848e073ad75413)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:49 +05:30
Billy Tsai
930f2da139 gpio: aspeed: Add the flush write to ensure the write complete.
[ Upstream commit 1bb5a99e1f3fd27accb804aa0443a789161f843c ]

Performing a dummy read ensures that the register write operation is fully
completed, mitigating any potential bus delays that could otherwise impact
the frequency of bitbang usage. E.g., if the JTAG application uses GPIO to
control the JTAG pins (TCK, TMS, TDI, TDO, and TRST), and the application
sets the TCK clock to 1 MHz, the GPIO's high/low transitions will rely on
a delay function to ensure the clock frequency does not exceed 1 MHz.
However, this can lead to rapid toggling of the GPIO because the write
operation is POSTed and does not wait for a bus acknowledgment.

Fixes: 361b79119a ("gpio: Add Aspeed driver")
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Link: https://lore.kernel.org/r/20241008081450.1490955-2-billy_tsai@aspeedtech.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8c4d52b80f2d9dcc5053226ddd18a3bb1177c8ed)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:48 +05:30
Luiz Augusto von Dentz
8687978c88 Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change
[ Upstream commit 08d1914293dae38350b8088980e59fbc699a72fe ]

rfcomm_sk_state_change attempts to use sock_lock so it must never be
called with it locked but rfcomm_sock_ioctl always attempt to lock it
causing the following trace:

======================================================
WARNING: possible circular locking dependency detected
6.8.0-syzkaller-08951-gfe46a7dd189e #0 Not tainted
------------------------------------------------------
syz-executor386/5093 is trying to acquire lock:
ffff88807c396258 (sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1671 [inline]
ffff88807c396258 (sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM){+.+.}-{0:0}, at: rfcomm_sk_state_change+0x5b/0x310 net/bluetooth/rfcomm/sock.c:73

but task is already holding lock:
ffff88807badfd28 (&d->lock){+.+.}-{3:3}, at: __rfcomm_dlc_close+0x226/0x6a0 net/bluetooth/rfcomm/core.c:491

Reported-by: syzbot+d7ce59b06b3eb14fd218@syzkaller.appspotmail.com
Tested-by: syzbot+d7ce59b06b3eb14fd218@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=d7ce59b06b3eb14fd218
Fixes: 3241ad820d ("[Bluetooth] Add timestamp support to L2CAP, RFCOMM and SCO")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b77b3fb12fd483cae7c28648903b1d8a6b275f01)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:47 +05:30
Andy Roulin
228b0d7409 netfilter: br_netfilter: fix panic with metadata_dst skb
[ Upstream commit f9ff7665cd128012868098bbd07e28993e314fdb ]

Fix a kernel panic in the br_netfilter module when sending untagged
traffic via a VxLAN device.
This happens during the check for fragmentation in br_nf_dev_queue_xmit.

It is dependent on:
1) the br_netfilter module being loaded;
2) net.bridge.bridge-nf-call-iptables set to 1;
3) a bridge with a VxLAN (single-vxlan-device) netdevice as a bridge port;
4) untagged frames with size higher than the VxLAN MTU forwarded/flooded

When forwarding the untagged packet to the VxLAN bridge port, before
the netfilter hooks are called, br_handle_egress_vlan_tunnel is called and
changes the skb_dst to the tunnel dst. The tunnel_dst is a metadata type
of dst, i.e., skb_valid_dst(skb) is false, and metadata->dst.dev is NULL.

Then in the br_netfilter hooks, in br_nf_dev_queue_xmit, there's a check
for frames that needs to be fragmented: frames with higher MTU than the
VxLAN device end up calling br_nf_ip_fragment, which in turns call
ip_skb_dst_mtu.

The ip_dst_mtu tries to use the skb_dst(skb) as if it was a valid dst
with valid dst->dev, thus the crash.

This case was never supported in the first place, so drop the packet
instead.

PING 10.0.0.2 (10.0.0.2) from 0.0.0.0 h1-eth0: 2000(2028) bytes of data.
[  176.291791] Unable to handle kernel NULL pointer dereference at
virtual address 0000000000000110
[  176.292101] Mem abort info:
[  176.292184]   ESR = 0x0000000096000004
[  176.292322]   EC = 0x25: DABT (current EL), IL = 32 bits
[  176.292530]   SET = 0, FnV = 0
[  176.292709]   EA = 0, S1PTW = 0
[  176.292862]   FSC = 0x04: level 0 translation fault
[  176.293013] Data abort info:
[  176.293104]   ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
[  176.293488]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
[  176.293787]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[  176.293995] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000043ef5000
[  176.294166] [0000000000000110] pgd=0000000000000000,
p4d=0000000000000000
[  176.294827] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
[  176.295252] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel veth
br_netfilter bridge stp llc ipv6 crct10dif_ce
[  176.295923] CPU: 0 PID: 188 Comm: ping Not tainted
6.8.0-rc3-g5b3fbd61b9d1 #2
[  176.296314] Hardware name: linux,dummy-virt (DT)
[  176.296535] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS
BTYPE=--)
[  176.296808] pc : br_nf_dev_queue_xmit+0x390/0x4ec [br_netfilter]
[  176.297382] lr : br_nf_dev_queue_xmit+0x2ac/0x4ec [br_netfilter]
[  176.297636] sp : ffff800080003630
[  176.297743] x29: ffff800080003630 x28: 0000000000000008 x27:
ffff6828c49ad9f8
[  176.298093] x26: ffff6828c49ad000 x25: 0000000000000000 x24:
00000000000003e8
[  176.298430] x23: 0000000000000000 x22: ffff6828c4960b40 x21:
ffff6828c3b16d28
[  176.298652] x20: ffff6828c3167048 x19: ffff6828c3b16d00 x18:
0000000000000014
[  176.298926] x17: ffffb0476322f000 x16: ffffb7e164023730 x15:
0000000095744632
[  176.299296] x14: ffff6828c3f1c880 x13: 0000000000000002 x12:
ffffb7e137926a70
[  176.299574] x11: 0000000000000001 x10: ffff6828c3f1c898 x9 :
0000000000000000
[  176.300049] x8 : ffff6828c49bf070 x7 : 0008460f18d5f20e x6 :
f20e0100bebafeca
[  176.300302] x5 : ffff6828c7f918fe x4 : ffff6828c49bf070 x3 :
0000000000000000
[  176.300586] x2 : 0000000000000000 x1 : ffff6828c3c7ad00 x0 :
ffff6828c7f918f0
[  176.300889] Call trace:
[  176.301123]  br_nf_dev_queue_xmit+0x390/0x4ec [br_netfilter]
[  176.301411]  br_nf_post_routing+0x2a8/0x3e4 [br_netfilter]
[  176.301703]  nf_hook_slow+0x48/0x124
[  176.302060]  br_forward_finish+0xc8/0xe8 [bridge]
[  176.302371]  br_nf_hook_thresh+0x124/0x134 [br_netfilter]
[  176.302605]  br_nf_forward_finish+0x118/0x22c [br_netfilter]
[  176.302824]  br_nf_forward_ip.part.0+0x264/0x290 [br_netfilter]
[  176.303136]  br_nf_forward+0x2b8/0x4e0 [br_netfilter]
[  176.303359]  nf_hook_slow+0x48/0x124
[  176.303803]  __br_forward+0xc4/0x194 [bridge]
[  176.304013]  br_flood+0xd4/0x168 [bridge]
[  176.304300]  br_handle_frame_finish+0x1d4/0x5c4 [bridge]
[  176.304536]  br_nf_hook_thresh+0x124/0x134 [br_netfilter]
[  176.304978]  br_nf_pre_routing_finish+0x29c/0x494 [br_netfilter]
[  176.305188]  br_nf_pre_routing+0x250/0x524 [br_netfilter]
[  176.305428]  br_handle_frame+0x244/0x3cc [bridge]
[  176.305695]  __netif_receive_skb_core.constprop.0+0x33c/0xecc
[  176.306080]  __netif_receive_skb_one_core+0x40/0x8c
[  176.306197]  __netif_receive_skb+0x18/0x64
[  176.306369]  process_backlog+0x80/0x124
[  176.306540]  __napi_poll+0x38/0x17c
[  176.306636]  net_rx_action+0x124/0x26c
[  176.306758]  __do_softirq+0x100/0x26c
[  176.307051]  ____do_softirq+0x10/0x1c
[  176.307162]  call_on_irq_stack+0x24/0x4c
[  176.307289]  do_softirq_own_stack+0x1c/0x2c
[  176.307396]  do_softirq+0x54/0x6c
[  176.307485]  __local_bh_enable_ip+0x8c/0x98
[  176.307637]  __dev_queue_xmit+0x22c/0xd28
[  176.307775]  neigh_resolve_output+0xf4/0x1a0
[  176.308018]  ip_finish_output2+0x1c8/0x628
[  176.308137]  ip_do_fragment+0x5b4/0x658
[  176.308279]  ip_fragment.constprop.0+0x48/0xec
[  176.308420]  __ip_finish_output+0xa4/0x254
[  176.308593]  ip_finish_output+0x34/0x130
[  176.308814]  ip_output+0x6c/0x108
[  176.308929]  ip_send_skb+0x50/0xf0
[  176.309095]  ip_push_pending_frames+0x30/0x54
[  176.309254]  raw_sendmsg+0x758/0xaec
[  176.309568]  inet_sendmsg+0x44/0x70
[  176.309667]  __sys_sendto+0x110/0x178
[  176.309758]  __arm64_sys_sendto+0x28/0x38
[  176.309918]  invoke_syscall+0x48/0x110
[  176.310211]  el0_svc_common.constprop.0+0x40/0xe0
[  176.310353]  do_el0_svc+0x1c/0x28
[  176.310434]  el0_svc+0x34/0xb4
[  176.310551]  el0t_64_sync_handler+0x120/0x12c
[  176.310690]  el0t_64_sync+0x190/0x194
[  176.311066] Code: f9402e61 79402aa2 927ff821 f9400023 (f9408860)
[  176.315743] ---[ end trace 0000000000000000 ]---
[  176.316060] Kernel panic - not syncing: Oops: Fatal exception in
interrupt
[  176.316371] Kernel Offset: 0x37e0e3000000 from 0xffff800080000000
[  176.316564] PHYS_OFFSET: 0xffff97d780000000
[  176.316782] CPU features: 0x0,88000203,3c020000,0100421b
[  176.317210] Memory Limit: none
[  176.317527] ---[ end Kernel panic - not syncing: Oops: Fatal
Exception in interrupt ]---\

Fixes: 11538d039a ("bridge: vlan dst_metadata hooks in ingress and egress paths")
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Andy Roulin <aroulin@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20241001154400.22787-2-aroulin@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f07131239a76cc10d5e82c19d91f53cb55727297)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:46 +05:30
Neal Cardwell
e5b4018d59 tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safe
[ Upstream commit b41b4cbd9655bcebcce941bef3601db8110335be ]

Fix tcp_enter_recovery() so that if there are no retransmits out then
we zero retrans_stamp when entering fast recovery. This is necessary
to fix two buggy behaviors.

Currently a non-zero retrans_stamp value can persist across multiple
back-to-back loss recovery episodes. This is because we generally only
clears retrans_stamp if we are completely done with loss recoveries,
and get to tcp_try_to_open() and find !tcp_any_retrans_done(sk). This
behavior causes two bugs:

(1) When a loss recovery episode (CA_Loss or CA_Recovery) is followed
immediately by a new CA_Recovery, the retrans_stamp value can persist
and can be a time before this new CA_Recovery episode starts. That
means that timestamp-based undo will be using the wrong retrans_stamp
(a value that is too old) when comparing incoming TS ecr values to
retrans_stamp to see if the current fast recovery episode can be
undone.

(2) If there is a roughly minutes-long sequence of back-to-back fast
recovery episodes, one after another (e.g. in a shallow-buffered or
policed bottleneck), where each fast recovery successfully makes
forward progress and recovers one window of sequence space (but leaves
at least one retransmit in flight at the end of the recovery),
followed by several RTOs, then the ETIMEDOUT check may be using the
wrong retrans_stamp (a value set at the start of the first fast
recovery in the sequence). This can cause a very premature ETIMEDOUT,
killing the connection prematurely.

This commit changes the code to zero retrans_stamp when entering fast
recovery, when this is known to be safe (no retransmits are out in the
network). That ensures that when starting a fast recovery episode, and
it is safe to do so, retrans_stamp is set when we send the fast
retransmit packet. That addresses both bug (1) and bug (2) by ensuring
that (if no retransmits are out when we start a fast recovery) we use
the initial fast retransmit of this fast recovery as the time value
for undo and ETIMEDOUT calculations.

This makes intuitive sense, since the start of a new fast recovery
episode (in a scenario where no lost packets are out in the network)
means that the connection has made forward progress since the last RTO
or fast recovery, and we should thus "restart the clock" used for both
undo and ETIMEDOUT logic.

Note that if when we start fast recovery there *are* retransmits out
in the network, there can still be undesirable (1)/(2) issues. For
example, after this patch we can still have the (1) and (2) problems
in cases like this:

+ round 1: sender sends flight 1

+ round 2: sender receives SACKs and enters fast recovery 1,
  retransmits some packets in flight 1 and then sends some new data as
  flight 2

+ round 3: sender receives some SACKs for flight 2, notes losses, and
  retransmits some packets to fill the holes in flight 2

+ fast recovery has some lost retransmits in flight 1 and continues
  for one or more rounds sending retransmits for flight 1 and flight 2

+ fast recovery 1 completes when snd_una reaches high_seq at end of
  flight 1

+ there are still holes in the SACK scoreboard in flight 2, so we
  enter fast recovery 2, but some retransmits in the flight 2 sequence
  range are still in flight (retrans_out > 0), so we can't execute the
  new retrans_stamp=0 added here to clear retrans_stamp

It's not yet clear how to fix these remaining (1)/(2) issues in an
efficient way without breaking undo behavior, given that retrans_stamp
is currently used for undo and ETIMEDOUT. Perhaps the optimal (but
expensive) strategy would be to set retrans_stamp to the timestamp of
the earliest outstanding retransmit when entering fast recovery. But
at least this commit makes things better.

Note that this does not change the semantics of retrans_stamp; it
simply makes retrans_stamp accurate in some cases where it was not
before:

(1) Some loss recovery, followed by an immediate entry into a fast
recovery, where there are no retransmits out when entering the fast
recovery.

(2) When a TFO server has a SYNACK retransmit that sets retrans_stamp,
and then the ACK that completes the 3-way handshake has SACK blocks
that trigger a fast recovery. In this case when entering fast recovery
we want to zero out the retrans_stamp from the TFO SYNACK retransmit,
and set the retrans_stamp based on the timestamp of the fast recovery.

We introduce a tcp_retrans_stamp_cleanup() helper, because this
two-line sequence already appears in 3 places and is about to appear
in 2 more as a result of this bug fix patch series. Once this bug fix
patches series in the net branch makes it into the net-next branch
we'll update the 3 other call sites to use the new helper.

This is a long-standing issue. The Fixes tag below is chosen to be the
oldest commit at which the patch will apply cleanly, which is from
Linux v3.5 in 2012.

Fixes: 1fbc340514 ("tcp: early retransmit: tcp_enter_recovery()")
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20241001200517.2756803-3-ncardwell.sw@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a58878d7106b229a2d91a647629a0a7bedccaa8a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:42 +05:30
Andrey Shumilin
2209c1cf23 fbdev: sisfb: Fix strbuf array overflow
[ Upstream commit 9cf14f5a2746c19455ce9cb44341b5527b5e19c3 ]

The values of the variables xres and yres are placed in strbuf.
These variables are obtained from strbuf1.
The strbuf1 array contains digit characters
and a space if the array contains non-digit characters.
Then, when executing sprintf(strbuf, "%ux%ux8", xres, yres);
more than 16 bytes will be written to strbuf.
It is suggested to increase the size of the strbuf array to 24.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Andrey Shumilin <shum.sdl@nppct.ru>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 433c84c8495008922534c5cafdae6ff970fb3241)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:15 +05:30
Zijun Hu
6dea1514bc driver core: bus: Return -EIO instead of 0 when show/store invalid bus attribute
[ Upstream commit c0fd973c108cdc22a384854bc4b3e288a9717bb2 ]

Return -EIO instead of 0 for below erroneous bus attribute operations:
 - read a bus attribute without show().
 - write a bus attribute without store().

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20240724-bus_fix-v2-1-5adbafc698fb@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit aca863154863d0a97305a089399cee1d39e852da)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:14 +05:30
Zhu Jun
691c3e9284 tools/iio: Add memory allocation failure check for trigger_name
[ Upstream commit 3c6b818b097dd6932859bcc3d6722a74ec5931c1 ]

Added a check to handle memory allocation failure for `trigger_name`
and return `-ENOMEM`.

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240828093129.3040-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e0daff560940b0d370d4328b9ff9294b7f893daa)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:13 +05:30
Xu Yang
36fe41a3c2 usb: chipidea: udc: enable suspend interrupt after usb reset
[ Upstream commit e4fdcc10092fb244218013bfe8ff01c55d54e8e4 ]

Currently, suspend interrupt is enabled before pullup enable operation.
This will cause a suspend interrupt assert right after pullup DP. This
suspend interrupt is meaningless, so this will ignore such interrupt
by enable it after usb reset completed.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20240823073832.1702135-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 93233aa73b3ac373ffd4dd9e6fb7217a8051b760)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:12 +05:30
Yunke Cao
6292d9f5d5 media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put()
[ Upstream commit 6a9c97ab6b7e85697e0b74e86062192a5ffffd99 ]

Clear vb2_plane's memory related fields in __vb2_plane_dmabuf_put(),
including bytesused, length, fd and data_offset.

Remove the duplicated code in __prepare_dmabuf().

Signed-off-by: Yunke Cao <yunkec@chromium.org>
Acked-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 940e83f377cb3863bd5a4e483ef1b228fbc86812)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:11 +05:30
Hans de Goede
10d39c01e2 i2c: i801: Use a different adapter-name for IDF adapters
[ Upstream commit 43457ada98c824f310adb7bd96bd5f2fcd9a3279 ]

On chipsets with a second 'Integrated Device Function' SMBus controller use
a different adapter-name for the second IDF adapter.

This allows platform glue code which is looking for the primary i801
adapter to manually instantiate i2c_clients on to differentiate
between the 2.

This allows such code to find the primary i801 adapter by name, without
needing to duplicate the PCI-ids to feature-flags mapping from i2c-i801.c.

Reviewed-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a2eb6e5a03de2ecbba68384c1c8f2a34c89ed7b8)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:10 +05:30
Krzysztof Kozlowski
953d353912 clk: bcm: bcm53573: fix OF node leak in init
[ Upstream commit f92d67e23b8caa81f6322a2bad1d633b00ca000e ]

Driver code is leaking OF node reference from of_get_parent() in
bcm53573_ilp_init().  Usage of of_get_parent() is not needed in the
first place, because the parent node will not be freed while we are
processing given node (triggered by CLK_OF_DECLARE()).  Thus fix the
leak by accessing parent directly, instead of of_get_parent().

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240826065801.17081-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8ac316aed34fa1a49ebbaa93465bf8bfe73e9937)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:09 +05:30
Wojciech Gładysz
f0cd507feb ext4: nested locking for xattr inode
[ Upstream commit d1bc560e9a9c78d0b2314692847fc8661e0aeb99 ]

Add nested locking with I_MUTEX_XATTR subclass to avoid lockdep warning
while handling xattr inode on file open syscall at ext4_xattr_inode_iget.

Backtrace
EXT4-fs (loop0): Ignoring removed oldalloc option
======================================================
WARNING: possible circular locking dependency detected
5.10.0-syzkaller #0 Not tainted
------------------------------------------------------
syz-executor543/2794 is trying to acquire lock:
ffff8880215e1a48 (&ea_inode->i_rwsem#7/1){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:782 [inline]
ffff8880215e1a48 (&ea_inode->i_rwsem#7/1){+.+.}-{3:3}, at: ext4_xattr_inode_iget+0x42a/0x5c0 fs/ext4/xattr.c:425

but task is already holding lock:
ffff8880215e3278 (&ei->i_data_sem/3){++++}-{3:3}, at: ext4_setattr+0x136d/0x19c0 fs/ext4/inode.c:5559

which lock already depends on the new lock.

the existing dependency chain (in reverse order) is:

-> #1 (&ei->i_data_sem/3){++++}-{3:3}:
       lock_acquire+0x197/0x480 kernel/locking/lockdep.c:5566
       down_write+0x93/0x180 kernel/locking/rwsem.c:1564
       ext4_update_i_disksize fs/ext4/ext4.h:3267 [inline]
       ext4_xattr_inode_write fs/ext4/xattr.c:1390 [inline]
       ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1538 [inline]
       ext4_xattr_set_entry+0x331a/0x3d80 fs/ext4/xattr.c:1662
       ext4_xattr_ibody_set+0x124/0x390 fs/ext4/xattr.c:2228
       ext4_xattr_set_handle+0xc27/0x14e0 fs/ext4/xattr.c:2385
       ext4_xattr_set+0x219/0x390 fs/ext4/xattr.c:2498
       ext4_xattr_user_set+0xc9/0xf0 fs/ext4/xattr_user.c:40
       __vfs_setxattr+0x404/0x450 fs/xattr.c:177
       __vfs_setxattr_noperm+0x11d/0x4f0 fs/xattr.c:208
       __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
       vfs_setxattr+0x112/0x2c0 fs/xattr.c:283
       setxattr+0x1db/0x3e0 fs/xattr.c:548
       path_setxattr+0x15a/0x240 fs/xattr.c:567
       __do_sys_setxattr fs/xattr.c:582 [inline]
       __se_sys_setxattr fs/xattr.c:578 [inline]
       __x64_sys_setxattr+0xc5/0xe0 fs/xattr.c:578
       do_syscall_64+0x6d/0xa0 arch/x86/entry/common.c:62
       entry_SYSCALL_64_after_hwframe+0x61/0xcb

-> #0 (&ea_inode->i_rwsem#7/1){+.+.}-{3:3}:
       check_prev_add kernel/locking/lockdep.c:2988 [inline]
       check_prevs_add kernel/locking/lockdep.c:3113 [inline]
       validate_chain+0x1695/0x58f0 kernel/locking/lockdep.c:3729
       __lock_acquire+0x12fd/0x20d0 kernel/locking/lockdep.c:4955
       lock_acquire+0x197/0x480 kernel/locking/lockdep.c:5566
       down_write+0x93/0x180 kernel/locking/rwsem.c:1564
       inode_lock include/linux/fs.h:782 [inline]
       ext4_xattr_inode_iget+0x42a/0x5c0 fs/ext4/xattr.c:425
       ext4_xattr_inode_get+0x138/0x410 fs/ext4/xattr.c:485
       ext4_xattr_move_to_block fs/ext4/xattr.c:2580 [inline]
       ext4_xattr_make_inode_space fs/ext4/xattr.c:2682 [inline]
       ext4_expand_extra_isize_ea+0xe70/0x1bb0 fs/ext4/xattr.c:2774
       __ext4_expand_extra_isize+0x304/0x3f0 fs/ext4/inode.c:5898
       ext4_try_to_expand_extra_isize fs/ext4/inode.c:5941 [inline]
       __ext4_mark_inode_dirty+0x591/0x810 fs/ext4/inode.c:6018
       ext4_setattr+0x1400/0x19c0 fs/ext4/inode.c:5562
       notify_change+0xbb6/0xe60 fs/attr.c:435
       do_truncate+0x1de/0x2c0 fs/open.c:64
       handle_truncate fs/namei.c:2970 [inline]
       do_open fs/namei.c:3311 [inline]
       path_openat+0x29f3/0x3290 fs/namei.c:3425
       do_filp_open+0x20b/0x450 fs/namei.c:3452
       do_sys_openat2+0x124/0x460 fs/open.c:1207
       do_sys_open fs/open.c:1223 [inline]
       __do_sys_open fs/open.c:1231 [inline]
       __se_sys_open fs/open.c:1227 [inline]
       __x64_sys_open+0x221/0x270 fs/open.c:1227
       do_syscall_64+0x6d/0xa0 arch/x86/entry/common.c:62
       entry_SYSCALL_64_after_hwframe+0x61/0xcb

other info that might help us debug this:

 Possible unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(&ei->i_data_sem/3);
                               lock(&ea_inode->i_rwsem#7/1);
                               lock(&ei->i_data_sem/3);
  lock(&ea_inode->i_rwsem#7/1);

 *** DEADLOCK ***

5 locks held by syz-executor543/2794:
 #0: ffff888026fbc448 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x4a/0x2a0 fs/namespace.c:365
 #1: ffff8880215e3488 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:782 [inline]
 #1: ffff8880215e3488 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: do_truncate+0x1cf/0x2c0 fs/open.c:62
 #2: ffff8880215e3310 (&ei->i_mmap_sem){++++}-{3:3}, at: ext4_setattr+0xec4/0x19c0 fs/ext4/inode.c:5519
 #3: ffff8880215e3278 (&ei->i_data_sem/3){++++}-{3:3}, at: ext4_setattr+0x136d/0x19c0 fs/ext4/inode.c:5559
 #4: ffff8880215e30c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_trylock_xattr fs/ext4/xattr.h:162 [inline]
 #4: ffff8880215e30c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_to_expand_extra_isize fs/ext4/inode.c:5938 [inline]
 #4: ffff8880215e30c8 (&ei->xattr_sem){++++}-{3:3}, at: __ext4_mark_inode_dirty+0x4fb/0x810 fs/ext4/inode.c:6018

stack backtrace:
CPU: 1 PID: 2794 Comm: syz-executor543 Not tainted 5.10.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x177/0x211 lib/dump_stack.c:118
 print_circular_bug+0x146/0x1b0 kernel/locking/lockdep.c:2002
 check_noncircular+0x2cc/0x390 kernel/locking/lockdep.c:2123
 check_prev_add kernel/locking/lockdep.c:2988 [inline]
 check_prevs_add kernel/locking/lockdep.c:3113 [inline]
 validate_chain+0x1695/0x58f0 kernel/locking/lockdep.c:3729
 __lock_acquire+0x12fd/0x20d0 kernel/locking/lockdep.c:4955
 lock_acquire+0x197/0x480 kernel/locking/lockdep.c:5566
 down_write+0x93/0x180 kernel/locking/rwsem.c:1564
 inode_lock include/linux/fs.h:782 [inline]
 ext4_xattr_inode_iget+0x42a/0x5c0 fs/ext4/xattr.c:425
 ext4_xattr_inode_get+0x138/0x410 fs/ext4/xattr.c:485
 ext4_xattr_move_to_block fs/ext4/xattr.c:2580 [inline]
 ext4_xattr_make_inode_space fs/ext4/xattr.c:2682 [inline]
 ext4_expand_extra_isize_ea+0xe70/0x1bb0 fs/ext4/xattr.c:2774
 __ext4_expand_extra_isize+0x304/0x3f0 fs/ext4/inode.c:5898
 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5941 [inline]
 __ext4_mark_inode_dirty+0x591/0x810 fs/ext4/inode.c:6018
 ext4_setattr+0x1400/0x19c0 fs/ext4/inode.c:5562
 notify_change+0xbb6/0xe60 fs/attr.c:435
 do_truncate+0x1de/0x2c0 fs/open.c:64
 handle_truncate fs/namei.c:2970 [inline]
 do_open fs/namei.c:3311 [inline]
 path_openat+0x29f3/0x3290 fs/namei.c:3425
 do_filp_open+0x20b/0x450 fs/namei.c:3452
 do_sys_openat2+0x124/0x460 fs/open.c:1207
 do_sys_open fs/open.c:1223 [inline]
 __do_sys_open fs/open.c:1231 [inline]
 __se_sys_open fs/open.c:1227 [inline]
 __x64_sys_open+0x221/0x270 fs/open.c:1227
 do_syscall_64+0x6d/0xa0 arch/x86/entry/common.c:62
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f0cde4ea229
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd81d1c978 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0030656c69662f30 RCX: 00007f0cde4ea229
RDX: 0000000000000089 RSI: 00000000000a0a00 RDI: 00000000200001c0
RBP: 2f30656c69662f2e R08: 0000000000208000 R09: 0000000000208000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd81d1c9c0
R13: 00007ffd81d1ca00 R14: 0000000000080000 R15: 0000000000000003
EXT4-fs error (device loop0): ext4_expand_extra_isize_ea:2730: inode #13: comm syz-executor543: corrupted in-inode xattr

Signed-off-by: Wojciech Gładysz <wojciech.gladysz@infogain.com>
Link: https://patch.msgid.link/20240801143827.19135-1-wojciech.gladysz@infogain.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit c0f57dd0f1603ae27ef694bacde66147f9d57d32)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:08 +05:30
Gerald Schaefer
4335755845 s390/mm: Add cond_resched() to cmm_alloc/free_pages()
[ Upstream commit 131b8db78558120f58c5dc745ea9655f6b854162 ]

Adding/removing large amount of pages at once to/from the CMM balloon
can result in rcu_sched stalls or workqueue lockups, because of busy
looping w/o cond_resched().

Prevent this by adding a cond_resched(). cmm_free_pages() holds a
spin_lock while looping, so it cannot be added directly to the existing
loop. Instead, introduce a wrapper function that operates on maximum 256
pages at once, and add it there.

Signed-off-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a12b82d741350b89b4df55fa8a4e5c0579d919cb)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:07 +05:30
Heiko Carstens
5c21008c9e s390/facility: Disable compile time optimization for decompressor code
[ Upstream commit 0147addc4fb72a39448b8873d8acdf3a0f29aa65 ]

Disable compile time optimizations of test_facility() for the
decompressor. The decompressor should not contain any optimized code
depending on the architecture level set the kernel image is compiled
for to avoid unexpected operation exceptions.

Add a __DECOMPRESSOR check to test_facility() to enforce that
facilities are always checked during runtime for the decompressor.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f559306a168fb92a936beaa1f020f5c45cdedac6)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:06 +05:30
Michael S. Tsirkin
bb6709f54b virtio_console: fix misc probe bugs
[ Upstream commit b9efbe2b8f0177fa97bfab290d60858900aa196b ]

This fixes the following issue discovered by code review:

after vqs have been created, a buggy device can send an interrupt.

A control vq callback will then try to schedule control_work which has
not been initialized yet. Similarly for config interrupt.  Further, in
and out vq callbacks invoke find_port_by_vq which attempts to take
ports_lock which also has not been initialized.

To fix, init all locks and work before creating vqs.

Message-ID: <ad982e975a6160ad110c623c016041311ca15b4f.1726511547.git.mst@redhat.com>
Fixes: 17634ba255 ("virtio: console: Add a new MULTIPORT feature, support for generic ports")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 42a7c0fd6e5b7c5db8af8ab2bab6eff2a723b168)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:37:04 +05:30
zhanchengbin
1345d45a98 ext4: fix inode tree inconsistency caused by ENOMEM
commit 3f5424790d4377839093b68c12b130077a4e4510 upstream.

If ENOMEM fails when the extent is splitting, we need to restore the length
of the split extent.
In the ext4_split_extent_at function, only in ext4_ext_create_new_leaf will
it alloc memory and change the shape of the extent tree,even if an ENOMEM
is returned at this time, the extent tree is still self-consistent, Just
restore the split extent lens in the function ext4_split_extent_at.

ext4_split_extent_at
 ext4_ext_insert_extent
  ext4_ext_create_new_leaf
   1)ext4_ext_split
     ext4_find_extent
   2)ext4_ext_grow_indepth
     ext4_find_extent

Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230103022812.130603-1-zhanchengbin1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit eea5a4e7fe4424245aeba77bb0f24a38a1bead16)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:36:56 +05:30
NeilBrown
a44da2111b nfsd: fix delegation_blocked() to block correctly for at least 30 seconds
[ Upstream commit 45bb63ed20e02ae146336412889fe5450316a84f ]

The pair of bloom filtered used by delegation_blocked() was intended to
block delegations on given filehandles for between 30 and 60 seconds.  A
new filehandle would be recorded in the "new" bit set.  That would then
be switch to the "old" bit set between 0 and 30 seconds later, and it
would remain as the "old" bit set for 30 seconds.

Unfortunately the code intended to clear the old bit set once it reached
30 seconds old, preparing it to be the next new bit set, instead cleared
the *new* bit set before switching it to be the old bit set.  This means
that the "old" bit set is always empty and delegations are blocked
between 0 and 30 seconds.

This patch updates bd->new before clearing the set with that index,
instead of afterwards.

Reported-by: Olga Kornievskaia <okorniev@redhat.com>
Cc: stable@vger.kernel.org
Fixes: 6282cd5655 ("NFSD: Don't hand out delegations for 30 seconds after recalling them.")
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ccbd18223985635b8dbb1393bacac9e1a5fa3f2f)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:36:36 +05:30
Arnd Bergmann
e5411c5a95 nfsd: use ktime_get_seconds() for timestamps
[ Upstream commit b3f255ef6bffc18a28c3b6295357f2a3380c033f ]

The delegation logic in nfsd uses the somewhat inefficient
seconds_since_boot() function to record time intervals.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Stable-dep-of: 45bb63ed20e0 ("nfsd: fix delegation_blocked() to block correctly for at least 30 seconds")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f81fcf39509d30cb5f1c659099c1d8f0c2a9a57a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:36:35 +05:30
Oleg Nesterov
699d7f5ed5 uprobes: fix kernel info leak via "[uprobes]" vma
commit 34820304cc2cd1804ee1f8f3504ec77813d29c8e upstream.

xol_add_vma() maps the uninitialized page allocated by __create_xol_area()
into userspace. On some architectures (x86) this memory is readable even
without VM_READ, VM_EXEC results in the same pgprot_t as VM_EXEC|VM_READ,
although this doesn't really matter, debugger can read this memory anyway.

Link: https://lore.kernel.org/all/20240929162047.GA12611@redhat.com/

Reported-by: Will Deacon <will@kernel.org>
Fixes: d4b3b6384f ("uprobes/core: Allocate XOL slots for uprobes use")
Cc: stable@vger.kernel.org
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f31f92107e5a8ecc8902705122c594e979a351fe)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:36:34 +05:30
Emanuele Ghidoli
66f7a6eae4 gpio: davinci: fix lazy disable
commit 3360d41f4ac490282fddc3ccc0b58679aa5c065d upstream.

On a few platforms such as TI's AM69 device, disable_irq() fails to keep
track of the interrupts that happen between disable_irq() and
enable_irq() and those interrupts are missed. Use the ->irq_unmask() and
->irq_mask() methods instead of ->irq_enable() and ->irq_disable() to
correctly keep track of edges when disable_irq is called.

This solves the issue of disable_irq() not working as expected on such
platforms.

Fixes: 23265442b0 ("ARM: davinci: irq_data conversion.")
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
Acked-by: Keerthy <j-keerthy@ti.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240828133207.493961-1-parth105105@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e9b751c0d7abde1837ee1510cbdc705570107ef1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:36:01 +05:30
Filipe Manana
3248072d06 btrfs: wait for fixup workers before stopping cleaner kthread during umount
commit 41fd1e94066a815a7ab0a7025359e9b40e4b3576 upstream.

During unmount, at close_ctree(), we have the following steps in this order:

1) Park the cleaner kthread - this doesn't destroy the kthread, it basically
   halts its execution (wake ups against it work but do nothing);

2) We stop the cleaner kthread - this results in freeing the respective
   struct task_struct;

3) We call btrfs_stop_all_workers() which waits for any jobs running in all
   the work queues and then free the work queues.

Syzbot reported a case where a fixup worker resulted in a crash when doing
a delayed iput on its inode while attempting to wake up the cleaner at
btrfs_add_delayed_iput(), because the task_struct of the cleaner kthread
was already freed. This can happen during unmount because we don't wait
for any fixup workers still running before we call kthread_stop() against
the cleaner kthread, which stops and free all its resources.

Fix this by waiting for any fixup workers at close_ctree() before we call
kthread_stop() against the cleaner and run pending delayed iputs.

The stack traces reported by syzbot were the following:

  BUG: KASAN: slab-use-after-free in __lock_acquire+0x77/0x2050 kernel/locking/lockdep.c:5065
  Read of size 8 at addr ffff8880272a8a18 by task kworker/u8:3/52

  CPU: 1 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.12.0-rc1-syzkaller #0
  Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
  Workqueue: btrfs-fixup btrfs_work_helper
  Call Trace:
   <TASK>
   __dump_stack lib/dump_stack.c:94 [inline]
   dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
   print_address_description mm/kasan/report.c:377 [inline]
   print_report+0x169/0x550 mm/kasan/report.c:488
   kasan_report+0x143/0x180 mm/kasan/report.c:601
   __lock_acquire+0x77/0x2050 kernel/locking/lockdep.c:5065
   lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
   __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
   _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
   class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:551 [inline]
   try_to_wake_up+0xb0/0x1480 kernel/sched/core.c:4154
   btrfs_writepage_fixup_worker+0xc16/0xdf0 fs/btrfs/inode.c:2842
   btrfs_work_helper+0x390/0xc50 fs/btrfs/async-thread.c:314
   process_one_work kernel/workqueue.c:3229 [inline]
   process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
   worker_thread+0x870/0xd30 kernel/workqueue.c:3391
   kthread+0x2f0/0x390 kernel/kthread.c:389
   ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
   ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
   </TASK>

  Allocated by task 2:
   kasan_save_stack mm/kasan/common.c:47 [inline]
   kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
   unpoison_slab_object mm/kasan/common.c:319 [inline]
   __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345
   kasan_slab_alloc include/linux/kasan.h:247 [inline]
   slab_post_alloc_hook mm/slub.c:4086 [inline]
   slab_alloc_node mm/slub.c:4135 [inline]
   kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4187
   alloc_task_struct_node kernel/fork.c:180 [inline]
   dup_task_struct+0x57/0x8c0 kernel/fork.c:1107
   copy_process+0x5d1/0x3d50 kernel/fork.c:2206
   kernel_clone+0x223/0x880 kernel/fork.c:2787
   kernel_thread+0x1bc/0x240 kernel/fork.c:2849
   create_kthread kernel/kthread.c:412 [inline]
   kthreadd+0x60d/0x810 kernel/kthread.c:765
   ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
   ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244

  Freed by task 61:
   kasan_save_stack mm/kasan/common.c:47 [inline]
   kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
   kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579
   poison_slab_object mm/kasan/common.c:247 [inline]
   __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264
   kasan_slab_free include/linux/kasan.h:230 [inline]
   slab_free_hook mm/slub.c:2343 [inline]
   slab_free mm/slub.c:4580 [inline]
   kmem_cache_free+0x1a2/0x420 mm/slub.c:4682
   put_task_struct include/linux/sched/task.h:144 [inline]
   delayed_put_task_struct+0x125/0x300 kernel/exit.c:228
   rcu_do_batch kernel/rcu/tree.c:2567 [inline]
   rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2823
   handle_softirqs+0x2c5/0x980 kernel/softirq.c:554
   __do_softirq kernel/softirq.c:588 [inline]
   invoke_softirq kernel/softirq.c:428 [inline]
   __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
   irq_exit_rcu+0x9/0x30 kernel/softirq.c:649
   instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
   sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037
   asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702

  Last potentially related work creation:
   kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47
   __kasan_record_aux_stack+0xac/0xc0 mm/kasan/generic.c:541
   __call_rcu_common kernel/rcu/tree.c:3086 [inline]
   call_rcu+0x167/0xa70 kernel/rcu/tree.c:3190
   context_switch kernel/sched/core.c:5318 [inline]
   __schedule+0x184b/0x4ae0 kernel/sched/core.c:6675
   schedule_idle+0x56/0x90 kernel/sched/core.c:6793
   do_idle+0x56a/0x5d0 kernel/sched/idle.c:354
   cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:424
   start_secondary+0x102/0x110 arch/x86/kernel/smpboot.c:314
   common_startup_64+0x13e/0x147

  The buggy address belongs to the object at ffff8880272a8000
   which belongs to the cache task_struct of size 7424
  The buggy address is located 2584 bytes inside of
   freed 7424-byte region [ffff8880272a8000, ffff8880272a9d00)

  The buggy address belongs to the physical page:
  page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x272a8
  head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
  flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
  page_type: f5(slab)
  raw: 00fff00000000040 ffff88801bafa500 dead000000000122 0000000000000000
  raw: 0000000000000000 0000000080040004 00000001f5000000 0000000000000000
  head: 00fff00000000040 ffff88801bafa500 dead000000000122 0000000000000000
  head: 0000000000000000 0000000080040004 00000001f5000000 0000000000000000
  head: 00fff00000000003 ffffea00009caa01 ffffffffffffffff 0000000000000000
  head: 0000000000000008 0000000000000000 00000000ffffffff 0000000000000000
  page dumped because: kasan: bad access detected
  page_owner tracks the page as allocated
  page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 2, tgid 2 (kthreadd), ts 71247381401, free_ts 71214998153
   set_page_owner include/linux/page_owner.h:32 [inline]
   post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1537
   prep_new_page mm/page_alloc.c:1545 [inline]
   get_page_from_freelist+0x3039/0x3180 mm/page_alloc.c:3457
   __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4733
   alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
   alloc_slab_page+0x6a/0x120 mm/slub.c:2413
   allocate_slab+0x5a/0x2f0 mm/slub.c:2579
   new_slab mm/slub.c:2632 [inline]
   ___slab_alloc+0xcd1/0x14b0 mm/slub.c:3819
   __slab_alloc+0x58/0xa0 mm/slub.c:3909
   __slab_alloc_node mm/slub.c:3962 [inline]
   slab_alloc_node mm/slub.c:4123 [inline]
   kmem_cache_alloc_node_noprof+0x1fe/0x320 mm/slub.c:4187
   alloc_task_struct_node kernel/fork.c:180 [inline]
   dup_task_struct+0x57/0x8c0 kernel/fork.c:1107
   copy_process+0x5d1/0x3d50 kernel/fork.c:2206
   kernel_clone+0x223/0x880 kernel/fork.c:2787
   kernel_thread+0x1bc/0x240 kernel/fork.c:2849
   create_kthread kernel/kthread.c:412 [inline]
   kthreadd+0x60d/0x810 kernel/kthread.c:765
   ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
   ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
  page last free pid 5230 tgid 5230 stack trace:
   reset_page_owner include/linux/page_owner.h:25 [inline]
   free_pages_prepare mm/page_alloc.c:1108 [inline]
   free_unref_page+0xcd0/0xf00 mm/page_alloc.c:2638
   discard_slab mm/slub.c:2678 [inline]
   __put_partials+0xeb/0x130 mm/slub.c:3146
   put_cpu_partial+0x17c/0x250 mm/slub.c:3221
   __slab_free+0x2ea/0x3d0 mm/slub.c:4450
   qlink_free mm/kasan/quarantine.c:163 [inline]
   qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
   kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
   __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
   kasan_slab_alloc include/linux/kasan.h:247 [inline]
   slab_post_alloc_hook mm/slub.c:4086 [inline]
   slab_alloc_node mm/slub.c:4135 [inline]
   kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4142
   getname_flags+0xb7/0x540 fs/namei.c:139
   do_sys_openat2+0xd2/0x1d0 fs/open.c:1409
   do_sys_open fs/open.c:1430 [inline]
   __do_sys_openat fs/open.c:1446 [inline]
   __se_sys_openat fs/open.c:1441 [inline]
   __x64_sys_openat+0x247/0x2a0 fs/open.c:1441
   do_syscall_x64 arch/x86/entry/common.c:52 [inline]
   do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
   entry_SYSCALL_64_after_hwframe+0x77/0x7f

  Memory state around the buggy address:
   ffff8880272a8900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
   ffff8880272a8980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
  >ffff8880272a8a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                              ^
   ffff8880272a8a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
   ffff8880272a8b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
  ==================================================================

Reported-by: syzbot+8aaf2df2ef0164ffe1fb@syzkaller.appspotmail.com
Link: https://lore.kernel.org/linux-btrfs/66fb36b1.050a0220.aab67.003b.GAE@google.com/
CC: stable@vger.kernel.org # 4.19+
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit cd686dfff63f27d712877aef5b962fbf6b8bc264)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:36:00 +05:30
Nuno Sa
f86cf9f162 Input: adp5589-keys - fix adp5589_gpio_get_value()
commit c684771630e64bc39bddffeb65dd8a6612a6b249 upstream.

The adp5589 seems to have the same behavior as similar devices as
explained in commit 910a9f5636 ("Input: adp5588-keys - get value from
data out when dir is out").

Basically, when the gpio is set as output we need to get the value from
ADP5589_GPO_DATA_OUT_A register instead of ADP5589_GPI_STATUS_A.

Fixes: 9d2e173644 ("Input: ADP5589 - new driver for I2C Keypad Decoder and I/O Expander")
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20241001-b4-dev-adp5589-fw-conversion-v1-2-fca0149dfc47@analog.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 9ff7ae486d51c0da706a29b116d7fa399db677f5)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:59 +05:30
Tetsuo Handa
fbd92b0de9 tomoyo: fallback to realpath if symlink's pathname does not exist
commit ada1986d07976d60bed5017aa38b7f7cf27883f7 upstream.

Alfred Agrell found that TOMOYO cannot handle execveat(AT_EMPTY_PATH)
inside chroot environment where /dev and /proc are not mounted, for
commit 51f39a1f0c ("syscalls: implement execveat() system call") missed
that TOMOYO tries to canonicalize argv[0] when the filename fed to the
executed program as argv[0] is supplied using potentially nonexistent
pathname.

Since "/dev/fd/<fd>" already lost symlink information used for obtaining
that <fd>, it is too late to reconstruct symlink's pathname. Although
<filename> part of "/dev/fd/<fd>/<filename>" might not be canonicalized,
TOMOYO cannot use tomoyo_realpath_nofollow() when /dev or /proc is not
mounted. Therefore, fallback to tomoyo_realpath_from_path() when
tomoyo_realpath_nofollow() failed.

Reported-by: Alfred Agrell <blubban@gmail.com>
Closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082001
Fixes: 51f39a1f0c ("syscalls: implement execveat() system call")
Cc: stable@vger.kernel.org # v3.19+
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 455246846468503ac739924d5b63af32c6261b31)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:58 +05:30
Barnabás Czémán
5cb7996e83 iio: magnetometer: ak8975: Fix reading for ak099xx sensors
commit 129464e86c7445a858b790ac2d28d35f58256bbe upstream.

Move ST2 reading with overflow handling after measurement data
reading.
ST2 register read have to be read after read measurment data,
because it means end of the reading and realease the lock on the data.
Remove ST2 read skip on interrupt based waiting because ST2 required to
be read out at and of the axis read.

Fixes: 57e73a423b ("iio: ak8975: add ak09911 and ak09912 support")
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
Link: https://patch.msgid.link/20240819-ak09918-v4-2-f0734d14cfb9@mainlining.org
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 2e78095a0cc35d6210de051accb2fe45649087cd)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:57 +05:30
Zheng Wang
6f292cfada media: venus: fix use after free bug in venus_remove due to race condition
commit c5a85ed88e043474161bbfe54002c89c1cb50ee2 upstream.

in venus_probe, core->work is bound with venus_sys_error_handler, which is
used to handle error. The code use core->sys_err_done to make sync work.
The core->work is started in venus_event_notify.

If we call venus_remove, there might be an unfished work. The possible
sequence is as follows:

CPU0                  CPU1

                     |venus_sys_error_handler
venus_remove         |
hfi_destroy	 		 |
venus_hfi_destroy	 |
kfree(hdev);	     |
                     |hfi_reinit
					 |venus_hfi_queues_reinit
                     |//use hdev

Fix it by canceling the work in venus_remove.

Cc: stable@vger.kernel.org
Fixes: af2c3834c8 ("[media] media: venus: adding core part and helper functions")
Signed-off-by: Zheng Wang <zyytlz.wz@163.com>
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5098b9e6377577fe13d03e1d8914930f014a3314)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:56 +05:30
Hans Verkuil
c436795548 media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags
commit 599f6899051cb70c4e0aa9fd591b9ee220cb6f14 upstream.

The cec_msg_set_reply_to() helper function never zeroed the
struct cec_msg flags field, this can cause unexpected behavior
if flags was uninitialized to begin with.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 0dbacebede ("[media] cec: move the CEC framework out of staging and to media")
Cc: <stable@vger.kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 4afab2197e530b480c4cc099255d12a08c6a1f93)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:55 +05:30
Sebastian Reichel
b1d2b056ba clk: rockchip: fix error for unknown clocks
commit 12fd64babaca4dc09d072f63eda76ba44119816a upstream.

There is a clk == NULL check after the switch to check for
unsupported clk types. Since clk is re-assigned in a loop,
this check is useless right now for anything but the first
round. Let's fix this up by assigning clk = NULL in the
loop before the switch statement.

Fixes: a245fecbb8 ("clk: rockchip: add basic infrastructure for clock branches")
Cc: stable@vger.kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
[added fixes + stable-cc]
Link: https://lore.kernel.org/r/20240325193609.237182-6-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 2f1e1a9047b1644d05284fc0da1d6ab9c4434cf6)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:54 +05:30
Lizhi Xu
3200b2d416 ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate
commit 33b525cef4cff49e216e4133cc48452e11c0391e upstream.

When doing cleanup, if flags without OCFS2_BH_READAHEAD, it may trigger
NULL pointer dereference in the following ocfs2_set_buffer_uptodate() if
bh is NULL.

Link: https://lkml.kernel.org/r/20240902023636.1843422-3-joseph.qi@linux.alibaba.com
Fixes: cf76c78595ca ("ocfs2: don't put and assigning null to bh allocated outside")
Signed-off-by: Lizhi Xu <lizhi.xu@windriver.com>
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reported-by: Heming Zhao <heming.zhao@suse.com>
Suggested-by: Heming Zhao <heming.zhao@suse.com>
Cc: <stable@vger.kernel.org>	[4.20+]
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Mark Fasheh <mark@fasheh.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 190d98bcd61117a78fe185222d162180f061a6ca)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:53 +05:30
Julian Sun
3c59d3ccdb ocfs2: fix null-ptr-deref when journal load failed.
commit 5784d9fcfd43bd853654bb80c87ef293b9e8e80a upstream.

During the mounting process, if journal_reset() fails because of too short
journal, then lead to jbd2_journal_load() fails with NULL j_sb_buffer.
Subsequently, ocfs2_journal_shutdown() calls
jbd2_journal_flush()->jbd2_cleanup_journal_tail()->
__jbd2_update_log_tail()->jbd2_journal_update_sb_log_tail()
->lock_buffer(journal->j_sb_buffer), resulting in a null-pointer
dereference error.

To resolve this issue, we should check the JBD2_LOADED flag to ensure the
journal was properly loaded.  Additionally, use journal instead of
osb->journal directly to simplify the code.

Link: https://syzkaller.appspot.com/bug?extid=05b9b39d8bdfe1a0861f
Link: https://lkml.kernel.org/r/20240902030844.422725-1-sunjunchao2870@gmail.com
Fixes: f6f50e28f0 ("jbd2: Fail to load a journal if it is too short")
Signed-off-by: Julian Sun <sunjunchao2870@gmail.com>
Reported-by: syzbot+05b9b39d8bdfe1a0861f@syzkaller.appspotmail.com
Suggested-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit fd89d92c1140cee8f59de336cb37fa65e359c123)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:52 +05:30
Lizhi Xu
4e85375195 ocfs2: remove unreasonable unlock in ocfs2_read_blocks
commit c03a82b4a0c935774afa01fd6d128b444fd930a1 upstream.

Patch series "Misc fixes for ocfs2_read_blocks", v5.

This series contains 2 fixes for ocfs2_read_blocks().  The first patch fix
the issue reported by syzbot, which detects bad unlock balance in
ocfs2_read_blocks().  The second patch fixes an issue reported by Heming
Zhao when reviewing above fix.

This patch (of 2):

There was a lock release before exiting, so remove the unreasonable unlock.

Link: https://lkml.kernel.org/r/20240902023636.1843422-1-joseph.qi@linux.alibaba.com
Link: https://lkml.kernel.org/r/20240902023636.1843422-2-joseph.qi@linux.alibaba.com
Fixes: cf76c78595ca ("ocfs2: don't put and assigning null to bh allocated outside")
Signed-off-by: Lizhi Xu <lizhi.xu@windriver.com>
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Heming Zhao <heming.zhao@suse.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reported-by: syzbot+ab134185af9ef88dfed5@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=ab134185af9ef88dfed5
Tested-by: syzbot+ab134185af9ef88dfed5@syzkaller.appspotmail.com
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Cc: <stable@vger.kernel.org>	[4.20+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5245f109b4afb6595360d4c180d483a6d2009a59)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:51 +05:30
Joseph Qi
d0e792cbb4 ocfs2: cancel dqi_sync_work before freeing oinfo
commit 35fccce29feb3706f649726d410122dd81b92c18 upstream.

ocfs2_global_read_info() will initialize and schedule dqi_sync_work at the
end, if error occurs after successfully reading global quota, it will
trigger the following warning with CONFIG_DEBUG_OBJECTS_* enabled:

ODEBUG: free active (active state 0) object: 00000000d8b0ce28 object type: timer_list hint: qsync_work_fn+0x0/0x16c

This reports that there is an active delayed work when freeing oinfo in
error handling, so cancel dqi_sync_work first.  BTW, return status instead
of -1 when .read_file_info fails.

Link: https://syzkaller.appspot.com/bug?extid=f7af59df5d6b25f0febd
Link: https://lkml.kernel.org/r/20240904071004.2067695-1-joseph.qi@linux.alibaba.com
Fixes: 171bf93ce1 ("ocfs2: Periodic quota syncing")
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Heming Zhao <heming.zhao@suse.com>
Reported-by: syzbot+f7af59df5d6b25f0febd@syzkaller.appspotmail.com
Tested-by: syzbot+f7af59df5d6b25f0febd@syzkaller.appspotmail.com
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit fc5cc716dfbdc5fd5f373ff3b51358174cf88bfc)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:50 +05:30
Gautham Ananthakrishna
1e7c6cb05a ocfs2: reserve space for inline xattr before attaching reflink tree
commit 5ca60b86f57a4d9648f68418a725b3a7de2816b0 upstream.

One of our customers reported a crash and a corrupted ocfs2 filesystem.
The crash was due to the detection of corruption.  Upon troubleshooting,
the fsck -fn output showed the below corruption

[EXTENT_LIST_FREE] Extent list in owner 33080590 claims 230 as the next free chain record,
but fsck believes the largest valid value is 227.  Clamp the next record value? n

The stat output from the debugfs.ocfs2 showed the following corruption
where the "Next Free Rec:" had overshot the "Count:" in the root metadata
block.

        Inode: 33080590   Mode: 0640   Generation: 2619713622 (0x9c25a856)
        FS Generation: 904309833 (0x35e6ac49)
        CRC32: 00000000   ECC: 0000
        Type: Regular   Attr: 0x0   Flags: Valid
        Dynamic Features: (0x16) HasXattr InlineXattr Refcounted
        Extended Attributes Block: 0  Extended Attributes Inline Size: 256
        User: 0 (root)   Group: 0 (root)   Size: 281320357888
        Links: 1   Clusters: 141738
        ctime: 0x66911b56 0x316edcb8 -- Fri Jul 12 06:02:30.829349048 2024
        atime: 0x66911d6b 0x7f7a28d -- Fri Jul 12 06:11:23.133669517 2024
        mtime: 0x66911b56 0x12ed75d7 -- Fri Jul 12 06:02:30.317552087 2024
        dtime: 0x0 -- Wed Dec 31 17:00:00 1969
        Refcount Block: 2777346
        Last Extblk: 2886943   Orphan Slot: 0
        Sub Alloc Slot: 0   Sub Alloc Bit: 14
        Tree Depth: 1   Count: 227   Next Free Rec: 230
        ## Offset        Clusters       Block#
        0  0             2310           2776351
        1  2310          2139           2777375
        2  4449          1221           2778399
        3  5670          731            2779423
        4  6401          566            2780447
        .......          ....           .......
        .......          ....           .......

The issue was in the reflink workfow while reserving space for inline
xattr.  The problematic function is ocfs2_reflink_xattr_inline().  By the
time this function is called the reflink tree is already recreated at the
destination inode from the source inode.  At this point, this function
reserves space for inline xattrs at the destination inode without even
checking if there is space at the root metadata block.  It simply reduces
the l_count from 243 to 227 thereby making space of 256 bytes for inline
xattr whereas the inode already has extents beyond this index (in this
case up to 230), thereby causing corruption.

The fix for this is to reserve space for inline metadata at the destination
inode before the reflink tree gets recreated. The customer has verified the
fix.

Link: https://lkml.kernel.org/r/20240918063844.1830332-1-gautham.ananthakrishna@oracle.com
Fixes: ef962df057 ("ocfs2: xattr: fix inlined xattr reflink")
Signed-off-by: Gautham Ananthakrishna <gautham.ananthakrishna@oracle.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5c9807c523b4fca81d3e8e864dabc8c806402121)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:49 +05:30
Joseph Qi
10069c65e5 ocfs2: fix uninit-value in ocfs2_get_block()
commit 2af148ef8549a12f8025286b8825c2833ee6bcb8 upstream.

syzbot reported an uninit-value BUG:

BUG: KMSAN: uninit-value in ocfs2_get_block+0xed2/0x2710 fs/ocfs2/aops.c:159
ocfs2_get_block+0xed2/0x2710 fs/ocfs2/aops.c:159
do_mpage_readpage+0xc45/0x2780 fs/mpage.c:225
mpage_readahead+0x43f/0x840 fs/mpage.c:374
ocfs2_readahead+0x269/0x320 fs/ocfs2/aops.c:381
read_pages+0x193/0x1110 mm/readahead.c:160
page_cache_ra_unbounded+0x901/0x9f0 mm/readahead.c:273
do_page_cache_ra mm/readahead.c:303 [inline]
force_page_cache_ra+0x3b1/0x4b0 mm/readahead.c:332
force_page_cache_readahead mm/internal.h:347 [inline]
generic_fadvise+0x6b0/0xa90 mm/fadvise.c:106
vfs_fadvise mm/fadvise.c:185 [inline]
ksys_fadvise64_64 mm/fadvise.c:199 [inline]
__do_sys_fadvise64 mm/fadvise.c:214 [inline]
__se_sys_fadvise64 mm/fadvise.c:212 [inline]
__x64_sys_fadvise64+0x1fb/0x3a0 mm/fadvise.c:212
x64_sys_call+0xe11/0x3ba0
arch/x86/include/generated/asm/syscalls_64.h:222
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f

This is because when ocfs2_extent_map_get_blocks() fails, p_blkno is
uninitialized.  So the error log will trigger the above uninit-value
access.

The error log is out-of-date since get_blocks() was removed long time ago.
And the error code will be logged in ocfs2_extent_map_get_blocks() once
ocfs2_get_cluster() fails, so fix this by only logging inode and block.

Link: https://syzkaller.appspot.com/bug?extid=9709e73bae885b05314b
Link: https://lkml.kernel.org/r/20240925090600.3643376-1-joseph.qi@linux.alibaba.com
Fixes: ccd979bdbc ("[PATCH] OCFS2: The Second Oracle Cluster Filesystem")
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reported-by: syzbot+9709e73bae885b05314b@syzkaller.appspotmail.com
Tested-by: syzbot+9709e73bae885b05314b@syzkaller.appspotmail.com
Cc: Heming Zhao <heming.zhao@suse.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e95da10e6fcac684895c334eca9d95e2fd10b0fe)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:48 +05:30
Heming Zhao
4ad8609a9a ocfs2: fix the la space leak when unmounting an ocfs2 volume
commit dfe6c5692fb525e5e90cefe306ee0dffae13d35f upstream.

This bug has existed since the initial OCFS2 code.  The code logic in
ocfs2_sync_local_to_main() is wrong, as it ignores the last contiguous
free bits, which causes an OCFS2 volume to lose the last free clusters of
LA window on each umount command.

Link: https://lkml.kernel.org/r/20240719114310.14245-1-heming.zhao@suse.com
Signed-off-by: Heming Zhao <heming.zhao@suse.com>
Reviewed-by: Su Yue <glass.su@suse.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Heming Zhao <heming.zhao@suse.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5a074861ae1b6262b50fa9780957db7d17b86672)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:47 +05:30
Baokun Li
0e51b84568 jbd2: stop waiting for space when jbd2_cleanup_journal_tail() returns error
commit f5cacdc6f2bb2a9bf214469dd7112b43dd2dd68a upstream.

In __jbd2_log_wait_for_space(), we might call jbd2_cleanup_journal_tail()
to recover some journal space. But if an error occurs while executing
jbd2_cleanup_journal_tail() (e.g., an EIO), we don't stop waiting for free
space right away, we try other branches, and if j_committing_transaction
is NULL (i.e., the tid is 0), we will get the following complain:

============================================
JBD2: I/O error when updating journal superblock for sdd-8.
__jbd2_log_wait_for_space: needed 256 blocks and only had 217 space available
__jbd2_log_wait_for_space: no way to get more journal space in sdd-8
------------[ cut here ]------------
WARNING: CPU: 2 PID: 139804 at fs/jbd2/checkpoint.c:109 __jbd2_log_wait_for_space+0x251/0x2e0
Modules linked in:
CPU: 2 PID: 139804 Comm: kworker/u8:3 Not tainted 6.6.0+ #1
RIP: 0010:__jbd2_log_wait_for_space+0x251/0x2e0
Call Trace:
 <TASK>
 add_transaction_credits+0x5d1/0x5e0
 start_this_handle+0x1ef/0x6a0
 jbd2__journal_start+0x18b/0x340
 ext4_dirty_inode+0x5d/0xb0
 __mark_inode_dirty+0xe4/0x5d0
 generic_update_time+0x60/0x70
[...]
============================================

So only if jbd2_cleanup_journal_tail() returns 1, i.e., there is nothing to
clean up at the moment, continue to try to reclaim free space in other ways.

Note that this fix relies on commit 6f6a6fda29 ("jbd2: fix ocfs2 corrupt
when updating journal superblock fails") to make jbd2_cleanup_journal_tail
return the correct error code.

Fixes: 8c3f25d895 ("jbd2: don't give up looking for space so easily in __jbd2_log_wait_for_space")
Cc: stable@kernel.org
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240718115336.2554501-1-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 801a35dfef6996f3d5eaa96a59caf00440d9165e)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:46 +05:30
Andrew Jones
6daa837812 of/irq: Support #msi-cells=<0> in of_msi_get_domain
commit db8e81132cf051843c9a59b46fa5a071c45baeb3 upstream.

An 'msi-parent' property with a single entry and no accompanying
'#msi-cells' property is considered the legacy definition as opposed
to its definition after being expanded with commit 126b16e2ad
("Docs: dt: add generic MSI bindings"). However, the legacy
definition is completely compatible with the current definition and,
since of_phandle_iterator_next() tolerates missing and present-but-
zero *cells properties since commit e42ee61017f5 ("of: Let
of_for_each_phandle fallback to non-negative cell_count"), there's no
need anymore to special case the legacy definition in
of_msi_get_domain().

Indeed, special casing has turned out to be harmful, because, as of
commit 7c025238b47a ("dt-bindings: irqchip: Describe the IMX MU block
as a MSI controller"), MSI controller DT bindings have started
specifying '#msi-cells' as a required property (even when the value
must be zero) as an effort to make the bindings more explicit. But,
since the special casing of 'msi-parent' only uses the existence of
'#msi-cells' for its heuristic, and not whether or not it's also
nonzero, the legacy path is not taken. Furthermore, the path to
support the new, broader definition isn't taken either since that
path has been restricted to the platform-msi bus.

But, neither the definition of 'msi-parent' nor the definition of
'#msi-cells' is platform-msi-specific (the platform-msi bus was just
the first bus that needed '#msi-cells'), so remove both the special
casing and the restriction. The code removal also requires changing
to of_parse_phandle_with_optional_args() in order to ensure the
legacy (but compatible) use of 'msi-parent' remains supported. This
not only simplifies the code but also resolves an issue with PCI
devices finding their MSI controllers on riscv, as the riscv,imsics
binding requires '#msi-cells=<0>'.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240817074107.31153-2-ajones@ventanamicro.com
Cc: stable@vger.kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 030de6c36c48a40f42d7d59732ee69990340e0a1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:45 +05:30
Luis Henriques (SUSE)
76e097b0d2 ext4: fix incorrect tid assumption in ext4_wait_for_tail_page_commit()
commit dd589b0f1445e1ea1085b98edca6e4d5dedb98d0 upstream.

Function ext4_wait_for_tail_page_commit() assumes that '0' is not a valid
value for transaction IDs, which is incorrect.  Don't assume that and invoke
jbd2_log_wait_commit() if the journal had a committing transaction instead.

Signed-off-by: Luis Henriques (SUSE) <luis.henriques@linux.dev>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240724161119.13448-2-luis.henriques@linux.dev
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 93fd249f197eeca81bb1c744ac8aec2804afd219)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:44 +05:30
Baokun Li
e346b1e26e ext4: fix double brelse() the buffer of the extents path
commit dcaa6c31134c0f515600111c38ed7750003e1b9c upstream.

In ext4_ext_try_to_merge_up(), set path[1].p_bh to NULL after it has been
released, otherwise it may be released twice. An example of what triggers
this is as follows:

  split2    map    split1
|--------|-------|--------|

ext4_ext_map_blocks
 ext4_ext_handle_unwritten_extents
  ext4_split_convert_extents
   // path->p_depth == 0
   ext4_split_extent
     // 1. do split1
     ext4_split_extent_at
       |ext4_ext_insert_extent
       |  ext4_ext_create_new_leaf
       |    ext4_ext_grow_indepth
       |      le16_add_cpu(&neh->eh_depth, 1)
       |    ext4_find_extent
       |      // return -ENOMEM
       |// get error and try zeroout
       |path = ext4_find_extent
       |  path->p_depth = 1
       |ext4_ext_try_to_merge
       |  ext4_ext_try_to_merge_up
       |    path->p_depth = 0
       |    brelse(path[1].p_bh)  ---> not set to NULL here
       |// zeroout success
     // 2. update path
     ext4_find_extent
     // 3. do split2
     ext4_split_extent_at
       ext4_ext_insert_extent
         ext4_ext_create_new_leaf
           ext4_ext_grow_indepth
             le16_add_cpu(&neh->eh_depth, 1)
           ext4_find_extent
             path[0].p_bh = NULL;
             path->p_depth = 1
             read_extent_tree_block  ---> return err
             // path[1].p_bh is still the old value
             ext4_free_ext_path
               ext4_ext_drop_refs
                 // path->p_depth == 1
                 brelse(path[1].p_bh)  ---> brelse a buffer twice

Finally got the following WARRNING when removing the buffer from lru:

============================================
VFS: brelse: Trying to free free buffer
WARNING: CPU: 2 PID: 72 at fs/buffer.c:1241 __brelse+0x58/0x90
CPU: 2 PID: 72 Comm: kworker/u19:1 Not tainted 6.9.0-dirty #716
RIP: 0010:__brelse+0x58/0x90
Call Trace:
 <TASK>
 __find_get_block+0x6e7/0x810
 bdev_getblk+0x2b/0x480
 __ext4_get_inode_loc+0x48a/0x1240
 ext4_get_inode_loc+0xb2/0x150
 ext4_reserve_inode_write+0xb7/0x230
 __ext4_mark_inode_dirty+0x144/0x6a0
 ext4_ext_insert_extent+0x9c8/0x3230
 ext4_ext_map_blocks+0xf45/0x2dc0
 ext4_map_blocks+0x724/0x1700
 ext4_do_writepages+0x12d6/0x2a70
[...]
============================================

Fixes: ecb94f5fdf ("ext4: collapse a single extent tree block into the inode if possible")
Cc: stable@kernel.org
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Tested-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://patch.msgid.link/20240822023545.1994557-9-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit d4574bda63906bf69660e001470bfe1a0ac524ae)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:43 +05:30
Baokun Li
c368899dfa ext4: aovid use-after-free in ext4_ext_insert_extent()
commit a164f3a432aae62ca23d03e6d926b122ee5b860d upstream.

As Ojaswin mentioned in Link, in ext4_ext_insert_extent(), if the path is
reallocated in ext4_ext_create_new_leaf(), we'll use the stale path and
cause UAF. Below is a sample trace with dummy values:

ext4_ext_insert_extent
  path = *ppath = 2000
  ext4_ext_create_new_leaf(ppath)
    ext4_find_extent(ppath)
      path = *ppath = 2000
      if (depth > path[0].p_maxdepth)
            kfree(path = 2000);
            *ppath = path = NULL;
      path = kcalloc() = 3000
      *ppath = 3000;
      return path;
  /* here path is still 2000, UAF! */
  eh = path[depth].p_hdr

==================================================================
BUG: KASAN: slab-use-after-free in ext4_ext_insert_extent+0x26d4/0x3330
Read of size 8 at addr ffff8881027bf7d0 by task kworker/u36:1/179
CPU: 3 UID: 0 PID: 179 Comm: kworker/u6:1 Not tainted 6.11.0-rc2-dirty #866
Call Trace:
 <TASK>
 ext4_ext_insert_extent+0x26d4/0x3330
 ext4_ext_map_blocks+0xe22/0x2d40
 ext4_map_blocks+0x71e/0x1700
 ext4_do_writepages+0x1290/0x2800
[...]

Allocated by task 179:
 ext4_find_extent+0x81c/0x1f70
 ext4_ext_map_blocks+0x146/0x2d40
 ext4_map_blocks+0x71e/0x1700
 ext4_do_writepages+0x1290/0x2800
 ext4_writepages+0x26d/0x4e0
 do_writepages+0x175/0x700
[...]

Freed by task 179:
 kfree+0xcb/0x240
 ext4_find_extent+0x7c0/0x1f70
 ext4_ext_insert_extent+0xa26/0x3330
 ext4_ext_map_blocks+0xe22/0x2d40
 ext4_map_blocks+0x71e/0x1700
 ext4_do_writepages+0x1290/0x2800
 ext4_writepages+0x26d/0x4e0
 do_writepages+0x175/0x700
[...]
==================================================================

So use *ppath to update the path to avoid the above problem.

Reported-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Closes: https://lore.kernel.org/r/ZqyL6rmtwl6N4MWR@li-bb2b2a4c-3307-11b2-a85c-8fa5c3a69313.ibm.com
Fixes: 10809df84a ("ext4: teach ext4_ext_find_extent() to realloc path if necessary")
Cc: stable@kernel.org
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240822023545.1994557-7-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e17ebe4fdd7665c93ae9459ba40fcdfb76769ac1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:42 +05:30
Luis Henriques (SUSE)
62d3ea7364 ext4: fix incorrect tid assumption in __jbd2_log_wait_for_space()
commit 972090651ee15e51abfb2160e986fa050cfc7a40 upstream.

Function __jbd2_log_wait_for_space() assumes that '0' is not a valid value
for transaction IDs, which is incorrect.  Don't assume that and invoke
jbd2_log_wait_commit() if the journal had a committing transaction instead.

Signed-off-by: Luis Henriques (SUSE) <luis.henriques@linux.dev>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240724161119.13448-3-luis.henriques@linux.dev
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 330ecdae721e62cd7ee287fb3cd7f88afa26e85a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:41 +05:30
Baokun Li
5ee7b73dae ext4: propagate errors from ext4_find_extent() in ext4_insert_range()
commit 369c944ed1d7c3fb7b35f24e4735761153afe7b3 upstream.

Even though ext4_find_extent() returns an error, ext4_insert_range() still
returns 0. This may confuse the user as to why fallocate returns success,
but the contents of the file are not as expected. So propagate the error
returned by ext4_find_extent() to avoid inconsistencies.

Fixes: 331573febb ("ext4: Add support FALLOC_FL_INSERT_RANGE for fallocate")
Cc: stable@kernel.org
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Tested-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://patch.msgid.link/20240822023545.1994557-11-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit d38a882fadb0431747342637ad3a9166663e8a86)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:40 +05:30
Edward Adam Davis
7445c15c98 ext4: no need to continue when the number of entries is 1
commit 1a00a393d6a7fb1e745a41edd09019bd6a0ad64c upstream.

Fixes: ac27a0ec11 ("[PATCH] ext4: initial copy of files from ext3")
Reported-by: syzbot+ae688d469e36fb5138d0@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=ae688d469e36fb5138d0
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Reported-and-tested-by: syzbot+ae688d469e36fb5138d0@syzkaller.appspotmail.com
Link: https://patch.msgid.link/tencent_BE7AEE6C7C2D216CB8949CE8E6EE7ECC2C0A@qq.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 64c8c484242b141998f7408596ddb2dc6da4b1d3)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:39 +05:30
Jaroslav Kysela
9980aabb78 ALSA: core: add isascii() check to card ID generator
commit d278a9de5e1837edbe57b2f1f95a104ff6c84846 upstream.

The card identifier should contain only safe ASCII characters. The isalnum()
returns true also for characters for non-ASCII characters.

Link: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4135
Link: https://lore.kernel.org/linux-sound/yk3WTvKkwheOon_LzZlJ43PPInz6byYfBzpKkbasww1yzuiMRqn7n6Y8vZcXB-xwFCu_vb8hoNjv7DTNwH5TWjpEuiVsyn9HPCEXqwF4120=@protonmail.com/
Cc: stable@vger.kernel.org
Reported-by: Barnabás Pőcze <pobrn@protonmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://patch.msgid.link/20241002194649.1944696-1-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 3b9b0efb330f9d2ab082b7f426993d7bac3f2c66)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:38 +05:30
Luo Gengkun
5119d8804f perf/core: Fix small negative period being ignored
commit 62c0b1061593d7012292f781f11145b2d46f43ab upstream.

In perf_adjust_period, we will first calculate period, and then use
this period to calculate delta. However, when delta is less than 0,
there will be a deviation compared to when delta is greater than or
equal to 0. For example, when delta is in the range of [-14,-1], the
range of delta = delta + 7 is between [-7,6], so the final value of
delta/8 is 0. Therefore, the impact of -1 and -2 will be ignored.
This is unacceptable when the target period is very short, because
we will lose a lot of samples.

Here are some tests and analyzes:
before:
  # perf record -e cs -F 1000  ./a.out
  [ perf record: Woken up 1 times to write data ]
  [ perf record: Captured and wrote 0.022 MB perf.data (518 samples) ]

  # perf script
  ...
  a.out     396   257.956048:         23 cs:  ffffffff81f4eeec schedul>
  a.out     396   257.957891:         23 cs:  ffffffff81f4eeec schedul>
  a.out     396   257.959730:         23 cs:  ffffffff81f4eeec schedul>
  a.out     396   257.961545:         23 cs:  ffffffff81f4eeec schedul>
  a.out     396   257.963355:         23 cs:  ffffffff81f4eeec schedul>
  a.out     396   257.965163:         23 cs:  ffffffff81f4eeec schedul>
  a.out     396   257.966973:         23 cs:  ffffffff81f4eeec schedul>
  a.out     396   257.968785:         23 cs:  ffffffff81f4eeec schedul>
  a.out     396   257.970593:         23 cs:  ffffffff81f4eeec schedul>
  ...

after:
  # perf record -e cs -F 1000  ./a.out
  [ perf record: Woken up 1 times to write data ]
  [ perf record: Captured and wrote 0.058 MB perf.data (1466 samples) ]

  # perf script
  ...
  a.out     395    59.338813:         11 cs:  ffffffff81f4eeec schedul>
  a.out     395    59.339707:         12 cs:  ffffffff81f4eeec schedul>
  a.out     395    59.340682:         13 cs:  ffffffff81f4eeec schedul>
  a.out     395    59.341751:         13 cs:  ffffffff81f4eeec schedul>
  a.out     395    59.342799:         12 cs:  ffffffff81f4eeec schedul>
  a.out     395    59.343765:         11 cs:  ffffffff81f4eeec schedul>
  a.out     395    59.344651:         11 cs:  ffffffff81f4eeec schedul>
  a.out     395    59.345539:         12 cs:  ffffffff81f4eeec schedul>
  a.out     395    59.346502:         13 cs:  ffffffff81f4eeec schedul>
  ...

test.c

int main() {
        for (int i = 0; i < 20000; i++)
                usleep(10);

        return 0;
}

  # time ./a.out
  real    0m1.583s
  user    0m0.040s
  sys     0m0.298s

The above results were tested on x86-64 qemu with KVM enabled using
test.c as test program. Ideally, we should have around 1500 samples,
but the previous algorithm had only about 500, whereas the modified
algorithm now has about 1400. Further more, the new version shows 1
sample per 0.001s, while the previous one is 1 sample per 0.002s.This
indicates that the new algorithm is more sensitive to small negative
values compared to old algorithm.

Fixes: bd2b5b1284 ("perf_counter: More aggressive frequency adjustment")
Signed-off-by: Luo Gengkun <luogengkun@huaweicloud.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20240831074316.2106159-2-luogengkun@huaweicloud.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 7fddba7b1bb6f1cc35269e510bc832feb3c54b11)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:37 +05:30
Jinjie Ruan
c62d641022 spi: bcm63xx: Fix module autoloading
commit 909f34f2462a99bf876f64c5c61c653213e32fce upstream.

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from platform_device_id table.

Fixes: 44d8fb3094 ("spi/bcm63xx: move register definitions into the driver")
Cc: stable@vger.kernel.org
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Jonas Gorski <jonas.gorski@gmail.com>
Link: https://patch.msgid.link/20240819123349.4020472-2-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 54feac119535e0273730720fe9a4683389f71bff)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:36 +05:30
Robert Hancock
f854ef98bc i2c: xiic: Wait for TX empty to avoid missed TX NAKs
commit 521da1e9225450bd323db5fa5bca942b1dc485b7 upstream.

Frequently an I2C write will be followed by a read, such as a register
address write followed by a read of the register value. In this driver,
when the TX FIFO half empty interrupt was raised and it was determined
that there was enough space in the TX FIFO to send the following read
command, it would do so without waiting for the TX FIFO to actually
empty.

Unfortunately it appears that in some cases this can result in a NAK
that was raised by the target device on the write, such as due to an
unsupported register address, being ignored and the subsequent read
being done anyway. This can potentially put the I2C bus into an
invalid state and/or result in invalid read data being processed.

To avoid this, once a message has been fully written to the TX FIFO,
wait for the TX FIFO empty interrupt before moving on to the next
message, to ensure NAKs are handled properly.

Fixes: e1d5b6598c ("i2c: Add support for Xilinx XPS IIC Bus Interface")
Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Cc: <stable@vger.kernel.org> # v2.6.34+
Reviewed-by: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 8a6158421b417bb0841c4c7cb7a649707a1089d2)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:36 +05:30
Christophe Leroy
68386ffe64 selftests: vDSO: fix vDSO symbols lookup for powerpc64
[ Upstream commit ba83b3239e657469709d15dcea5f9b65bf9dbf34 ]

On powerpc64, following tests fail locating vDSO functions:

  ~ # ./vdso_test_abi
  TAP version 13
  1..16
  # [vDSO kselftest] VDSO_VERSION: LINUX_2.6.15
  # Couldn't find __kernel_gettimeofday
  ok 1 # SKIP __kernel_gettimeofday
  # clock_id: CLOCK_REALTIME
  # Couldn't find __kernel_clock_gettime
  ok 2 # SKIP __kernel_clock_gettime CLOCK_REALTIME
  # Couldn't find __kernel_clock_getres
  ok 3 # SKIP __kernel_clock_getres CLOCK_REALTIME
  ...
  # Couldn't find __kernel_time
  ok 16 # SKIP __kernel_time
  # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:16 error:0

  ~ # ./vdso_test_getrandom
  __kernel_getrandom is missing!

  ~ # ./vdso_test_gettimeofday
  Could not find __kernel_gettimeofday

  ~ # ./vdso_test_getcpu
  Could not find __kernel_getcpu

On powerpc64, as shown below by readelf, vDSO functions symbols have
type NOTYPE, so also accept that type when looking for symbols.

$ powerpc64-linux-gnu-readelf -a arch/powerpc/kernel/vdso/vdso64.so.dbg
ELF Header:
  Magic:   7f 45 4c 46 02 02 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, big endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           PowerPC64
  Version:                           0x1
...

Symbol table '.dynsym' contains 12 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 0000000000000524    84 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15
     2: 00000000000005f0    36 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15
     3: 0000000000000578    68 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15
     4: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS LINUX_2.6.15
     5: 00000000000006c0    48 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15
     6: 0000000000000614   172 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15
     7: 00000000000006f0    84 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15
     8: 000000000000047c    84 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15
     9: 0000000000000454    12 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15
    10: 00000000000004d0    84 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15
    11: 00000000000005bc    52 NOTYPE  GLOBAL DEFAULT    8 __[...]@@LINUX_2.6.15

Symbol table '.symtab' contains 56 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
...
    45: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS LINUX_2.6.15
    46: 00000000000006c0    48 NOTYPE  GLOBAL DEFAULT    8 __kernel_getcpu
    47: 0000000000000524    84 NOTYPE  GLOBAL DEFAULT    8 __kernel_clock_getres
    48: 00000000000005f0    36 NOTYPE  GLOBAL DEFAULT    8 __kernel_get_tbfreq
    49: 000000000000047c    84 NOTYPE  GLOBAL DEFAULT    8 __kernel_gettimeofday
    50: 0000000000000614   172 NOTYPE  GLOBAL DEFAULT    8 __kernel_sync_dicache
    51: 00000000000006f0    84 NOTYPE  GLOBAL DEFAULT    8 __kernel_getrandom
    52: 0000000000000454    12 NOTYPE  GLOBAL DEFAULT    8 __kernel_sigtram[...]
    53: 0000000000000578    68 NOTYPE  GLOBAL DEFAULT    8 __kernel_time
    54: 00000000000004d0    84 NOTYPE  GLOBAL DEFAULT    8 __kernel_clock_g[...]
    55: 00000000000005bc    52 NOTYPE  GLOBAL DEFAULT    8 __kernel_get_sys[...]

Fixes: 98eedc3a9d ("Document the vDSO and add a reference parser")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 058d587e7f1520934823bae8f41db3c0b1097b59)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:35 +05:30
Yifei Liu
58f3dba206 selftests: breakpoints: use remaining time to check if suspend succeed
[ Upstream commit c66be905cda24fb782b91053b196bd2e966f95b7 ]

step_after_suspend_test fails with device busy error while
writing to /sys/power/state to start suspend. The test believes
it failed to enter suspend state with

$ sudo ./step_after_suspend_test
TAP version 13
Bail out! Failed to enter Suspend state

However, in the kernel message, I indeed see the system get
suspended and then wake up later.

[611172.033108] PM: suspend entry (s2idle)
[611172.044940] Filesystems sync: 0.006 seconds
[611172.052254] Freezing user space processes
[611172.059319] Freezing user space processes completed (elapsed 0.001 seconds)
[611172.067920] OOM killer disabled.
[611172.072465] Freezing remaining freezable tasks
[611172.080332] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[611172.089724] printk: Suspending console(s) (use no_console_suspend to debug)
[611172.117126] serial 00:03: disabled
some other hardware get reconnected
[611203.136277] OOM killer enabled.
[611203.140637] Restarting tasks ...
[611203.141135] usb 1-8.1: USB disconnect, device number 7
[611203.141755] done.
[611203.155268] random: crng reseeded on system resumption
[611203.162059] PM: suspend exit

After investigation, I noticed that for the code block
if (write(power_state_fd, "mem", strlen("mem")) != strlen("mem"))
	ksft_exit_fail_msg("Failed to enter Suspend state\n");

The write will return -1 and errno is set to 16 (device busy).
It should be caused by the write function is not successfully returned
before the system suspend and the return value get messed when waking up.
As a result, It may be better to check the time passed of those few
instructions to determine whether the suspend is executed correctly for
it is pretty hard to execute those few lines for 5 seconds.

The timer to wake up the system is set to expire after 5 seconds and
no re-arm. If the timer remaining time is 0 second and 0 nano secomd,
it means the timer expired and wake the system up. Otherwise, the system
could be considered to enter the suspend state failed if there is any
remaining time.

After appling this patch, the test would not fail for it believes the
system does not go to suspend by mistake. It now could continue to the
rest part of the test after suspend.

Fixes: bfd092b8c2 ("selftests: breakpoint: add step_after_suspend_test")
Reported-by: Sinadin Shan <sinadin.shan@oracle.com>
Signed-off-by: Yifei Liu <yifei.l.liu@oracle.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8dea5ffbd147f6708e2f70f04406d8b711873433)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:34 +05:30
Ben Dooks
db8306c6ac spi: s3c64xx: fix timeout counters in flush_fifo
[ Upstream commit 68a16708d2503b6303d67abd43801e2ca40c208d ]

In the s3c64xx_flush_fifo() code, the loops counter is post-decremented
in the do { } while(test && loops--) condition. This means the loops is
left at the unsigned equivalent of -1 if the loop times out. The test
after will never pass as if tests for loops == 0.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Fixes: 230d42d422 ("spi: Add s3c64xx SPI Controller driver")
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://patch.msgid.link/20240924134009.116247-2-ben.dooks@codethink.co.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 12f47fdd4fb4c4592c9cfad6c21b3855a6bdadb8)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:34 +05:30
Artem Sadovnikov
5b9aa67fce ext4: fix i_data_sem unlock order in ext4_ind_migrate()
[ Upstream commit cc749e61c011c255d81b192a822db650c68b313f ]

Fuzzing reports a possible deadlock in jbd2_log_wait_commit.

This issue is triggered when an EXT4_IOC_MIGRATE ioctl is set to require
synchronous updates because the file descriptor is opened with O_SYNC.
This can lead to the jbd2_journal_stop() function calling
jbd2_might_wait_for_commit(), potentially causing a deadlock if the
EXT4_IOC_MIGRATE call races with a write(2) system call.

This problem only arises when CONFIG_PROVE_LOCKING is enabled. In this
case, the jbd2_might_wait_for_commit macro locks jbd2_handle in the
jbd2_journal_stop function while i_data_sem is locked. This triggers
lockdep because the jbd2_journal_start function might also lock the same
jbd2_handle simultaneously.

Found by Linux Verification Center (linuxtesting.org) with syzkaller.

Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Co-developed-by: Mikhail Ukhin <mish.uxin2012@yandex.ru>
Signed-off-by: Mikhail Ukhin <mish.uxin2012@yandex.ru>
Signed-off-by: Artem Sadovnikov <ancowi69@gmail.com>
Rule: add
Link: https://lore.kernel.org/stable/20240404095000.5872-1-mish.uxin2012%40yandex.ru
Link: https://patch.msgid.link/20240829152210.2754-1-ancowi69@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4192adefc9c570698821c5eb9873320eac2fcbf1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:33 +05:30
Thadeu Lima de Souza Cascardo
989495abd7 ext4: ext4_search_dir should return a proper error
[ Upstream commit cd69f8f9de280e331c9e6ff689ced0a688a9ce8f ]

ext4_search_dir currently returns -1 in case of a failure, while it returns
0 when the name is not found. In such failure cases, it should return an
error code instead.

This becomes even more important when ext4_find_inline_entry returns an
error code as well in the next commit.

-EFSCORRUPTED seems appropriate as such error code as these failures would
be caused by unexpected record lengths and is in line with other instances
of ext4_check_dir_entry failures.

In the case of ext4_dx_find_entry, the current use of ERR_BAD_DX_DIR was
left as is to reduce the risk of regressions.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Link: https://patch.msgid.link/20240821152324.3621860-2-cascardo@igalia.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a15514ec9f080fe24ee71edf8b97b49ab9b8fc80)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:35:28 +05:30
Geert Uytterhoeven
c5599e93ce of/irq: Refer to actual buffer size in of_irq_parse_one()
[ Upstream commit 39ab331ab5d377a18fbf5a0e0b228205edfcc7f4 ]

Replace two open-coded calculations of the buffer size by invocations of
sizeof() on the buffer itself, to make sure the code will always use the
actual buffer size.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/817c0b9626fd30790fc488c472a3398324cfcc0c.1724156125.git.geert+renesas@glider.be
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 64bf240f2dfc242d507c7f8404cd9938d61db7cc)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:34:19 +05:30
Geert Uytterhoeven
aedf633163 drm/radeon/r100: Handle unknown family in r100_cp_init_microcode()
[ Upstream commit c6dbab46324b1742b50dc2fb5c1fee2c28129439 ]

With -Werror:

    In function ‘r100_cp_init_microcode’,
	inlined from ‘r100_cp_init’ at drivers/gpu/drm/radeon/r100.c:1136:7:
    include/linux/printk.h:465:44: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
      465 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
	  |                                            ^
    include/linux/printk.h:437:17: note: in definition of macro ‘printk_index_wrap’
      437 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
	  |                 ^~~~~~~
    include/linux/printk.h:508:9: note: in expansion of macro ‘printk’
      508 |         printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
	  |         ^~~~~~
    drivers/gpu/drm/radeon/r100.c:1062:17: note: in expansion of macro ‘pr_err’
     1062 |                 pr_err("radeon_cp: Failed to load firmware \"%s\"\n", fw_name);
	  |                 ^~~~~~

Fix this by converting the if/else if/... construct into a proper
switch() statement with a default to handle the error case.

As a bonus, the generated code is ca. 100 bytes smaller (with gcc 11.4.0
targeting arm32).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 7d91358e819a2761a5feff67d902456aaf4e567a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:32:22 +05:30
Zhao Mengmeng
a10e441c5a jfs: Fix uninit-value access of new_ea in ea_buffer
[ Upstream commit 2b59ffad47db1c46af25ccad157bb3b25147c35c ]

syzbot reports that lzo1x_1_do_compress is using uninit-value:

=====================================================
BUG: KMSAN: uninit-value in lzo1x_1_do_compress+0x19f9/0x2510 lib/lzo/lzo1x_compress.c:178

...

Uninit was stored to memory at:
 ea_put fs/jfs/xattr.c:639 [inline]

...

Local variable ea_buf created at:
 __jfs_setxattr+0x5d/0x1ae0 fs/jfs/xattr.c:662
 __jfs_xattr_set+0xe6/0x1f0 fs/jfs/xattr.c:934

=====================================================

The reason is ea_buf->new_ea is not initialized properly.

Fix this by using memset to empty its content at the beginning
in ea_get().

Reported-by: syzbot+02341e0daa42a15ce130@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=02341e0daa42a15ce130
Signed-off-by: Zhao Mengmeng <zhaomengmeng@kylinos.cn>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 7b24d41d47a6805c45378debf8bd115675d41da8)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:32:21 +05:30
Edward Adam Davis
d69ee9fa73 jfs: check if leafidx greater than num leaves per dmap tree
[ Upstream commit d64ff0d2306713ff084d4b09f84ed1a8c75ecc32 ]

syzbot report a out of bounds in dbSplit, it because dmt_leafidx greater
than num leaves per dmap tree, add a checking for dmt_leafidx in dbFindLeaf.

Shaggy:
Modified sanity check to apply to control pages as well as leaf pages.

Reported-and-tested-by: syzbot+dca05492eff41f604890@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=dca05492eff41f604890
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit d76b9a4c283c7535ae7c7c9b14984e75402951e1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:32:18 +05:30
Edward Adam Davis
9a1253d2f4 jfs: Fix uaf in dbFreeBits
[ Upstream commit d6c1b3599b2feb5c7291f5ac3a36e5fa7cedb234 ]

[syzbot reported]
==================================================================
BUG: KASAN: slab-use-after-free in __mutex_lock_common kernel/locking/mutex.c:587 [inline]
BUG: KASAN: slab-use-after-free in __mutex_lock+0xfe/0xd70 kernel/locking/mutex.c:752
Read of size 8 at addr ffff8880229254b0 by task syz-executor357/5216

CPU: 0 UID: 0 PID: 5216 Comm: syz-executor357 Not tainted 6.11.0-rc3-syzkaller-00156-gd7a5aa4b3c00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:93 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
 print_address_description mm/kasan/report.c:377 [inline]
 print_report+0x169/0x550 mm/kasan/report.c:488
 kasan_report+0x143/0x180 mm/kasan/report.c:601
 __mutex_lock_common kernel/locking/mutex.c:587 [inline]
 __mutex_lock+0xfe/0xd70 kernel/locking/mutex.c:752
 dbFreeBits+0x7ea/0xd90 fs/jfs/jfs_dmap.c:2390
 dbFreeDmap fs/jfs/jfs_dmap.c:2089 [inline]
 dbFree+0x35b/0x680 fs/jfs/jfs_dmap.c:409
 dbDiscardAG+0x8a9/0xa20 fs/jfs/jfs_dmap.c:1650
 jfs_ioc_trim+0x433/0x670 fs/jfs/jfs_discard.c:100
 jfs_ioctl+0x2d0/0x3e0 fs/jfs/ioctl.c:131
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83

Freed by task 5218:
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579
 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240
 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256
 kasan_slab_free include/linux/kasan.h:184 [inline]
 slab_free_hook mm/slub.c:2252 [inline]
 slab_free mm/slub.c:4473 [inline]
 kfree+0x149/0x360 mm/slub.c:4594
 dbUnmount+0x11d/0x190 fs/jfs/jfs_dmap.c:278
 jfs_mount_rw+0x4ac/0x6a0 fs/jfs/jfs_mount.c:247
 jfs_remount+0x3d1/0x6b0 fs/jfs/super.c:454
 reconfigure_super+0x445/0x880 fs/super.c:1083
 vfs_cmd_reconfigure fs/fsopen.c:263 [inline]
 vfs_fsconfig_locked fs/fsopen.c:292 [inline]
 __do_sys_fsconfig fs/fsopen.c:473 [inline]
 __se_sys_fsconfig+0xb6e/0xf80 fs/fsopen.c:345
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

[Analysis]
There are two paths (dbUnmount and jfs_ioc_trim) that generate race
condition when accessing bmap, which leads to the occurrence of uaf.

Use the lock s_umount to synchronize them, in order to avoid uaf caused
by race condition.

Reported-and-tested-by: syzbot+3c010e21296f33a5dc16@syzkaller.appspotmail.com
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4ac58f7734937f3249da734ede946dfb3b1af5e4)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:59 +05:30
Remington Brasga
8c4b8d7a31 jfs: UBSAN: shift-out-of-bounds in dbFindBits
[ Upstream commit b0b2fc815e514221f01384f39fbfbff65d897e1c ]

Fix issue with UBSAN throwing shift-out-of-bounds warning.

Reported-by: syzbot+e38d703eeb410b17b473@syzkaller.appspotmail.com
Signed-off-by: Remington Brasga <rbrasga@uci.edu>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 830d908130d88745f0fd3ed9912cc381edf11ff1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:58 +05:30
Damien Le Moal
120d039873 ata: sata_sil: Rename sil_blacklist to sil_quirks
[ Upstream commit 93b0f9e11ce511353c65b7f924cf5f95bd9c3aba ]

Rename the array sil_blacklist to sil_quirks as this name is more
neutral and is also consistent with how this driver define quirks with
the SIL_QUIRK_XXX flags.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Igor Pylypiv <ipylypiv@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a57a97bb79d5123442068f887e5f1614ed4c752c)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:57 +05:30
Andrew Davis
872ead470a power: reset: brcmstb: Do not go into infinite loop if reset fails
[ Upstream commit cf8c39b00e982fa506b16f9d76657838c09150cb ]

There may be other backup reset methods available, do not halt
here so that other reset methods can be tried.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20240610142836.168603-5-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 61a6d482734804e0a81c3951b8a0d3852085a2cc)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:56 +05:30
Kaixin Wang
8ef1410b11 fbdev: pxafb: Fix possible use after free in pxafb_task()
[ Upstream commit 4a6921095eb04a900e0000da83d9475eb958e61e ]

In the pxafb_probe function, it calls the pxafb_init_fbinfo function,
after which &fbi->task is associated with pxafb_task. Moreover,
within this pxafb_init_fbinfo function, the pxafb_blank function
within the &pxafb_ops struct is capable of scheduling work.

If we remove the module which will call pxafb_remove to make cleanup,
it will call unregister_framebuffer function which can call
do_unregister_framebuffer to free fbi->fb through
put_fb_info(fb_info), while the work mentioned above will be used.
The sequence of operations that may lead to a UAF bug is as follows:

CPU0                                                CPU1

                                   | pxafb_task
pxafb_remove                       |
unregister_framebuffer(info)       |
do_unregister_framebuffer(fb_info) |
put_fb_info(fb_info)               |
// free fbi->fb                    | set_ctrlr_state(fbi, state)
                                   | __pxafb_lcd_power(fbi, 0)
                                   | fbi->lcd_power(on, &fbi->fb.var)
                                   | //use fbi->fb

Fix it by ensuring that the work is canceled before proceeding
with the cleanup in pxafb_remove.

Note that only root user can remove the driver at runtime.

Signed-off-by: Kaixin Wang <kxwang23@m.fudan.edu.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e657fa2df4429f3805a9b3e47fb1a4a1b02a72bd)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:55 +05:30
Takashi Iwai
4ed9e05726 ALSA: hdsp: Break infinite MIDI input flush loop
[ Upstream commit c01f3815453e2d5f699ccd8c8c1f93a5b8669e59 ]

The current MIDI input flush on HDSP and HDSPM drivers relies on the
hardware reporting the right value.  If the hardware doesn't give the
proper value but returns -1, it may be stuck at an infinite loop.

Add a counter and break if the loop is unexpectedly too long.

Link: https://patch.msgid.link/20240808091513.31380-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit dc0c68e2e6e2c544b1361baa1ca230569ab6279d)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:54 +05:30
Takashi Iwai
63e19c51d4 ALSA: asihpi: Fix potential OOB array access
[ Upstream commit 7b986c7430a6bb68d523dac7bfc74cbd5b44ef96 ]

ASIHPI driver stores some values in the static array upon a response
from the driver, and its index depends on the firmware.  We shouldn't
trust it blindly.

This patch adds a sanity check of the array index to fit in the array
size.

Link: https://patch.msgid.link/20240808091454.30846-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a6bdb691cf7b66dcd929de1a253c5c42edd2e522)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:52 +05:30
Thomas Gleixner
4225d03b83 signal: Replace BUG_ON()s
[ Upstream commit 7f8af7bac5380f2d95a63a6f19964e22437166e1 ]

These really can be handled gracefully without killing the machine.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 0f9c27fbb8a52c50ff7d2659386f1f43e7fbddee)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:51 +05:30
Gustavo A. R. Silva
be64d82131 wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_cmd_802_11_scan_ext()
[ Upstream commit 498365e52bebcbc36a93279fe7e9d6aec8479cee ]

Replace one-element array with a flexible-array member in
`struct host_cmd_ds_802_11_scan_ext`.

With this, fix the following warning:

elo 16 17:51:58 surfacebook kernel: ------------[ cut here ]------------
elo 16 17:51:58 surfacebook kernel: memcpy: detected field-spanning write (size 243) of single field "ext_scan->tlv_buffer" at drivers/net/wireless/marvell/mwifiex/scan.c:2239 (size 1)
elo 16 17:51:58 surfacebook kernel: WARNING: CPU: 0 PID: 498 at drivers/net/wireless/marvell/mwifiex/scan.c:2239 mwifiex_cmd_802_11_scan_ext+0x83/0x90 [mwifiex]

Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Closes: https://lore.kernel.org/linux-hardening/ZsZNgfnEwOcPdCly@black.fi.intel.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/ZsZa5xRcsLq9D+RX@elsanto
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b55c8848fdc81514ec047b2a0ec782ffe9ab5323)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:48 +05:30
Aleksandrs Vinarskis
b1de585b30 ACPICA: iasl: handle empty connection_node
[ Upstream commit a0a2459b79414584af6c46dd8c6f866d8f1aa421 ]

ACPICA commit 6c551e2c9487067d4b085333e7fe97e965a11625

Link: https://github.com/acpica/acpica/commit/6c551e2c
Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ea69502703bd3c38c3f016f8b6614ef0de2b94c2)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:47 +05:30
Ido Schimmel
41cb1a361e ipv4: Mask upper DSCP bits and ECN bits in NETLINK_FIB_LOOKUP family
[ Upstream commit 8fed54758cd248cd311a2b5c1e180abef1866237 ]

The NETLINK_FIB_LOOKUP netlink family can be used to perform a FIB
lookup according to user provided parameters and communicate the result
back to user space.

However, unlike other users of the FIB lookup API, the upper DSCP bits
and the ECN bits of the DS field are not masked, which can result in the
wrong result being returned.

Solve this by masking the upper DSCP bits and the ECN bits using
IPTOS_RT_MASK.

The structure that communicates the request and the response is not
exported to user space, so it is unlikely that this netlink family is
actually in use [1].

[1] https://lore.kernel.org/netdev/ZpqpB8vJU%2FQ6LSqa@debian/

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 05905659e2591368b50eaa79d94c75aeb18c46ef)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:46 +05:30
Kuniyuki Iwashima
be1c66714c ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).
[ Upstream commit e3af3d3c5b26c33a7950e34e137584f6056c4319 ]

dev->ip_ptr could be NULL if we set an invalid MTU.

Even then, if we issue ioctl(SIOCSIFADDR) for a new IPv4 address,
devinet_ioctl() allocates struct in_ifaddr and fails later in
inet_set_ifa() because in_dev is NULL.

Let's move the check earlier.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20240809235406.50187-2-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 098a9b686df8c560f5f7683a1a388646aae0f023)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:45 +05:30
Simon Horman
e16865760f tipc: guard against string buffer overrun
[ Upstream commit 6555a2a9212be6983d2319d65276484f7c5f431a ]

Smatch reports that copying media_name and if_name to name_parts may
overwrite the destination.

 .../bearer.c:166 bearer_name_validate() error: strcpy() 'media_name' too large for 'name_parts->media_name' (32 vs 16)
 .../bearer.c:167 bearer_name_validate() error: strcpy() 'if_name' too large for 'name_parts->if_name' (1010102 vs 16)

This does seem to be the case so guard against this possibility by using
strscpy() and failing if truncation occurs.

Introduced by commit b97bf3fd8f ("[TIPC] Initial merge")

Compile tested only.

Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240801-tipic-overrun-v2-1-c5b869d1f074@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8298b6e45fb4d8944f356b08e4ea3e54df5e0488)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:44 +05:30
Pei Xiao
f4de22fe10 ACPICA: check null return of ACPI_ALLOCATE_ZEROED() in acpi_db_convert_to_package()
[ Upstream commit a5242874488eba2b9062985bf13743c029821330 ]

ACPICA commit 4d4547cf13cca820ff7e0f859ba83e1a610b9fd0

ACPI_ALLOCATE_ZEROED() may fail, elements might be NULL and will cause
NULL pointer dereference later.

Link: https://github.com/acpica/acpica/commit/4d4547cf
Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Link: https://patch.msgid.link/tencent_4A21A2865B8B0A0D12CAEBEB84708EDDB505@qq.com
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4669da66ebc5b09881487f30669b0fcdb462188e)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:43 +05:30
Rafael J. Wysocki
912e6b49d4 ACPI: EC: Do not release locks during operation region accesses
[ Upstream commit dc171114926ec390ab90f46534545420ec03e458 ]

It is not particularly useful to release locks (the EC mutex and the
ACPI global lock, if present) and re-acquire them immediately thereafter
during EC address space accesses in acpi_ec_space_handler().

First, releasing them for a while before grabbing them again does not
really help anyone because there may not be enough time for another
thread to acquire them.

Second, if another thread successfully acquires them and carries out
a new EC write or read in the middle if an operation region access in
progress, it may confuse the EC firmware, especially after the burst
mode has been enabled.

Finally, manipulating the locks after writing or reading every single
byte of data is overhead that it is better to avoid.

Accordingly, modify the code to carry out EC address space accesses
entirely without releasing the locks.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/12473338.O9o76ZdvQC@rjwysocki.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8d5dd2d2ef6cc87799b4ff915e561814d3c35d2c)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:39 +05:30
Armin Wolf
0495b656ee ACPICA: Fix memory leak if acpi_ps_get_next_field() fails
[ Upstream commit e6169a8ffee8a012badd8c703716e761ce851b15 ]

ACPICA commit 1280045754264841b119a5ede96cd005bc09b5a7

If acpi_ps_get_next_field() fails, the previously created field list
needs to be properly disposed before returning the status code.

Link: https://github.com/acpica/acpica/commit/12800457
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
[ rjw: Rename local variable to avoid compiler confusion ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 40fa60e0bf406ced3dfd857015dafdcd677a4929)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:15 +05:30
Armin Wolf
74c1a9c14f ACPICA: Fix memory leak if acpi_ps_get_next_namepath() fails
[ Upstream commit 5accb265f7a1b23e52b0ec42313d1e12895552f4 ]

ACPICA commit 2802af722bbde7bf1a7ac68df68e179e2555d361

If acpi_ps_get_next_namepath() fails, the previously allocated
union acpi_parse_object needs to be freed before returning the
status code.

The issue was first being reported on the Linux ACPI mailing list:

Link: https://lore.kernel.org/linux-acpi/56f94776-484f-48c0-8855-dba8e6a7793b@yandex.ru/T/
Link: https://github.com/acpica/acpica/commit/2802af72
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b017675cfbd126954d3b45afbdd6ee345a0ce368)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:13 +05:30
Krzysztof Kozlowski
62d7863689 net: hisilicon: hns_mdio: fix OF node leak in probe()
[ Upstream commit e62beddc45f487b9969821fad3a0913d9bc18a2f ]

Driver is leaking OF node reference from
of_parse_phandle_with_fixed_args() in probe().

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240827144421.52852-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 963174dad7d4993ff3a4e1b43cefd296df0296b4)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:12 +05:30
Krzysztof Kozlowski
3cd0286bac net: hisilicon: hns_dsaf_mac: fix OF node leak in hns_mac_get_info()
[ Upstream commit 5680cf8d34e1552df987e2f4bb1bff0b2a8c8b11 ]

Driver is leaking OF node reference from
of_parse_phandle_with_fixed_args() in hns_mac_get_info().

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240827144421.52852-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 7df217a21b74e730db216984218bde434dffc34b)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:11 +05:30
Krzysztof Kozlowski
5852389ede net: hisilicon: hip04: fix OF node leak in probe()
[ Upstream commit 17555297dbd5bccc93a01516117547e26a61caf1 ]

Driver is leaking OF node reference from
of_parse_phandle_with_fixed_args() in probe().

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240827144421.52852-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8c354ddfec8126ef58cdcde82dccc5cbb2c34e45)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:10 +05:30
Toke Høiland-Jørgensen
8de3a9a48a wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit
[ Upstream commit 94745807f3ebd379f23865e6dab196f220664179 ]

Syzbot points out that skb_trim() has a sanity check on the existing length of
the skb, which can be uninitialised in some error paths. The intent here is
clearly just to reset the length to zero before resubmitting, so switch to
calling __skb_set_length(skb, 0) directly. In addition, __skb_set_length()
already contains a call to skb_reset_tail_pointer(), so remove the redundant
call.

The syzbot report came from ath9k_hif_usb_reg_in_cb(), but there's a similar
usage of skb_trim() in ath9k_hif_usb_rx_cb(), change both while we're at it.

Reported-by: syzbot+98afa303be379af6cdb2@syzkaller.appspotmail.com
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240812142447.12328-1-toke@toke.dk
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e6b9bf32e0695e4f374674002de0527d2a6768eb)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:09 +05:30
Dmitry Kandybka
f7b064d80a wifi: ath9k: fix possible integer overflow in ath9k_get_et_stats()
[ Upstream commit 3f66f26703093886db81f0610b97a6794511917c ]

In 'ath9k_get_et_stats()', promote TX stats counters to 'u64'
to avoid possible integer overflow. Compile tested only.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Dmitry Kandybka <d.kandybka@gmail.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240725111743.14422-1-d.kandybka@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 600f668453be81b25dcc2f20096eac2243aebdaa)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:08 +05:30
Jann Horn
0d8b733aa6 f2fs: Require FMODE_WRITE for atomic write ioctls
commit 4f5a100f87f32cb65d4bb1ad282a08c92f6f591e upstream.

The F2FS ioctls for starting and committing atomic writes check for
inode_owner_or_capable(), but this does not give LSMs like SELinux or
Landlock an opportunity to deny the write access - if the caller's FSUID
matches the inode's UID, inode_owner_or_capable() immediately returns true.

There are scenarios where LSMs want to deny a process the ability to write
particular files, even files that the FSUID of the process owns; but this
can currently partially be bypassed using atomic write ioctls in two ways:

 - F2FS_IOC_START_ATOMIC_REPLACE + F2FS_IOC_COMMIT_ATOMIC_WRITE can
   truncate an inode to size 0
 - F2FS_IOC_START_ATOMIC_WRITE + F2FS_IOC_ABORT_ATOMIC_WRITE can revert
   changes another process concurrently made to a file

Fix it by requiring FMODE_WRITE for these operations, just like for
F2FS_IOC_MOVE_RANGE. Since any legitimate caller should only be using these
ioctls when intending to write into the file, that seems unlikely to break
anything.

Fixes: 88b88a6679 ("f2fs: support atomic writes")
Cc: stable@vger.kernel.org
Signed-off-by: Jann Horn <jannh@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 700f3a7c7fa5764c9f24bbf7c78e0b6e479fa653)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:07 +05:30
Takashi Iwai
74fe49cbff ALSA: hda/conexant: Fix conflicting quirk for System76 Pangolin
[ Upstream commit b3ebb007060f89d5a45c9b99f06a55e36a1945b5 ]

We received a regression report for System76 Pangolin (pang14) due to
the recent fix for Tuxedo Sirius devices to support the top speaker.
The reason was the conflicting PCI SSID, as often seen.

As a workaround, now the codec SSID is checked and the quirk is
applied conditionally only to Sirius devices.

Fixes: 4178d78cd7a8 ("ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices")
Reported-by: Christian Heusel <christian@heusel.eu>
Reported-by: Jerry <jerryluo225@gmail.com>
Closes: https://lore.kernel.org/c930b6a6-64e5-498f-b65a-1cd5e0a1d733@heusel.eu
Link: https://patch.msgid.link/20241004082602.29016-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ba4ec41f6958bd5fc314b98c0ba17f5bb9a11375)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:31:03 +05:30
Takashi Iwai
0b8e878ad9 ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs
[ Upstream commit 1c801e7f77445bc56e5e1fec6191fd4503534787 ]

Some time ago, we introduced the obey_preferred_dacs flag for choosing
the DAC/pin pairs specified by the driver instead of parsing the
paths.  This works as expected, per se, but there have been a few
cases where we forgot to set this flag while preferred_dacs table is
already set up.  It ended up with incorrect wiring and made us
wondering why it doesn't work.

Basically, when the preferred_dacs table is provided, it means that
the driver really wants to wire up to follow that.  That is, the
presence of the preferred_dacs table itself is already a "do-it"
flag.

In this patch, we simply replace the evaluation of obey_preferred_dacs
flag with the presence of preferred_dacs table for fixing the
misbehavior.  Another patch to drop of the obsoleted flag will
follow.

Fixes: 242d990c158d ("ALSA: hda/generic: Add option to enforce preferred_dacs pairs")
Link: https://bugzilla.suse.com/show_bug.cgi?id=1219803
Link: https://patch.msgid.link/20241001121439.26060-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a66828fdf8ba3ccb30204f7e44761007a7437a3a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:38 +05:30
Aleksander Jan Bajkowski
031da3e6ff net: ethernet: lantiq_etop: fix memory disclosure
[ Upstream commit 45c0de18ff2dc9af01236380404bbd6a46502c69 ]

When applying padding, the buffer is not zeroed, which results in memory
disclosure. The mentioned data is observed on the wire. This patch uses
skb_put_padto() to pad Ethernet frames properly. The mentioned function
zeroes the expanded buffer.

In case the packet cannot be padded it is silently dropped. Statistics
are also not incremented. This driver does not support statistics in the
old 32-bit format or the new 64-bit format. These will be added in the
future. In its current form, the patch should be easily backported to
stable versions.

Ethernet MACs on Amazon-SE and Danube cannot do padding of the packets
in hardware, so software padding must be applied.

Fixes: 504d4721ee ("MIPS: Lantiq: Add ethernet driver")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20240923214949.231511-2-olek2@wp.pl
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 905f06a34f960676e7dc77bea00f2f8fe18177ad)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:37 +05:30
Prashant Malani
5323335834 r8152: Factor out OOB link list waits
[ Upstream commit 5f71c84038d39def573744a145c573758f52a949 ]

The same for-loop check for the LINK_LIST_READY bit of an OOB_CTRL
register is used in several places. Factor these out into a single
function to reduce the lines of code.

Change-Id: I20e8f327045a72acc0a83e2d145ae2993ab62915
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Acked-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 45c0de18ff2d ("net: ethernet: lantiq_etop: fix memory disclosure")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e8bed7c8845878f8c60e76f0a10d61ea2f709580)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:35 +05:30
Eric Dumazet
0a67acb0ac netfilter: nf_tables: prevent nf_skb_duplicated corruption
[ Upstream commit 92ceba94de6fb4cee2bf40b485979c342f44a492 ]

syzbot found that nf_dup_ipv4() or nf_dup_ipv6() could write
per-cpu variable nf_skb_duplicated in an unsafe way [1].

Disabling preemption as hinted by the splat is not enough,
we have to disable soft interrupts as well.

[1]
BUG: using __this_cpu_write() in preemptible [00000000] code: syz.4.282/6316
 caller is nf_dup_ipv4+0x651/0x8f0 net/ipv4/netfilter/nf_dup_ipv4.c:87
CPU: 0 UID: 0 PID: 6316 Comm: syz.4.282 Not tainted 6.11.0-rc7-syzkaller-00104-g7052622fccb1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
 <TASK>
  __dump_stack lib/dump_stack.c:93 [inline]
  dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
  check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
  nf_dup_ipv4+0x651/0x8f0 net/ipv4/netfilter/nf_dup_ipv4.c:87
  nft_dup_ipv4_eval+0x1db/0x300 net/ipv4/netfilter/nft_dup_ipv4.c:30
  expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline]
  nft_do_chain+0x4ad/0x1da0 net/netfilter/nf_tables_core.c:288
  nft_do_chain_ipv4+0x202/0x320 net/netfilter/nft_chain_filter.c:23
  nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
  nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626
  nf_hook+0x2c4/0x450 include/linux/netfilter.h:269
  NF_HOOK_COND include/linux/netfilter.h:302 [inline]
  ip_output+0x185/0x230 net/ipv4/ip_output.c:433
  ip_local_out net/ipv4/ip_output.c:129 [inline]
  ip_send_skb+0x74/0x100 net/ipv4/ip_output.c:1495
  udp_send_skb+0xacf/0x1650 net/ipv4/udp.c:981
  udp_sendmsg+0x1c21/0x2a60 net/ipv4/udp.c:1269
  sock_sendmsg_nosec net/socket.c:730 [inline]
  __sock_sendmsg+0x1a6/0x270 net/socket.c:745
  ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597
  ___sys_sendmsg net/socket.c:2651 [inline]
  __sys_sendmmsg+0x3b2/0x740 net/socket.c:2737
  __do_sys_sendmmsg net/socket.c:2766 [inline]
  __se_sys_sendmmsg net/socket.c:2763 [inline]
  __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2763
  do_syscall_x64 arch/x86/entry/common.c:52 [inline]
  do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4ce4f7def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4ce5d4a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f4ce5135f80 RCX: 00007f4ce4f7def9
RDX: 0000000000000001 RSI: 0000000020005d40 RDI: 0000000000000006
RBP: 00007f4ce4ff0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f4ce5135f80 R15: 00007ffd4cbc6d68
 </TASK>

Fixes: d877f07112 ("netfilter: nf_tables: add nft_dup expression")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 50067d8b3f48e4cd4c9e817d3e9a5b5ff3507ca7)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:34 +05:30
Xiubo Li
b43f24e553 ceph: remove the incorrect Fw reference check when dirtying pages
[ Upstream commit c08dfb1b49492c09cf13838c71897493ea3b424e ]

When doing the direct-io reads it will also try to mark pages dirty,
but for the read path it won't hold the Fw caps and there is case
will it get the Fw reference.

Fixes: 5dda377cf0 ("ceph: set i_head_snapc when getting CEPH_CAP_FILE_WR reference")
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit c26c5ec832dd9e9dcd0a0a892a485c99889b68f0)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:33 +05:30
Stefan Wahren
23bb83ac39 mailbox: bcm2835: Fix timeout during suspend mode
[ Upstream commit dc09f007caed3b2f6a3b6bd7e13777557ae22bfd ]

During noirq suspend phase the Raspberry Pi power driver suffer of
firmware property timeouts. The reason is that the IRQ of the underlying
BCM2835 mailbox is disabled and rpi_firmware_property_list() will always
run into a timeout [1].

Since the VideoCore side isn't consider as a wakeup source, set the
IRQF_NO_SUSPEND flag for the mailbox IRQ in order to keep it enabled
during suspend-resume cycle.

[1]
PM: late suspend of devices complete after 1.754 msecs
WARNING: CPU: 0 PID: 438 at drivers/firmware/raspberrypi.c:128
 rpi_firmware_property_list+0x204/0x22c
Firmware transaction 0x00028001 timeout
Modules linked in:
CPU: 0 PID: 438 Comm: bash Tainted: G         C         6.9.3-dirty #17
Hardware name: BCM2835
Call trace:
unwind_backtrace from show_stack+0x18/0x1c
show_stack from dump_stack_lvl+0x34/0x44
dump_stack_lvl from __warn+0x88/0xec
__warn from warn_slowpath_fmt+0x7c/0xb0
warn_slowpath_fmt from rpi_firmware_property_list+0x204/0x22c
rpi_firmware_property_list from rpi_firmware_property+0x68/0x8c
rpi_firmware_property from rpi_firmware_set_power+0x54/0xc0
rpi_firmware_set_power from _genpd_power_off+0xe4/0x148
_genpd_power_off from genpd_sync_power_off+0x7c/0x11c
genpd_sync_power_off from genpd_finish_suspend+0xcc/0xe0
genpd_finish_suspend from dpm_run_callback+0x78/0xd0
dpm_run_callback from device_suspend_noirq+0xc0/0x238
device_suspend_noirq from dpm_suspend_noirq+0xb0/0x168
dpm_suspend_noirq from suspend_devices_and_enter+0x1b8/0x5ac
suspend_devices_and_enter from pm_suspend+0x254/0x2e4
pm_suspend from state_store+0xa8/0xd4
state_store from kernfs_fop_write_iter+0x154/0x1a0
kernfs_fop_write_iter from vfs_write+0x12c/0x184
vfs_write from ksys_write+0x78/0xc0
ksys_write from ret_fast_syscall+0x0/0x54
Exception stack(0xcc93dfa8 to 0xcc93dff0)
[...]
PM: noirq suspend of devices complete after 3095.584 msecs

Link: https://github.com/raspberrypi/firmware/issues/1894
Fixes: 0bae6af6d7 ("mailbox: Enable BCM2835 mailbox support")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4e1e03760ee7cc4779b6306867fe0fc02921b963)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:32 +05:30
Liao Chen
53a500c812 mailbox: rockchip: fix a typo in module autoloading
[ Upstream commit e92d87c9c5d769e4cb1dd7c90faa38dddd7e52e3 ]

MODULE_DEVICE_TABLE(of, rockchip_mbox_of_match) could let the module
properly autoloaded based on the alias from of_device_id table. It
should be 'rockchip_mbox_of_match' instead of 'rockchp_mbox_of_match',
just fix it.

Fixes: f70ed3b5dc ("mailbox: rockchip: Add Rockchip mailbox driver")
Signed-off-by: Liao Chen <liaochen4@huawei.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ae2d6fdd49669f35ed3a1156a4aab66a37e6a450)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:31 +05:30
Harshit Mogalapalli
23f7ca1c3c usb: yurex: Fix inconsistent locking bug in yurex_read()
commit e7d3b9f28654dbfce7e09f8028210489adaf6a33 upstream.

Unlock before returning on the error path.

Fixes: 86b20af11e84 ("usb: yurex: Replace snprintf() with the safer scnprintf() variant")
Reported-by: Dan Carpenter <error27@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202312170252.3udgrIcP-lkp@intel.com/
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://lore.kernel.org/r/20231219063639.450994-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 709b0b70011b577bc78406e76c4563e10579ddad)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:29 +05:30
Andy Shevchenko
72b17eb620 i2c: isch: Add missed 'else'
commit 1db4da55070d6a2754efeb3743f5312fc32f5961 upstream.

In accordance with the existing comment and code analysis
it is quite likely that there is a missed 'else' when adapter
times out. Add it.

Fixes: 5bc1200852 ("i2c: Add Intel SCH SMBus support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: <stable@vger.kernel.org> # v2.6.27+
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit bbe3396e96a2ee857cf2206784f06bc3f49ff240)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:28 +05:30
Tommy Huang
f5d486ef08 i2c: aspeed: Update the stop sw state when the bus recovery occurs
commit 93701d3b84ac5f3ea07259d4ced405c53d757985 upstream.

When the i2c bus recovery occurs, driver will send i2c stop command
in the scl low condition. In this case the sw state will still keep
original situation. Under multi-master usage, i2c bus recovery will
be called when i2c transfer timeout occurs. Update the stop command
calling with aspeed_i2c_do_stop function to update master_state.

Fixes: f327c686d3 ("i2c: aspeed: added driver for Aspeed I2C")
Cc: stable@vger.kernel.org # v4.13+
Signed-off-by: Tommy Huang <tommy_huang@aspeedtech.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 16cfd59341f73157ef319c588e639fc1013d94cf)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:26 +05:30
Oliver Neukum
570c1a5f81 USB: misc: yurex: fix race between read and write
[ Upstream commit 93907620b308609c72ba4b95b09a6aa2658bb553 ]

The write code path touches the bbu member in a non atomic manner
without taking the spinlock. Fix it.

The bug is as old as the driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
CC: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240912132126.1034743-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 1250cd9dee69ace62b9eb87230e8274b48bc9460)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:25 +05:30
Lee Jones
a8736e2e1b usb: yurex: Replace snprintf() with the safer scnprintf() variant
[ Upstream commit 86b20af11e84c26ae3fde4dcc4f490948e3f8035 ]

There is a general misunderstanding amongst engineers that {v}snprintf()
returns the length of the data *actually* encoded into the destination
array.  However, as per the C99 standard {v}snprintf() really returns
the length of the data that *would have been* written if there were
enough space for it.  This misunderstanding has led to buffer-overruns
in the past.  It's generally considered safer to use the {v}scnprintf()
variants in their place (or even sprintf() in simple cases).  So let's
do that.

Whilst we're at it, let's define some magic numbers to increase
readability and ease of maintenance.

Link: https://lwn.net/Articles/69419/
Link: https://github.com/KSPP/linux/issues/105
Cc: Tomoki Sekiyama <tomoki.sekiyama@gmail.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20231213164246.1021885-9-lee@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 93907620b308 ("USB: misc: yurex: fix race between read and write")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a2ac6cb8aaa2eb23209ffa641962dd62958522a1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:24 +05:30
Krzysztof Kozlowski
706b45f574 soc: versatile: realview: fix soc_dev leak during device remove
[ Upstream commit c774f2564c0086c23f5269fd4691f233756bf075 ]

If device is unbound, the soc_dev should be unregistered to prevent
memory leak.

Fixes: a2974c9c1f ("soc: add driver for the ARM RealView")
Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/20240825-soc-dev-fixes-v1-3-ff4b35abed83@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b05605f5a42b4719918486e2624e44f3fa9e818f)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:22 +05:30
Krzysztof Kozlowski
98d4b39eeb soc: versatile: realview: fix memory leak during device remove
[ Upstream commit 1c4f26a41f9d052f334f6ae629e01f598ed93508 ]

If device is unbound, the memory allocated for soc_dev_attr should be
freed to prevent leaks.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/20240825-soc-dev-fixes-v1-2-ff4b35abed83@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Stable-dep-of: c774f2564c00 ("soc: versatile: realview: fix soc_dev leak during device remove")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 0accfec683c0a3e31c8ba738be0b0014e316d6a0)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:21 +05:30
Sean Anderson
d06e77da0d PCI: xilinx-nwl: Fix off-by-one in INTx IRQ handler
[ Upstream commit 0199d2f2bd8cd97b310f7ed82a067247d7456029 ]

MSGF_LEG_MASK is laid out with INTA in bit 0, INTB in bit 1, INTC in bit 2,
and INTD in bit 3. Hardware IRQ numbers start at 0, and we register
PCI_NUM_INTX IRQs. So to enable INTA (aka hwirq 0) we should set bit 0.
Remove the subtraction of one.

This bug would cause INTx interrupts not to be delivered, as enabling INTB
would actually enable INTA, and enabling INTA wouldn't enable anything at
all. It is likely that this got overlooked for so long since most PCIe
hardware uses MSIs. This fixes the following UBSAN error:

  UBSAN: shift-out-of-bounds in ../drivers/pci/controller/pcie-xilinx-nwl.c:389:11
  shift exponent 18446744073709551615 is too large for 32-bit type 'int'
  CPU: 1 PID: 61 Comm: kworker/u10:1 Not tainted 6.6.20+ #268
  Hardware name: xlnx,zynqmp (DT)
  Workqueue: events_unbound deferred_probe_work_func
  Call trace:
  dump_backtrace (arch/arm64/kernel/stacktrace.c:235)
  show_stack (arch/arm64/kernel/stacktrace.c:242)
  dump_stack_lvl (lib/dump_stack.c:107)
  dump_stack (lib/dump_stack.c:114)
  __ubsan_handle_shift_out_of_bounds (lib/ubsan.c:218 lib/ubsan.c:387)
  nwl_unmask_leg_irq (drivers/pci/controller/pcie-xilinx-nwl.c:389 (discriminator 1))
  irq_enable (kernel/irq/internals.h:234 kernel/irq/chip.c:170 kernel/irq/chip.c:439 kernel/irq/chip.c:432 kernel/irq/chip.c:345)
  __irq_startup (kernel/irq/internals.h:239 kernel/irq/chip.c:180 kernel/irq/chip.c:250)
  irq_startup (kernel/irq/chip.c:270)
  __setup_irq (kernel/irq/manage.c:1800)
  request_threaded_irq (kernel/irq/manage.c:2206)
  pcie_pme_probe (include/linux/interrupt.h:168 drivers/pci/pcie/pme.c:348)

Fixes: 9a181e1093 ("PCI: xilinx-nwl: Modify IRQ chip for legacy interrupts")
Link: https://lore.kernel.org/r/20240531161337.864994-3-sean.anderson@linux.dev
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ebf6629fcff1e04e43ef75bd2c2dbfb410a95870)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:20 +05:30
Thomas Gleixner
750bab392f PCI: xilinx-nwl: Use irq_data_get_irq_chip_data()
[ Upstream commit e56427068a8d796bb7b8e297f2b6e947380e383f ]

Going through a full irq descriptor lookup instead of just using the proper
helper function which provides direct access is suboptimal.

In fact it _is_ wrong because the chip callback needs to get the chip data
which is relevant for the chip while using the irq descriptor variant
returns the irq chip data of the top level chip of a hierarchy. It does not
matter in this case because the chip is the top level chip, but that
doesn't make it more correct.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20201210194044.364211860@linutronix.de
Stable-dep-of: 0199d2f2bd8c ("PCI: xilinx-nwl: Fix off-by-one in INTx IRQ handler")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit d957766954641b4bbd7e359d51206c0b940988a6)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:19 +05:30
Li Lingfeng
541e31a85c nfs: fix memory leak in error path of nfs4_do_reclaim
commit 8f6a7c9467eaf39da4c14e5474e46190ab3fb529 upstream.

Commit c77e22834ae9 ("NFSv4: Fix a potential sleep while atomic in
nfs4_do_reclaim()") separate out the freeing of the state owners from
nfs4_purge_state_owners() and finish it outside the rcu lock.
However, the error path is omitted. As a result, the state owners in
"freeme" will not be released.
Fix it by adding freeing in the error path.

Fixes: c77e22834ae9 ("NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()")
Signed-off-by: Li Lingfeng <lilingfeng3@huawei.com>
Cc: stable@vger.kernel.org # v5.3+
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit f239240d65807113e565226b8e0a7ea13390bff3)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:18 +05:30
Julian Sun
d04989a693 vfs: fix race between evice_inodes() and find_inode()&iput()
commit 88b1afbf0f6b221f6c5bb66cc80cd3b38d696687 upstream.

Hi, all

Recently I noticed a bug[1] in btrfs, after digged it into
and I believe it'a race in vfs.

Let's assume there's a inode (ie ino 261) with i_count 1 is
called by iput(), and there's a concurrent thread calling
generic_shutdown_super().

cpu0:                              cpu1:
iput() // i_count is 1
  ->spin_lock(inode)
  ->dec i_count to 0
  ->iput_final()                    generic_shutdown_super()
    ->__inode_add_lru()               ->evict_inodes()
      // cause some reason[2]           ->if (atomic_read(inode->i_count)) continue;
      // return before                  // inode 261 passed the above check
      // list_lru_add_obj()             // and then schedule out
   ->spin_unlock()
// note here: the inode 261
// was still at sb list and hash list,
// and I_FREEING|I_WILL_FREE was not been set

btrfs_iget()
  // after some function calls
  ->find_inode()
    // found the above inode 261
    ->spin_lock(inode)
   // check I_FREEING|I_WILL_FREE
   // and passed
      ->__iget()
    ->spin_unlock(inode)                // schedule back
                                        ->spin_lock(inode)
                                        // check (I_NEW|I_FREEING|I_WILL_FREE) flags,
                                        // passed and set I_FREEING
iput()                                  ->spin_unlock(inode)
  ->spin_lock(inode)			  ->evict()
  // dec i_count to 0
  ->iput_final()
    ->spin_unlock()
    ->evict()

Now, we have two threads simultaneously evicting
the same inode, which may trigger the BUG(inode->i_state & I_CLEAR)
statement both within clear_inode() and iput().

To fix the bug, recheck the inode->i_count after holding i_lock.
Because in the most scenarios, the first check is valid, and
the overhead of spin_lock() can be reduced.

If there is any misunderstanding, please let me know, thanks.

[1]: https://lore.kernel.org/linux-btrfs/000000000000eabe1d0619c48986@google.com/
[2]: The reason might be 1. SB_ACTIVE was removed or 2. mapping_shrinkable()
return false when I reproduced the bug.

Reported-by: syzbot+67ba3c42bcbb4665d3ad@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=67ba3c42bcbb4665d3ad
CC: stable@vger.kernel.org
Fixes: 63997e98a3 ("split invalidate_inodes()")
Signed-off-by: Julian Sun <sunjunchao2870@gmail.com>
Link: https://lore.kernel.org/r/20240823130730.658881-1-sunjunchao2870@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 6cc13a80a26e6b48f78c725c01b91987d61563ef)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:16 +05:30
Nikita Zhandarovich
e549c1db61 f2fs: avoid potential int overflow in sanity_check_area_boundary()
commit 50438dbc483ca6a133d2bce9d5d6747bcee38371 upstream.

While calculating the end addresses of main area and segment 0, u32
may be not enough to hold the result without the danger of int
overflow.

Just in case, play it safe and cast one of the operands to a
wider type (u64).

Found by Linux Verification Center (linuxtesting.org) with static
analysis tool SVACE.

Fixes: fd694733d5 ("f2fs: cover large section in sanity check of super")
Cc: stable@vger.kernel.org
Signed-off-by: Nikita Zhandarovich <n.zhandarovich@fintech.ru>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 24dfe070d6d05d62a00c41d5d52af5a448ae7af7)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:13 +05:30
Nikita Zhandarovich
3ae7b756c6 f2fs: prevent possible int overflow in dir_block_index()
commit 47f268f33dff4a5e31541a990dc09f116f80e61c upstream.

The result of multiplication between values derived from functions
dir_buckets() and bucket_blocks() *could* technically reach
2^30 * 2^2 = 2^32.

While unlikely to happen, it is prudent to ensure that it will not
lead to integer overflow. Thus, use mul_u32_u32() as it's more
appropriate to mitigate the issue.

Found by Linux Verification Center (linuxtesting.org) with static
analysis tool SVACE.

Fixes: 3843154598 ("f2fs: introduce large directory support")
Cc: stable@vger.kernel.org
Signed-off-by: Nikita Zhandarovich <n.zhandarovich@fintech.ru>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 60bffc6e6b32fb88e5c1234448de5ccf88b590f5)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:11 +05:30
Thomas Weißschuh
50a3258b3a ACPI: sysfs: validate return type of _STR method
commit 4bb1e7d027413835b086aed35bc3f0713bc0f72b upstream.

Only buffer objects are valid return values of _STR.

If something else is returned description_show() will access invalid
memory.

Fixes: d1efe3c324 ("ACPI: Add new sysfs interface to export device description")
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20240709-acpi-sysfs-groups-v2-1-058ab0667fa8@weissschuh.net
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 92fd5209fc014405f63a7db79802ca4b01dc0c05)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:10 +05:30
Mikhail Lobanov
a4b3607bf5 drbd: Add NULL check for net_conf to prevent dereference in state validation
commit a5e61b50c9f44c5edb6e134ede6fee8806ffafa9 upstream.

If the net_conf pointer is NULL and the code attempts to access its
fields without a check, it will lead to a null pointer dereference.
Add a NULL check before dereferencing the pointer.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 44ed167da7 ("drbd: rcu_read_lock() and rcu_dereference() for tconn->net_conf")
Cc: stable@vger.kernel.org
Signed-off-by: Mikhail Lobanov <m.lobanov@rosalinux.ru>
Link: https://lore.kernel.org/r/20240909133740.84297-1-m.lobanov@rosalinux.ru
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 3b3ed68f695ee000e9c9fa536761a0554bfc1340)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:05 +05:30
Qiu-ji Chen
c0adcfc51e drbd: Fix atomicity violation in drbd_uuid_set_bm()
commit 2f02b5af3a4482b216e6a466edecf6ba8450fa45 upstream.

The violation of atomicity occurs when the drbd_uuid_set_bm function is
executed simultaneously with modifying the value of
device->ldev->md.uuid[UI_BITMAP]. Consider a scenario where, while
device->ldev->md.uuid[UI_BITMAP] passes the validity check when its
value is not zero, the value of device->ldev->md.uuid[UI_BITMAP] is
written to zero. In this case, the check in drbd_uuid_set_bm might refer
to the old value of device->ldev->md.uuid[UI_BITMAP] (before locking),
which allows an invalid value to pass the validity check, resulting in
inconsistency.

To address this issue, it is recommended to include the data validity
check within the locked section of the function. This modification
ensures that the value of device->ldev->md.uuid[UI_BITMAP] does not
change during the validation process, thereby maintaining its integrity.

This possible bug is found by an experimental static analysis tool
developed by our team. This tool analyzes the locking APIs to extract
function pairs that can be concurrently executed, and then analyzes the
instructions in the paired functions to identify possible concurrency
bugs including data races and atomicity violations.

Fixes: 9f2247bb9b ("drbd: Protect accesses to the uuid set with a spinlock")
Cc: stable@vger.kernel.org
Signed-off-by: Qiu-ji Chen <chenqiuji666@gmail.com>
Reviewed-by: Philipp Reisner <philipp.reisner@linbit.com>
Link: https://lore.kernel.org/r/20240913083504.10549-1-chenqiuji666@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit b674f1b49f9eaec9aac5c64a75e535aa3f359af7)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:04 +05:30
Florian Fainelli
7ab201e455 tty: rp2: Fix reset with non forgiving PCIe host bridges
commit f16dd10ba342c429b1e36ada545fb36d4d1f0e63 upstream.

The write to RP2_GLOBAL_CMD followed by an immediate read of
RP2_GLOBAL_CMD in rp2_reset_asic() is intented to flush out the write,
however by then the device is already in reset and cannot respond to a
memory cycle access.

On platforms such as the Raspberry Pi 4 and others using the
pcie-brcmstb.c driver, any memory access to a device that cannot respond
is met with a fatal system error, rather than being substituted with all
1s as is usually the case on PC platforms.

Swapping the delay and the read ensures that the device has finished
resetting before we attempt to read from it.

Fixes: 7d9f49afa4 ("serial: rp2: New driver for Comtrol RocketPort 2 cards")
Cc: stable <stable@kernel.org>
Suggested-by: Jim Quinlan <james.quinlan@broadcom.com>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20240906225435.707837-1-florian.fainelli@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 279994e23d7e6d2a30f2cc7b7437fedccac0834d)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:02 +05:30
Oliver Neukum
e0d8f2563c USB: misc: cypress_cy7c63: check for short transfer
commit 49cd2f4d747eeb3050b76245a7f72aa99dbd3310 upstream.

As we process the second byte of a control transfer, transfers
of less than 2 bytes must be discarded.

This bug is as old as the driver.

SIgned-off-by: Oliver Neukum <oneukum@suse.com>
CC: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240912125449.1030536-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 638810fe9c0c15ffaa1b4129e54f1e8affb28afd)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:01 +05:30
Oliver Neukum
41518e1e76 USB: appledisplay: close race between probe and completion handler
commit 8265d06b7794493d82c5c21a12d7ba43eccc30cb upstream.

There is a small window during probing when IO is running
but the backlight is not registered. Processing events
during that time will crash. The completion handler
needs to check for a backlight before scheduling work.

The bug is as old as the driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
CC: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240912123317.1026049-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 17720dd1be72e4cf5436883cf9d114d0c3e47d19)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:30:00 +05:30
Krzysztof Kozlowski
7d2b7523bb soc: versatile: integrator: fix OF node leak in probe() error path
commit 874c5b601856adbfda10846b9770a6c66c41e229 upstream.

Driver is leaking OF node reference obtained from
of_find_matching_node().

Fixes: f956a785a2 ("soc: move SoC driver for the ARM Integrator")
Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/20240825-soc-dev-fixes-v1-1-ff4b35abed83@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 6ab18d4ada166d38046ca8eb9598a3f1fdabd2b7)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:29:58 +05:30
Laurent Pinchart
c7f3f1beaf Remove *.orig pattern from .gitignore
commit 76be4f5a784533c71afbbb1b8f2963ef9e2ee258 upstream.

Commit 3f1b0e1f28 (".gitignore update") added *.orig and *.rej
patterns to .gitignore in v2.6.23. The commit message didn't give a
rationale. Later on, commit 1f5d3a6b65 ("Remove *.rej pattern from
.gitignore") removed the *.rej pattern in v2.6.26, on the rationale that
*.rej files indicated something went really wrong and should not be
ignored.

The *.rej files are now shown by `git status`, which helps located
conflicts when applying patches and lowers the probability that they
will go unnoticed. It is however still easy to overlook the *.orig files
which slowly polute the source tree. That's not as big of a deal as not
noticing a conflict, but it's still not nice.

Drop the *.orig pattern from .gitignore to avoid this and help keep the
source tree clean.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[masahiroy@kernel.org:
I do not have a strong opinion about this. Perhaps some people may have
a different opinion.

If you are someone who wants to ignore *.orig, it is likely you would
want to do so across all projects. Then, $XDG_CONFIG_HOME/git/ignore
would be more suitable for your needs. gitignore(5) suggests, "Patterns
which a user wants Git to ignore in all situations generally go into a
file specified by core.excludesFile in the user's ~/.gitconfig".

Please note that you cannot do the opposite; if *.orig is ignored by
the project's .gitignore, you cannot override the decision because
$XDG_CONFIG_HOME/git/ignore has a lower priority.

If *.orig is sitting on the fence, I'd leave it to the users. ]
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e19774a171f108433e9fba98a7bfbf65ec2a18de)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:29:57 +05:30
Hailey Mothershead
c6addb32f6 crypto: aead,cipher - zeroize key buffer after use
commit 23e4099bdc3c8381992f9eb975c79196d6755210 upstream.

I.G 9.7.B for FIPS 140-3 specifies that variables temporarily holding
cryptographic information should be zeroized once they are no longer
needed. Accomplish this by using kfree_sensitive for buffers that
previously held the private key.

Signed-off-by: Hailey Mothershead <hailmo@amazon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 89b9b6fa4463daf820e6a5ef65c3b0c2db239513)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:29:56 +05:30
Simon Horman
0e02142b9c netfilter: ctnetlink: compile ctnetlink_label_size with CONFIG_NF_CONNTRACK_EVENTS
[ Upstream commit e1f1ee0e9ad8cbe660f5c104e791c5f1a7cf4c31 ]

Only provide ctnetlink_label_size when it is used,
which is when CONFIG_NF_CONNTRACK_EVENTS is configured.

Flagged by clang-18 W=1 builds as:

.../nf_conntrack_netlink.c:385:19: warning: unused function 'ctnetlink_label_size' [-Wunused-function]
  385 | static inline int ctnetlink_label_size(const struct nf_conn *ct)
      |                   ^~~~~~~~~~~~~~~~~~~~

The condition on CONFIG_NF_CONNTRACK_LABELS being removed by
this patch guards compilation of non-trivial implementations
of ctnetlink_dump_labels() and ctnetlink_label_size().

However, this is not necessary as each of these functions
will always return 0 if CONFIG_NF_CONNTRACK_LABELS is not defined
as each function starts with the equivalent of:

	struct nf_conn_labels *labels = nf_ct_labels_find(ct);

	if (!labels)
		return 0;

And nf_ct_labels_find always returns NULL if CONFIG_NF_CONNTRACK_LABELS
is not enabled.  So I believe that the compiler optimises the code away
in such cases anyway.

Found by inspection.
Compile tested only.

Originally splitted in two patches, Pablo Neira Ayuso collapsed them and
added Fixes: tag.

Fixes: 0ceabd8387 ("netfilter: ctnetlink: deliver labels to userspace")
Link: https://lore.kernel.org/netfilter-devel/20240909151712.GZ2097826@kernel.org/
Signed-off-by: Simon Horman <horms@kernel.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b14c58e37050703568ab498404018294807209a5)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:29:55 +05:30
Eric Dumazet
f4b47b313e netfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()
[ Upstream commit 9c778fe48d20ef362047e3376dee56d77f8500d4 ]

syzbot reported that nf_reject_ip6_tcphdr_put() was possibly sending
garbage on the four reserved tcp bits (th->res1)

Use skb_put_zero() to clear the whole TCP header,
as done in nf_reject_ip_tcphdr_put()

BUG: KMSAN: uninit-value in nf_reject_ip6_tcphdr_put+0x688/0x6c0 net/ipv6/netfilter/nf_reject_ipv6.c:255
  nf_reject_ip6_tcphdr_put+0x688/0x6c0 net/ipv6/netfilter/nf_reject_ipv6.c:255
  nf_send_reset6+0xd84/0x15b0 net/ipv6/netfilter/nf_reject_ipv6.c:344
  nft_reject_inet_eval+0x3c1/0x880 net/netfilter/nft_reject_inet.c:48
  expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline]
  nft_do_chain+0x438/0x22a0 net/netfilter/nf_tables_core.c:288
  nft_do_chain_inet+0x41a/0x4f0 net/netfilter/nft_chain_filter.c:161
  nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
  nf_hook_slow+0xf4/0x400 net/netfilter/core.c:626
  nf_hook include/linux/netfilter.h:269 [inline]
  NF_HOOK include/linux/netfilter.h:312 [inline]
  ipv6_rcv+0x29b/0x390 net/ipv6/ip6_input.c:310
  __netif_receive_skb_one_core net/core/dev.c:5661 [inline]
  __netif_receive_skb+0x1da/0xa00 net/core/dev.c:5775
  process_backlog+0x4ad/0xa50 net/core/dev.c:6108
  __napi_poll+0xe7/0x980 net/core/dev.c:6772
  napi_poll net/core/dev.c:6841 [inline]
  net_rx_action+0xa5a/0x19b0 net/core/dev.c:6963
  handle_softirqs+0x1ce/0x800 kernel/softirq.c:554
  __do_softirq+0x14/0x1a kernel/softirq.c:588
  do_softirq+0x9a/0x100 kernel/softirq.c:455
  __local_bh_enable_ip+0x9f/0xb0 kernel/softirq.c:382
  local_bh_enable include/linux/bottom_half.h:33 [inline]
  rcu_read_unlock_bh include/linux/rcupdate.h:908 [inline]
  __dev_queue_xmit+0x2692/0x5610 net/core/dev.c:4450
  dev_queue_xmit include/linux/netdevice.h:3105 [inline]
  neigh_resolve_output+0x9ca/0xae0 net/core/neighbour.c:1565
  neigh_output include/net/neighbour.h:542 [inline]
  ip6_finish_output2+0x2347/0x2ba0 net/ipv6/ip6_output.c:141
  __ip6_finish_output net/ipv6/ip6_output.c:215 [inline]
  ip6_finish_output+0xbb8/0x14b0 net/ipv6/ip6_output.c:226
  NF_HOOK_COND include/linux/netfilter.h:303 [inline]
  ip6_output+0x356/0x620 net/ipv6/ip6_output.c:247
  dst_output include/net/dst.h:450 [inline]
  NF_HOOK include/linux/netfilter.h:314 [inline]
  ip6_xmit+0x1ba6/0x25d0 net/ipv6/ip6_output.c:366
  inet6_csk_xmit+0x442/0x530 net/ipv6/inet6_connection_sock.c:135
  __tcp_transmit_skb+0x3b07/0x4880 net/ipv4/tcp_output.c:1466
  tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline]
  tcp_connect+0x35b6/0x7130 net/ipv4/tcp_output.c:4143
  tcp_v6_connect+0x1bcc/0x1e40 net/ipv6/tcp_ipv6.c:333
  __inet_stream_connect+0x2ef/0x1730 net/ipv4/af_inet.c:679
  inet_stream_connect+0x6a/0xd0 net/ipv4/af_inet.c:750
  __sys_connect_file net/socket.c:2061 [inline]
  __sys_connect+0x606/0x690 net/socket.c:2078
  __do_sys_connect net/socket.c:2088 [inline]
  __se_sys_connect net/socket.c:2085 [inline]
  __x64_sys_connect+0x91/0xe0 net/socket.c:2085
  x64_sys_call+0x27a5/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:43
  do_syscall_x64 arch/x86/entry/common.c:52 [inline]
  do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
  nf_reject_ip6_tcphdr_put+0x60c/0x6c0 net/ipv6/netfilter/nf_reject_ipv6.c:249
  nf_send_reset6+0xd84/0x15b0 net/ipv6/netfilter/nf_reject_ipv6.c:344
  nft_reject_inet_eval+0x3c1/0x880 net/netfilter/nft_reject_inet.c:48
  expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline]
  nft_do_chain+0x438/0x22a0 net/netfilter/nf_tables_core.c:288
  nft_do_chain_inet+0x41a/0x4f0 net/netfilter/nft_chain_filter.c:161
  nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
  nf_hook_slow+0xf4/0x400 net/netfilter/core.c:626
  nf_hook include/linux/netfilter.h:269 [inline]
  NF_HOOK include/linux/netfilter.h:312 [inline]
  ipv6_rcv+0x29b/0x390 net/ipv6/ip6_input.c:310
  __netif_receive_skb_one_core net/core/dev.c:5661 [inline]
  __netif_receive_skb+0x1da/0xa00 net/core/dev.c:5775
  process_backlog+0x4ad/0xa50 net/core/dev.c:6108
  __napi_poll+0xe7/0x980 net/core/dev.c:6772
  napi_poll net/core/dev.c:6841 [inline]
  net_rx_action+0xa5a/0x19b0 net/core/dev.c:6963
  handle_softirqs+0x1ce/0x800 kernel/softirq.c:554
  __do_softirq+0x14/0x1a kernel/softirq.c:588

Uninit was stored to memory at:
  nf_reject_ip6_tcphdr_put+0x2ca/0x6c0 net/ipv6/netfilter/nf_reject_ipv6.c:231
  nf_send_reset6+0xd84/0x15b0 net/ipv6/netfilter/nf_reject_ipv6.c:344
  nft_reject_inet_eval+0x3c1/0x880 net/netfilter/nft_reject_inet.c:48
  expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline]
  nft_do_chain+0x438/0x22a0 net/netfilter/nf_tables_core.c:288
  nft_do_chain_inet+0x41a/0x4f0 net/netfilter/nft_chain_filter.c:161
  nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
  nf_hook_slow+0xf4/0x400 net/netfilter/core.c:626
  nf_hook include/linux/netfilter.h:269 [inline]
  NF_HOOK include/linux/netfilter.h:312 [inline]
  ipv6_rcv+0x29b/0x390 net/ipv6/ip6_input.c:310
  __netif_receive_skb_one_core net/core/dev.c:5661 [inline]
  __netif_receive_skb+0x1da/0xa00 net/core/dev.c:5775
  process_backlog+0x4ad/0xa50 net/core/dev.c:6108
  __napi_poll+0xe7/0x980 net/core/dev.c:6772
  napi_poll net/core/dev.c:6841 [inline]
  net_rx_action+0xa5a/0x19b0 net/core/dev.c:6963
  handle_softirqs+0x1ce/0x800 kernel/softirq.c:554
  __do_softirq+0x14/0x1a kernel/softirq.c:588

Uninit was created at:
  slab_post_alloc_hook mm/slub.c:3998 [inline]
  slab_alloc_node mm/slub.c:4041 [inline]
  kmem_cache_alloc_node_noprof+0x6bf/0xb80 mm/slub.c:4084
  kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:583
  __alloc_skb+0x363/0x7b0 net/core/skbuff.c:674
  alloc_skb include/linux/skbuff.h:1320 [inline]
  nf_send_reset6+0x98d/0x15b0 net/ipv6/netfilter/nf_reject_ipv6.c:327
  nft_reject_inet_eval+0x3c1/0x880 net/netfilter/nft_reject_inet.c:48
  expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline]
  nft_do_chain+0x438/0x22a0 net/netfilter/nf_tables_core.c:288
  nft_do_chain_inet+0x41a/0x4f0 net/netfilter/nft_chain_filter.c:161
  nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
  nf_hook_slow+0xf4/0x400 net/netfilter/core.c:626
  nf_hook include/linux/netfilter.h:269 [inline]
  NF_HOOK include/linux/netfilter.h:312 [inline]
  ipv6_rcv+0x29b/0x390 net/ipv6/ip6_input.c:310
  __netif_receive_skb_one_core net/core/dev.c:5661 [inline]
  __netif_receive_skb+0x1da/0xa00 net/core/dev.c:5775
  process_backlog+0x4ad/0xa50 net/core/dev.c:6108
  __napi_poll+0xe7/0x980 net/core/dev.c:6772
  napi_poll net/core/dev.c:6841 [inline]
  net_rx_action+0xa5a/0x19b0 net/core/dev.c:6963
  handle_softirqs+0x1ce/0x800 kernel/softirq.c:554
  __do_softirq+0x14/0x1a kernel/softirq.c:588

Fixes: c8d7b98bec ("netfilter: move nf_send_resetX() code to nf_reject_ipvX modules")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Link: https://patch.msgid.link/20240913170615.3670897-1-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 872eca64c3267dbc5836b715716fc6c03a18eda7)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:29:05 +05:30
Guoqing Jiang
8b7c02903c nfsd: call cache_put if xdr_reserve_space returns NULL
[ Upstream commit d078cbf5c38de83bc31f83c47dcd2184c04a50c7 ]

If not enough buffer space available, but idmap_lookup has triggered
lookup_fn which calls cache_get and returns successfully. Then we
missed to call cache_put here which pairs with cache_get.

Fixes: ddd1ea5636 ("nfsd4: use xdr_reserve_space in attribute encoding")
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Reviwed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 3e8081ebff12bec1347deaceb6bce0765cce54df)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:29:03 +05:30
Jinjie Ruan
5d3643d432 ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
[ Upstream commit e229897d373a87ee09ec5cc4ecd4bb2f895fc16b ]

The debugfs_create_dir() function returns error pointers.
It never returns NULL. So use IS_ERR() to check it.

Fixes: e26a5843f7 ("NTB: Split ntb_hw_intel and ntb_transport drivers")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 20cbc281033ef5324f67f2d54bc539968f937255)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:29:02 +05:30
Mikhail Lobanov
a4ccccbef9 RDMA/cxgb4: Added NULL check for lookup_atid
[ Upstream commit e766e6a92410ca269161de059fff0843b8ddd65f ]

The lookup_atid() function can return NULL if the ATID is
invalid or does not exist in the identifier table, which
could lead to dereferencing a null pointer without a
check in the `act_establish()` and `act_open_rpl()` functions.
Add a NULL check to prevent null pointer dereferencing.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: cfdda9d764 ("RDMA/cxgb4: Add driver for Chelsio T4 RNIC")
Signed-off-by: Mikhail Lobanov <m.lobanov@rosalinux.ru>
Link: https://patch.msgid.link/20240912145844.77516-1-m.lobanov@rosalinux.ru
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b12e25d91c7f97958341538c7dc63ee49d01548f)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:29:01 +05:30
Wang Jianzheng
2062f7ba72 pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function
[ Upstream commit c25478419f6fd3f74c324a21ec007cf14f2688d7 ]

When an error occurs during the execution of the function
__devinit_dove_pinctrl_probe, the clk is not properly disabled.

Fix this by calling clk_disable_unprepare before return.

Fixes: ba607b6238 ("pinctrl: mvebu: make pdma clock on dove mandatory")
Signed-off-by: Wang Jianzheng <wangjianzheng@vivo.com>
Link: https://lore.kernel.org/20240829064823.19808-1-wangjianzheng@vivo.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 856d3ea97be0dfa5d7369e071c06c9259acfff33)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:29:00 +05:30
David Lechner
481e8a2a16 clk: ti: dra7-atl: Fix leak of of_nodes
[ Upstream commit 9d6e9f10e2e031fb7bfb3030a7d1afc561a28fea ]

This fix leaking the of_node references in of_dra7_atl_clk_probe().

The docs for of_parse_phandle_with_args() say that the caller must call
of_node_put() on the returned node. This adds the missing of_node_put()
to fix the leak.

Fixes: 9ac33b0ce8 ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20240826-clk-fix-leak-v1-1-f55418a13aa6@baylibre.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit d6b680af89ca0bf498d105265bc32061979e87f1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:28:59 +05:30
Yang Yingliang
4c678d9222 pinctrl: single: fix missing error code in pcs_probe()
[ Upstream commit cacd8cf79d7823b07619865e994a7916fcc8ae91 ]

If pinctrl_enable() fails in pcs_probe(), it should return the error code.

Fixes: 8f773bfbdd42 ("pinctrl: single: fix possible memory leak when pinctrl_enable() fails")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/20240819024625.154441-1-yangyingliang@huaweicloud.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4f227c4dc81187fcca9c858b070b9d3f586c9b30)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:28:54 +05:30
Sean Anderson
09cab1b6b3 PCI: xilinx-nwl: Fix register misspelling
[ Upstream commit a437027ae1730b8dc379c75fa0dd7d3036917400 ]

MSIC -> MISC

Fixes: c2a7ff18ed ("PCI: xilinx-nwl: Expand error logging")
Link: https://lore.kernel.org/r/20240531161337.864994-4-sean.anderson@linux.dev
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 43b361ca2c977e593319c8248e549c0863ab1730)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:35 +05:30
Junlin Li
9f561736d2 drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error
[ Upstream commit 46d7ebfe6a75a454a5fa28604f0ef1491f9d8d14 ]

Ensure index in rtl2830_pid_filter does not exceed 31 to prevent
out-of-bounds access.

dev->filters is a 32-bit value, so set_bit and clear_bit functions should
only operate on indices from 0 to 31. If index is 32, it will attempt to
access a non-existent 33rd bit, leading to out-of-bounds access.
Change the boundary check from index > 32 to index >= 32 to resolve this
issue.

Fixes: df70ddad81 ("[media] rtl2830: implement PID filter")
Signed-off-by: Junlin Li <make24@iscas.ac.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 8ffbe7d07b8e76193b151107878ddc1ccc94deb5)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:33 +05:30
Junlin Li
33caae161a drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
[ Upstream commit 8ae06f360cfaca2b88b98ca89144548b3186aab1 ]

Ensure index in rtl2832_pid_filter does not exceed 31 to prevent
out-of-bounds access.

dev->filters is a 32-bit value, so set_bit and clear_bit functions should
only operate on indices from 0 to 31. If index is 32, it will attempt to
access a non-existent 33rd bit, leading to out-of-bounds access.
Change the boundary check from index > 32 to index >= 32 to resolve this
issue.

Signed-off-by: Junlin Li <make24@iscas.ac.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 4b01e01a81 ("[media] rtl2832: implement PID filter")
[hverkuil: added fixes tag, rtl2830_pid_filter -> rtl2832_pid_filter in logmsg]
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 7065c05c6d58b9b9a98127aa14e9a5ec68173918)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:32 +05:30
Jonas Karlman
9d738a1f8d clk: rockchip: Set parent rate for DCLK_VOP clock on RK3228
[ Upstream commit 1d34b9757523c1ad547bd6d040381f62d74a3189 ]

Similar to DCLK_LCDC on RK3328, the DCLK_VOP on RK3228 is typically
parented by the hdmiphy clk and it is expected that the DCLK_VOP and
hdmiphy clk rate are kept in sync.

Use CLK_SET_RATE_PARENT and CLK_SET_RATE_NO_REPARENT flags, same as used
on RK3328, to make full use of all possible supported display modes.

Fixes: 0a9d4ac08e ("clk: rockchip: set the clock ids for RK3228 VOP")
Fixes: 307a2e9ac5 ("clk: rockchip: add clock controller for rk3228")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://lore.kernel.org/r/20240615170417.3134517-3-jonas@kwiboo.se
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 7b9e7a258b9f4d68a9425c67bfee1e1e926d1960)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:31 +05:30
Ian Rogers
c47e1d2000 perf time-utils: Fix 32-bit nsec parsing
[ Upstream commit 38e2648a81204c9fc5b4c87a8ffce93a6ed91b65 ]

The "time utils" test fails in 32-bit builds:
  ...
  parse_nsec_time("18446744073.709551615")
  Failed. ptime 4294967295709551615 expected 18446744073709551615
  ...

Switch strtoul to strtoull as an unsigned long in 32-bit build isn't
64-bits.

Fixes: c284d669a2 ("perf tools: Move parse_nsec_time to time-utils.c")
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Cc: Chaitanya S Prakash <chaitanyas.prakash@arm.com>
Cc: Colin Ian King <colin.i.king@gmail.com>
Cc: David Ahern <dsa@cumulusnetworks.com>
Cc: Dominique Martinet <asmadeus@codewreck.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Junhao He <hejunhao3@huawei.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Yang Jihong <yangjihong@bytedance.com>
Link: https://lore.kernel.org/r/20240831070415.506194-3-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit c062eebe3b3d98ae2ef61fe8008f2c12bfa31249)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:30 +05:30
Yang Jihong
a98ef2f2ae perf sched timehist: Fixed timestamp error when unable to confirm event sched_in time
[ Upstream commit 39c243411bdb8fb35777adf49ee32549633c4e12 ]

If sched_in event for current task is not recorded, sched_in timestamp
will be set to end_time of time window interest, causing an error in
timestamp show. In this case, we choose to ignore this event.

Test scenario:

  perf[1229608] does not record the first sched_in event, run time and sch delay are both 0

  # perf sched timehist
  Samples of sched_switch event do not have callchains.
             time    cpu  task name                       wait time  sch delay   run time
                          [tid/pid]                          (msec)     (msec)     (msec)
  --------------- ------  ------------------------------  ---------  ---------  ---------
   2090450.763231 [0000]  perf[1229608]                       0.000      0.000      0.000
   2090450.763235 [0000]  migration/0[15]                     0.000      0.001      0.003
   2090450.763263 [0001]  perf[1229608]                       0.000      0.000      0.000
   2090450.763268 [0001]  migration/1[21]                     0.000      0.001      0.004
   2090450.763302 [0002]  perf[1229608]                       0.000      0.000      0.000
   2090450.763309 [0002]  migration/2[27]                     0.000      0.001      0.007
   2090450.763338 [0003]  perf[1229608]                       0.000      0.000      0.000
   2090450.763343 [0003]  migration/3[33]                     0.000      0.001      0.004

Before:

  arbitrarily specify a time window of interest, timestamp will be set to an incorrect value

  # perf sched timehist --time 100,200
  Samples of sched_switch event do not have callchains.
             time    cpu  task name                       wait time  sch delay   run time
                          [tid/pid]                          (msec)     (msec)     (msec)
  --------------- ------  ------------------------------  ---------  ---------  ---------
       200.000000 [0000]  perf[1229608]                       0.000      0.000      0.000
       200.000000 [0001]  perf[1229608]                       0.000      0.000      0.000
       200.000000 [0002]  perf[1229608]                       0.000      0.000      0.000
       200.000000 [0003]  perf[1229608]                       0.000      0.000      0.000
       200.000000 [0004]  perf[1229608]                       0.000      0.000      0.000
       200.000000 [0005]  perf[1229608]                       0.000      0.000      0.000
       200.000000 [0006]  perf[1229608]                       0.000      0.000      0.000
       200.000000 [0007]  perf[1229608]                       0.000      0.000      0.000

 After:

  # perf sched timehist --time 100,200
  Samples of sched_switch event do not have callchains.
             time    cpu  task name                       wait time  sch delay   run time
                          [tid/pid]                          (msec)     (msec)     (msec)
  --------------- ------  ------------------------------  ---------  ---------  ---------

Fixes: 853b740711 ("perf sched timehist: Add option to specify time window of interest")
Signed-off-by: Yang Jihong <yangjihong@bytedance.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsa@cumulusnetworks.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240819024720.2405244-1-yangjihong@bytedance.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit d825de712b59dfd6e256c0ecad7443da652c2b22)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:29 +05:30
Yang Jihong
ccaef2b90f perf sched timehist: Fix missing free of session in perf_sched__timehist()
[ Upstream commit 6bdf5168b6fb19541b0c1862bdaa596d116c7bfb ]

When perf_time__parse_str() fails in perf_sched__timehist(),
need to free session that was previously created, fix it.

Fixes: 853b740711 ("perf sched timehist: Add option to specify time window of interest")
Signed-off-by: Yang Jihong <yangjihong@bytedance.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsa@cumulusnetworks.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240806023533.1316348-1-yangjihong@bytedance.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 1d4d7e56c4aa834f359a29aa64f5f5c01e3453eb)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:28 +05:30
Ryusuke Konishi
6f66447d1a nilfs2: fix potential oob read in nilfs_btree_check_delete()
[ Upstream commit f9c96351aa6718b42a9f42eaf7adce0356bdb5e8 ]

The function nilfs_btree_check_delete(), which checks whether degeneration
to direct mapping occurs before deleting a b-tree entry, causes memory
access outside the block buffer when retrieving the maximum key if the
root node has no entries.

This does not usually happen because b-tree mappings with 0 child nodes
are never created by mkfs.nilfs2 or nilfs2 itself.  However, it can happen
if the b-tree root node read from a device is configured that way, so fix
this potential issue by adding a check for that case.

Link: https://lkml.kernel.org/r/20240904081401.16682-4-konishi.ryusuke@gmail.com
Fixes: 17c76b0104 ("nilfs2: B-tree based block mapping")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: Lizhi Xu <lizhi.xu@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f3a9859767c7aea758976f5523903d247e585129)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:26 +05:30
Ryusuke Konishi
5cfe7a8f9a nilfs2: determine empty node blocks as corrupted
[ Upstream commit 111b812d3662f3a1b831d19208f83aa711583fe6 ]

Due to the nature of b-trees, nilfs2 itself and admin tools such as
mkfs.nilfs2 will never create an intermediate b-tree node block with 0
child nodes, nor will they delete (key, pointer)-entries that would result
in such a state.  However, it is possible that a b-tree node block is
corrupted on the backing device and is read with 0 child nodes.

Because operation is not guaranteed if the number of child nodes is 0 for
intermediate node blocks other than the root node, modify
nilfs_btree_node_broken(), which performs sanity checks when reading a
b-tree node block, so that such cases will be judged as metadata
corruption.

Link: https://lkml.kernel.org/r/20240904081401.16682-3-konishi.ryusuke@gmail.com
Fixes: 17c76b0104 ("nilfs2: B-tree based block mapping")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: Lizhi Xu <lizhi.xu@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 6d7f4fac707a187882b8c610e8889c097b289082)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:25 +05:30
Ryusuke Konishi
65f2a244c3 nilfs2: fix potential null-ptr-deref in nilfs_btree_insert()
[ Upstream commit 9403001ad65ae4f4c5de368bdda3a0636b51d51a ]

Patch series "nilfs2: fix potential issues with empty b-tree nodes".

This series addresses three potential issues with empty b-tree nodes that
can occur with corrupted filesystem images, including one recently
discovered by syzbot.

This patch (of 3):

If a b-tree is broken on the device, and the b-tree height is greater than
2 (the level of the root node is greater than 1) even if the number of
child nodes of the b-tree root is 0, a NULL pointer dereference occurs in
nilfs_btree_prepare_insert(), which is called from nilfs_btree_insert().

This is because, when the number of child nodes of the b-tree root is 0,
nilfs_btree_do_lookup() does not set the block buffer head in any of
path[x].bp_bh, leaving it as the initial value of NULL, but if the level
of the b-tree root node is greater than 1, nilfs_btree_get_nonroot_node(),
which accesses the buffer memory of path[x].bp_bh, is called.

Fix this issue by adding a check to nilfs_btree_root_broken(), which
performs sanity checks when reading the root node from the device, to
detect this inconsistency.

Thanks to Lizhi Xu for trying to solve the bug and clarifying the cause
early on.

Link: https://lkml.kernel.org/r/20240904081401.16682-1-konishi.ryusuke@gmail.com
Link: https://lkml.kernel.org/r/20240902084101.138971-1-lizhi.xu@windriver.com
Link: https://lkml.kernel.org/r/20240904081401.16682-2-konishi.ryusuke@gmail.com
Fixes: 17c76b0104 ("nilfs2: B-tree based block mapping")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Reported-by: syzbot+9bff4c7b992038a7409f@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=9bff4c7b992038a7409f
Cc: Lizhi Xu <lizhi.xu@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 2b78e9df10fb7f4e9d3d7a18417dd72fbbc1dfd0)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:25:21 +05:30
Thadeu Lima de Souza Cascardo
25fb52c992 ext4: avoid OOB when system.data xattr changes underneath the filesystem
[ Upstream commit c6b72f5d82b1017bad80f9ebf502832fc321d796 ]

When looking up for an entry in an inlined directory, if e_value_offs is
changed underneath the filesystem by some change in the block device, it
will lead to an out-of-bounds access that KASAN detects as an UAF.

EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none.
loop0: detected capacity change from 2048 to 2047
==================================================================
BUG: KASAN: use-after-free in ext4_search_dir+0xf2/0x1c0 fs/ext4/namei.c:1500
Read of size 1 at addr ffff88803e91130f by task syz-executor269/5103

CPU: 0 UID: 0 PID: 5103 Comm: syz-executor269 Not tainted 6.11.0-rc4-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:93 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
 print_address_description mm/kasan/report.c:377 [inline]
 print_report+0x169/0x550 mm/kasan/report.c:488
 kasan_report+0x143/0x180 mm/kasan/report.c:601
 ext4_search_dir+0xf2/0x1c0 fs/ext4/namei.c:1500
 ext4_find_inline_entry+0x4be/0x5e0 fs/ext4/inline.c:1697
 __ext4_find_entry+0x2b4/0x1b30 fs/ext4/namei.c:1573
 ext4_lookup_entry fs/ext4/namei.c:1727 [inline]
 ext4_lookup+0x15f/0x750 fs/ext4/namei.c:1795
 lookup_one_qstr_excl+0x11f/0x260 fs/namei.c:1633
 filename_create+0x297/0x540 fs/namei.c:3980
 do_symlinkat+0xf9/0x3a0 fs/namei.c:4587
 __do_sys_symlinkat fs/namei.c:4610 [inline]
 __se_sys_symlinkat fs/namei.c:4607 [inline]
 __x64_sys_symlinkat+0x95/0xb0 fs/namei.c:4607
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3e73ced469
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff4d40c258 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 0032656c69662f2e RCX: 00007f3e73ced469
RDX: 0000000020000200 RSI: 00000000ffffff9c RDI: 00000000200001c0
RBP: 0000000000000000 R08: 00007fff4d40c290 R09: 00007fff4d40c290
R10: 0023706f6f6c2f76 R11: 0000000000000246 R12: 00007fff4d40c27c
R13: 0000000000000003 R14: 431bde82d7b634db R15: 00007fff4d40c2b0
 </TASK>

Calling ext4_xattr_ibody_find right after reading the inode with
ext4_get_inode_loc will lead to a check of the validity of the xattrs,
avoiding this problem.

Reported-by: syzbot+0c2508114d912a54ee79@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=0c2508114d912a54ee79
Fixes: e8e948e780 ("ext4: let ext4_find_entry handle inline data")
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Link: https://patch.msgid.link/20240821152324.3621860-5-cascardo@igalia.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 5b076d37e8d99918e9294bd6b35a8bbb436819b0)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:24:23 +05:30
Thadeu Lima de Souza Cascardo
8226004cd2 ext4: return error on ext4_find_inline_entry
[ Upstream commit 4d231b91a944f3cab355fce65af5871fb5d7735b ]

In case of errors when reading an inode from disk or traversing inline
directory entries, return an error-encoded ERR_PTR instead of returning
NULL. ext4_find_inline_entry only caller, __ext4_find_entry already returns
such encoded errors.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Link: https://patch.msgid.link/20240821152324.3621860-3-cascardo@igalia.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Stable-dep-of: c6b72f5d82b1 ("ext4: avoid OOB when system.data xattr changes underneath the filesystem")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ce8f41fca0b6bc69753031afea8fc01f97b5e1af)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:24:03 +05:30
Kemeng Shi
fe0a5a2f8c ext4: avoid negative min_clusters in find_group_orlov()
[ Upstream commit bb0a12c3439b10d88412fd3102df5b9a6e3cd6dc ]

min_clusters is signed integer and will be converted to unsigned
integer when compared with unsigned number stats.free_clusters.
If min_clusters is negative, it will be converted to a huge unsigned
value in which case all groups may not meet the actual desired free
clusters.
Set negative min_clusters to 0 to avoid unexpected behavior.

Fixes: ac27a0ec11 ("[PATCH] ext4: initial copy of files from ext3")
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Link: https://patch.msgid.link/20240820132234.2759926-4-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 7b98a77cdad322fa3c7babf15c37659a94aa3593)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:24:01 +05:30
Jiawei Ye
35f5dbc7ac smackfs: Use rcu_assign_pointer() to ensure safe assignment in smk_set_cipso
[ Upstream commit 2749749afa071f8a0e405605de9da615e771a7ce ]

In the `smk_set_cipso` function, the `skp->smk_netlabel.attr.mls.cat`
field is directly assigned to a new value without using the appropriate
RCU pointer assignment functions. According to RCU usage rules, this is
illegal and can lead to unpredictable behavior, including data
inconsistencies and impossible-to-diagnose memory corruption issues.

This possible bug was identified using a static analysis tool developed
by myself, specifically designed to detect RCU-related issues.

To address this, the assignment is now done using rcu_assign_pointer(),
which ensures that the pointer assignment is done safely, with the
necessary memory barriers and synchronization. This change prevents
potential RCU dereference issues by ensuring that the `cat` field is
safely updated while still adhering to RCU's requirements.

Fixes: 0817534ff9ea ("smackfs: Fix use-after-free in netlbl_catmap_walk()")
Signed-off-by: Jiawei Ye <jiawei.ye@foxmail.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 029ebd49aab06dd438c1256876730518aef7da35)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:57 +05:30
yangerkun
c3d3c854d9 ext4: clear EXT4_GROUP_INFO_WAS_TRIMMED_BIT even mount with discard
[ Upstream commit 20cee68f5b44fdc2942d20f3172a262ec247b117 ]

Commit 3d56b8d2c7 ("ext4: Speed up FITRIM by recording flags in
ext4_group_info") speed up fstrim by skipping trim trimmed group. We
also has the chance to clear trimmed once there exists some block free
for this group(mount without discard), and the next trim for this group
will work well too.

For mount with discard, we will issue dicard when we free blocks, so
leave trimmed flag keep alive to skip useless trim trigger from
userspace seems reasonable. But for some case like ext4 build on
dm-thinpool(ext4 blocksize 4K, pool blocksize 128K), discard from ext4
maybe unaligned for dm thinpool, and thinpool will just finish this
discard(see process_discard_bio when begein equals to end) without
actually process discard. For this case, trim from userspace can really
help us to free some thinpool block.

So convert to clear trimmed flag for all case no matter mounted with
discard or not.

Fixes: 3d56b8d2c7 ("ext4: Speed up FITRIM by recording flags in ext4_group_info")
Signed-off-by: yangerkun <yangerkun@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240817085510.2084444-1-yangerkun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 6f44db60f9c42265e1e61596994f457f3c30d432)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:11 +05:30
Mauricio Faria de Oliveira
e830611b6a jbd2: introduce/export functions jbd2_journal_submit|finish_inode_data_buffers()
[ Upstream commit aa3c0c61f62d682259e3e66cdc01846290f9cd6c ]

Export functions that implement the current behavior done
for an inode in journal_submit|finish_inode_data_buffers().

No functional change.

Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
Suggested-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Link: https://lore.kernel.org/r/20201006004841.600488-2-mfo@canonical.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Stable-dep-of: 20cee68f5b44 ("ext4: clear EXT4_GROUP_INFO_WAS_TRIMMED_BIT even mount with discard")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 58a48155ce22e8e001308a41a16d8c89ee003b80)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:09 +05:30
Chen Yu
4050d4814e kthread: fix task state in kthread worker if being frozen
[ Upstream commit e16c7b07784f3fb03025939c4590b9a7c64970a7 ]

When analyzing a kernel waring message, Peter pointed out that there is a
race condition when the kworker is being frozen and falls into
try_to_freeze() with TASK_INTERRUPTIBLE, which could trigger a
might_sleep() warning in try_to_freeze().  Although the root cause is not
related to freeze()[1], it is still worthy to fix this issue ahead.

One possible race scenario:

        CPU 0                                           CPU 1
        -----                                           -----

        // kthread_worker_fn
        set_current_state(TASK_INTERRUPTIBLE);
                                                       suspend_freeze_processes()
                                                         freeze_processes
                                                           static_branch_inc(&freezer_active);
                                                         freeze_kernel_threads
                                                           pm_nosig_freezing = true;
        if (work) { //false
          __set_current_state(TASK_RUNNING);

        } else if (!freezing(current)) //false, been frozen

                      freezing():
                      if (static_branch_unlikely(&freezer_active))
                        if (pm_nosig_freezing)
                          return true;
          schedule()
	}

        // state is still TASK_INTERRUPTIBLE
        try_to_freeze()
          might_sleep() <--- warning

Fix this by explicitly set the TASK_RUNNING before entering
try_to_freeze().

Link: https://lore.kernel.org/lkml/Zs2ZoAcUsZMX2B%2FI@chenyu5-mobl2/ [1]
Link: https://lkml.kernel.org/r/20240827112308.181081-1-yu.c.chen@intel.com
Fixes: b56c0d8937 ("kthread: implement kthread_worker")
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: David Gow <davidgow@google.com>
Cc: Mateusz Guzik <mjguzik@gmail.com>
Cc: Mickaël Salaün <mic@digikod.net>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 6430d6a00b0d8d3de663ecc0da248f8f3557b82e)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:08 +05:30
Rob Clark
7ad30d1740 kthread: add kthread_work tracepoints
[ Upstream commit f630c7c6f10546ebff15c3a856e7949feb7a2372 ]

While migrating some code from wq to kthread_worker, I found that I missed
the execute_start/end tracepoints.  So add similar tracepoints for
kthread_work.  And for completeness, queue_work tracepoint (although this
one differs slightly from the matching workqueue tracepoint).

Link: https://lkml.kernel.org/r/20201010180323.126634-1-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
Cc: Rob Clark <robdclark@chromium.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Cc: Phil Auld <pauld@redhat.com>
Cc: Valentin Schneider <valentin.schneider@arm.com>
Cc: Thara Gopinath <thara.gopinath@linaro.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Vincent Donnefort <vincent.donnefort@arm.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Ilias Stamatis <stamatis.iliass@gmail.com>
Cc: Liang Chen <cl@rock-chips.com>
Cc: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: "J. Bruce Fields" <bfields@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Stable-dep-of: e16c7b07784f ("kthread: fix task state in kthread worker if being frozen")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 65c1957181a1e2cd5344e49d4e5b6e9f930092d1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:07 +05:30
Tony Ambardar
3d7157e04c selftests/bpf: Fix error compiling test_lru_map.c
[ Upstream commit cacf2a5a78cd1f5f616eae043ebc6f024104b721 ]

Although the post-increment in macro 'CPU_SET(next++, &cpuset)' seems safe,
the sequencing can raise compile errors, so move the increment outside the
macro. This avoids an error seen using gcc 12.3.0 for mips64el/musl-libc:

  In file included from test_lru_map.c:11:
  test_lru_map.c: In function 'sched_next_online':
  test_lru_map.c:129:29: error: operation on 'next' may be undefined [-Werror=sequence-point]
    129 |                 CPU_SET(next++, &cpuset);
        |                             ^
  cc1: all warnings being treated as errors

Fixes: 3fbfadce60 ("bpf: Fix test_lru_sanity5() in test_lru_map.c")
Signed-off-by: Tony Ambardar <tony.ambardar@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/22993dfb11ccf27925a626b32672fd3324cb76c4.1722244708.git.tony.ambardar@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e5fa35e20078c3f08a249a15e616645a7e7068e2)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:05 +05:30
Juergen Gross
412706d710 xen/swiotlb: add alignment check for dma buffers
[ Upstream commit 9f40ec84a7976d95c34e7cc070939deb103652b0 ]

When checking a memory buffer to be consecutive in machine memory,
the alignment needs to be checked, too. Failing to do so might result
in DMA memory not being aligned according to its requested size,
leading to error messages like:

  4xxx 0000:2b:00.0: enabling device (0140 -> 0142)
  4xxx 0000:2b:00.0: Ring address not aligned
  4xxx 0000:2b:00.0: Failed to initialise service qat_crypto
  4xxx 0000:2b:00.0: Resetting device qat_dev0
  4xxx: probe of 0000:2b:00.0 failed with error -14

Fixes: 9435cce879 ("xen/swiotlb: Add support for 64KB page granularity")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 66c845af6613a62f08d1425054526cc294842914)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:04 +05:30
Juergen Gross
bfc678ecc8 xen/swiotlb: simplify range_straddles_page_boundary()
[ Upstream commit bf70726668c6116aa4976e0cc87f470be6268a2f ]

range_straddles_page_boundary() is open coding several macros from
include/xen/page.h. Use those instead. Additionally there is no need
to have check_pages_physically_contiguous() as a separate function as
it is used only once, so merge it into range_straddles_page_boundary().

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Stable-dep-of: 9f40ec84a797 ("xen/swiotlb: add alignment check for dma buffers")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 5937434b2ca4884798571079cc71ad3a58b3c8fd)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:04 +05:30
Juergen Gross
2fac1cb312 xen: use correct end address of kernel for conflict checking
[ Upstream commit fac1bceeeb04886fc2ee952672e6e6c85ce41dca ]

When running as a Xen PV dom0 the kernel is loaded by the hypervisor
using a different memory map than that of the host. In order to
minimize the required changes in the kernel, the kernel adapts its
memory map to that of the host. In order to do that it is checking
for conflicts of its load address with the host memory map.

Unfortunately the tested memory range does not include the .brk
area, which might result in crashes or memory corruption when this
area does conflict with the memory map of the host.

Fix the test by using the _end label instead of __bss_stop.

Fixes: 808fdb7193 ("xen: check for kernel memory conflicting with memory layout")

Signed-off-by: Juergen Gross <jgross@suse.com>
Tested-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f38d39918cff054f4bfc466cac1c110d735eda94)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:03 +05:30
Sherry Yang
23f377a2f9 drm/msm: fix %s null argument error
[ Upstream commit 25b85075150fe8adddb096db8a4b950353045ee1 ]

The following build error was triggered because of NULL string argument:

BUILDSTDERR: drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c: In function 'mdp5_smp_dump':
BUILDSTDERR: drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c:352:51: error: '%s' directive argument is null [-Werror=format-overflow=]
BUILDSTDERR:   352 |                         drm_printf(p, "%s:%d\t%d\t%s\n",
BUILDSTDERR:       |                                                   ^~
BUILDSTDERR: drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c:352:51: error: '%s' directive argument is null [-Werror=format-overflow=]

This happens from the commit a61ddb4393ad ("drm: enable (most) W=1
warnings by default across the subsystem"). Using "(null)" instead
to fix it.

Fixes: bc5289eed4 ("drm/msm/mdp5: add debugfs to show smp block status")
Signed-off-by: Sherry Yang <sherry.yang@oracle.com>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/611071/
Link: https://lore.kernel.org/r/20240827165337.1075904-1-sherry.yang@oracle.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b7a63d4bac70f660d63cba66684bc03f09be50ad)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:02 +05:30
Wolfram Sang
918dde4424 ipmi: docs: don't advertise deprecated sysfs entries
[ Upstream commit 64dce81f8c373c681e62d5ffe0397c45a35d48a2 ]

"i2c-adapter" class entries are deprecated since 2009. Switch to the
proper location.

Reported-by: Heiner Kallweit <hkallweit1@gmail.com>
Closes: https://lore.kernel.org/r/80c4a898-5867-4162-ac85-bdf7c7c68746@gmail.com
Fixes: 259307074b ("ipmi: Add SMBus interface driver (SSIF)")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Message-Id: <20240901090211.3797-2-wsa+renesas@sang-engineering.com>
Signed-off-by: Corey Minyard <corey@minyard.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e4e81788a8b83f267d25b9f3b68cb4837b71bdd9)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:23:01 +05:30
Jeongjun Park
30893dcebc jfs: fix out-of-bounds in dbNextAG() and diAlloc()
[ Upstream commit e63866a475562810500ea7f784099bfe341e761a ]

In dbNextAG() , there is no check for the case where bmp->db_numag is
greater or same than MAXAG due to a polluted image, which causes an
out-of-bounds. Therefore, a bounds check should be added in dbMount().

And in dbNextAG(), a check for the case where agpref is greater than
bmp->db_numag should be added, so an out-of-bounds exception should be
prevented.

Additionally, a check for the case where agno is greater or same than
MAXAG should be added in diAlloc() to prevent out-of-bounds.

Reported-by: Jeongjun Park <aha310510@gmail.com>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Jeongjun Park <aha310510@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:57 +05:30
Nikita Zhandarovich
b706497e33 drm/radeon/evergreen_cs: fix int overflow errors in cs track offsets
[ Upstream commit 3fbaf475a5b8361ebee7da18964db809e37518b7 ]

Several cs track offsets (such as 'track->db_s_read_offset')
either are initialized with or plainly take big enough values that,
once shifted 8 bits left, may be hit with integer overflow if the
resulting values end up going over u32 limit.

Same goes for a few instances of 'surf.layer_size * mslice'
multiplications that are added to 'offset' variable - they may
potentially overflow as well and need to be validated properly.

While some debug prints in this code section take possible overflow
issues into account, simply casting to (unsigned long) may be
erroneous in its own way, as depending on CPU architecture one is
liable to get different results.

Fix said problems by:
 - casting 'offset' to fixed u64 data type instead of
 ambiguous unsigned long.
 - casting one of the operands in vulnerable to integer
 overflow cases to u64.
 - adjust format specifiers in debug prints to properly
 represent 'offset' values.

Found by Linux Verification Center (linuxtesting.org) with static
analysis tool SVACE.

Fixes: 285484e2d5 ("drm/radeon: add support for evergreen/ni tiling informations v11")
Signed-off-by: Nikita Zhandarovich <n.zhandarovich@fintech.ru>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ec7cf75b4e2b584e6f2b167ce998428b42522df6)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:18 +05:30
Alex Bee
e8c36d3ca4 drm/rockchip: vop: Allow 4096px width scaling
[ Upstream commit 0ef968d91a20b5da581839f093f98f7a03a804f7 ]

There is no reason to limit VOP scaling to 3840px width, the limit of
RK3288, when there are newer VOP versions that support 4096px width.

Change to enforce a maximum of 4096px width plane scaling, the maximum
supported output width of the VOP versions supported by this driver.

Fixes: 4c156c21c7 ("drm/rockchip: vop: support plane scale")
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240615170417.3134517-4-jonas@kwiboo.se
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 6a512ab02cde62f147351d38ebefa250522336c4)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:17 +05:30
Matteo Croce
583175e0fb drm/amd: fix typo
[ Upstream commit 229f7b1d6344ea35fff0b113e4d91128921f8937 ]

Fix spelling mistake: "lenght" -> "length"

Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 8155566a26b8 ("drm/amdgpu: properly handle vbios fake edid sizing")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f4a502c468886ffc54e436279d7f573b4d02bd5b)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:15 +05:30
Christophe JAILLET
eec93da06d fbdev: hpfb: Fix an error handling path in hpfb_dio_probe()
[ Upstream commit aa578e897520f32ae12bec487f2474357d01ca9c ]

If an error occurs after request_mem_region(), a corresponding
release_mem_region() should be called, as already done in the remove
function.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit da77622151181c1d7d8ce99019c14cd5bd6453b5)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:14 +05:30
Artur Weber
bfd3e9f4b8 power: supply: max17042_battery: Fix SOC threshold calc w/ no current sense
[ Upstream commit 3a3acf839b2cedf092bdd1ff65b0e9895df1656b ]

Commit 223a3b82834f ("power: supply: max17042_battery: use VFSOC for
capacity when no rsns") made it so that capacity on systems without
current sensing would be read from VFSOC instead of RepSOC. However,
the SOC threshold calculation still read RepSOC to get the SOC
regardless of the current sensing option state.

Fix this by applying the same conditional to determine which register
should be read.

This also seems to be the intended behavior as per the datasheet - SOC
alert config value in MiscCFG on setups without current sensing is set
to a value of 0b11, indicating SOC alerts being generated based on
VFSOC, instead of 0b00 which indicates SOC alerts being generated based
on RepSOC.

This fixes an issue on the Galaxy S3/Midas boards, where the alert
interrupt would be constantly retriggered, causing high CPU usage
on idle (around ~12%-15%).

Fixes: e5f3872d20 ("max17042: Add support for signalling change in SOC")
Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
Reviewed-by: Henrik Grimler <henrik@grimler.se>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240817-max17042-soc-threshold-fix-v1-1-72b45899c3cc@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f9e9ce0f2b420b63c29e96840865640098bbafe7)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:12 +05:30
Yuntao Liu
1e0cb54c80 hwmon: (ntc_thermistor) fix module autoloading
[ Upstream commit b6964d66a07a9003868e428a956949e17ab44d7e ]

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.

Fixes: 9e8269de10 ("hwmon: (ntc_thermistor) Add DT with IIO support to NTC thermistor driver")
Signed-off-by: Yuntao Liu <liuyuntao12@huawei.com>
Message-ID: <20240815083021.756134-1-liuyuntao12@huawei.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 6f91b0464947c4119682731401e11e095d8db06d)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:11 +05:30
Mirsad Todorovac
6cc6f059c2 mtd: slram: insert break after errors in parsing the map
[ Upstream commit 336c218dd7f0588ed8a7345f367975a00a4f003f ]

GCC 12.3.0 compiler on linux-next next-20240709 tree found the execution
path in which, due to lazy evaluation, devlength isn't initialised with the
parsed string:

   289		while (map) {
   290			devname = devstart = devlength = NULL;
   291
   292			if (!(devname = strsep(&map, ","))) {
   293				E("slram: No devicename specified.\n");
   294				break;
   295			}
   296			T("slram: devname = %s\n", devname);
   297			if ((!map) || (!(devstart = strsep(&map, ",")))) {
   298				E("slram: No devicestart specified.\n");
   299			}
   300			T("slram: devstart = %s\n", devstart);
 → 301			if ((!map) || (!(devlength = strsep(&map, ",")))) {
   302				E("slram: No devicelength / -end specified.\n");
   303			}
 → 304			T("slram: devlength = %s\n", devlength);
   305			if (parse_cmdline(devname, devstart, devlength) != 0) {
   306				return(-EINVAL);
   307			}

Parsing should be finished after map == NULL, so a break is best inserted after
each E("slram: ... \n") error message.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Mirsad Todorovac <mtodorovac69@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240711234319.637824-1-mtodorovac69@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 6015f85fc8eba1ccf7db8b20a9518388fcb4fbf7)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:10 +05:30
Guenter Roeck
e7aef58c01 hwmon: (max16065) Fix overflows seen when writing limits
[ Upstream commit 744ec4477b11c42e2c8de9eb8364675ae7a0bd81 ]

Writing large limits resulted in overflows as reported by module tests.

in0_lcrit: Suspected overflow: [max=5538, read 0, written 2147483647]
in0_crit: Suspected overflow: [max=5538, read 0, written 2147483647]
in0_min: Suspected overflow: [max=5538, read 0, written 2147483647]

Fix the problem by clamping prior to multiplications and the use of
DIV_ROUND_CLOSEST, and by using consistent variable types.

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Fixes: f5bae2642e ("hwmon: Driver for MAX16065 System Manager and compatibles")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b665734d4772df97eaeb4d943dc104dbd9ec1e9a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:08 +05:30
Ankit Agrawal
409bb147f5 clocksource/drivers/qcom: Add missing iounmap() on errors in msm_dt_timer_init()
[ Upstream commit ca140a0dc0a18acd4653b56db211fec9b2339986 ]

Add the missing iounmap() when clock frequency fails to get read by the
of_property_read_u32() call, or if the call to msm_timer_init() fails.

Fixes: 6e3321631a ("ARM: msm: Add DT support to msm_timer")
Signed-off-by: Ankit Agrawal <agrawal.ag.ankit@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240713095713.GA430091@bnew-VirtualBox
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 24d689791c6dbdb11b4b5208ed746f28fe651715)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:07 +05:30
Krzysztof Kozlowski
20bd919b37 reset: berlin: fix OF node leak in probe() error path
[ Upstream commit 5f58a88cc91075be38cec69b7cb70aaa4ba69e8b ]

Driver is leaking OF node reference on memory allocation failure.
Acquire the OF node reference after memory allocation to fix this and
keep it simple.

Fixes: aed6f3cadc ("reset: berlin: convert to a platform driver")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240825-reset-cleanup-scoped-v1-1-03f6d834f8c0@linaro.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 041b763798bf460307db3bd8144e3732aef52902)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:06 +05:30
Krzysztof Kozlowski
10acc7e5ca ARM: versatile: fix OF node leak in CPUs prepare
[ Upstream commit f2642d97f2105ed17b2ece0c597450f2ff95d704 ]

Machine code is leaking OF node reference from of_find_matching_node()
in realview_smp_prepare_cpus().

Fixes: 5420b4b156 ("ARM: realview: add an DT SMP boot method")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://lore.kernel.org/20240826054934.10724-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 722d698f3e8de32a753ee1148b009406d0b3b829)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:05 +05:30
Andy Shevchenko
866d7d0fc3 spi: ppc4xx: Avoid returning 0 when failed to parse and map IRQ
[ Upstream commit 7781f1d120fec8624fc654eda900fc8748262082 ]

0 is incorrect error code when failed to parse and map IRQ.
Replace OF specific old API for IRQ retrieval with a generic
one to fix this issue.

Fixes: 0f245463b01e ("spi: ppc4xx: handle irq_of_parse_and_map() errors")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20240814144525.2648450-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e546902c4917656203e0e134630a873e9b6d28af)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:03 +05:30
Ma Ke
96a52fa20d spi: ppc4xx: handle irq_of_parse_and_map() errors
[ Upstream commit 0f245463b01ea254ae90e1d0389e90b0e7d8dc75 ]

Zero and negative number is not a valid IRQ for in-kernel code and the
irq_of_parse_and_map() function returns zero on error.  So this check for
valid IRQs should only accept values > 0.

Fixes: 44dab88e7c ("spi: add spi_ppc4xx driver")
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Link: https://patch.msgid.link/20240724084047.1506084-1-make24@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f2a73a1f728e6fe765fc07c043a3d1670d854518)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:02 +05:30
Yu Kuai
aca46da5ee block, bfq: don't break merge chain in bfq_split_bfqq()
[ Upstream commit 42c306ed723321af4003b2a41bb73728cab54f85 ]

Consider the following scenario:

    Process 1       Process 2       Process 3       Process 4
     (BIC1)          (BIC2)          (BIC3)          (BIC4)
      Λ               |               |                |
       \-------------\ \-------------\ \--------------\|
                      V               V                V
      bfqq1--------->bfqq2---------->bfqq3----------->bfqq4
ref    0              1               2                4

If Process 1 issue a new IO and bfqq2 is found, and then bfq_init_rq()
decide to spilt bfqq2 by bfq_split_bfqq(). Howerver, procress reference
of bfqq2 is 1 and bfq_split_bfqq() just clear the coop flag, which will
break the merge chain.

Expected result: caller will allocate a new bfqq for BIC1

    Process 1       Process 2       Process 3       Process 4
     (BIC1)          (BIC2)          (BIC3)          (BIC4)
                      |               |                |
                       \-------------\ \--------------\|
                                      V                V
      bfqq1--------->bfqq2---------->bfqq3----------->bfqq4
ref    0              0               1                3

Since the condition is only used for the last bfqq4 when the previous
bfqq2 and bfqq3 are already splited. Fix the problem by checking if
bfqq is the last one in the merge chain as well.

Fixes: 36eca89483 ("block, bfq: add Early Queue Merge (EQM)")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240902130329.3787024-4-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 9e813033594b141f61ff0ef0cfaaef292564b041)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:01 +05:30
Yu Kuai
09dff5aa01 block, bfq: fix possible UAF for bfqq->bic with merge chain
[ Upstream commit 18ad4df091dd5d067d2faa8fce1180b79f7041a7 ]

1) initial state, three tasks:

		Process 1       Process 2	Process 3
		 (BIC1)          (BIC2)		 (BIC3)
		  |  Λ            |  Λ		  |  Λ
		  |  |            |  |		  |  |
		  V  |            V  |		  V  |
		  bfqq1           bfqq2		  bfqq3
process ref:	   1		    1		    1

2) bfqq1 merged to bfqq2:

		Process 1       Process 2	Process 3
		 (BIC1)          (BIC2)		 (BIC3)
		  |               |		  |  Λ
		  \--------------\|		  |  |
		                  V		  V  |
		  bfqq1--------->bfqq2		  bfqq3
process ref:	   0		    2		    1

3) bfqq2 merged to bfqq3:

		Process 1       Process 2	Process 3
		 (BIC1)          (BIC2)		 (BIC3)
	 here -> Λ                |		  |
		  \--------------\ \-------------\|
		                  V		  V
		  bfqq1--------->bfqq2---------->bfqq3
process ref:	   0		    1		    3

In this case, IO from Process 1 will get bfqq2 from BIC1 first, and then
get bfqq3 through merge chain, and finially handle IO by bfqq3.
Howerver, current code will think bfqq2 is owned by BIC1, like initial
state, and set bfqq2->bic to BIC1.

bfq_insert_request
-> by Process 1
 bfqq = bfq_init_rq(rq)
  bfqq = bfq_get_bfqq_handle_split
   bfqq = bic_to_bfqq
   -> get bfqq2 from BIC1
 bfqq->ref++
 rq->elv.priv[0] = bic
 rq->elv.priv[1] = bfqq
 if (bfqq_process_refs(bfqq) == 1)
  bfqq->bic = bic
  -> record BIC1 to bfqq2

  __bfq_insert_request
   new_bfqq = bfq_setup_cooperator
   -> get bfqq3 from bfqq2->new_bfqq
   bfqq_request_freed(bfqq)
   new_bfqq->ref++
   rq->elv.priv[1] = new_bfqq
   -> handle IO by bfqq3

Fix the problem by checking bfqq is from merge chain fist. And this
might fix a following problem reported by our syzkaller(unreproducible):

==================================================================
BUG: KASAN: slab-use-after-free in bfq_do_early_stable_merge block/bfq-iosched.c:5692 [inline]
BUG: KASAN: slab-use-after-free in bfq_do_or_sched_stable_merge block/bfq-iosched.c:5805 [inline]
BUG: KASAN: slab-use-after-free in bfq_get_queue+0x25b0/0x2610 block/bfq-iosched.c:5889
Write of size 1 at addr ffff888123839eb8 by task kworker/0:1H/18595

CPU: 0 PID: 18595 Comm: kworker/0:1H Tainted: G             L     6.6.0-07439-gba2303cacfda #6
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Workqueue: kblockd blk_mq_requeue_work
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x91/0xf0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0x10d/0x610 mm/kasan/report.c:475
 kasan_report+0x8e/0xc0 mm/kasan/report.c:588
 bfq_do_early_stable_merge block/bfq-iosched.c:5692 [inline]
 bfq_do_or_sched_stable_merge block/bfq-iosched.c:5805 [inline]
 bfq_get_queue+0x25b0/0x2610 block/bfq-iosched.c:5889
 bfq_get_bfqq_handle_split+0x169/0x5d0 block/bfq-iosched.c:6757
 bfq_init_rq block/bfq-iosched.c:6876 [inline]
 bfq_insert_request block/bfq-iosched.c:6254 [inline]
 bfq_insert_requests+0x1112/0x5cf0 block/bfq-iosched.c:6304
 blk_mq_insert_request+0x290/0x8d0 block/blk-mq.c:2593
 blk_mq_requeue_work+0x6bc/0xa70 block/blk-mq.c:1502
 process_one_work kernel/workqueue.c:2627 [inline]
 process_scheduled_works+0x432/0x13f0 kernel/workqueue.c:2700
 worker_thread+0x6f2/0x1160 kernel/workqueue.c:2781
 kthread+0x33c/0x440 kernel/kthread.c:388
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:305
 </TASK>

Allocated by task 20776:
 kasan_save_stack+0x20/0x40 mm/kasan/common.c:45
 kasan_set_track+0x25/0x30 mm/kasan/common.c:52
 __kasan_slab_alloc+0x87/0x90 mm/kasan/common.c:328
 kasan_slab_alloc include/linux/kasan.h:188 [inline]
 slab_post_alloc_hook mm/slab.h:763 [inline]
 slab_alloc_node mm/slub.c:3458 [inline]
 kmem_cache_alloc_node+0x1a4/0x6f0 mm/slub.c:3503
 ioc_create_icq block/blk-ioc.c:370 [inline]
 ioc_find_get_icq+0x180/0xaa0 block/blk-ioc.c:436
 bfq_prepare_request+0x39/0xf0 block/bfq-iosched.c:6812
 blk_mq_rq_ctx_init.isra.7+0x6ac/0xa00 block/blk-mq.c:403
 __blk_mq_alloc_requests+0xcc0/0x1070 block/blk-mq.c:517
 blk_mq_get_new_requests block/blk-mq.c:2940 [inline]
 blk_mq_submit_bio+0x624/0x27c0 block/blk-mq.c:3042
 __submit_bio+0x331/0x6f0 block/blk-core.c:624
 __submit_bio_noacct_mq block/blk-core.c:703 [inline]
 submit_bio_noacct_nocheck+0x816/0xb40 block/blk-core.c:732
 submit_bio_noacct+0x7a6/0x1b50 block/blk-core.c:826
 xlog_write_iclog+0x7d5/0xa00 fs/xfs/xfs_log.c:1958
 xlog_state_release_iclog+0x3b8/0x720 fs/xfs/xfs_log.c:619
 xlog_cil_push_work+0x19c5/0x2270 fs/xfs/xfs_log_cil.c:1330
 process_one_work kernel/workqueue.c:2627 [inline]
 process_scheduled_works+0x432/0x13f0 kernel/workqueue.c:2700
 worker_thread+0x6f2/0x1160 kernel/workqueue.c:2781
 kthread+0x33c/0x440 kernel/kthread.c:388
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:305

Freed by task 946:
 kasan_save_stack+0x20/0x40 mm/kasan/common.c:45
 kasan_set_track+0x25/0x30 mm/kasan/common.c:52
 kasan_save_free_info+0x2b/0x50 mm/kasan/generic.c:522
 ____kasan_slab_free mm/kasan/common.c:236 [inline]
 __kasan_slab_free+0x12c/0x1c0 mm/kasan/common.c:244
 kasan_slab_free include/linux/kasan.h:164 [inline]
 slab_free_hook mm/slub.c:1815 [inline]
 slab_free_freelist_hook mm/slub.c:1841 [inline]
 slab_free mm/slub.c:3786 [inline]
 kmem_cache_free+0x118/0x6f0 mm/slub.c:3808
 rcu_do_batch+0x35c/0xe30 kernel/rcu/tree.c:2189
 rcu_core+0x819/0xd90 kernel/rcu/tree.c:2462
 __do_softirq+0x1b0/0x7a2 kernel/softirq.c:553

Last potentially related work creation:
 kasan_save_stack+0x20/0x40 mm/kasan/common.c:45
 __kasan_record_aux_stack+0xaf/0xc0 mm/kasan/generic.c:492
 __call_rcu_common kernel/rcu/tree.c:2712 [inline]
 call_rcu+0xce/0x1020 kernel/rcu/tree.c:2826
 ioc_destroy_icq+0x54c/0x830 block/blk-ioc.c:105
 ioc_release_fn+0xf0/0x360 block/blk-ioc.c:124
 process_one_work kernel/workqueue.c:2627 [inline]
 process_scheduled_works+0x432/0x13f0 kernel/workqueue.c:2700
 worker_thread+0x6f2/0x1160 kernel/workqueue.c:2781
 kthread+0x33c/0x440 kernel/kthread.c:388
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:305

Second to last potentially related work creation:
 kasan_save_stack+0x20/0x40 mm/kasan/common.c:45
 __kasan_record_aux_stack+0xaf/0xc0 mm/kasan/generic.c:492
 __call_rcu_common kernel/rcu/tree.c:2712 [inline]
 call_rcu+0xce/0x1020 kernel/rcu/tree.c:2826
 ioc_destroy_icq+0x54c/0x830 block/blk-ioc.c:105
 ioc_release_fn+0xf0/0x360 block/blk-ioc.c:124
 process_one_work kernel/workqueue.c:2627 [inline]
 process_scheduled_works+0x432/0x13f0 kernel/workqueue.c:2700
 worker_thread+0x6f2/0x1160 kernel/workqueue.c:2781
 kthread+0x33c/0x440 kernel/kthread.c:388
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:305

The buggy address belongs to the object at ffff888123839d68
 which belongs to the cache bfq_io_cq of size 1360
The buggy address is located 336 bytes inside of
 freed 1360-byte region [ffff888123839d68, ffff88812383a2b8)

The buggy address belongs to the physical page:
page:ffffea00048e0e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88812383f588 pfn:0x123838
head:ffffea00048e0e00 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x17ffffc0000a40(workingset|slab|head|node=0|zone=2|lastcpupid=0x1fffff)
page_type: 0xffffffff()
raw: 0017ffffc0000a40 ffff88810588c200 ffffea00048ffa10 ffff888105889488
raw: ffff88812383f588 0000000000150006 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff888123839d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888123839e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888123839e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                        ^
 ffff888123839f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888123839f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================

Fixes: 36eca89483 ("block, bfq: add Early Queue Merge (EQM)")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240902130329.3787024-2-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a9bdd5b36887d2bacb8bc777fd18317c99fc2587)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:22:00 +05:30
Luiz Augusto von Dentz
89bc9eda33 Bluetooth: btusb: Fix not handling ZPL/short-transfer
[ Upstream commit 7b05933340f4490ef5b09e84d644d12484b05fdf ]

Requesting transfers of the exact same size of wMaxPacketSize may result
in ZPL/short-transfer since the USB stack cannot handle it as we are
limiting the buffer size to be the same as wMaxPacketSize.

Also, in terms of throughput this change has the same effect to
interrupt endpoint as 290ba20081 "Bluetooth: Improve USB driver throughput
by increasing the frame size" had for the bulk endpoint, so users of the
advertisement bearer (e.g. BT Mesh) may benefit from this change.

Fixes: 5e23b923da ("[Bluetooth] Add generic driver for Bluetooth USB devices")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 2dfadca5439eca817fbb206c6003e5526d5e73df)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:21:59 +05:30
Kuniyuki Iwashima
4e50fe07c6 can: bcm: Clear bo->bcm_proc_read after remove_proc_entry().
[ Upstream commit 94b0818fa63555a65f6ba107080659ea6bcca63e ]

syzbot reported a warning in bcm_release(). [0]

The blamed change fixed another warning that is triggered when
connect() is issued again for a socket whose connect()ed device has
been unregistered.

However, if the socket is just close()d without the 2nd connect(), the
remaining bo->bcm_proc_read triggers unnecessary remove_proc_entry()
in bcm_release().

Let's clear bo->bcm_proc_read after remove_proc_entry() in bcm_notify().

[0]
name '4986'
WARNING: CPU: 0 PID: 5234 at fs/proc/generic.c:711 remove_proc_entry+0x2e7/0x5d0 fs/proc/generic.c:711
Modules linked in:
CPU: 0 UID: 0 PID: 5234 Comm: syz-executor606 Not tainted 6.11.0-rc5-syzkaller-00178-g5517ae241919 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:remove_proc_entry+0x2e7/0x5d0 fs/proc/generic.c:711
Code: ff eb 05 e8 cb 1e 5e ff 48 8b 5c 24 10 48 c7 c7 e0 f7 aa 8e e8 2a 38 8e 09 90 48 c7 c7 60 3a 1b 8c 48 89 de e8 da 42 20 ff 90 <0f> 0b 90 90 48 8b 44 24 18 48 c7 44 24 40 0e 36 e0 45 49 c7 04 07
RSP: 0018:ffffc9000345fa20 EFLAGS: 00010246
RAX: 2a2d0aee2eb64600 RBX: ffff888032f1f548 RCX: ffff888029431e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000345fb08 R08: ffffffff8155b2f2 R09: 1ffff1101710519a
R10: dffffc0000000000 R11: ffffed101710519b R12: ffff888011d38640
R13: 0000000000000004 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcfb52722f0 CR3: 000000000e734000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bcm_release+0x250/0x880 net/can/bcm.c:1578
 __sock_release net/socket.c:659 [inline]
 sock_close+0xbc/0x240 net/socket.c:1421
 __fput+0x24a/0x8a0 fs/file_table.c:422
 task_work_run+0x24f/0x310 kernel/task_work.c:228
 exit_task_work include/linux/task_work.h:40 [inline]
 do_exit+0xa2f/0x27f0 kernel/exit.c:882
 do_group_exit+0x207/0x2c0 kernel/exit.c:1031
 __do_sys_exit_group kernel/exit.c:1042 [inline]
 __se_sys_exit_group kernel/exit.c:1040 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040
 x64_sys_call+0x2634/0x2640 arch/x86/include/generated/asm/syscalls_64.h:232
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcfb51ee969
Code: Unable to access opcode bytes at 0x7fcfb51ee93f.
RSP: 002b:00007ffce0109ca8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fcfb51ee969
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007fcfb526f3b0 R08: ffffffffffffffb8 R09: 0000555500000000
R10: 0000555500000000 R11: 0000000000000246 R12: 00007fcfb526f3b0
R13: 0000000000000000 R14: 00007fcfb5271ee0 R15: 00007fcfb51bf160
 </TASK>

Fixes: 76fe372ccb81 ("can: bcm: Remove proc entry when dev is unregistered.")
Reported-by: syzbot+0532ac7a06fb1a03187e@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=0532ac7a06fb1a03187e
Tested-by: syzbot+0532ac7a06fb1a03187e@syzkaller.appspotmail.com
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://patch.msgid.link/20240905012237.79683-1-kuniyu@amazon.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f5059fae5ed518fc56494ce5bdd4f5360de4b3bc)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:21:54 +05:30
Toke Høiland-Jørgensen
b7601eeaf9 wifi: ath9k: Remove error checks when creating debugfs entries
[ Upstream commit f6ffe7f0184792c2f99aca6ae5b916683973d7d3 ]

We should not be checking the return values from debugfs creation at all: the
debugfs functions are designed to handle errors of previously called functions
and just transparently abort the creation of debugfs entries when debugfs is
disabled. If we check the return value and abort driver initialisation, we break
the driver if debugfs is disabled (such as when booting with debugfs=off).

Earlier versions of ath9k accidentally did the right thing by checking the
return value, but only for NULL, not for IS_ERR(). This was "fixed" by the two
commits referenced below, breaking ath9k with debugfs=off starting from the 6.6
kernel (as reported in the Bugzilla linked below).

Restore functionality by just getting rid of the return value check entirely.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=219122
Fixes: 1e4134610d93 ("wifi: ath9k: use IS_ERR() with debugfs_create_dir()")
Fixes: 6edb4ba6fb5b ("wifi: ath9k: fix parameter check in ath9k_init_debug()")
Reported-by: Daniel Tobias <dan.g.tob@gmail.com>
Tested-by: Daniel Tobias <dan.g.tob@gmail.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240805110225.19690-1-toke@toke.dk
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 0c3bbcbce030ca203963c520191ad2c5d89bf862)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:21:18 +05:30
Minjie Du
7afee22b0b wifi: ath9k: fix parameter check in ath9k_init_debug()
[ Upstream commit 6edb4ba6fb5b946d112259f54f4657f82eb71e89 ]

Make IS_ERR() judge the debugfs_create_dir() function return
in ath9k_init_debug()

Signed-off-by: Minjie Du <duminjie@vivo.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230712114740.13226-1-duminjie@vivo.com
Stable-dep-of: f6ffe7f01847 ("wifi: ath9k: Remove error checks when creating debugfs entries")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ac848aff235efdd903c0c185c1cb44496c5b9bb0)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:20:35 +05:30
Junhao Xie
28005e076f USB: serial: pl2303: add device id for Macrosilicon MS3020
commit 7d47d22444bb7dc1b6d768904a22070ef35e1fc0 upstream.

Add the device id for the Macrosilicon MS3020 which is a
PL2303HXN based device.

Signed-off-by: Junhao Xie <bigfoot@classfun.cn>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 79efd61e1c50d79d89a48e6c01761f8f890a83dd)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:20:31 +05:30
Hagar Hemdan
3eb884fdbf gpio: prevent potential speculation leaks in gpio_device_get_desc()
commit d795848ecce24a75dfd46481aee066ae6fe39775 upstream.

Userspace may trigger a speculative read of an address outside the gpio
descriptor array.
Users can do that by calling gpio_ioctl() with an offset out of range.
Offset is copied from user and then used as an array index to get
the gpio descriptor without sanitization in gpio_device_get_desc().

This change ensures that the offset is sanitized by using
array_index_nospec() to mitigate any possibility of speculative
information leaks.

This bug was discovered and resolved using Coverity Static Analysis
Security Testing (SAST) by Synopsys, Inc.

Signed-off-by: Hagar Hemdan <hagarhem@amazon.com>
Link: https://lore.kernel.org/r/20240523085332.1801-1-hagarhem@amazon.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 18504710442671b02d00e6db9804a0ad26c5a479)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:59 +05:30
Ferry Meng
63a82ca4f0 ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()
[ Upstream commit af77c4fc1871847b528d58b7fdafb4aa1f6a9262 ]

xattr in ocfs2 maybe 'non-indexed', which saved with additional space
requested.  It's better to check if the memory is out of bound before
memcmp, although this possibility mainly comes from crafted poisonous
images.

Link: https://lkml.kernel.org/r/20240520024024.1976129-2-joseph.qi@linux.alibaba.com
Signed-off-by: Ferry Meng <mengferry@linux.alibaba.com>
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reported-by: lei lu <llfamsec@gmail.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Mark Fasheh <mark@fasheh.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:56 +05:30
Ferry Meng
70c1e59977 ocfs2: add bounds checking to ocfs2_xattr_find_entry()
[ Upstream commit 9e3041fecdc8f78a5900c3aa51d3d756e73264d6 ]

Add a paranoia check to make sure it doesn't stray beyond valid memory
region containing ocfs2 xattr entries when scanning for a match.  It will
prevent out-of-bound access in case of crafted images.

Link: https://lkml.kernel.org/r/20240520024024.1976129-1-joseph.qi@linux.alibaba.com
Signed-off-by: Ferry Meng <mengferry@linux.alibaba.com>
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reported-by: lei lu <llfamsec@gmail.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: af77c4fc1871 ("ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit b49a786beb11ff740cb9e0c20b999c2a0e1729c2)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:55 +05:30
Michael Kelley
a7cf28a9aa x86/hyperv: Set X86_FEATURE_TSC_KNOWN_FREQ when Hyper-V provides frequency
[ Upstream commit 8fcc514809de41153b43ccbe1a0cdf7f72b78e7e ]

A Linux guest on Hyper-V gets the TSC frequency from a synthetic MSR, if
available. In this case, set X86_FEATURE_TSC_KNOWN_FREQ so that Linux
doesn't unnecessarily do refined TSC calibration when setting up the TSC
clocksource.

With this change, a message such as this is no longer output during boot
when the TSC is used as the clocksource:

[    1.115141] tsc: Refined TSC clocksource calibration: 2918.408 MHz

Furthermore, the guest and host will have exactly the same view of the
TSC frequency, which is important for features such as the TSC deadline
timer that are emulated by the Hyper-V host.

Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Roman Kisel <romank@linux.microsoft.com>
Link: https://lore.kernel.org/r/20240606025559.1631-1-mhklinux@outlook.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20240606025559.1631-1-mhklinux@outlook.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 1da08d443212eba1f731b3f163c5b23ec1c882c1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:51 +05:30
Liao Chen
dafc7e2287 spi: bcm63xx: Enable module autoloading
[ Upstream commit 709df70a20e990d262c473ad9899314039e8ec82 ]

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based
on the alias from of_device_id table.

Signed-off-by: Liao Chen <liaochen4@huawei.com>
Link: https://patch.msgid.link/20240831094231.795024-1-liaochen4@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 1cde0480b087bd8f4e12396fcbb133ee9d9876bd)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:48 +05:30
Jacky Chou
3acf81d045 net: ftgmac100: Ensure tx descriptor updates are visible
[ Upstream commit 4186c8d9e6af57bab0687b299df10ebd47534a0a ]

The driver must ensure TX descriptor updates are visible
before updating TX pointer and TX clear pointer.

This resolves TX hangs observed on AST2600 when running
iperf3.

Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 46974d97d58a2a91da16b032de0c78c4346bc1c2)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:44 +05:30
Mike Rapoport
978747a42e microblaze: don't treat zero reserved memory regions as error
[ Upstream commit 0075df288dd8a7abfe03b3766176c393063591dd ]

Before commit 721f4a6526da ("mm/memblock: remove empty dummy entry") the
check for non-zero of memblock.reserved.cnt in mmu_init() would always
be true either because  memblock.reserved.cnt is initialized to 1 or
because there were memory reservations earlier.

The removal of dummy empty entry in memblock caused this check to fail
because now memblock.reserved.cnt is initialized to 0.

Remove the check for non-zero of memblock.reserved.cnt because it's
perfectly fine to have an empty memblock.reserved array that early in
boot.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mike Rapoport <rppt@kernel.org>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240729053327.4091459-1-rppt@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a5bfdf7e4d956f3035779687eade8da23560f4bb)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:37 +05:30
Thomas Blocher
d926e4b95f pinctrl: at91: make it work with current gpiolib
[ Upstream commit 752f387faaae0ae2e84d3f496922524785e77d60 ]

pinctrl-at91 currently does not support the gpio-groups devicetree
property and has no pin-range.
Because of this at91 gpios stopped working since patch
commit 2ab73c6d8323fa1e ("gpio: Support GPIO controllers without pin-ranges")
This was discussed in the patches
commit fc328a7d1fcce263 ("gpio: Revert regression in sysfs-gpio (gpiolib.c)")
commit 56e337f2cf132632 ("Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"")

As a workaround manually set pin-range via gpiochip_add_pin_range() until
a) pinctrl-at91 is reworked to support devicetree gpio-groups
b) another solution as mentioned in
commit 56e337f2cf132632 ("Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"")
is found

Signed-off-by: Thomas Blocher <thomas.blocher@ek-dev.de>
Link: https://lore.kernel.org/5b992862-355d-f0de-cd3d-ff99e67a4ff1@ek-dev.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 33d615ee40f0651bb3d282a66e6f59eae6ea4ada)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:35 +05:30
Hongbo Li
cbe1fcc77b ASoC: allow module autoloading for table db1200_pids
[ Upstream commit 0e9fdab1e8df490354562187cdbb8dec643eae2c ]

Add MODULE_DEVICE_TABLE(), so modules could be properly
autoloaded based on the alias from platform_device_id table.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://patch.msgid.link/20240821061955.2273782-2-lihongbo22@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 71d74f78ae565a64eae3022020a9d4e82dace694)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:30 +05:30
Samasth Norway Ananda
215675dc59 selftests/kcmp: remove call to ksft_set_plan()
The function definition for ksft_set_plan() is not present in linux-4.19.y.
kcmp_test selftest fails to compile because of this.

Fixes: 32b0469d13eb ("selftests/kcmp: Make the test output consistent and clear")
Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Reviewed-by: Saeed Mirzamohammadi <saeed.mirzamohammadi@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 1a136754b12424b99bf4e0bb13554d68605ac642)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 11:19:02 +05:30
Samasth Norway Ananda
e7e913cd6e selftests/vm: remove call to ksft_set_plan()
The function definition for ksft_set_plan() is not present in linux-4.19.y.
compaction_test selftest fails to compile because of this.

Fixes: 9a21701edc41 ("selftests/mm: conform test to TAP format output")
Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Reviewed-by: Saeed Mirzamohammadi <saeed.mirzamohammadi@oracle.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 26a7159fdc3683e90998339d5ca5e0ce231a6391)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:03:58 +05:30
Sean Anderson
3e191338f2 net: dpaa: Pad packets to ETH_ZLEN
[ Upstream commit cbd7ec083413c6a2e0c326d49e24ec7d12c7a9e0 ]

When sending packets under 60 bytes, up to three bytes of the buffer
following the data may be leaked. Avoid this by extending all packets to
ETH_ZLEN, ensuring nothing is leaked in the padding. This bug can be
reproduced by running

	$ ping -s 11 destination

Fixes: 9ad1a37493 ("dpaa_eth: add support for DPAA Ethernet")
Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20240910143144.1439910-1-sean.anderson@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit cd5b9d657ecd44ad5f254c3fea3a6ab1cf0e2ef7)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:02:27 +05:30
Jacky Chou
4d2fa13795 net: ftgmac100: Enable TX interrupt to avoid TX timeout
[ Upstream commit fef2843bb49f414d1523ca007d088071dee0e055 ]

Currently, the driver only enables RX interrupt to handle RX
packets and TX resources. Sometimes there is not RX traffic,
so the TX resource needs to wait for RX interrupt to free.
This situation will toggle the TX timeout watchdog when the MAC
TX ring has no more resources to transmit packets.
Therefore, enable TX interrupt to release TX resources at any time.

When I am verifying iperf3 over UDP, the network hangs.
Like the log below.

root# iperf3 -c 192.168.100.100 -i1 -t10 -u -b0
Connecting to host 192.168.100.100, port 5201
[  4] local 192.168.100.101 port 35773 connected to 192.168.100.100 port 5201
[ ID] Interval           Transfer     Bandwidth       Total Datagrams
[  4]   0.00-20.42  sec   160 KBytes  64.2 Kbits/sec  20
[  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
[  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
[  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
[  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
[  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
[  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
[  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
[  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
[  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval          Transfer    Bandwidth      Jitter   Lost/Total Datagrams
[  4]   0.00-20.42  sec  160 KBytes 64.2 Kbits/sec 0.000 ms 0/20 (0%)
[  4] Sent 20 datagrams
iperf3: error - the server has terminated

The network topology is FTGMAC connects directly to a PC.
UDP does not need to wait for ACK, unlike TCP.
Therefore, FTGMAC needs to enable TX interrupt to release TX resources instead
of waiting for the RX interrupt.

Fixes: 10cbd64076 ("ftgmac100: Rework NAPI & interrupts handling")
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20240906062831.2243399-1-jacky_chou@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 7f84d4613b9fdf9e14bbab867e879a0df782a163)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:02:25 +05:30
Eran Ben Elisha
20f7077f47 net/mlx5: Update the list of the PCI supported devices
[ Upstream commit 85327a9c415057259b337805d356705d0d0f4200 ]

Add the upcoming ConnectX-6 Dx.

In addition, add "ConnectX Family mlx5Gen Virtual Function" device ID.
Every new HCA VF will be identified with this device ID. Different VF
models will be distinguished by their revision id.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a689f610abc8d4c8dfd775e09fd306f19cfe6509)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:02:22 +05:30
Quentin Schulz
40af4cb67b arm64: dts: rockchip: override BIOS_DISABLE signal via GPIO hog on RK3399 Puma
commit 741f5ba7ccba5d7ae796dd11c320e28045524771 upstream.

The Qseven BIOS_DISABLE signal on the RK3399-Q7 keeps the on-module eMMC
and SPI flash powered-down initially (in fact it keeps the reset signal
asserted). BIOS_DISABLE_OVERRIDE pin allows to override that signal so
that eMMC and SPI can be used regardless of the state of the signal.

Let's make this GPIO a hog so that it's reserved and locked in the
proper state.

At the same time, make sure the pin is reserved for the hog and cannot
be requested by another node.

Cc: stable@vger.kernel.org
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20240731-puma-emmc-6-v1-2-4e28eadf32d0@cherry.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 4a0400793ac3961a07fcd472f7eb789d12d0db6a)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:02:14 +05:30
Anders Roxell
55e3d30b0b scripts: kconfig: merge_config: config files: add a trailing newline
[ Upstream commit 33330bcf031818e60a816db0cfd3add9eecc3b28 ]

When merging files without trailing newlines at the end of the file, two
config fragments end up at the same row if file1.config doens't have a
trailing newline at the end of the file.

file1.config "CONFIG_1=y"
file2.config "CONFIG_2=y"
./scripts/kconfig/merge_config.sh -m .config file1.config file2.config

This will generate a .config looking like this.
cat .config
...
CONFIG_1=yCONFIG_2=y"

Making sure so we add a newline at the end of every config file that is
passed into the script.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 6a130ec2f0646a8544308b6cf983269d5a2a7fa0)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:01:36 +05:30
Moon Yeounsu
8deed10d06 net: ethernet: use ip_hdrlen() instead of bit shift
[ Upstream commit 9a039eeb71a42c8b13408a1976e300f3898e1be0 ]

`ip_hdr(skb)->ihl << 2` is the same as `ip_hdrlen(skb)`
Therefore, we should use a well-defined function not a bit shift
to find the header length.

It also compresses two lines to a single line.

Signed-off-by: Moon Yeounsu <yyyynoom@gmail.com>
Reviewed-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a81761c1ba59444fc3f644e7d8713ac35e7911c4)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:01:35 +05:30
Foster Snowhill
e5ce6f167b usbnet: ipheth: fix carrier detection in modes 1 and 4
[ Upstream commit 67927a1b255d883881be9467508e0af9a5e0be9d ]

Apart from the standard "configurations", "interfaces" and "alternate
interface settings" in USB, iOS devices also have a notion of
"modes". In different modes, the device exposes a different set of
available configurations.

Depending on the iOS version, and depending on the current mode, the
length and contents of the carrier state control message differs:

* 1 byte (seen on iOS 4.2.1, 8.4):
    * 03: carrier off (mode 0)
    * 04: carrier on (mode 0)
* 3 bytes (seen on iOS 10.3.4, 15.7.6):
    * 03 03 03: carrier off (mode 0)
    * 04 04 03: carrier on (mode 0)
* 4 bytes (seen on iOS 16.5, 17.6):
    * 03 03 03 00: carrier off (mode 0)
    * 04 03 03 00: carrier off (mode 1)
    * 06 03 03 00: carrier off (mode 4)
    * 04 04 03 04: carrier on (mode 0 and 1)
    * 06 04 03 04: carrier on (mode 4)

Before this change, the driver always used the first byte of the
response to determine carrier state.

From this larger sample, the first byte seems to indicate the number of
available USB configurations in the current mode (with the exception of
the default mode 0), and in some cases (namely mode 1 and 4) does not
correlate with the carrier state.

Previous logic erroneously counted `04 03 03 00` as "carrier on" and
`06 04 03 04` as "carrier off" on iOS versions that support mode 1 and
mode 4 respectively.

Only modes 0, 1 and 4 expose the USB Ethernet interfaces necessary for
the ipheth driver.

Check the second byte of the control message where possible, and fall
back to checking the first byte on older iOS versions.

Signed-off-by: Foster Snowhill <forst@pen.gy>
Tested-by: Georgi Valkov <gvalkov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 32dafeb84c84a2d420de27e5e30e4ea6339e4d07)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:01:35 +05:30
Aleksandr Mishin
e4170e9c81 staging: iio: frequency: ad9834: Validate frequency parameter value
[ Upstream commit b48aa991758999d4e8f9296c5bbe388f293ef465 ]

In ad9834_write_frequency() clk_get_rate() can return 0. In such case
ad9834_calc_freqreg() call will lead to division by zero. Checking
'if (fout > (clk_freq / 2))' doesn't protect in case of 'fout' is 0.
ad9834_write_frequency() is called from ad9834_write(), where fout is
taken from text buffer, which can contain any value.

Modify parameters checking.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 12b9d5bf76 ("Staging: IIO: DDS: AD9833 / AD9834 driver")
Suggested-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Aleksandr Mishin <amishin@t-argos.ru>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/20240703154506.25584-1-amishin@t-argos.ru
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 5edc3a45ef428501000a7b23d0e1777a548907f6)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:01:34 +05:30
Beniamin Bia
bacee9027d staging: iio: frequency: ad9833: Load clock using clock framework
[ Upstream commit 8e8040c52e63546d1171c188a24aacf145a9a7e0 ]

The clock frequency is loaded from device-tree using clock framework
instead of statically value. The change allow configuration of
the device via device-trees and better initialization sequence.
This is part of broader effort to add device-tree support to this driver
and take it out from staging.

Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Stable-dep-of: b48aa9917589 ("staging: iio: frequency: ad9834: Validate frequency parameter value")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a6316b6f127a877285c83d2ed45b20e6712e6d1b)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:01:33 +05:30
Beniamin Bia
89861c905b staging: iio: frequency: ad9833: Get frequency value statically
[ Upstream commit 80109c32348d7b2e85def9efc3f9524fb166569d ]

The values from platform data were replaced by statically values.
This was just a intermediate step of taking this driver out of staging and
load data from device tree.

Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Stable-dep-of: b48aa9917589 ("staging: iio: frequency: ad9834: Validate frequency parameter value")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a3138f0925714ea47f817257447fa0b87c8bcf28)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-09-05 10:01:29 +05:30
theshaenix
5cf4e6e388 configs: Disable LOCALVERSION_AUTO to remove git hash from kernel version
This disables CONFIG_LOCALVERSION_AUTO to prevent the automatic
appending of the Git commit hash (e.g., -gxxxxxxxx) to the kernel
version string shown in 'About phone' and via 5.15.167.4-microsoft-standard-WSL2.
2025-09-05 09:46:22 +05:30
theshaenix
5ba802bd6b configs: enable Dynamic FSYNC 2025-09-05 09:43:22 +05:30
psndna88
957abd442a fs: dynamic fsync - drop reboot/panic handling when REBOOT_AUTO_FSYNC in use 2025-09-05 09:42:46 +05:30
Erik Müller
963b94d15a fs: Introduce dynamic fsync 2.3
Signed-off-by: Oktapra Amtono <oktapra.amtono@gmail.com>
2025-09-05 09:42:32 +05:30
theshaenix
efcd560ed2 configs: enable WPA3 Personal 2025-09-05 09:41:13 +05:30
aminfauzi
6bd2b81a9c [SQUASH] drivers: Add KernelSU-Next V1.0.9 and SUSFS V1.5.9
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-09-05 09:31:24 +05:30
Chung-Hsien Hsu
b1d566f2c8 nl80211: add WPA3 definition for SAE authentication
Add definition of WPA version 3 for SAE authentication.

Change-Id: I19ca34b8965168f011cc1352eba420f2d54b0258
Signed-off-by: Chung-Hsien Hsu <stanley.hsu@cypress.com>
Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-09-05 09:29:28 +05:30
Kamal Agrawal
acdcff3c74 msm: kgsl: Remove sysfs entries after releasing memory
Consider a scenario when device is in OOM situation. Assume a process is
doing sysfs operation, grabs kernfs_mutex and wants to allocate memory.
LMKD tries to kill processes but kgsl processes will be blocked waiting
for kernfs_mutex in sysfs_remove_file.

kgsl_process_private_close > kgsl_process_uninit_sysfs > sysfs_remove_file

KGSL won't free up memory as it is done after sysfs removal leading to a
livelock. Fix it by releasing memory before removing sysfs entries.

Change-Id: I99640d7a653faffa671d5b035abb78e9473da12e
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-09-05 09:29:17 +05:30
Kamal Agrawal
e09c3e2048 msm: kgsl: Remove debugfs directory inside lock
In kgsl_process_private_close, debugfs directory is removed after mutex
is unlocked. Considering this, a race can be created between
kgsl_process_private_close and kgsl_process_init_debugfs. Fix it by
moving debugfs directory removal inside lock.

Change-Id: Ida65ab8a3825d8c695c56556860495cce853117c
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-09-05 09:29:05 +05:30
Zhongqiu Han
4dcffe4db3 sched: idle: Optimize the generic idle loop by removing needless memory barrier
The memory barrier rmb() in generic idle loop do_idle() function is not
needed, it doesn't order any load instruction, just remove it as needless
rmb() can cause performance impact.

The rmb() was introduced by the tglx/history.git commit f2f1b44c75c4
("[PATCH] Remove RCU abuse in cpu_idle()") to order the loads between
cpu_idle_map and pm_idle. It pairs with wmb() in function cpu_idle_wait().

And then with the removal of cpu_idle_state in function cpu_idle() and
wmb() in function cpu_idle_wait() in commit 783e391b7b ("x86: Simplify
cpu_idle_wait"), rmb() no longer has a reason to exist.

After that, commit d166991234 ("idle: Implement generic idle function")
implemented a generic idle function cpu_idle_loop() which resembles the
functionality found in arch/. And it retained the rmb() in generic idle
loop in file kernel/cpu/idle.c.

And at last, commit cf37b6b484 ("sched/idle: Move cpu/idle.c to
sched/idle.c") moved cpu/idle.c to sched/idle.c. And commit c1de45ca83
("sched/idle: Add support for tasks that inject idle") renamed function
cpu_idle_loop() to do_idle().

History Tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
Signed-off-by: Zhongqiu Han <quic_zhonhan@quicinc.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20241009093745.9504-1-quic_zhonhan@quicinc.com
Change-Id: I7d04d05f25b66ab266b66424dfddd58857e5242b
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-09-05 09:28:51 +05:30
Kir Kolyshkin
3e0ea3a661 sched/headers: Move 'struct sched_param' out of uapi, to work around glibc/musl breakage 2025-09-05 09:28:43 +05:30
Samuel Pascua
46d2437d49 bpf: verifier_log: fix null pointer dereference
`log->kbuf` can be null resulting in null pointer derefernce
in `vscnprintf()`

Signed-off-by: Samuel Pascua <pascua.samuel.14@gmail.com>
2025-09-05 09:28:32 +05:30
Jonathan Lemon
d25ed9674d bpf: lpm_trie: check left child of last leftmost node for NULL
If the leftmost parent node of the tree has does not have a child
on the left side, then trie_get_next_key (and bpftool map dump) will
not look at the child on the right.  This leads to the traversal
missing elements.

Lookup is not affected.

Update selftest to handle this case.

Reproducer:

 bpftool map create /sys/fs/bpf/lpm type lpm_trie key 6 \
     value 1 entries 256 name test_lpm flags 1
 bpftool map update pinned /sys/fs/bpf/lpm key  8 0 0 0  0   0 value 1
 bpftool map update pinned /sys/fs/bpf/lpm key 16 0 0 0  0 128 value 2
 bpftool map dump   pinned /sys/fs/bpf/lpm

Returns only 1 element. (2 expected)

Fixes: b471f2f1de8b ("bpf: implement MAP_GET_NEXT_KEY command for LPM_TRIE")
Change-Id: I942431b7feaa82aab38d4c37b3b5920ae70d8e24
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2025-09-05 09:28:23 +05:30
Byeonguk Jeong
df0a47c3dc BACKPORT: bpf: Fix out-of-bounds write in trie_get_next_key()
trie_get_next_key() allocates a node stack with size trie->max_prefixlen,
while it writes (trie->max_prefixlen + 1) nodes to the stack when it has
full paths from the root to leaves. For example, consider a trie with
max_prefixlen is 8, and the nodes with key 0x00/0, 0x00/1, 0x00/2, ...
0x00/8 inserted. Subsequent calls to trie_get_next_key with _key with
.prefixlen = 8 make 9 nodes be written on the node stack with size 8.

Fixes: b471f2f1de8b ("bpf: implement MAP_GET_NEXT_KEY command for LPM_TRIE map")
Change-Id: I0626bd93acddf978dc56f8b1ee13305c50c90210
Signed-off-by: Byeonguk Jeong <jungbu2855@gmail.com>
Reviewed-by: Toke Høiland-Jørgensen <toke@kernel.org>
Tested-by: Hou Tao <houtao1@huawei.com>
Acked-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/Zxx384ZfdlFYnz6J@localhost.localdomain
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2025-09-05 09:28:14 +05:30
Hou Tao
3267b1ca88 bpf: Fix exact match conditions in trie_get_next_key()
trie_get_next_key() uses node->prefixlen == key->prefixlen to identify
an exact match, However, it is incorrect because when the target key
doesn't fully match the found node (e.g., node->prefixlen != matchlen),
these two nodes may also have the same prefixlen. It will return
expected result when the passed key exist in the trie. However when a
recently-deleted key or nonexistent key is passed to
trie_get_next_key(), it may skip keys and return incorrect result.

Fix it by using node->prefixlen == matchlen to identify exact matches.
When the condition is true after the search, it also implies
node->prefixlen equals key->prefixlen, otherwise, the search would
return NULL instead.

Fixes: b471f2f1de8b ("bpf: implement MAP_GET_NEXT_KEY command for LPM_TRIE map")
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20241206110622.1161752-6-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2025-09-05 09:28:05 +05:30
Yonghong Song
01e160688a bpf: fix kernel page fault in lpm map trie_get_next_key
Commit b471f2f1de8b ("bpf: implement MAP_GET_NEXT_KEY command
for LPM_TRIE map") introduces a bug likes below:

    if (!rcu_dereference(trie->root))
        return -ENOENT;
    if (!key || key->prefixlen > trie->max_prefixlen) {
        root = &trie->root;
        goto find_leftmost;
    }
    ......
  find_leftmost:
    for (node = rcu_dereference(*root); node;) {

In the code after label find_leftmost, it is assumed
that *root should not be NULL, but it is not true as
it is possbile trie->root is changed to NULL by an
asynchronous delete operation.

The issue is reported by syzbot and Eric Dumazet with the
below error log:
  ......
  kasan: CONFIG_KASAN_INLINE enabled
  kasan: GPF could be caused by NULL-ptr deref or user memory access
  general protection fault: 0000 [#1] SMP KASAN
  Dumping ftrace buffer:
     (ftrace buffer empty)
  Modules linked in:
  CPU: 1 PID: 8033 Comm: syz-executor3 Not tainted 4.15.0-rc8+ #4
  Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
  RIP: 0010:trie_get_next_key+0x3c2/0xf10 kernel/bpf/lpm_trie.c:682
  ......

This patch fixed the issue by use local rcu_dereferenced
pointer instead of *(&trie->root) later on.

Fixes: b471f2f1de8b ("bpf: implement MAP_GET_NEXT_KEY command or LPM_TRIE map")
Reported-by: syzbot <syzkaller@googlegroups.com>
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2025-09-05 09:27:54 +05:30
Yonghong Song
9dbe0fc3fe bpf: implement MAP_GET_NEXT_KEY command for LPM_TRIE map
Current LPM_TRIE map type does not implement MAP_GET_NEXT_KEY
command. This command is handy when users want to enumerate
keys. Otherwise, a different map which supports key
enumeration may be required to store the keys. If the
map data is sparse and all map data are to be deleted without
closing file descriptor, using MAP_GET_NEXT_KEY to find
all keys is much faster than enumerating all key space.

This patch implements MAP_GET_NEXT_KEY command for LPM_TRIE map.
If user provided key pointer is NULL or the key does not have
an exact match in the trie, the first key will be returned.
Otherwise, the next key will be returned.

In this implemenation, key enumeration follows a postorder
traversal of internal trie. More specific keys
will be returned first than less specific ones, given
a sequence of MAP_GET_NEXT_KEY syscalls.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2025-09-05 09:27:44 +05:30
theshaenix
7f9689211d configs: Enable FastRPC and Power Management support for ADSP
Enabled necessary kernel config options to support Qualcomm FastRPC and
domain-based SELinux enforcement. These are required for proper ADSP
and subsystem communication via fastrpc, as well as for PM and wakelock
handling:

- CONFIG_QCOM_FASTRPC
- CONFIG_PM_RUNTIME
- CONFIG_WAKELOCK
- CONFIG_QCOM_ADSP_PIL
- CONFIG_QCOM_Q6V5_ADSP
- CONFIG_QCOM_Q6V5_MSS
- CONFIG_QCOM_MSM_SMD

This resolves boot-time warnings like:
  wakelock_control_kernel_pm: kernel does not support PM management (Invalid request code)
2025-09-05 09:27:21 +05:30
theshaenix
785d2c9712 fs: Add exfat filesystem support
Add exfat filesystem support in fs module.
2025-09-05 09:24:45 +05:30
theshaenix
c619cd9dc0 Revert "BACKPORT: ANDROID: userfaultfd: add MMAP_TRYLOCK mode for COPY/ZEROPAGE"
This reverts commit fa49c6bf49.
2025-09-05 09:08:20 +05:30
Lokesh Gidra
b90d43dd2b ANDROID: Fix compilation error with huge_pmd_share()
There was an asterisk missing for one of the function parameters in the
upstreamed patch.

Fixes: e8ba376301a36 ("BACKPORT: FROMGIT: hugetlb: pass vma into
huge_pte_alloc() and huge_pmd_share()")

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I110563bc38e60a829fe7808f69dc0aa0f203a50e
2025-09-05 07:15:39 +05:30
Peter Xu
48897ca745 UPSTREAM: mm/userfaultfd: selftests: fix memory corruption with thp enabled
In RHEL's gating selftests we've encountered memory corruption in the
uffd event test even with upstream kernel:

        # ./userfaultfd anon 128 4
        nr_pages: 32768, nr_pages_per_cpu: 32768
        bounces: 3, mode: rnd racing read, userfaults: 6240 missing (6240) 14729 wp (14729)
        bounces: 2, mode: racing read, userfaults: 1444 missing (1444) 28877 wp (28877)
        bounces: 1, mode: rnd read, userfaults: 6055 missing (6055) 14699 wp (14699)
        bounces: 0, mode: read, userfaults: 82 missing (82) 25196 wp (25196)
        testing uffd-wp with pagemap (pgsize=4096): done
        testing uffd-wp with pagemap (pgsize=2097152): done
        testing events (fork, remap, remove): ERROR: nr 32427 memory corruption 0 1 (errno=0, line=963)
        ERROR: faulting process failed (errno=0, line=1117)

It can be easily reproduced when global thp enabled, which is the
default for RHEL.

It's also known as a side effect of commit 0db282ba2c12 ("selftest: use
mmap instead of posix_memalign to allocate memory", 2021-07-23), which
is imho right itself on using mmap() to make sure the addresses will be
untagged even on arm.

The problem is, for each test we allocate buffers using two
allocate_area() calls.  We assumed these two buffers won't affect each
other, however they could, because mmap() could have found that the two
buffers are near each other and having the same VMA flags, so they got
merged into one VMA.

It won't be a big problem if thp is not enabled, but when thp is
agressively enabled it means when initializing the src buffer it could
accidentally setup part of the dest buffer too when there's a shared THP
that overlaps the two regions.  Then some of the dest buffer won't be
able to be trapped by userfaultfd missing mode, then it'll cause memory
corruption as described.

To fix it, do release_pages() after initializing the src buffer.

Since the previous two release_pages() calls are after
uffd_test_ctx_clear() which will unmap all the buffers anyway (which is
stronger than release pages; as unmap() also tear town pgtables), drop
them as they shouldn't really be anything useful.

We can mark the Fixes tag upon 0db282ba2c12 as it's reported to only
happen there, however the real "Fixes" IMHO should be 8ba6e8640844, as
before that commit we'll always do explicit release_pages() before
registration of uffd, and 8ba6e8640844 changed that logic by adding
extra unmap/map and we didn't release the pages at the right place.
Meanwhile I don't have a solid glue anyway on whether posix_memalign()
could always avoid triggering this bug, hence it's safer to attach this
fix to commit 8ba6e8640844.

Link: https://lkml.kernel.org/r/20210923232512.210092-1-peterx@redhat.com
Fixes: 8ba6e8640844 ("userfaultfd/selftests: reinitialize test context in each test")
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1994931
Signed-off-by: Peter Xu <peterx@redhat.com>
Reported-by: Li Wang <liwan@redhat.com>
Tested-by: Li Wang <liwang@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 8913970c19915bbe773d97d42989cd85b7fdc098)
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Change-Id: I1378a52661d17c5cf6e8a0e84e3216556160c1b8
2025-09-05 07:15:29 +05:30
Peter Xu
34d295872d UPSTREAM: mm/shmem: use page_mapping() to detect page cache for uffd continue
mfill_atomic_install_pte() checks page->mapping to detect whether one page
is used in the page cache.  However as pointed out by Matthew, the page
can logically be a tail page rather than always the head in the case of
uffd minor mode with UFFDIO_CONTINUE.  It means we could wrongly install
one pte with shmem thp tail page assuming it's an anonymous page.

It's not that clear even for anonymous page, since normally anonymous
pages also have page->mapping being setup with the anon vma.  It's safe
here only because the only such caller to mfill_atomic_install_pte() is
always passing in a newly allocated page (mcopy_atomic_pte()), whose
page->mapping is not yet setup.  However that's not extremely obvious
either.

For either of above, use page_mapping() instead.

Bug: 254441685
Link: https://lkml.kernel.org/r/Y2K+y7wnhC4vbnP2@x1n
Fixes: 153132571f02 ("userfaultfd/shmem: support UFFDIO_CONTINUE for shmem")
Signed-off-by: Peter Xu <peterx@redhat.com>
Reported-by: Matthew Wilcox <willy@infradead.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 93b0d9178743a68723babe8448981f658aebc58e)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I03246130310cc7f3486843ed945ef92cab966cdc
2025-09-05 07:15:21 +05:30
Nadav Amit
8056206f5c UPSTREAM: mm/userfaultfd: fix memory corruption due to writeprotect
Userfaultfd self-test fails occasionally, indicating a memory corruption.

Analyzing this problem indicates that there is a real bug since mmap_lock
is only taken for read in mwriteprotect_range() and defers flushes, and
since there is insufficient consideration of concurrent deferred TLB
flushes in wp_page_copy().  Although the PTE is flushed from the TLBs in
wp_page_copy(), this flush takes place after the copy has already been
performed, and therefore changes of the page are possible between the time
of the copy and the time in which the PTE is flushed.

To make matters worse, memory-unprotection using userfaultfd also poses a
problem.  Although memory unprotection is logically a promotion of PTE
permissions, and therefore should not require a TLB flush, the current
userrfaultfd code might actually cause a demotion of the architectural PTE
permission: when userfaultfd_writeprotect() unprotects memory region, it
unintentionally *clears* the RW-bit if it was already set.  Note that this
unprotecting a PTE that is not write-protected is a valid use-case: the
userfaultfd monitor might ask to unprotect a region that holds both
write-protected and write-unprotected PTEs.

The scenario that happens in selftests/vm/userfaultfd is as follows:

cpu0				cpu1			cpu2
----				----			----
							[ Writable PTE
							  cached in TLB ]
userfaultfd_writeprotect()
[ write-*unprotect* ]
mwriteprotect_range()
mmap_read_lock()
change_protection()

change_protection_range()
...
change_pte_range()
[ *clear* “write”-bit ]
[ defer TLB flushes ]
				[ page-fault ]
				...
				wp_page_copy()
				 cow_user_page()
				  [ copy page ]
							[ write to old
							  page ]
				...
				 set_pte_at_notify()

A similar scenario can happen:

cpu0		cpu1		cpu2		cpu3
----		----		----		----
						[ Writable PTE
				  		  cached in TLB ]
userfaultfd_writeprotect()
[ write-protect ]
[ deferred TLB flush ]
		userfaultfd_writeprotect()
		[ write-unprotect ]
		[ deferred TLB flush]
				[ page-fault ]
				wp_page_copy()
				 cow_user_page()
				 [ copy page ]
				 ...		[ write to page ]
				set_pte_at_notify()

This race exists since commit 292924b26024 ("userfaultfd: wp: apply
_PAGE_UFFD_WP bit").  Yet, as Yu Zhao pointed, these races became apparent
since commit 09854ba94c6a ("mm: do_wp_page() simplification") which made
wp_page_copy() more likely to take place, specifically if page_count(page)
> 1.

To resolve the aforementioned races, check whether there are pending
flushes on uffd-write-protected VMAs, and if there are, perform a flush
before doing the COW.

Further optimizations will follow to avoid during uffd-write-unprotect
unnecassary PTE write-protection and TLB flushes.

Bug: 254441685
Link: https://lkml.kernel.org/r/20210304095423.3825684-1-namit@vmware.com
Fixes: 09854ba94c6a ("mm: do_wp_page() simplification")
Signed-off-by: Nadav Amit <namit@vmware.com>
Suggested-by: Yu Zhao <yuzhao@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Tested-by: Peter Xu <peterx@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Will Deacon <will@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: <stable@vger.kernel.org>	[5.9+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 6ce64428d62026a10cb5d80138ff2f90cc21d367)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: Ie35334aa739acfade88b74c9e5dde5c8a387925d
2025-09-05 07:15:11 +05:30
Baolin Wang
351e86206b UPSTREAM: mm: hugetlb: add missing cache flushing in hugetlb_unshare_all_pmds()
Missed calling flush_cache_range() before removing the sharing PMD
entrires, otherwise data consistence issue may be occurred on some
architectures whose caches are strict and require a virtual>physical
translation to exist for a virtual address.  Thus add it.

Now no architectures enabling PMD sharing will be affected, since they do
not have a VIVT cache.  That means this issue can not be happened in
practice so far.

Bug: 254441685
Link: https://lkml.kernel.org/r/47441086affcabb6ecbe403173e9283b0d904b38.1650956489.git.baolin.wang@linux.alibaba.com
Link: https://lkml.kernel.org/r/419b0e777c9e6d1454dcd906e0f5b752a736d335.1650781755.git.baolin.wang@linux.alibaba.com
Fixes: 6dfeaff93be1 ("hugetlb/userfaultfd: unshare all pmds for hugetlbfs when register wp")
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 9c8bbfaca1bce84664403fd7dddbef6b3ff0a05a)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: Ib7d886d4f8bc18087771b9999bb7d9941a879581
2025-09-05 07:15:03 +05:30
Michal Hocko
acb01962e2 BACKPORT: mm, mempolicy: fix up gup usage in lookup_node
ba841078cd05 ("mm/mempolicy: Allow lookup_node() to handle fatal signal")
has added a special casing for 0 return value because that was a possible
gup return value when interrupted by fatal signal.  This has been fixed by
ae46d2aa6a7f ("mm/gup: Let __get_user_pages_locked() return -EINTR for
fatal signal") in the mean time so ba841078cd05 can be reverted.

This patch however doesn't go all the way to revert it because the check
for 0 is wrong and confusing here.  Firstly it is inherently unsafe to
access the page when get_user_pages_locked returns 0 (aka no page
returned).

Fortunatelly this will not happen because get_user_pages_locked will not
return 0 when nr_pages > 0 unless FOLL_NOWAIT is specified which is not
the case here.  Document this potential error code in gup code while we
are at it.

Signed-off-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Xu <peterx@redhat.com>
Link: http://lkml.kernel.org/r/20200421071026.18394-1-mhocko@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 2d3a36a47964371101d9a71691c18d59ee611e87)

[Kalesh Singh: Resolve conflict in mm/gup.c]
Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Idac45e534bba1524a696993447220d12332ced05
2025-09-05 07:14:55 +05:30
Peter Xu
08f04a4b12 UPSTREAM: mm/mempolicy: Allow lookup_node() to handle fatal signal
lookup_node() uses gup to pin the page and get node information.  It
checks against ret>=0 assuming the page will be filled in.  However it's
also possible that gup will return zero, for example, when the thread is
quickly killed with a fatal signal.  Teach lookup_node() to gracefully
return an error -EFAULT if it happens.

Meanwhile, initialize "page" to NULL to avoid potential risk of
exploiting the pointer.

Fixes: 4426e945df58 ("mm/gup: allow VM_FAULT_RETRY for multiple times")
Reported-by: syzbot+693dc11fcb53120b5559@syzkaller.appspotmail.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit ba841078cd0557b43b59c63f5c048b12168f0db2)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I1cfd121c3b603db000a0bebe252c9dec6377f0b0
2025-09-05 07:14:45 +05:30
Hillf Danton
554cb42b06 UPSTREAM: mm/gup: Let __get_user_pages_locked() return -EINTR for fatal signal
__get_user_pages_locked() will return 0 instead of -EINTR after commit
4426e945df588 ("mm/gup: allow VM_FAULT_RETRY for multiple times") which
added extra code to allow gup detect fatal signal faster.

Restore the original -EINTR behavior.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: 4426e945df58 ("mm/gup: allow VM_FAULT_RETRY for multiple times")
Reported-by: syzbot+3be1a33f04dc782e9fd5@syzkaller.appspotmail.com
Signed-off-by: Hillf Danton <hdanton@sina.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit ae46d2aa6a7fbe8ca0946f24b061b6ccdc6c3f25)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Ic812596b077e7b5fbfde90f2253241afa1fa42cf
2025-09-05 07:14:36 +05:30
Peter Xu
388988653e UPSTREAM: mm/gup: fix fixup_user_fault() on multiple retries
This part was overlooked when reworking the gup code on multiple
retries.

When we get the 2nd+ retry, we'll be with TRIED flag set.  Current code
will bail out on the 2nd retry because the !TRIED check will fail so the
retry logic will be skipped.  What's worse is that, it will also return
zero which errornously hints the caller that the page is faulted in
while it's not.

The !TRIED flag check seems to not be needed even before the mutliple
retries change because if we get a VM_FAULT_RETRY, it must be the 1st
retry, and we should not have TRIED set for that.

Fix it by removing the !TRIED check, at the meantime check against fatal
signals properly before the page fault so we can still properly respond
to the user killing the process during retries.

Fixes: 4426e945df58 ("mm/gup: allow VM_FAULT_RETRY for multiple times")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Link: http://lkml.kernel.org/r/20200502003523.8204-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 475f4dfc021c5fde69f3b7d3287bde0a50477b05)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I51dbc07fc845b346691f9bcf4846a1d9355cbe71
2025-09-05 07:12:30 +05:30
Peter Xu
7a28b40fd5 UPSTREAM: mm/gup: Mark lock taken only after a successful retake
It's definitely incorrect to mark the lock as taken even if
down_read_killable() failed.

This wass overlooked when we switched from down_read() to
down_read_killable() because down_read() won't fail while
down_read_killable() could.

Fixes: 71335f37c5e8 ("mm/gup: allow to react to fatal signals")
Reported-by: syzbot+a8c70b7f3579fc0587dc@syzkaller.appspotmail.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit c7b6a566b98524baea6a244186e665d22b633545)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Id0e1fe147e87ff6bba02d5e590f6346089c5e650
2025-09-05 07:12:08 +05:30
Peter Xu
f91043481b UPSTREAM: mm/userfaultfd: honor FAULT_FLAG_KILLABLE in fault path
Userfaultfd fault path was by default killable even if the caller does not
have FAULT_FLAG_KILLABLE.  That makes sense before in that when with gup
we don't have FAULT_FLAG_KILLABLE properly set before.  Now after previous
patch we've got FAULT_FLAG_KILLABLE applied even for gup code so it should
also make sense to let userfaultfd to honor the FAULT_FLAG_KILLABLE.

Because we're unconditionally setting FAULT_FLAG_KILLABLE in gup code
right now, this patch should have no functional change.  It also cleaned
the code a little bit by introducing some helpers.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220160300.9941-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 3e69ad081c18d138fc7fd0f1ceef3b055ab10549)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I514975b9934e3ba2860661b0d463fd46410b7a90
2025-09-05 07:11:51 +05:30
Peter Xu
4d3b795c11 UPSTREAM: mm/gup: allow to react to fatal signals
The existing gup code does not react to the fatal signals in many code
paths.  For example, in one retry path of gup we're still using
down_read() rather than down_read_killable().  Also, when doing page
faults we don't pass in FAULT_FLAG_KILLABLE as well, which means that
within the faulting process we'll wait in non-killable way as well.  These
were spotted by Linus during the code review of some other patches.

Let's allow the gup code to react to fatal signals to improve the
responsiveness of threads when during gup and being killed.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220160256.9887-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 71335f37c5e8ec9225285206f7f875057b9737ad)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Iafde40bcfc0bed8311407a9b74c701e3d1b57062
2025-09-05 07:11:45 +05:30
Kirill Tkhai
99c2564d6d locking/rwsem: Add down_read_killable()
Similar to down_read() and down_write_killable(),
add killable version of down_read(), based on
__down_read_killable() function, added in previous
patches.

Change-Id: I1437294240803082fdb24bdfd3231c8f09d3ff11
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: arnd@arndb.de
Cc: avagin@virtuozzo.com
Cc: davem@davemloft.net
Cc: fenghua.yu@intel.com
Cc: gorcunov@virtuozzo.com
Cc: heiko.carstens@de.ibm.com
Cc: hpa@zytor.com
Cc: ink@jurassic.park.msu.ru
Cc: mattst88@gmail.com
Cc: rientjes@google.com
Cc: rth@twiddle.net
Cc: schwidefsky@de.ibm.com
Cc: tony.luck@intel.com
Cc: viro@zeniv.linux.org.uk
Link: http://lkml.kernel.org/r/150670119884.23930.2585570605960763239.stgit@localhost.localdomain
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2025-09-05 07:11:37 +05:30
Peter Xu
fda00f65d9 UPSTREAM: mm/gup: allow VM_FAULT_RETRY for multiple times
This is the gup counterpart of the change that allows the VM_FAULT_RETRY
to happen for more than once.  One thing to mention is that we must check
the fatal signal here before retry because the GUP can be interrupted by
that, otherwise we can loop forever.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220195357.16371-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 4426e945df588f2878affddf88a51259200f7e29)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: If774cfcc1ff5710bfc0ee48321a2d1b8fe5e97d5
2025-09-05 07:11:30 +05:30
Peter Xu
d22caad8ea BACKPORT: UPSTREAM: mm: allow VM_FAULT_RETRY for multiple times
The idea comes from a discussion between Linus and Andrea [1].

Before this patch we only allow a page fault to retry once.  We achieved
this by clearing the FAULT_FLAG_ALLOW_RETRY flag when doing
handle_mm_fault() the second time.  This was majorly used to avoid
unexpected starvation of the system by looping over forever to handle the
page fault on a single page.  However that should hardly happen, and after
all for each code path to return a VM_FAULT_RETRY we'll first wait for a
condition (during which time we should possibly yield the cpu) to happen
before VM_FAULT_RETRY is really returned.

This patch removes the restriction by keeping the FAULT_FLAG_ALLOW_RETRY
flag when we receive VM_FAULT_RETRY.  It means that the page fault handler
now can retry the page fault for multiple times if necessary without the
need to generate another page fault event.  Meanwhile we still keep the
FAULT_FLAG_TRIED flag so page fault handler can still identify whether a
page fault is the first attempt or not.

Then we'll have these combinations of fault flags (only considering
ALLOW_RETRY flag and TRIED flag):

  - ALLOW_RETRY and !TRIED:  this means the page fault allows to
                             retry, and this is the first try

  - ALLOW_RETRY and TRIED:   this means the page fault allows to
                             retry, and this is not the first try

  - !ALLOW_RETRY and !TRIED: this means the page fault does not allow
                             to retry at all

  - !ALLOW_RETRY and TRIED:  this is forbidden and should never be used

In existing code we have multiple places that has taken special care of
the first condition above by checking against (fault_flags &
FAULT_FLAG_ALLOW_RETRY).  This patch introduces a simple helper to detect
the first retry of a page fault by checking against both (fault_flags &
FAULT_FLAG_ALLOW_RETRY) and !(fault_flag & FAULT_FLAG_TRIED) because now
even the 2nd try will have the ALLOW_RETRY set, then use that helper in
all existing special paths.  One example is in __lock_page_or_retry(), now
we'll drop the mmap_sem only in the first attempt of page fault and we'll
keep it in follow up retries, so old locking behavior will be retained.

This will be a nice enhancement for current code [2] at the same time a
supporting material for the future userfaultfd-writeprotect work, since in
that work there will always be an explicit userfault writeprotect retry
for protected pages, and if that cannot resolve the page fault (e.g., when
userfaultfd-writeprotect is used in conjunction with swapped pages) then
we'll possibly need a 3rd retry of the page fault.  It might also benefit
other potential users who will have similar requirement like userfault
write-protection.

GUP code is not touched yet and will be covered in follow up patch.

Please read the thread below for more information.

[1] https://lore.kernel.org/lkml/20171102193644.GB22686@redhat.com/
[2] https://lore.kernel.org/lkml/20181230154648.GB9832@redhat.com/

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Suggested-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220160246.9790-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 4064b982706375025628094e51d11cf1a958a5d3)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: If0378d8ccbfc54a574b91103a6dc76e446f5f12e
2025-09-05 07:11:23 +05:30
Peter Xu
ba4c4d9579 UPSTREAM: mm: introduce FAULT_FLAG_INTERRUPTIBLE
handle_userfaultfd() is currently the only one place in the kernel page
fault procedures that can respond to non-fatal userspace signals.  It was
trying to detect such an allowance by checking against USER & KILLABLE
flags, which was "un-official".

In this patch, we introduced a new flag (FAULT_FLAG_INTERRUPTIBLE) to show
that the fault handler allows the fault procedure to respond even to
non-fatal signals.  Meanwhile, add this new flag to the default fault
flags so that all the page fault handlers can benefit from the new flag.
With that, replacing the userfault check to this one.

Since the line is getting even longer, clean up the fault flags a bit too
to ease TTY users.

Although we've got a new flag and applied it, we shouldn't have any
functional change with this patch so far.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220195348.16302-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit c270a7eedcf278304e05ebd2c96807487c97db61)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I4abde9ce54aae56b0791884adf45210973f8a210
2025-09-05 07:11:15 +05:30
Peter Xu
68c6ec191c UPSTREAM: mm: introduce FAULT_FLAG_DEFAULT
Although there're tons of arch-specific page fault handlers, most of them
are still sharing the same initial value of the page fault flags.  Say,
merely all of the page fault handlers would allow the fault to be retried,
and they also allow the fault to respond to SIGKILL.

Let's define a default value for the fault flags to replace those initial
page fault flags that were copied over.  With this, it'll be far easier to
introduce new fault flag that can be used by all the architectures instead
of touching all the archs.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220160238.9694-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit dde1607248328cdb7570e3a252e8fb76b3411d66)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I53fb69d7974571ed827cc7cc2a54af555c80643f
2025-09-05 07:11:09 +05:30
Peter Xu
b27bf48d31 UPSTREAM: userfaultfd: don't retake mmap_sem to emulate NOPAGE
This patch removes the risk path in handle_userfault() then we will be
sure that the callers of handle_mm_fault() will know that the VMAs might
have changed.  Meanwhile with previous patch we don't lose responsiveness
as well since the core mm code now can handle the nonfatal userspace
signals even if we return VM_FAULT_RETRY.

Suggested-by: Andrea Arcangeli <aarcange@redhat.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220160234.9646-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit ef429ee7409aa7cbe4c3c9e2df5dc6abedfab493)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I8173824922cd6310341a367e622652a3d87437f1
2025-09-05 07:11:00 +05:30
Peter Xu
370207257a UPSTREAM: mm: return faster for non-fatal signals in user mode faults
The idea comes from the upstream discussion between Linus and Andrea:

  https://lore.kernel.org/lkml/20171102193644.GB22686@redhat.com/

A summary to the issue: there was a special path in handle_userfault() in
the past that we'll return a VM_FAULT_NOPAGE when we detected non-fatal
signals when waiting for userfault handling.  We did that by reacquiring
the mmap_sem before returning.  However that brings a risk in that the
vmas might have changed when we retake the mmap_sem and even we could be
holding an invalid vma structure.

This patch is a preparation of removing that special path by allowing the
page fault to return even faster if we were interrupted by a non-fatal
signal during a user-mode page fault handling routine.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Suggested-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220160230.9598-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 8b9a65fd282c1d2e5b8ba8d8afaf652cde27b5e7)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I5f4fea4454b0c3c0e27c09e64d825fe94ce8a775
2025-09-05 07:10:39 +05:30
Peter Xu
c5c63f148b UPSTREAM: sh/mm: use helper fault_signal_pending()
Let SH to use the new fault_signal_pending() helper.  Here we'll need to
move the up_read() out because that's actually needed as long as !RETRY
cases.  At the meantime we can drop all the rest of up_read()s now (which
seems to be cleaner).

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220160226.9550-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit fb027ada051a9e2d70a069b2aa62fb6f52100bbf)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Icd6511efc716bbc9cb78c6ff9c99e9dbe19d72d5
2025-09-05 07:10:24 +05:30
Peter Xu
c126d4cef9 UPSTREAM: powerpc/mm: use helper fault_signal_pending()
Let powerpc code to use the new helper, by moving the signal handling
earlier before the retry logic.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220160222.9422-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit c9a0dad162014182867f81b28bb7a4b691d65595)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Ia4818fd5c35e85993ff87b1326a133334380868b
2025-09-05 07:10:16 +05:30
Peter Xu
19a0ba6351 UPSTREAM: arm64/mm: use helper fault_signal_pending()
Let the arm64 fault handling to use the new fault_signal_pending() helper,
by moving the signal handling out of the retry logic.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220155927.9264-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit b502f038f2ffc97a60fefcc120a868aa46009060)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I0168a43369eed5d3880a45d6784bae86ed5213be
2025-09-05 07:10:09 +05:30
Peter Xu
72e61c21f7 UPSTREAM: arc/mm: use helper fault_signal_pending()
Let ARC to use the new helper fault_signal_pending() by moving the signal
check out of the retry logic as standalone.  This should also helps to
simplify the code a bit.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220155843.9172-1-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 24a62cf41f670fcba90dfba4db2a59a22cc830d5)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I8a014591633edc99715f73d6fba908c5d9ceeef3
2025-09-05 07:10:01 +05:30
Peter Xu
5f15fdf766 UPSTREAM: x86/mm: use helper fault_signal_pending()
Let's move the fatal signal check even earlier so that we can directly use
the new fault_signal_pending() in x86 mm code.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220155353.8676-5-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 39678191cd8988c811813baf4c97b43bf46094e4)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Icaf666ec5f9f83043396ae0c5b6a079e9c2349bc
2025-09-05 07:09:50 +05:30
Peter Xu
f1e277b794 BACKPORT: mm: introduce fault_signal_pending()
For most architectures, we've got a quick path to detect fatal signal
after a handle_mm_fault().  Introduce a helper for that quick path.

It cleans the current codes a bit so we don't need to duplicate the same
check across archs.  More importantly, this will be an unified place that
we handle the signal immediately right after an interrupted page fault, so
it'll be much easier for us if we want to change the behavior of handling
signals later on for all the archs.

Note that currently only part of the archs are using this new helper,
because some archs have their own way to handle signals.  In the follow up
patches, we'll try to apply this helper to all the rest of archs.

Another note is that the "regs" parameter in the new helper is not used
yet.  It'll be used very soon.  Now we kept it in this patch only to avoid
touching all the archs again in the follow up patches.

[peterx@redhat.com: fix sparse warnings]
  Link: http://lkml.kernel.org/r/20200311145921.GD479302@xz-x1
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220155353.8676-4-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 4ef873226ceb9c7bf11a922caddc5698a24bcfaf)

[Kalesh Singh: Resolve #include conflict in include/linux/sched/signal.h]
Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Ie9080d75c2cc22b1fd4b50755e9e61ad0ab677c2
2025-09-05 07:09:41 +05:30
Vineet Gupta
df09a2dd32 ARC: mm: do_page_fault refactor #8: release mmap_sem sooner
In case of successful page fault handling, this patch releases mmap_sem
before updating the perf stat event for major/minor faults. So even
though the contention reduction is NOT super high, it is still an
improvement.

There's an additional code size improvement as we only have 2 up_read()
calls now.

Note to myself:
--------------

1. Given the way it is done, we are forced to move @bad_area label earlier
   causing the various "goto bad_area" cases to hit perf stat code.

 - PERF_COUNT_SW_PAGE_FAULTS is NOW updated for access errors which is what
   arm/arm64 seem to be doing as well (with slightly different code)
 - PERF_COUNT_SW_PAGE_FAULTS_{MAJ,MIN} must NOT be updated for the
   error case which is guarded by now setting @fault initial value
   to VM_FAULT_ERROR which serves both cases when handle_mm_fault()
   returns error or is not called at all.

2. arm/arm64 use two homebrew fault flags VM_FAULT_BAD{MAP,MAPACCESS}
   which I was inclined to add too but seems not needed for ARC

 - given that we have everything is 1 function we can still use goto
 - we setup si_code at the right place (arm* do that in the end)
 - we init fault already to error value which guards entry into perf
   stats event update

Cc: Peter Zijlstra <peterz@infradead.org>
Change-Id: I35f2d8c2b5f16fdf14213c1167cec61e21938134
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:09:33 +05:30
Vineet Gupta
76d13cda39 ARC: mm: do_page_fault refactor #7: fold the various error handling
- single up_read() call vs. 4
 - so much easier on eyes

Technically it seems like @bad_area label moved up, but even in old
regime, it was a special case of delivering SIGSEGV unconditionally
which we now do as well, although with checks.

Also note that @fault needs to be initialized since we can land in
@bad_area (which reads it) without setting it up with return value of
handle_mm_fault() - failing to do so did bite us although as a side
effect of different patch: see [1]

[1]: http://lists.infradead.org/pipermail/linux-snps-arc/2019-May/005803.html

Change-Id: I0964d9868efc0add93878ee57a54631604fcd42c
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:09:26 +05:30
Vineet Gupta
5d19d9033e ARC: mm: do_page_fault refactor #6: error handlers to use same pattern
- up_read
 - if !user_mode
 - whatever error handling

Change-Id: I7056cdc08fe6e8106e4e5dfee9fdc98d6fa10b81
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:09:17 +05:30
Vineet Gupta
edf571ee09 ARC: mm: do_page_fault refactor #5: scoot no_context to end
This is different than the rest of signal handling stuff

No functional change

Change-Id: I86a0d68e763ca8d1131021201a21a07e5d47a6bb
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:09:10 +05:30
Vineet Gupta
7fe9cc04d9 ARC: mm: do_page_fault refactor #4: consolidate retry related logic
stats update code can now elide "retry" check and additional level of
indentation since all retry handling is done ahead of it already

Change-Id: If1816cf5b4a522774d67aabcd02188e1c98f0601
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:09:02 +05:30
Vineet Gupta
181b8be8cd ARC: mm: do_page_fault refactor #3: tidyup vma access permission code
The coding pattern to NOT intialize variables at declaration time but
rather near code which makes us eof them makes it much easier to grok
the overall logic, specially when the init is not simply 0 or 1

Change-Id: I6d2d00d0ae258bcdee115b9a6bd7dec22e551a00
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:08:55 +05:30
Vineet Gupta
612610a1c4 ARC: mm: do_page_fault refactor #2: remove short lived variable
Compiler will do this anyways, still..

No functional change.

Change-Id: Ie48e7058203b83b18fda78962bf0afdffb9fffbf
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:08:46 +05:30
Vineet Gupta
81876efac0 ARC: mm: do_page_fault refactor #1: remove label @good_area
Invert the condition for stack expansion.
No functional change

Change-Id: Ia502955f3d0a680dde1105559f38abd0d2d0db24
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:08:37 +05:30
Eugeniy Paltsev
fda594b575 ARC: mm: SIGSEGV userspace trying to access kernel virtual memory
As of today if userspace process tries to access a kernel virtual addres
(0x7000_0000 to 0x7ffff_ffff) such that a legit kernel mapping already
exists, that process hangs instead of being killed with SIGSEGV

Fix that by ensuring that do_page_fault() handles kenrel vaddr only if
in kernel mode.

And given this, we can also simplify the code a bit. Now a vmalloc fault
implies kernel mode so its failure (for some reason) can reuse the
@no_context label and we can remove @bad_area_nosemaphore.

Reproduce user test for original problem:

------------------------>8-----------------
 #include <stdlib.h>
 #include <stdint.h>

 int main(int argc, char *argv[])
 {
 	volatile uint32_t temp;

 	temp = *(uint32_t *)(0x70000000);
 }
------------------------>8-----------------

Cc: <stable@vger.kernel.org>
Change-Id: I871721a1a4edcdad0384e24f75ec67141c6f2ddc
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:08:28 +05:30
Vineet Gupta
7336c047d2 ARC: mm: do_page_fault fixes #1: relinquish mmap_sem if signal arrives while handle_mm_fault
do_page_fault() forgot to relinquish mmap_sem if a signal came while
handling handle_mm_fault() - due to say a ctl+c or oom etc.
This would later cause a deadlock by acquiring it twice.

This came to light when running libc testsuite tst-tls3-malloc test but
is likely also the cause for prior seen LTP failures. Using lockdep
clearly showed what the issue was.

| # while true; do ./tst-tls3-malloc ; done
| Didn't expect signal from child: got `Segmentation fault'
| ^C
| ============================================
| WARNING: possible recursive locking detected
| 4.17.0+ #25 Not tainted
| --------------------------------------------
| tst-tls3-malloc/510 is trying to acquire lock:
| 606c7728 (&mm->mmap_sem){++++}, at: __might_fault+0x28/0x5c
|
|but task is already holding lock:
|606c7728 (&mm->mmap_sem){++++}, at: do_page_fault+0x9c/0x2a0
|
| other info that might help us debug this:
|  Possible unsafe locking scenario:
|
|       CPU0
|       ----
|  lock(&mm->mmap_sem);
|  lock(&mm->mmap_sem);
|
| *** DEADLOCK ***
|

------------------------------------------------------------
What the change does is not obvious (note to myself)

prior code was

| do_page_fault
|
|   down_read()		<-- lock taken
|   handle_mm_fault	<-- signal pending as this runs
|   if fatal_signal_pending
|       if VM_FAULT_ERROR
|           up_read
|       if user_mode
|          return	<-- lock still held, this was the BUG

New code

| do_page_fault
|
|   down_read()		<-- lock taken
|   handle_mm_fault	<-- signal pending as this runs
|   if fatal_signal_pending
|       if VM_FAULT_RETRY
|          return       <-- not same case as above, but still OK since
|                           core mm already relinq lock for FAULT_RETRY
|    ...
|
|   < Now falls through for bug case above >
|
|   up_read()		<-- lock relinquished

Cc: stable@vger.kernel.org
Change-Id: I4d8c5ad338f86f349b3194c4c077ff03b45ae350
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2025-09-05 07:08:18 +05:30
Davidlohr Bueso
57d9feb474 arch/arc/mm/fault.c: remove caller signal_pending_branch predictions
This is already done for us internally by the signal machinery.

Link: http://lkml.kernel.org/r/20181116002713.8474-4-dave@stgolabs.net
Change-Id: Id70c1f130d2e66a8edb1ace7b6896a758eab7318
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 07:08:02 +05:30
Peter Xu
42b3d4e267 UPSTREAM: mm/gup: fix __get_user_pages() on fault retry of hugetlb
When follow_hugetlb_page() returns with *locked==0, it means we've got a
VM_FAULT_RETRY within the fauling process and we've released the mmap_sem.
When that happens, we should stop and bail out.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220155353.8676-3-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit ad415db817964e96df824e8bb1a861527f8012b6)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Ie7482106a07d4ee84b608f99192151d221605efb
2025-09-05 07:07:51 +05:30
Peter Xu
ec841d0894 UPSTREAM: mm/gup: rename "nonblocking" to "locked" where proper
Patch series "mm: Page fault enhancements", v6.

This series contains cleanups and enhancements to current page fault
logic.  The whole idea comes from the discussion between Andrea and Linus
on the bug reported by syzbot here:

  https://lkml.org/lkml/2017/11/2/833

Basically it does two things:

  (a) Allows the page fault logic to be more interactive on not only
      SIGKILL, but also the rest of userspace signals, and,

  (b) Allows the page fault retry (VM_FAULT_RETRY) to happen for more
      than once.

For (a): with the changes we should be able to react faster when page
faults are working in parallel with userspace signals like SIGSTOP and
SIGCONT (and more), and with that we can remove the buggy part in
userfaultfd and benefit the whole page fault mechanism on faster signal
processing to reach the userspace.

For (b), we should be able to allow the page fault handler to loop for
even more than twice.  Some context: for now since we have
FAULT_FLAG_ALLOW_RETRY we can allow to retry the page fault once with the
same interrupt context, however never more than twice.  This can be not
only a potential cleanup to remove this assumption since AFAIU the code
itself doesn't really have this twice-only limitation (though that should
be a protective approach in the past), at the same time it'll greatly
simplify future works like userfaultfd write-protect where it's possible
to retry for more than twice (please have a look at [1] below for a
possible user that might require the page fault to be handled for a third
time; if we can remove the retry limitation we can simply drop that patch
and those complexity).

This patch (of 16):

There's plenty of places around __get_user_pages() that has a parameter
"nonblocking" which does not really mean that "it won't block" (because it
can really block) but instead it shows whether the mmap_sem is released by
up_read() during the page fault handling mostly when VM_FAULT_RETRY is
returned.

We have the correct naming in e.g.  get_user_pages_locked() or
get_user_pages_remote() as "locked", however there're still many places
that are using the "nonblocking" as name.

Renaming the places to "locked" where proper to better suite the
functionality of the variable.  While at it, fixing up some of the
comments accordingly.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Brian Geffon <bgeffon@google.com>
Reviewed-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Hugh Dickins <hughd@google.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220155353.8676-2-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 4f6da93411806db2f3e58193b31b95e8c6737616)

Bug: 176847924
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I59a8b6e0977d689f6bd375e75785c80c75b2806b
2025-09-05 07:00:45 +05:30
Andrea Arcangeli
05b8a9090a mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAIT
hugetlb needs the same fix as faultin_nopage (which was applied in
commit 96312e61282a ("mm/gup.c: teach get_user_pages_unlocked to handle
FOLL_NOWAIT")) or KVM hangs because it thinks the mmap_sem was already
released by hugetlb_fault() if it returned VM_FAULT_RETRY, but it wasn't
in the FOLL_NOWAIT case.

Link: http://lkml.kernel.org/r/20190109020203.26669-2-aarcange@redhat.com
Fixes: ce53053ce378 ("kvm: switch get_user_page_nowait() to get_user_pages_unlocked()")
Change-Id: I538201d28c334b9d4c92c921039de590fa243e98
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Tested-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Reported-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 06:58:41 +05:30
Andrea Arcangeli
caac1a90db mm/gup.c: teach get_user_pages_unlocked to handle FOLL_NOWAIT
KVM is hanging during postcopy live migration with userfaultfd because
get_user_pages_unlocked is not capable to handle FOLL_NOWAIT.

Earlier FOLL_NOWAIT was only ever passed to get_user_pages.

Specifically faultin_page (the callee of get_user_pages_unlocked caller)
doesn't know that if FAULT_FLAG_RETRY_NOWAIT was set in the page fault
flags, when VM_FAULT_RETRY is returned, the mmap_sem wasn't actually
released (even if nonblocking is not NULL).  So it sets *nonblocking to
zero and the caller won't release the mmap_sem thinking it was already
released, but it wasn't because of FOLL_NOWAIT.

Link: http://lkml.kernel.org/r/20180302174343.5421-2-aarcange@redhat.com
Fixes: ce53053ce378c ("kvm: switch get_user_page_nowait() to get_user_pages_unlocked()")
Change-Id: I01e104ddabc3b80bb88ac9fbd1254a95fc26e434
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Tested-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 06:58:31 +05:30
John Hubbard
055a5c331d mm/gup: finish consolidating error handling
Commit df06b37ffe5a ("mm/gup: cache dev_pagemap while pinning pages")
attempted to operate on each page that get_user_pages had retrieved.  In
order to do that, it created a common exit point from the routine.
However, one case was missed, which this patch fixes up.

Also, there was still an unnecessary shadow declaration (with a
different type) of the "ret" variable, which this patch removes.

Keith's description of the situation is:

  This also fixes a potentially leaked dev_pagemap reference count if a
  failure occurs when an iteration crosses a vma boundary.  I don't think
  it's normal to have different vma's on a users mapped zone device
  memory, but good to fix anyway.

I actually thought that this code:

    /* first iteration or cross vma bound */
    if (!vma || start >= vma->vm_end) {
	        vma = find_extend_vma(mm, start);
	        if (!vma && in_gate_area(mm, start)) {
		            ret = get_gate_page(mm, start & PAGE_MASK,
		                    gup_flags, &vma,
		                    pages ? &pages[i] : NULL);
		            if (ret)
		                goto out;

dealt with the "you're trying to pin the gate page, as part of this
call", rather than the generic case of crossing a vma boundary.  (I
think there's a fine point that I must be overlooking.) But it's still a
valid case, either way.

Link: http://lkml.kernel.org/r/20181121081402.29641-2-jhubbard@nvidia.com
Fixes: df06b37ffe5a4 ("mm/gup: cache dev_pagemap while pinning pages")
Change-Id: Ibbe3c528828c3385ab7af4e3d2b0b6c2690ac022
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 06:58:22 +05:30
Keith Busch
72707a0749 mm/gup: cache dev_pagemap while pinning pages
Getting pages from ZONE_DEVICE memory needs to check the backing device's
live-ness, which is tracked in the device's dev_pagemap metadata.  This
metadata is stored in a radix tree and looking it up adds measurable
software overhead.

This patch avoids repeating this relatively costly operation when
dev_pagemap is used by caching the last dev_pagemap while getting user
pages.  The gup_benchmark kernel self test reports this reduces time to
get user pages to as low as 1/3 of the previous time.

Link: http://lkml.kernel.org/r/20181012173040.15669-1-keith.busch@intel.com
Change-Id: I10d2fb5078b5791c2c4aae374624c27845b8d47b
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 06:58:13 +05:30
Gleb Fotengauer-Malinovskiy
fb8feab497 BACKPORT: FROMGIT: userfaultfd: fix UFFDIO_CONTINUE ioctl request definition
This ioctl request reads from uffdio_continue structure which justifies
_IOC_READ flag.  See NOTEs in include/uapi/asm-generic/ioctl.h for more
information.

Link: https://lkml.kernel.org/r/20210601143432.1002481-1-glebfm@altlinux.org
Link: https://lkml.kernel.org/r/20210531140146.481553-1-glebfm@altlinux.org
Fixes: f619147104c8 ("userfaultfd: add UFFDIO_CONTINUE ioctl")
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Daniel Colascione <dancol@google.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 3fe04bff515162ae8192d7eae77b9a92ed1aa945
https: //git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1439728/

Conflicts: include/uapi/linux/userfaultfd.h
(Manual rebase: removed definition of UFFDIO_WRITEPROTECT as it's not
implementation on this kernel)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I85d83958a99e5c68e1118b6c189c78108e47be6c
2025-09-05 06:58:03 +05:30
Axel Rasmussen
f754d1b1c5 FROMGIT: userfaultfd/selftests: exercise minor fault handling shmem support
Enable test_uffdio_minor for test_type == TEST_SHMEM, and modify the test
slightly to pass in / check for the right feature flags.

Link: https://lkml.kernel.org/r/20210503180737.2487560-11-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit b0287e43fb420ab3c5631b146d99b2a1fc9a14d7
https: //git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1420977/
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: Ic6a6aa2ea92bc6353f60d8f982c2aef78e4ce323
2025-09-05 06:57:48 +05:30
Axel Rasmussen
8a49029f76 BACKPORT: FROMGIT: userfaultfd/selftests: reinitialize test context in each test
Currently, the context (fds, mmap-ed areas, etc.) are global.  Each test
mutates this state in some way, in some cases really "clobbering it"
(e.g., the events test mremap-ing area_dst over the top of area_src, or
the minor faults tests overwriting the count_verify values in the test
areas).  We run the tests in a particular order, each test is careful to
make the right assumptions about its starting state, etc.

But, this is fragile.  It's better for a test's success or failure to not
depend on what some other prior test case did to the global state.

To that end, clear and reinitialize the test context at the start of each
test case, so whatever prior test cases did doesn't affect future tests.

This is particularly relevant to this series because the events test's
mremap of area_dst screws up assumptions the minor fault test was relying
on.  This wasn't a problem for hugetlb, as we don't mremap in that case.

Link: https://lkml.kernel.org/r/20210503180737.2487560-10-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 72cfac82ddce1d6ac0ec3e1e43c6bafcf98eb0c6
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1420974/

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(Manual rebase)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I22969f388ef291d48c56a817ce0e9d2f4f1191f7
2025-09-05 06:57:40 +05:30
Axel Rasmussen
7bfa72fbb6 FROMGIT: userfaultfd/selftests: create alias mappings in the shmem test
Previously, we just allocated two shm areas: area_src and area_dst.  With
this commit, change this so we also allocate area_src_alias, and
area_dst_alias.

area_*_alias and area_* (respectively) point to the same underlying
physical pages, but are different VMAs.  In a future commit in this
series, we'll leverage this setup to exercise minor fault handling support
for shmem, just like we do in the hugetlb_shared test.

Link: https://lkml.kernel.org/r/20210503180737.2487560-9-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 9c9db903230e25c3b5547a719a883f9ba2970502
https: //git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1420975/
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: Ic603af85181acc60ecf4c8767c86bf8e2bb5c72c
2025-09-05 06:57:31 +05:30
Axel Rasmussen
aa49004352 FROMGIT: userfaultfd/selftests: use memfd_create for shmem test type
This is a preparatory commit.  In the future, we want to be able to setup
alias mappings for area_src and area_dst in the shmem test, like we do in
the hugetlb_shared test.  With a VMA obtained via mmap(MAP_ANONYMOUS |
MAP_SHARED), it isn't clear how to do this.

So, mmap() with an fd, so we can create alias mappings.  Use memfd_create
instead of actually passing in a tmpfs path like hugetlb does, since it's
more convenient / simpler to run, and works just as well.

Future commits will:

1. Setup the alias mappings.
2. Extend our tests to actually take advantage of this, to test new
   userfaultfd behavior being introduced in this series.

Also, a small fix in the area we're changing: when the hugetlb setup fails
in main(), pass in the right argv[] so we actually print out the hugetlb
file path.

Link: https://lkml.kernel.org/r/20210503180737.2487560-8-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 1861e1c4ef590b7f3f8318da5f681efeb2686449
https: //git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1420976/
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: Id8fc463cef73e8e99190f0d748e4d92ada8541a4
2025-09-05 06:57:21 +05:30
Peter Xu
a99d2274eb BACKPORT: FROMGIT: userfaultfd/selftests: unify error handling
Introduce err()/_err() and replace all the different ways to fail the
program, mostly "fprintf" and "perror" with tons of exit() calls.  Always
stop the test program at any failure.

Link: https://lkml.kernel.org/r/20210412232753.1012412-6-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit fcd7d008016c9bc9bf134debfd077d59bba119d8
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1412454/

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(Manual rebase)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: Ic39dd286c3b1938752c3dc8c060a15b3d5db6564
2025-09-05 06:56:58 +05:30
Peter Xu
b0f07d9b98 userfaultfd: selftest: cleanup help messages
Firstly, the help in the comment region is obsolete, now we support
three parameters.  Since at it, change it and move it into the help
message of the program.

Also, the help messages dumped here and there is obsolete too.  Use a
single usage() helper.

Link: http://lkml.kernel.org/r/20180930074259.18229-2-peterx@redhat.com
Change-Id: I8494d65ea60ed34ba76515c6e9b6557b25eef4d6
Signed-off-by: Peter Xu <peterx@redhat.com>
Acked-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Zi Yan <zi.yan@cs.rutgers.edu>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Shaohua Li <shli@fb.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 06:55:53 +05:30
Axel Rasmussen
8191ee8c58 BACKPORT: FROMGIT: userfaultfd/shmem: modify shmem_mfill_atomic_pte to use install_pte()
In a previous commit, we added the mfill_atomic_install_pte() helper.
This helper does the job of setting up PTEs for an existing page, to map
it into a given VMA.  It deals with both the anon and shmem cases, as well
as the shared and private cases.

In other words, shmem_mfill_atomic_pte() duplicates a case it already
handles.  So, expose it, and let shmem_mfill_atomic_pte() use it directly,
to reduce code duplication.

This requires that we refactor shmem_mfill_atomic_pte() a bit:

Instead of doing accounting (shmem_recalc_inode() et al) part-way through
the PTE setup, do it afterward.  This frees up mfill_atomic_install_pte()
from having to care about this accounting, and means we don't need to e.g.
shmem_uncharge() in the error path.

A side effect is this switches shmem_mfill_atomic_pte() to use
lru_cache_add_inactive_or_unevictable() instead of just lru_cache_add().
This wrapper does some extra accounting in an exceptional case, if
appropriate, so it's actually the more correct thing to use.

Link: https://lkml.kernel.org/r/20210503180737.2487560-7-axelrasmussen@google.com
Change-Id: Ib339a4e5d2aee6395f3fb4855b0bc5032c16f8e0
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 06:42:20 +05:30
Axel Rasmussen
fd66739a28 BACKPORT: FROMGIT: userfaultfd/shmem: advertise shmem minor fault support
Now that the feature is fully implemented (the faulting path hooks exist
so userspace is notified, and the ioctl to resolve such faults is
available), advertise this as a supported feature.

Link: https://lkml.kernel.org/r/20210503180737.2487560-6-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Acked-by: Hugh Dickins <hughd@google.com>
Acked-by: Peter Xu <peterx@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 37aa962fe33a562fd0ac21b68938023e12041fc3
https: //git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1420971/

Conflicts: Documentation/admin-guide/mm/userfaultfd.rst
(Manual rebase)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I5fbab3783ff8671c0a5aa4826aead2d63f5cbbf3
2025-09-05 06:41:23 +05:30
Axel Rasmussen
2f927bbf66 BACKPORT: FROMGIT: userfaultfd/shmem: support UFFDIO_CONTINUE for shmem
With this change, userspace can resolve a minor fault within a
shmem-backed area with a UFFDIO_CONTINUE ioctl.  The semantics for this
match those for hugetlbfs - we look up the existing page in the page
cache, and install a PTE for it.

This commit introduces a new helper: mfill_atomic_install_pte.

Why handle UFFDIO_CONTINUE for shmem in mm/userfaultfd.c, instead of in
shmem.c?  The existing userfault implementation only relies on shmem.c for
VM_SHARED VMAs.  However, minor fault handling / CONTINUE work just fine
for !VM_SHARED VMAs as well.  We'd prefer to handle CONTINUE for shmem in
one place, regardless of shared/private (to reduce code duplication).

Why add a new mfill_atomic_install_pte helper?  A problem we have with
continue is that shmem_mfill_atomic_pte() and mcopy_atomic_pte() are
*close* to what we want, but not exactly.  We do want to setup the PTEs in
a CONTINUE operation, but we don't want to e.g.  allocate a new page,
charge it (e.g.  to the shmem inode), manipulate various flags, etc.  Also
we have the problem stated above: shmem_mfill_atomic_pte() and
mcopy_atomic_pte() both handle one-half of the problem (shared / private)
continue cares about.  So, introduce mcontinue_atomic_pte(), to handle all
of the shmem continue cases.  Introduce the helper so it doesn't duplicate
code with mcopy_atomic_pte().

In a future commit, shmem_mfill_atomic_pte() will also be modified to use
this new helper.  However, since this is a bigger refactor, it seems most
clear to do it as a separate change.

Link: https://lkml.kernel.org/r/20210503180737.2487560-5-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Acked-by: Hugh Dickins <hughd@google.com>
Acked-by: Peter Xu <peterx@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit c9a4579a9f5320ff062f973476473242b551bacd
https: //git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1420972/

Conflicts: mm/userfaultfd.c
(1. Removed all 'wp_copy' usage as write-protect uffd feature doesn't exist
in this kernel.
2. Due to lack of mem_cgroup_charge() in this kernel, worked with
mem_cgroup_try_charge() instead in mcopy_atomic_pte()
3. Replaced lru_cache_add_inactive_or_unevictable() with
lru_cache_add_active_or_unevictable())

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I46eb835849e7798a9d23cf53959bd93655b926d4
2025-09-05 06:41:12 +05:30
Axel Rasmussen
39fc7368a9 BACKPORT: FROMGIT: userfaultfd/shmem: support minor fault registration for shmem
This patch allows shmem-backed VMAs to be registered for minor faults.
Minor faults are appropriately relayed to userspace in the fault path, for
VMAs with the relevant flag.

This commit doesn't hook up the UFFDIO_CONTINUE ioctl for shmem-backed
minor faults, though, so userspace doesn't yet have a way to resolve such
faults.

Because of this, we also don't yet advertise this as a supported feature.
That will be done in a separate commit when the feature is fully
implemented.

Link: https://lkml.kernel.org/r/20210503180737.2487560-4-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Acked-by: Peter Xu <peterx@redhat.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 6867a29320b7d178feb9786856e5ea2cf40f6d33
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1420970/

Conflicts: mm/shmem.c
(Manual rebase)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: Ib8e3fe202feab7404742814f4250a0981065368c
2025-09-05 06:41:03 +05:30
Axel Rasmussen
8453b59de1 BACKPORT: FROMGIT: userfaultfd/shmem: combine shmem_{mcopy_atomic,mfill_zeropage}_pte
Patch series "userfaultfd: add minor fault handling for shmem", v6.

Overview
========

See the series which added minor faults for hugetlbfs [3] for a detailed
overview of minor fault handling in general.  This series adds the same
support for shmem-backed areas.

This series is structured as follows:

- Commits 1 and 2 are cleanups.
- Commits 3 and 4 implement the new feature (minor fault handling for shmem).
- Commit 5 advertises that the feature is now available since at this point it's
  fully implemented.
- Commit 6 is a final cleanup, modifying an existing code path to re-use a new
  helper we've introduced.
- Commits 7, 8, 9, 10 update the userfaultfd selftest to exercise the feature.

Use Case
========

In some cases it is useful to have VM memory backed by tmpfs instead of
hugetlbfs.  So, this feature will be used to support the same VM live
migration use case described in my original series.

Additionally, Android folks (Lokesh Gidra <lokeshgidra@google.com>) hope
to optimize the Android Runtime garbage collector using this feature:

"The plan is to use userfaultfd for concurrently compacting the heap.
With this feature, the heap can be shared-mapped at another location where
the GC-thread(s) could continue the compaction operation without the need
to invoke userfault ioctl(UFFDIO_COPY) each time.  OTOH, if and when Java
threads get faults on the heap, UFFDIO_CONTINUE can be used to resume
execution.  Furthermore, this feature enables updating references in the
'non-moving' portion of the heap efficiently.  Without this feature,
uneccessary page copying (ioctl(UFFDIO_COPY)) would be required."

[1] https://lore.kernel.org/patchwork/cover/1388144/
[2] https://lore.kernel.org/patchwork/patch/1408161/
[3] https://lore.kernel.org/linux-fsdevel/20210301222728.176417-1-axelrasmussen@google.com/T/#t

This patch (of 9):

Previously, we did a dance where we had one calling path in userfaultfd.c
(mfill_atomic_pte), but then we split it into two in shmem_fs.h
(shmem_{mcopy_atomic,mfill_zeropage}_pte), and then rejoined into a single
shared function in shmem.c (shmem_mfill_atomic_pte).

This is all a bit overly complex.  Just call the single combined shmem
function directly, allowing us to clean up various branches, boilerplate,
etc.

While we're touching this function, two other small cleanup changes:
- offset is equivalent to pgoff, so we can get rid of offset entirely.
- Split two VM_BUG_ON cases into two statements. This means the line
  number reported when the BUG is hit specifies exactly which condition
  was true.

Link: https://lkml.kernel.org/r/20210503180737.2487560-1-axelrasmussen@google.com
Link: https://lkml.kernel.org/r/20210503180737.2487560-3-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit f7e89f242f0dfcdd62e7aeecebdc2620e4792954
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1420969/

Conflicts:
1. include/linux/shmem_fs.h
2. mm/shmem.c
3. mm/userfaultfd.c
(All resolved by manual rebase)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I8b443809643339b407d0bc06bf96146ecfc5a9fa
2025-09-05 06:40:42 +05:30
Peter Xu
d742e0e0f3 BACKPORT: FROMGIT: userfaultfd/selftests: only dump counts if mode enabled
WP and MINOR modes are conditionally enabled on specific memory types.
This patch avoids dumping tons of zeros for those cases when the modes are
not supported at all.

Link: https://lkml.kernel.org/r/20210412232753.1012412-5-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 5edabbbe74eee6c1c59dafbbfb5528e391be447c
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1412453/

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(1. Manual rebase
2. Removed 'wp_total' related change in uffd_stats_report() as
write-protect test doesn't exist.)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I445f883f3402104ea39d50ea60726b16394f6e50
2025-09-05 06:40:32 +05:30
Axel Rasmussen
049e3240d6 BACKPORT: userfaultfd/selftests: add test exercising minor fault handling
Fix a dormant bug in userfaultfd_events_test(), where we did `return
faulting_process(0)` instead of `exit(faulting_process(0))`.  This
caused the forked process to keep running, trying to execute any further
test cases after the events test in parallel with the "real" process.

Add a simple test case which exercises minor faults.  In short, it does
the following:

1. "Sets up" an area (area_dst) and a second shared mapping to the same
   underlying pages (area_dst_alias).

2. Register one of these areas with userfaultfd, in minor fault mode.

3. Start a second thread to handle any minor faults.

4. Populate the underlying pages with the non-UFFD-registered side of
   the mapping. Basically, memset() each page with some arbitrary
   contents.

5. Then, using the UFFD-registered mapping, read all of the page
   contents, asserting that the contents match expectations (we expect
   the minor fault handling thread can modify the page contents before
   resolving the fault).

The minor fault handling thread, upon receiving an event, flips all the
bits (~) in that page, just to prove that it can modify it in some
arbitrary way.  Then it issues a UFFDIO_CONTINUE ioctl, to setup the
mapping and resolve the fault.  The reading thread should wake up and
see this modification.

Currently the minor fault test is only enabled in hugetlb_shared mode,
as this is the only configuration the kernel feature supports.

Link: https://lkml.kernel.org/r/20210301222728.176417-7-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit f0fa94330919be8ec5620382b50f1c72844c9224)

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(Manual rebase)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I85a490f0c4d0a1f462ae01231c3853d6ffc23d2b
2025-09-05 06:40:22 +05:30
Lokesh Gidra
e231dc299a BACKPORT: userfaultfd: selftests: add write-protect test
Add uffd tests for write protection.

Instead of introducing new tests for it, let's simply squashing uffd-wp
tests into existing uffd-missing test cases.  Changes are:

(1) Bouncing tests

  We do the write-protection in two ways during the bouncing test:

  - By using UFFDIO_COPY_MODE_WP when resolving MISSING pages: then
    we'll make sure for each bounce process every single page will be
    at least fault twice: once for MISSING, once for WP.

  - By direct call UFFDIO_WRITEPROTECT on existing faulted memories:
    To further torture the explicit page protection procedures of
    uffd-wp, we split each bounce procedure into two halves (in the
    background thread): the first half will be MISSING+WP for each
    page as explained above.  After the first half, we write protect
    the faulted region in the background thread to make sure at least
    half of the pages will be write protected again which is the first
    half to test the new UFFDIO_WRITEPROTECT call.  Then we continue
    with the 2nd half, which will contain both MISSING and WP faulting
    tests for the 2nd half and WP-only faults from the 1st half.

(2) Event/Signal test

  Mostly previous tests but will do MISSING+WP for each page.  For
  sigbus-mode test we'll need to provide standalone path to handle the
  write protection faults.

For all tests, do statistics as well for uffd-wp pages.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Link: http://lkml.kernel.org/r/20200220163112.11409-20-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 9b12488a7711b9aa2d0915f6949a8ad2069eb072)

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(Removed write-protect test related changes)

Note: This patch introduces a write-protect test. In addition it also
introduces uffd_stats_report(), which prints the stats in uniform a
manner. We only require uffd_stats_report() as subsequent patches depend
on it. Write-protect test is omitted as this kernel doesn't have
userfaultfd's write-protect feature.

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: Iad7012e086016e4a67a283c4997d8f7be92eea74
2025-09-05 06:40:07 +05:30
Peter Xu
46b82f1e55 BACKPORT: userfaultfd: selftests: refactor statistics
Introduce uffd_stats structure for statistics of the self test, at the
same time refactor the code to always pass in the uffd_stats for either
read() or poll() typed fault handling threads instead of using two
different ways to return the statistic results.  No functional change.

With the new structure, it's very easy to introduce new statistics.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Link: http://lkml.kernel.org/r/20200220163112.11409-19-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 5c8aed6c1b95c3c6de68bd2814611d5d54da5057)

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(Manual rebase)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I93597413653e9d55954e7912db56794e4ae446be
2025-09-05 06:39:57 +05:30
Lokesh Gidra
fb39888e17 Revert "BACKPORT: FROMGIT: userfaultfd/selftests: add test exercising minor fault handling"
This reverts commit 2b2f7d6a04d65c2ebd53f9e5d3de6b55635d57b6 so that it
can be re-applied once dependcies are brought in.

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: Ib24c94e1d8ec6c46004d35f58e48d9d35eeb8312
2025-09-05 06:39:31 +05:30
Lokesh Gidra
88bab4a951 Revert "BACKPORT: FROMGIT: userfaultfd: support minor fault handling for shmem"
This reverts commit 0309b3f479b967acb644f99d214e2b25297a20b1
as an updated version of the patch-set will be merged later.

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I765fe86a2dc0305482a0590c14143dee27840b8a
2025-09-05 06:39:19 +05:30
Lokesh Gidra
686bc68bdf Revert "FROMGIT: userfaultfd/selftests: use memfd_create for shmem test type"
This reverts commit f8bed3c813cb21c9c576d42068994e0199773f96
as an updated version of the patch-set will be merged later.

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I808f6c58429c83f03eae2ad2cbe65a232b2505c8
2025-09-05 06:39:08 +05:30
Lokesh Gidra
23d629ffd1 Revert "FROMGIT: userfaultfd/selftests: create alias mappings in the shmem test"
This reverts commit 08dec4889aede52e2f09ae2333c8a292aa12d359
as an updated version of the patch-set will be merged later.

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I13e7cac79661ef46882cc69ab60327fafd212093
2025-09-05 06:38:50 +05:30
Lokesh Gidra
9ad709f759 Revert "BACKPORT: FROMGIT: userfaultfd/selftests: reinitialize test context in each test"
This reverts commit 2ed6377e515707a52d123b735d861a7b8305eceb
as an updated version of the patch-set will be merged later.

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I239e3f80e27d7e86dc9911cc3dd5640fc2d9bf94
2025-09-05 06:38:41 +05:30
Lokesh Gidra
2609637677 Revert "BACKPORT: FROMGIT: userfaultfd/selftests: exercise minor fault handling shmem support"
This reverts commit 44f2dcd54e168d03c32ef4730596783bff3180f7.
as an updated version of the patch-set will be merged later.

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug 187930641
Change-Id: Iec5f001d559609b4b3a2239a2b92cd46778437ca
2025-09-05 06:38:30 +05:30
Lokesh Gidra
7680ead7bb Revert "FROMLIST: userfaultfd/shmem: fix minor fault page leak"
This reverts commit 33a50fd21ddb04629ba4a262f3cdcdc2f43ee578
as an updated version of the patch-set will be merged later.

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: Ie6fe2a611d4cbb3bd103c62a90b84e6ba4e89af1
2025-09-05 06:38:20 +05:30
Shaohua Li
33496d79c8 BACKPORT: userfaultfd: wp: add helper for writeprotect check
Patch series "userfaultfd: write protection support", v6.

Overview
========

The uffd-wp work was initialized by Shaohua Li [1], and later continued by
Andrea [2].  This series is based upon Andrea's latest userfaultfd tree,
and it is a continuous works from both Shaohua and Andrea.  Many of the
follow up ideas come from Andrea too.

Besides the old MISSING register mode of userfaultfd, the new uffd-wp
support provides another alternative register mode called
UFFDIO_REGISTER_MODE_WP that can be used to listen to not only missing
page faults but also write protection page faults, or even they can be
registered together.  At the same time, the new feature also provides a
new userfaultfd ioctl called UFFDIO_WRITEPROTECT which allows the
userspace to write protect a range or memory or fixup write permission of
faulted pages.

Please refer to the document patch "userfaultfd: wp:
UFFDIO_REGISTER_MODE_WP documentation update" for more information on the
new interface and what it can do.

The major workflow of an uffd-wp program should be:

  1. Register a memory region with WP mode using UFFDIO_REGISTER_MODE_WP

  2. Write protect part of the whole registered region using
     UFFDIO_WRITEPROTECT, passing in UFFDIO_WRITEPROTECT_MODE_WP to
     show that we want to write protect the range.

  3. Start a working thread that modifies the protected pages,
     meanwhile listening to UFFD messages.

  4. When a write is detected upon the protected range, page fault
     happens, a UFFD message will be generated and reported to the
     page fault handling thread

  5. The page fault handler thread resolves the page fault using the
     new UFFDIO_WRITEPROTECT ioctl, but this time passing in
     !UFFDIO_WRITEPROTECT_MODE_WP instead showing that we want to
     recover the write permission.  Before this operation, the fault
     handler thread can do anything it wants, e.g., dumps the page to
     a persistent storage.

  6. The worker thread will continue running with the correctly
     applied write permission from step 5.

Currently there are already two projects that are based on this new
userfaultfd feature.

QEMU Live Snapshot: The project provides a way to allow the QEMU
                    hypervisor to take snapshot of VMs without
                    stopping the VM [3].

LLNL umap library:  The project provides a mmap-like interface and
                    "allow to have an application specific buffer of
                    pages cached from a large file, i.e. out-of-core
                    execution using memory map" [4][5].

Before posting the patchset, this series was smoke tested against QEMU
live snapshot and the LLNL umap library (by doing parallel quicksort using
128 sorting threads + 80 uffd servicing threads).  My sincere thanks to
Marty Mcfadden and Denis Plotnikov for the help along the way.

TODO
====

- hugetlbfs/shmem support
- performance
- more architectures
- cooperate with mprotect()-allowed processes (???)
- ...

References
==========

[1] https://lwn.net/Articles/666187/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git/log/?h=userfault
[3] https://github.com/denis-plotnikov/qemu/commits/background-snapshot-kvm
[4] https://github.com/LLNL/umap
[5] https://llnl-umap.readthedocs.io/en/develop/
[6] https://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git/commit/?h=userfault&id=b245ecf6cf59156966f3da6e6b674f6695a5ffa5
[7] https://lkml.org/lkml/2018/11/21/370
[8] https://lkml.org/lkml/2018/12/30/64

This patch (of 19):

Add helper for writeprotect check. Will use it later.

Bug: 254441685
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Link: http://lkml.kernel.org/r/20200220163112.11409-2-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 1df319e0b4dee11436fe2ab1a0d536d3fad7cfef)
[Lee: Dependency for Fixes: commit 6ce64428d6202 ("mm/userfaultfd: fix memory corruption due to writeprotect"))
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I0c09235bb2e3ac9abd7aa5d5ba1cdba19d2afbb7
2025-09-05 06:38:12 +05:30
Lokesh Gidra
1b4f9ba57f BACKPORT: ANDROID: userfaultfd: abort uffdio ops if mmap_lock is contended
Check if the mmap_lock is contended when looping over the pages that
are requested to be filled. When it is observed, we rely on the already
existing mechanism to return bytes copied/filled and -EAGAIN as error.

This helps by avoiding contention of mmap_lock for long running
userfaultfd operations. The userspace can perform other tasks before
retrying the operation for the remaining pages.

Bug: 320478828
Change-Id: I6d485fd03c96a826956ee3962e58058be3cf81c1
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 06:36:03 +05:30
Lokesh Gidra
fa49c6bf49 BACKPORT: ANDROID: userfaultfd: add MMAP_TRYLOCK mode for COPY/ZEROPAGE
In case mmap_lock is contended, it is possible that userspace can spend
time performing other tasks rather than waiting in uninterruptible-sleep
state for the lock to become available. Even if no other task is
available, it is better to yield or sleep rather than adding contention
to already contended lock.

We introduce MMAP_TRYLOCK mode so that when possible, userspace can
request to use mmap_read_trylock(), returning -EAGAIN if and when it
fails.

Bug: 320478828
Change-Id: I2d196fd317e054af03dbd35ac1b0c7634cb370dc
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 06:35:51 +05:30
Andrea Arcangeli
2ae6243333 BACKPORT: userfaultfd: wp: add UFFDIO_COPY_MODE_WP
This allows UFFDIO_COPY to map pages write-protected.

[peterx@redhat.com: switch to VM_WARN_ON_ONCE in mfill_atomic_pte; add brackets
 around "dst_vma->vm_flags & VM_WRITE"; fix wordings in comments and
 commit messages]
Change-Id: I2d60bc1b44670d45d5b363e2951f0f530486a7bb
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Link: http://lkml.kernel.org/r/20200220163112.11409-6-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 06:35:37 +05:30
Peter Xu
924deb848d BACKPORT: userfaultfd: wp: declare _UFFDIO_WRITEPROTECT conditionally
Only declare _UFFDIO_WRITEPROTECT if the user specified
UFFDIO_REGISTER_MODE_WP and if all the checks passed.  Then when the user
registers regions with shmem/hugetlbfs we won't expose the new ioctl to
them.  Even with complete anonymous memory range, we'll only expose the
new WP ioctl bit if the register mode has MODE_WP.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Link: http://lkml.kernel.org/r/20200220163112.11409-18-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 14819305e09fe4fda546f0dfa12134c8e5366616)

[ Kalesh Singh - resolve conflicts in fs/userfaultfd.c ]

Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Reported-by: kernel test robot <lkp@intel.com> [1]
[1] https://lore.kernel.org/r/202201170247.Cir3moOM-lkp@intel.com/

Bug: 160737021
Bug: 169683130
Change-Id: I4f205e642f5f0e5824a43303aab30626cce3ddcb
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 06:35:28 +05:30
Peter Collingbourne
816209b47e userfaultfd: do not untag user pointers
commit e71e2ace5721a8b921dca18b045069e7bb411277 upstream.

Patch series "userfaultfd: do not untag user pointers", v5.

If a user program uses userfaultfd on ranges of heap memory, it may end
up passing a tagged pointer to the kernel in the range.start field of
the UFFDIO_REGISTER ioctl.  This can happen when using an MTE-capable
allocator, or on Android if using the Tagged Pointers feature for MTE
readiness [1].

When a fault subsequently occurs, the tag is stripped from the fault
address returned to the application in the fault.address field of struct
uffd_msg.  However, from the application's perspective, the tagged
address *is* the memory address, so if the application is unaware of
memory tags, it may get confused by receiving an address that is, from
its point of view, outside of the bounds of the allocation.  We observed
this behavior in the kselftest for userfaultfd [2] but other
applications could have the same problem.

Address this by not untagging pointers passed to the userfaultfd ioctls.
Instead, let the system call fail.  Also change the kselftest to use
mmap so that it doesn't encounter this problem.

[1] https://source.android.com/devices/tech/debug/tagged-pointers
[2] tools/testing/selftests/vm/userfaultfd.c

This patch (of 2):

Do not untag pointers passed to the userfaultfd ioctls.  Instead, let
the system call fail.  This will provide an early indication of problems
with tag-unaware userspace code instead of letting the code get confused
later, and is consistent with how we decided to handle brk/mmap/mremap
in commit dcde237319e6 ("mm: Avoid creating virtual address aliases in
brk()/mmap()/mremap()"), as well as being consistent with the existing
tagged address ABI documentation relating to how ioctl arguments are
handled.

The code change is a revert of commit 7d0325749a6c ("userfaultfd: untag
user pointers") plus some fixups to some additional calls to
validate_range that have appeared since then.

[1] https://source.android.com/devices/tech/debug/tagged-pointers
[2] tools/testing/selftests/vm/userfaultfd.c

Link: https://lkml.kernel.org/r/20210714195437.118982-1-pcc@google.com
Link: https://lkml.kernel.org/r/20210714195437.118982-2-pcc@google.com
Link: https://linux-review.googlesource.com/id/I761aa9f0344454c482b83fcfcce547db0a25501b
Fixes: 63f0c6037965 ("arm64: Introduce prctl() options to control the tagged user addresses ABI")
Change-Id: I2e764cbb1867cd8018d177d449a05cf4d0d51576
Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Alistair Delva <adelva@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Dave Martin <Dave.Martin@arm.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mitch Phillips <mitchp@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: William McVicker <willmcvicker@google.com>
Cc: <stable@vger.kernel.org>	[5.4]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-05 06:35:19 +05:30
Dmitry Safonov
c3eb0457e3 UPSTREAM: mm/mremap: don't account pages in vma_to_resize()
All this vm_unacct_memory(charged) dance seems to complicate the life
without a good reason.  Furthermore, it seems not always done right on
error-pathes in mremap_to().  And worse than that: this `charged'
difference is sometimes double-accounted for growing MREMAP_DONTUNMAP
mremap()s in move_vma():

	if (security_vm_enough_memory_mm(mm, new_len >> PAGE_SHIFT))

Let's not do this.  Account memory in mremap() fast-path for growing
VMAs or in move_vma() for actually moving things.  The same simpler way
as it's done by vm_stat_account(), but with a difference to call
security_vm_enough_memory_mm() before copying/adjusting VMA.

Originally noticed by Chen Wandun:
https://lkml.kernel.org/r/20210717101942.120607-1-chenwandun@huawei.com

Link: https://lkml.kernel.org/r/20210721131320.522061-1-dima@arista.com
Fixes: e346b3813067 ("mm/mremap: add MREMAP_DONTUNMAP to mremap()")
Signed-off-by: Dmitry Safonov <dima@arista.com>
Acked-by: Brian Geffon <bgeffon@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chen Wandun <chenwandun@huawei.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Wei Yongjun <weiyongjun1@huawei.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit fdbef61491359947753c13581098878e8d038286)
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Change-Id: Id0833f3e84c4a6119e2ec069afff5122cb0c6b35
2025-09-05 06:35:01 +05:30
Brian Geffon
3006263515 BACKPORT: FROMLIST: Revert "mremap: don't allow MREMAP_DONTUNMAP on special_mappings and aio"
This reverts commit cd544fd1dc9293c6702fab6effa63dac1cc67e99.

As discussed in [1] this commit was a no-op because the mapping type was
checked in vma_to_resize before move_vma is ever called. This meant that
vm_ops->mremap() would never be called on such mappings. Furthermore,
we've since expanded support of MREMAP_DONTUNMAP to non-anonymous
mappings, and these special mappings are still protected by the existing
check of !VM_DONTEXPAND and !VM_PFNMAP which will result in a -EINVAL.

1. https://lkml.org/lkml/2020/12/28/2340

Signed-off-by: Brian Geffon <bgeffon@google.com>
Acked-by: Hugh Dickins <hughd@google.com>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Link: https://lore.kernel.org/patchwork/patch/1401226/
Conflicts: include/linux/mm.h
(Resolved minor conflict with manual rebase)
Bug: 160737021
Bug: 169683130
Change-Id: I97d29e6a54cee07ba69d6bb880778ee1fea8ff7c
2025-09-05 06:34:52 +05:30
Brian Geffon
ac250ca555 FROMLIST: mm: Extend MREMAP_DONTUNMAP to non-anonymous mappings
Currently MREMAP_DONTUNMAP only accepts private anonymous mappings.
This restriction was placed initially for simplicity and not because
there exists a technical reason to do so.

This change will widen the support to include any mappings which are not
VM_DONTEXPAND or VM_PFNMAP. The primary use case is to support
MREMAP_DONTUNMAP on mappings which may have been created from a memfd.
This change will result in mremap(MREMAP_DONTUNMAP) returning -EINVAL
if VM_DONTEXPAND or VM_PFNMAP mappings are specified.

Lokesh Gidra who works on the Android JVM, provided an explanation of how
such a feature will improve Android JVM garbage collection:
"Android is developing a new garbage collector (GC), based on userfaultfd.
The garbage collector will use userfaultfd (uffd) on the java heap during
compaction. On accessing any uncompacted page, the application threads will
find it missing, at which point the thread will create the compacted page
and then use UFFDIO_COPY ioctl to get it mapped and then resume execution.
Before starting this compaction, in a stop-the-world pause the heap will be
mremap(MREMAP_DONTUNMAP) so that the java heap is ready to receive
UFFD_EVENT_PAGEFAULT events after resuming execution.

To speedup mremap operations, pagetable movement was optimized by moving
PUD entries instead of PTE entries [1]. It was necessary as mremap of even
modest sized memory ranges also took several milliseconds, and stopping the
application for that long isn't acceptable in response-time sensitive
cases.

With UFFDIO_CONTINUE feature [2], it will be even more efficient to
implement this GC, particularly the 'non-moveable' portions of the heap.
It will also help in reducing the need to copy (UFFDIO_COPY) the pages.
However, for this to work, the java heap has to be on a 'shared' vma.
Currently MREMAP_DONTUNMAP only supports private anonymous mappings, this
patch will enable using UFFDIO_CONTINUE for the new userfaultfd-based heap
compaction."

[1] https://lore.kernel.org/linux-mm/20201215030730.NC3CU98e4%25akpm@linux-foundation.org/
[2] https://lore.kernel.org/linux-mm/20210302000133.272579-1-axelrasmussen@google.com/

Signed-off-by: Brian Geffon <bgeffon@google.com>
Acked-by: Hugh Dickins <hughd@google.com>
Tested-by: Lokesh Gidra <lokeshgidra@google.com>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Link: https://lore.kernel.org/patchwork/patch/1401224/
Bug: 160737021
Bug: 169683130
Change-Id: Ic4f023dff404d7b0e35adbe92c7a12536aa0f70d
2025-09-05 06:34:43 +05:30
Dmitry Safonov
1b058b5e33 UPSTREAM: mremap: don't allow MREMAP_DONTUNMAP on special_mappings and aio
As kernel expect to see only one of such mappings, any further operations
on the VMA-copy may be unexpected by the kernel.  Maybe it's being on the
safe side, but there doesn't seem to be any expected use-case for this, so
restrict it now.

Link: https://lkml.kernel.org/r/20201013013416.390574-4-dima@arista.com
Fixes: commit e346b3813067 ("mm/mremap: add MREMAP_DONTUNMAP to mremap()")
Signed-off-by: Dmitry Safonov <dima@arista.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit cd544fd1dc9293c6702fab6effa63dac1cc67e99)

Bug: 176847609
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I9fc569e41bd7fc07c2a168c96d83eda0396c2305
2025-09-05 06:34:32 +05:30
Dmitry Safonov
2b186abc00 BACKPORT: mm/mremap: for MREMAP_DONTUNMAP check security_vm_enough_memory_mm()
Currently memory is accounted post-mremap() with MREMAP_DONTUNMAP, which
may break overcommit policy.  So, check if there's enough memory before
doing actual VMA copy.

Don't unset VM_ACCOUNT on MREMAP_DONTUNMAP.  By semantics, such mremap()
is actually a memory allocation.  That also simplifies the error-path a
little.

Also, as it's memory allocation on success don't reset hiwater_vm value.

Link: https://lkml.kernel.org/r/20201013013416.390574-3-dima@arista.com
Fixes: commit e346b3813067 ("mm/mremap: add MREMAP_DONTUNMAP to mremap()")
Signed-off-by: Dmitry Safonov <dima@arista.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit ad8ee77ea9db1f74fe79c285e3546375efa75608)

[Kalesh Singh: Resolve conflicts in mm/mremap.c]
Bug: 176847609
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: If8e8bf5a18d16ed6b40af22a685951698e6f444c
2025-09-05 06:34:22 +05:30
Arnaldo Carvalho de Melo
32b6ea0f21 UPSTREAM: tools headers UAPI: Sync linux/mman.h with the kernel
To get the changes in:

  e346b3813067 ("mm/mremap: add MREMAP_DONTUNMAP to mremap()")

Add that to 'perf trace's mremap 'flags' decoder.

This silences this perf build warning:

  Warning: Kernel ABI header at 'tools/include/uapi/linux/mman.h' differs from latest version at 'include/uapi/linux/mman.h'
  diff -u tools/include/uapi/linux/mman.h include/uapi/linux/mman.h

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Brian Geffon <bgeffon@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
(cherry picked from commit f60b3878f47311a61fe2d4c5ef77c52e31554c52)

Bug: 176847609
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Iab7117411cf9c4c32356da2b3de598a0df299a7c
2025-09-05 06:34:13 +05:30
Brian Geffon
962757e7da UPSTREAM: userfaultfd: fix remap event with MREMAP_DONTUNMAP
A user is not required to set a new address when using MREMAP_DONTUNMAP
as it can be used without MREMAP_FIXED.  When doing so the remap event
will use new_addr which may not have been set and we didn't propagate it
back other then in the return value of remap_to.

Because ret is always the new address it's probably more correct to use
it rather than new_addr on the remap_event_complete call, and it
resolves this bug.

Fixes: e346b3813067d4b ("mm/mremap: add MREMAP_DONTUNMAP to mremap()")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Brian Geffon <bgeffon@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: "Michael S . Tsirkin" <mst@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Sonny Rao <sonnyrao@google.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Link: http://lkml.kernel.org/r/20200506172158.218366-1-bgeffon@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit d1564926066115fb47ca06b2b9d23ed506ca9608)

Bug: 176847609
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I7a20139ee14a2c9124b74310d7c0324c11009087
2025-09-05 06:34:03 +05:30
Brian Geffon
e2e5898634 UPSTREAM: mm: Fix MREMAP_DONTUNMAP accounting on VMA merge
When remapping a mapping where a portion of a VMA is remapped
into another portion of the VMA it can cause the VMA to become
split. During the copy_vma operation the VMA can actually
be remerged if it's an anonymous VMA whose pages have not yet
been faulted. This isn't normally a problem because at the end
of the remap the original portion is unmapped causing it to
become split again.

However, MREMAP_DONTUNMAP leaves that original portion in place which
means that the VMA which was split and then remerged is not actually
split at the end of the mremap. This patch fixes a bug where
we don't detect that the VMAs got remerged and we end up
putting back VM_ACCOUNT on the next mapping which is completely
unreleated. When that next mapping is unmapped it results in
incorrectly unaccounting for the memory which was never accounted,
and eventually we will underflow on the memory comittment.

There is also another issue which is similar, we're currently
accouting for the number of pages in the new_vma but that's wrong.
We need to account for the length of the remap operation as that's
all that is being added. If there was a mapping already at that
location its comittment would have been adjusted as part of
the munmap at the start of the mremap.

A really simple repro can be seen in:
https://gist.github.com/bgaff/e101ce99da7d9a8c60acc641d07f312c

Fixes: e346b3813067 ("mm/mremap: add MREMAP_DONTUNMAP to mremap()")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Brian Geffon <bgeffon@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit dadbd85f2afc8ccd1dd1f0131781c740c91edd96)

Bug: 176847609
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I823b63d110825c306dab6929fca9408f8bf79ff0
2025-09-05 06:33:46 +05:30
Brian Geffon
b2dff52a38 UPSTREAM: mm/mremap: add MREMAP_DONTUNMAP to mremap()
When remapping an anonymous, private mapping, if MREMAP_DONTUNMAP is set,
the source mapping will not be removed.  The remap operation will be
performed as it would have been normally by moving over the page tables to
the new mapping.  The old vma will have any locked flags cleared, have no
pagetables, and any userfaultfds that were watching that range will
continue watching it.

For a mapping that is shared or not anonymous, MREMAP_DONTUNMAP will cause
the mremap() call to fail.  Because MREMAP_DONTUNMAP always results in
moving a VMA you MUST use the MREMAP_MAYMOVE flag, it's not possible to
resize a VMA while also moving with MREMAP_DONTUNMAP so old_len must
always be equal to the new_len otherwise it will return -EINVAL.

We hope to use this in Chrome OS where with userfaultfd we could write an
anonymous mapping to disk without having to STOP the process or worry
about VMA permission changes.

This feature also has a use case in Android, Lokesh Gidra has said that
"As part of using userfaultfd for GC, We'll have to move the physical
pages of the java heap to a separate location.  For this purpose mremap
will be used.  Without the MREMAP_DONTUNMAP flag, when I mremap the java
heap, its virtual mapping will be removed as well.  Therefore, we'll
require performing mmap immediately after.  This is not only time
consuming but also opens a time window where a native thread may call mmap
and reserve the java heap's address range for its own usage.  This flag
solves the problem."

[bgeffon@google.com: v6]
  Link: http://lkml.kernel.org/r/20200218173221.237674-1-bgeffon@google.com
[bgeffon@google.com: v7]
  Link: http://lkml.kernel.org/r/20200221174248.244748-1-bgeffon@google.com
Signed-off-by: Brian Geffon <bgeffon@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Lokesh Gidra <lokeshgidra@google.com>
Reviewed-by: Minchan Kim <minchan@kernel.org>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: "Michael S . Tsirkin" <mst@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Will Deacon <will@kernel.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Sonny Rao <sonnyrao@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Yu Zhao <yuzhao@google.com>
Cc: Jesse Barnes <jsbarnes@google.com>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Florian Weimer <fweimer@redhat.com>
Link: http://lkml.kernel.org/r/20200207201856.46070-1-bgeffon@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit e346b3813067d4b17383f975f197a9aa28a3b077)

Bug: 176847609
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I8474cd9f032de02fa1764c49c63d368ac15346da
2025-09-05 06:33:37 +05:30
Orson Zhai
e61e8a4960 ANDROID: userfaultfd: Fix untag pointer in userfaultfd_continue()
Fixes e71e2ace5721 ("userfaultfd: do not untag user pointers").

Above patch is ported from upstream into LTS branch then merged into
android12-5.4. The original patch was going to fix all untag user
pointers.

The change to userfaultfd_continue() was cut off when being merged into
LTS because the routine does not exist in LTS.

But specially the routine has been cherry-picked into android12-5.4 with
commit b69f713e60d0 ("BACKPORT: FROMGIT: userfaultfd: add
UFFDIO_CONTINUE ioctl") by Lokesh Gidra <lokeshgidra@google.com> long
ago.

So add back the missing part of fixing here.

Fixes: e71e2ace5721 ("userfaultfd: do not untag user pointers")
Change-Id: I32da80c2e9517356daadf566a433e056f6bef08c
Signed-off-by: Orson Zhai <orson.zhai@unisoc.com>
2025-09-05 06:33:24 +05:30
Axel Rasmussen
e0353f1e3f FROMLIST: userfaultfd/shmem: fix minor fault page leak
This fix is analogous to Peter Xu's fix for hugetlb [0]. If we don't
put_page() after getting the page out of the page cache, we leak the
reference.

The fix can be verified by checking /proc/meminfo and running the
userfaultfd selftest in shmem mode. Without the fix, we see MemFree /
MemAvailable steadily decreasing with each run of the test. With the
fix, memory is correctly freed after the test program exits.

Fixes: 00da60b9d0a0 ("userfaultfd: support minor fault handling for shmem")
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>

Link: https://lore.kernel.org/patchwork/patch/1400686/
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I599f1434e24fce6e31d0d73c7f9c4714e9875b63
2025-09-05 06:33:12 +05:30
Peter Xu
55188b93a1 BACKPORT: FROMLIST: userfaultfd/hugetlbfs: Fix minor fault page leak
When uffd-minor enabled, we need to put the page cache before handling the
userfault in hugetlb_no_page(), otherwise the page refcount got leaked.

This can be reproduced by running userfaultfd selftest with hugetlb_shared
mode, then cat /proc/meminfo.

Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Fixes: f2bf15fb0969 ("userfaultfd: add minor fault registration mode")
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>

Link: https://lore.kernel.org/patchwork/patch/1400632/
Conflicts: mm/hugetlb.c
(manual rebase)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Iac0ebd6738af8b6212c5a6303e4ee2f482bb5841
2025-09-05 06:33:02 +05:30
Peter Xu
2f9b62530b BACKPORT: FROMGIT: userfaultfd/selftests: drop VERIFY check in locking_thread
It tries to check against all zeros and looped for quite a few times.
However after that we'll verify the same page with count_verify, while
count_verify can never be zero.  So it means if it's a zero page we'll
detect it anyways with below code.

There's yet another place we conditionally check the fault flag - just do
it unconditionally.

Link: https://lkml.kernel.org/r/20210310004511.51996-4-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 9c42d387952986b4159ce304a14771a0534469b3
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1392478/

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(Manual rebase)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Iee4e4fa10db0b2a01cb4804087275d2714e477b4
2025-09-05 06:32:53 +05:30
Peter Xu
b8399bac97 FROMGIT: userfaultfd/selftests: remove the time() check on delayed uffd
There seems to have no guarantee that time() will return the same for the
two calls even if there's no delay, e.g.  when a fault is accidentally
crossing the changing of a second.  Meanwhile, this message is also not
helping that much since delay could happen with a lot of reasons, e.g.,
schedule latency of resolving thread.  It may not mean an issue with uffd.

Neither do I see this error triggered either in the past runs.  Even if it
triggers, it'll be drown in all the rest of test logs.  Remove it.

Link: https://lkml.kernel.org/r/20210310004511.51996-3-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 9c08bd6a7410e916a8d38e932d913bb240219745
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1392477/

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I09b7b75425115653ee6082e7f1846984fba197fe
2025-09-05 06:32:43 +05:30
Peter Xu
6998091128 FROMGIT: userfaultfd/selftests: use user mode only
Patch series "userfaultfd/selftests: A few cleanups".

I wanted to cleanup userfaultfd.c fault handling for a long time.  If it's
not cleaned, when the new code grows the file it'll also grow the size
that needs to be cleaned...  This is my attempt to cleanup the userfaultfd
selftest on fault handling, to use an err() macro instead of either
fprintf() or perror() then another exit() call.

The huge cleanup is done in the last patch.  The first 4 patches are some
other standalone cleanups for the same file, so I put them together.

This patch (of 5):

Userfaultfd selftest does not need to handle kernel initiated fault.  Set
user mode so it can be run even if unprivileged_userfaultfd=0 (which is
the default).

Link: https://lkml.kernel.org/r/20210310004511.51996-2-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit eaf221e6a1916d2471309800e4534bdc0698af33
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1392475/

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Ie3f0708b3c1a25ea66e4e0795e4ea54ca938c7a1
2025-09-05 06:32:33 +05:30
Axel Rasmussen
c4c91e7785 BACKPORT: FROMGIT: userfaultfd/selftests: exercise minor fault handling shmem support
Enable test_uffdio_minor for test_type == TEST_SHMEM, and modify the test
slightly to pass in / check for the right feature flags.

Link: https://lkml.kernel.org/r/20210302000133.272579-6-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 01d5af3a0bc027d51d729cefe3105c7054182df7
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388148/

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(Manual rebase)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I545c6b7058f59fe5bc21d2dd37202209253f1a92
2025-09-05 06:32:24 +05:30
Axel Rasmussen
1d0791d5cc BACKPORT: FROMGIT: userfaultfd/selftests: reinitialize test context in each test
Currently, the context (fds, mmap-ed areas, etc.) are global.  Each test
mutates this state in some way, in some cases really "clobbering it"
(e.g., the events test mremap-ing area_dst over the top of area_src, or
the minor faults tests overwriting the count_verify values in the test
areas).  We run the tests in a particular order, each test is careful to
make the right assumptions about its starting state, etc.

But, this is fragile.  It's better for a test's success or failure to not
depend on what some other prior test case did to the global state.

To that end, clear and reinitialize the test context at the start of each
test case, so whatever prior test cases did doesn't affect future tests.

This is particularly relevant to this series because the events test's
mremap of area_dst screws up assumptions the minor fault test was relying
on.  This wasn't a problem for hugetlb, as we don't mremap in that case.

Link: https://lkml.kernel.org/r/20210302000133.272579-5-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 0108aac75e6d6852e8bba20d5b94e29bf8dc9335
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388145/

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(Manual rebase)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Icf57513cad6f6580114bc5452bfadc5e528434ed
2025-09-05 06:30:46 +05:30
Axel Rasmussen
773b92305a FROMGIT: userfaultfd/selftests: create alias mappings in the shmem test
Previously, we just allocated two shm areas: area_src and area_dst.  With
this commit, change this so we also allocate area_src_alias, and
area_dst_alias.

area_*_alias and area_* (respectively) point to the same underlying
physical pages, but are different VMAs.  In a future commit in this
series, we'll leverage this setup to exercise minor fault handling support
for shmem, just like we do in the hugetlb_shared test.

Link: https://lkml.kernel.org/r/20210302000133.272579-4-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 8bc5e62208bcb9427ea6eed94ff1b152598da6f8
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388149/

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I1605dba2d5f0e35bfd57bd9110bb54e950faab19
2025-09-05 06:30:34 +05:30
Axel Rasmussen
cd4a8c5f46 FROMGIT: userfaultfd/selftests: use memfd_create for shmem test type
This is a preparatory commit.  In the future, we want to be able to setup
alias mappings for area_src and area_dst in the shmem test, like we do in
the hugetlb_shared test.  With a VMA obtained via mmap(MAP_ANONYMOUS |
MAP_SHARED), it isn't clear how to do this.

So, mmap() with an fd, so we can create alias mappings.  Use memfd_create
instead of actually passing in a tmpfs path like hugetlb does, since it's
more convenient / simpler to run, and works just as well.

Future commits will:

1. Setup the alias mappings.
2. Extend our tests to actually take advantage of this, to test new
   userfaultfd behavior being introduced in this series.

Also, a small fix in the area we're changing: when the hugetlb setup fails
in main(), pass in the right argv[] so we actually print out the hugetlb
file path.

Link: https://lkml.kernel.org/r/20210302000133.272579-3-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit de45daecde2d4793e9021b102e168a4cb656dd03
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388147/

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I63ac39245d4090e275238efa75bcdbd40fcc7879
2025-09-05 06:30:23 +05:30
Axel Rasmussen
c8a5edb057 BACKPORT: FROMGIT: userfaultfd: support minor fault handling for shmem
Patch series "userfaultfd: support minor fault handling for shmem", v2.

Overview
========

See my original series [1] for a detailed overview of minor fault handling
in general.  The feature in this series works exactly like the hugetblfs
version (from userspace's perspective).

I'm sending this as a separate series because:

- The original minor fault handling series has a full set of R-Bs, and seems
  close to being merged. So, it seems reasonable to start looking at this next
  step, which extends the basic functionality.

- shmem is different enough that this series may require some additional work
  before it's ready, and I don't want to delay the original series
  unnecessarily by bundling them together.

Use Case
========

In some cases it is useful to have VM memory backed by tmpfs instead of
hugetlbfs.  So, this feature will be used to support the same VM live
migration use case described in my original series.

Additionally, Android folks (Lokesh Gidra <lokeshgidra@google.com>) hope
to optimize the Android Runtime garbage collector using this feature:

"The plan is to use userfaultfd for concurrently compacting the heap.
With this feature, the heap can be shared-mapped at another location where
the GC-thread(s) could continue the compaction operation without the need
to invoke userfault ioctl(UFFDIO_COPY) each time.  OTOH, if and when Java
threads get faults on the heap, UFFDIO_CONTINUE can be used to resume
execution.  Furthermore, this feature enables updating references in the
'non-moving' portion of the heap efficiently.  Without this feature,
uneccessary page copying (ioctl(UFFDIO_COPY)) would be required."

[1] https://lore.kernel.org/linux-fsdevel/20210301222728.176417-1-axelrasmussen@google.com/T/#t

This patch (of 5):

Modify the userfaultfd register API to allow registering shmem VMAs in
minor mode.  Modify the shmem mcopy implementation to support
UFFDIO_CONTINUE in order to resolve such faults.

Combine the shmem mcopy handler functions into a single
shmem_mcopy_atomic_pte, which takes a mode parameter.  This matches how
the hugetlbfs implementation is structured, and lets us remove a good
chunk of boilerplate.

Link: https://lkml.kernel.org/r/20210302000133.272579-1-axelrasmussen@google.com
Link: https://lkml.kernel.org/r/20210302000133.272579-2-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Wang Qing <wangqing@vivo.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 4cc6e15679966aa49afc5b114c3c83ba0ac39b05
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388146/

Conflicts: include/linux/shmem_fs.h
	mm/shmem.c
	mm/userfaultfd.c
(1. write-protect related conflicts, rebased manually
2. Enclose shmem_mcopy_atomic_pte() with CONFIG_USERFAULTFD to avoid
compile errors when USERFAULTFD is not enabled.)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Idcd822b2a124a089121b9ad8c65061f6979126ec
2025-09-05 06:30:12 +05:30
Axel Rasmussen
413c749e25 BACKPORT: FROMGIT: userfaultfd/selftests: add test exercising minor fault handling
Fix a dormant bug in userfaultfd_events_test(), where we did `return
faulting_process(0)` instead of `exit(faulting_process(0))`.  This caused
the forked process to keep running, trying to execute any further test
cases after the events test in parallel with the "real" process.

Add a simple test case which exercises minor faults. In short, it does
the following:

1. "Sets up" an area (area_dst) and a second shared mapping to the same
   underlying pages (area_dst_alias).

2. Register one of these areas with userfaultfd, in minor fault mode.

3. Start a second thread to handle any minor faults.

4. Populate the underlying pages with the non-UFFD-registered side of
   the mapping. Basically, memset() each page with some arbitrary
   contents.

5. Then, using the UFFD-registered mapping, read all of the page
   contents, asserting that the contents match expectations (we expect
   the minor fault handling thread can modify the page contents before
   resolving the fault).

The minor fault handling thread, upon receiving an event, flips all the
bits (~) in that page, just to prove that it can modify it in some
arbitrary way.  Then it issues a UFFDIO_CONTINUE ioctl, to setup the
mapping and resolve the fault.  The reading thread should wake up and see
this modification.

Currently the minor fault test is only enabled in hugetlb_shared mode, as
this is the only configuration the kernel feature supports.

Link: https://lkml.kernel.org/r/20210301222728.176417-7-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 823e78ae969c4ae9500cac5a84ee5b923634be4d
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388135/

Conflicts: tools/testing/selftests/vm/userfaultfd.c
(Removed write-protect related test and removed uffd_stats usage)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I93a845d45436d835a4fd5de0dfd8a2c54fa15550
2025-09-05 06:30:02 +05:30
Peter Xu
64eac78fd5 userfaultfd: selftest: generalize read and poll
We do very similar things in read and poll modes, but we're copying the
codes around.  Share the codes properly on reading the message and
handling the page fault to make the code cleaner.  Meanwhile this solves
previous mismatch of behaviors between the two modes on that the old code:

- did not check EAGAIN case in read() mode
- ignored BOUNCE_VERIFY check in read() mode

Link: http://lkml.kernel.org/r/20180930074259.18229-3-peterx@redhat.com
Change-Id: I6397636b262f0e9ccb061eae4e5d26d0dd8ac849
Signed-off-by: Peter Xu <peterx@redhat.com>
Acked-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Zi Yan <zi.yan@cs.rutgers.edu>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Shaohua Li <shli@fb.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 06:29:40 +05:30
Axel Rasmussen
7875cf4367 BACKPORT: FROMGIT: userfaultfd: update documentation to describe minor fault handling
Reword / reorganize things a little bit into "lists", so new features /
modes / ioctls can sort of just be appended.

Describe how UFFDIO_REGISTER_MODE_MINOR and UFFDIO_CONTINUE can be used to
intercept and resolve minor faults.  Make it clear that COPY and ZEROPAGE
are used for MISSING faults, whereas CONTINUE is used for MINOR faults.

Link: https://lkml.kernel.org/r/20210301222728.176417-6-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit d08ba026886f0161e2bdd3dbd75c4da0fc62a284
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388137/

Conflicts: Documentation/admin-guide/mm/userfaultfd.rst
(Manual rebase by removing text related to write-protect feature)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Ib59504247d38034e4c86f692dd63f2b3706fe554
2025-09-05 06:29:23 +05:30
Axel Rasmussen
726458b970 BACKPORT: FROMGIT: userfaultfd: add UFFDIO_CONTINUE ioctl
This ioctl is how userspace ought to resolve "minor" userfaults. The
idea is, userspace is notified that a minor fault has occurred. It might
change the contents of the page using its second non-UFFD mapping, or
not. Then, it calls UFFDIO_CONTINUE to tell the kernel "I have ensured
the page contents are correct, carry on setting up the mapping".

Note that it doesn't make much sense to use UFFDIO_{COPY,ZEROPAGE} for
MINOR registered VMAs. ZEROPAGE maps the VMA to the zero page; but in
the minor fault case, we already have some pre-existing underlying page.
Likewise, UFFDIO_COPY isn't useful if we have a second non-UFFD mapping.
We'd just use memcpy() or similar instead.

It turns out hugetlb_mcopy_atomic_pte() already does very close to what
we want, if an existing page is provided via `struct page **pagep`. We
already special-case the behavior a bit for the UFFDIO_ZEROPAGE case, so
just extend that design: add an enum for the three modes of operation,
and make the small adjustments needed for the MCOPY_ATOMIC_CONTINUE
case. (Basically, look up the existing page, and avoid adding the
existing page to the page cache or calling set_page_huge_active() on
it.)

Link: https://lkml.kernel.org/r/20210301222728.176417-5-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 14ea86439abaf3423cd9b6712ed5ce8451d2d181
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388136/

Conflicts: fs/userfaultfd.c
	include/linux/hugetlb.h
	include/linux/userfaultfd_k.h
	include/uapi/linux/userfaultfd.h
	mm/hugetlb.c
	mm/userfaultfd.c
(1. 8f251a3d5ce3bdea73bd045ed35db64f32e0d0d9 is not cherry-picked yet so
    switched SetHPageMigratable() to set_active_huge_page() in
    mm/hugetlb.c,
2. Other files conflicts due to lack of write-protect userfaultfd
support. Manually rebased accordingly
3. Included linux/mm.h in linux/userfaultfd_k.h for definitions of
VM_UFFD_*)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I45b62959dcb1d343154cb831113a26e47e77c8af
2025-09-05 06:28:49 +05:30
Lokesh Gidra
75a1231a76 userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
commit 67695f18d55924b2013534ef3bdc363bc9e14605 upstream.

In mfill_atomic_hugetlb(), mmap_changing isn't being checked
again if we drop mmap_lock and reacquire it. When the lock is not held,
mmap_changing could have been incremented. This is also inconsistent
with the behavior in mfill_atomic().

Link: https://lkml.kernel.org/r/20240117223729.1444522-1-lokeshgidra@google.com
Fixes: df2cc96e77011 ("userfaultfd: prevent non-cooperative events vs mcopy_atomic races")
Change-Id: I7ee2f7c1a28d2511659c4a6c6b305e148846975e
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-05 06:27:52 +05:30
Mike Rapoport
b3464125ce BACKPORT: userfaultfd: prevent non-cooperative events vs mcopy_atomic races
If a process monitored with userfaultfd changes it's memory mappings or
forks() at the same time as uffd monitor fills the process memory with
UFFDIO_COPY, the actual creation of page table entries and copying of
the data in mcopy_atomic may happen either before of after the memory
mapping modifications and there is no way for the uffd monitor to
maintain consistent view of the process memory layout.

For instance, let's consider fork() running in parallel with
userfaultfd_copy():

process        		         |	uffd monitor
---------------------------------+------------------------------
fork()        		         | userfaultfd_copy()
...        		         | ...
    dup_mmap()        	         |     down_read(mmap_sem)
    down_write(mmap_sem)         |     /* create PTEs, copy data */
        dup_uffd()               |     up_read(mmap_sem)
        copy_page_range()        |
        up_write(mmap_sem)       |
        dup_uffd_complete()      |
            /* notify monitor */ |

If the userfaultfd_copy() takes the mmap_sem first, the new page(s) will
be present by the time copy_page_range() is called and they will appear
in the child's memory mappings.  However, if the fork() is the first to
take the mmap_sem, the new pages won't be mapped in the child's address
space.

If the pages are not present and child tries to access them, the monitor
will get page fault notification and everything is fine.  However, if
the pages *are present*, the child can access them without uffd
noticing.  And if we copy them into child it'll see the wrong data.
Since we are talking about background copy, we'd need to decide whether
the pages should be copied or not regardless #PF notifications.

Since userfaultfd monitor has no way to determine what was the order,
let's disallow userfaultfd_copy in parallel with the non-cooperative
events.  In such case we return -EAGAIN and the uffd monitor can
understand that userfaultfd_copy() clashed with a non-cooperative event
and take an appropriate action.

Link: http://lkml.kernel.org/r/1527061324-19949-1-git-send-email-rppt@linux.vnet.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Acked-by: Pavel Emelyanov <xemul@virtuozzo.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Change-Id: I635affbde924a9f082b04c5b1361bf5f199d7323
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-05 06:27:33 +05:30
Axel Rasmussen
34e3dc2db9 BACKPORT: FROMGIT: userfaultfd: hugetlbfs: only compile UFFD helpers if config enabled
For background, mm/userfaultfd.c provides a general mcopy_atomic
implementation.  But some types of memory (i.e., hugetlb and shmem) need a
slightly different implementation, so they provide their own helpers for
this.  In other words, userfaultfd is the only caller of these functions.

This patch achieves two things:

1. Don't spend time compiling code which will end up never being
   referenced anyway (a small build time optimization).

2. In patches later in this series, we extend the signature of these
   helpers with UFFD-specific state (a mode enumeration).  Once this
   happens, we *have to* either not compile the helpers, or
   unconditionally define the UFFD-only state (which seems messier to me).
   This includes the declarations in the headers, as otherwise they'd
   yield warnings about implicitly defining the type of those arguments.

Link: https://lkml.kernel.org/r/20210301222728.176417-4-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 0e6e243e1d9a252c047c4cb1b032cfb31caf87ea
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388133/

Conflicts: include/linux/hugetlb.h
(Manual rebase, required as 1f9dccb25b8fb48778149a002bb25d4ac2899633
isn't CP'ed)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I765cff74cde5fb4ce8141fb95e41848890ced961
2025-09-05 06:27:15 +05:30
Axel Rasmussen
2537fe5e19 FROMGIT: userfaultfd: disable huge PMD sharing for MINOR registered VMAs
As the comment says: for the MINOR fault use case, although the page might
be present and populated in the other (non-UFFD-registered) half of the
mapping, it may be out of date, and we explicitly want userspace to get a
minor fault so it can check and potentially update the page's contents.

Huge PMD sharing would prevent these faults from occurring for suitably
aligned areas, so disable it upon UFFD registration.

Link: https://lkml.kernel.org/r/20210301222728.176417-3-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 19fbec4445b6a690253c1785dfd376ede2cdb9d9
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388134/

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I257024f980f43cf8b06b5421ee3278115d1b1540
2025-09-05 06:27:03 +05:30
Axel Rasmussen
875e1dd7be BACKPORT: FROMGIT: userfaultfd: add minor fault registration mode
Patch series "userfaultfd: add minor fault handling", v9.

Overview
========

This series adds a new userfaultfd feature, UFFD_FEATURE_MINOR_HUGETLBFS.
When enabled (via the UFFDIO_API ioctl), this feature means that any
hugetlbfs VMAs registered with UFFDIO_REGISTER_MODE_MISSING will *also*
get events for "minor" faults.  By "minor" fault, I mean the following
situation:

Let there exist two mappings (i.e., VMAs) to the same page(s) (shared
memory).  One of the mappings is registered with userfaultfd (in minor
mode), and the other is not.  Via the non-UFFD mapping, the underlying
pages have already been allocated & filled with some contents.  The UFFD
mapping has not yet been faulted in; when it is touched for the first
time, this results in what I'm calling a "minor" fault.  As a concrete
example, when working with hugetlbfs, we have huge_pte_none(), but
find_lock_page() finds an existing page.

We also add a new ioctl to resolve such faults: UFFDIO_CONTINUE.  The idea
is, userspace resolves the fault by either a) doing nothing if the
contents are already correct, or b) updating the underlying contents using
the second, non-UFFD mapping (via memcpy/memset or similar, or something
fancier like RDMA, or etc...).  In either case, userspace issues
UFFDIO_CONTINUE to tell the kernel "I have ensured the page contents are
correct, carry on setting up the mapping".

Use Case
========

Consider the use case of VM live migration (e.g. under QEMU/KVM):

1. While a VM is still running, we copy the contents of its memory to a
   target machine. The pages are populated on the target by writing to the
   non-UFFD mapping, using the setup described above. The VM is still running
   (and therefore its memory is likely changing), so this may be repeated
   several times, until we decide the target is "up to date enough".

2. We pause the VM on the source, and start executing on the target machine.
   During this gap, the VM's user(s) will *see* a pause, so it is desirable to
   minimize this window.

3. Between the last time any page was copied from the source to the target, and
   when the VM was paused, the contents of that page may have changed - and
   therefore the copy we have on the target machine is out of date. Although we
   can keep track of which pages are out of date, for VMs with large amounts of
   memory, it is "slow" to transfer this information to the target machine. We
   want to resume execution before such a transfer would complete.

4. So, the guest begins executing on the target machine. The first time it
   touches its memory (via the UFFD-registered mapping), userspace wants to
   intercept this fault. Userspace checks whether or not the page is up to date,
   and if not, copies the updated page from the source machine, via the non-UFFD
   mapping. Finally, whether a copy was performed or not, userspace issues a
   UFFDIO_CONTINUE ioctl to tell the kernel "I have ensured the page contents
   are correct, carry on setting up the mapping".

We don't have to do all of the final updates on-demand. The userfaultfd manager
can, in the background, also copy over updated pages once it receives the map of
which pages are up-to-date or not.

Interaction with Existing APIs
==============================

Because this is a feature, a registered VMA could potentially receive both
missing and minor faults.  I spent some time thinking through how the
existing API interacts with the new feature:

UFFDIO_CONTINUE cannot be used to resolve non-minor faults, as it does not
allocate a new page.  If UFFDIO_CONTINUE is used on a non-minor fault:

- For non-shared memory or shmem, -EINVAL is returned.
- For hugetlb, -EFAULT is returned.

UFFDIO_COPY and UFFDIO_ZEROPAGE cannot be used to resolve minor faults.
Without modifications, the existing codepath assumes a new page needs to
be allocated.  This is okay, since userspace must have a second
non-UFFD-registered mapping anyway, thus there isn't much reason to want
to use these in any case (just memcpy or memset or similar).

- If UFFDIO_COPY is used on a minor fault, -EEXIST is returned.
- If UFFDIO_ZEROPAGE is used on a minor fault, -EEXIST is returned (or -EINVAL
  in the case of hugetlb, as UFFDIO_ZEROPAGE is unsupported in any case).
- UFFDIO_WRITEPROTECT simply doesn't work with shared memory, and returns
  -ENOENT in that case (regardless of the kind of fault).

Future Work
===========

This series only supports hugetlbfs.  I have a second series in flight to
support shmem as well, extending the functionality.  This series is more
mature than the shmem support at this point, and the functionality works
fully on hugetlbfs, so this series can be merged first and then shmem
support will follow.

This patch (of 6):

This feature allows userspace to intercept "minor" faults.  By "minor"
faults, I mean the following situation:

Let there exist two mappings (i.e., VMAs) to the same page(s).  One of the
mappings is registered with userfaultfd (in minor mode), and the other is
not.  Via the non-UFFD mapping, the underlying pages have already been
allocated & filled with some contents.  The UFFD mapping has not yet been
faulted in; when it is touched for the first time, this results in what
I'm calling a "minor" fault.  As a concrete example, when working with
hugetlbfs, we have huge_pte_none(), but find_lock_page() finds an existing
page.

This commit adds the new registration mode, and sets the relevant flag on
the VMAs being registered.  In the hugetlb fault path, if we find that we
have huge_pte_none(), but find_lock_page() does indeed find an existing
page, then we have a "minor" fault, and if the VMA has the userfaultfd
registration flag, we call into userfaultfd to handle it.

This is implemented as a new registration mode, instead of an API feature.
This is because the alternative implementation has significant drawbacks
[1].

However, doing it this was requires we allocate a VM_* flag for the new
registration mode.  On 32-bit systems, there are no unused bits, so this
feature is only supported on architectures with
CONFIG_ARCH_USES_HIGH_VMA_FLAGS.  When attempting to register a VMA in
MINOR mode on 32-bit architectures, we return -EINVAL.

[1] https://lore.kernel.org/patchwork/patch/1380226/

Link: https://lkml.kernel.org/r/20210301222728.176417-1-axelrasmussen@google.com
Link: https://lkml.kernel.org/r/20210301222728.176417-2-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Steven Price <steven.price@arm.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 82a150ec394f6b944e26786b907fc0deab5b2064
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1388132/

Conflicts: arch/x86/Kconfig
	fs/userfaultfd.c
	include/linux/userfaultfd_k.h
	include/uapi/linux/userfaultfd.h
	init/Kconfig
	mm/hugetlb.c
(Lack of userfaultfd write-protect support in 5.4 lead to all conflicts.
Resolved by carefully rebasing such that write-protect related code
doesn't get added)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I43b37272d531341439ceaa03213d0e2415e04688
2025-09-05 06:26:23 +05:30
Peter Xu
f4bdd1a83f BACKPORT: FROMGIT: hugetlb/userfaultfd: unshare all pmds for hugetlbfs when register wp
Huge pmd sharing for hugetlbfs is racy with userfaultfd-wp because
userfaultfd-wp is always based on pgtable entries, so they cannot be
shared.

Walk the hugetlb range and unshare all such mappings if there is, right
before UFFDIO_REGISTER will succeed and return to userspace.

This will pair with want_pmd_share() in hugetlb code so that huge pmd
sharing is completely disabled for userfaultfd-wp registered range.

Link: https://lkml.kernel.org/r/20210218231206.15524-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 267bda5c9993856b86f91a998df632b29cf517e2
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1382208/
Conflicts:
	mm/hugetlb.c

(CONFIG_CMA not CP'ed in this kernel. Manual rebase)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I99d541ce45aaf924fa912f00dafa4caefe307755
2025-09-05 06:25:01 +05:30
Peter Xu
8a27697c5d FROMGIT: mm/hugetlb: move flush_hugetlb_tlb_range() into hugetlb.h
Prepare for it to be called outside of mm/hugetlb.c.

Link: https://lkml.kernel.org/r/20210218231204.15474-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 04297c667b3972097535638e3dab5a66f11ca1df
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1382206/

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I9bf21fe479548d44a8b611ed832b2f1af7667f4c
2025-09-05 06:24:49 +05:30
Peter Xu
f8d97f57ed FROMGIT: mm/hugetlb: fix build with !ARCH_WANT_HUGE_PMD_SHARE
want_pmd_share() is undefined with !ARCH_WANT_HUGE_PMD_SHARE since it's
put by accident into a "#ifdef ARCH_WANT_HUGE_PMD_SHARE" block.  Moving it
out won't work either since vma_shareable() is only defined within the
block.  Define it for !ARCH_WANT_HUGE_PMD_SHARE instead.

Link: https://lkml.kernel.org/r/20210310185359.88297-1-peterx@redhat.com
Fixes: 5b109cc1cdcc ("hugetlb/userfaultfd: forbid huge pmd sharing when uffd enabled")
Signed-off-by: Peter Xu <peterx@redhat.com>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit 5038f9dd8bbde13ff16435011bb3b0981acc5c1c
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1393174/

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Id716afd43bff303f7eda2c4f70f18d9ea727c698
2025-09-05 06:24:29 +05:30
Peter Xu
572a86b570 BACKPORT: FROMGIT: hugetlb/userfaultfd: forbid huge pmd sharing when uffd enabled
Huge pmd sharing could bring problem to userfaultfd.  The thing is that
userfaultfd is running its logic based on the special bits on page table
entries, however the huge pmd sharing could potentially share page table
entries for different address ranges.  That could cause issues on either:

  - When sharing huge pmd page tables for an uffd write protected range, the
    newly mapped huge pmd range will also be write protected unexpectedly, or,

  - When we try to write protect a range of huge pmd shared range, we'll first
    do huge_pmd_unshare() in hugetlb_change_protection(), however that also
    means the UFFDIO_WRITEPROTECT could be silently skipped for the shared
    region, which could lead to data loss.

Since at it, a few other things are done altogether:

  - Move want_pmd_share() from mm/hugetlb.c into linux/hugetlb.h, because
    that's definitely something that arch code would like to use too

  - ARM64 currently directly check against CONFIG_ARCH_WANT_HUGE_PMD_SHARE when
    trying to share huge pmd.  Switch to the want_pmd_share() helper.

Since at it, move vma_shareable() from huge_pmd_share() into want_pmd_share().

Link: https://lkml.kernel.org/r/20210218231202.15426-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit ab6a0d00a63f92f1f0d220274fa989eb75c09f2b
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1382207/
Conflicts:
	include/linux/hugetlb.h
	mm/hugetlb.c

(Manual rebase)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Ie2dff7ab31600cae78914e3278be61516844394e
2025-09-05 06:23:16 +05:30
Peter Xu
614cfe1848 BACKPORT: FROMGIT: hugetlb: pass vma into huge_pte_alloc() and huge_pmd_share()
Patch series "hugetlb: Disable huge pmd unshare for uffd-wp", v4.

This series tries to disable huge pmd unshare of hugetlbfs backed memory
for uffd-wp.  Although uffd-wp of hugetlbfs is still during rfc stage, the
idea of this series may be needed for multiple tasks (Axel's uffd minor
fault series, and Mike's soft dirty series), so I picked it out from the
larger series.

This patch (of 4):

It is a preparation work to be able to behave differently in the per
architecture huge_pte_alloc() according to different VMA attributes.

Pass it deeper into huge_pmd_share() so that we can avoid the find_vma() call.

Link: https://lkml.kernel.org/r/20210218230633.15028-1-peterx@redhat.com
Link: https://lkml.kernel.org/r/20210218230633.15028-2-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Suggested-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Adam Ruprecht <ruprecht@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Cannon Matthews <cannonmatthews@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Koutn" <mkoutny@suse.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shawn Anastasio <shawn@anastas.io>
Cc: Steven Price <steven.price@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit b92dc1bfd52ecf338c024815a7c1d44e37a507a1
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Link: https://lore.kernel.org/patchwork/patch/1382205/

Conflicts:
	arch/sparc/mm/hugetlbpage.c
	mm/hugetlb.c
	mm/userfaultfd.c

(1. manual rebase,
 2. c0d0381ade79885c04a04c303284b040616b116e wasn't CP'ed. Rebased by
 appropriately updating huge_pte_alloc(),
 3. manual rebase)

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I50db4e27f2951a5ee01b0dfa22c1ece34e79f881
2025-09-05 06:22:12 +05:30
John Hubbard
90132d55c3 UPSTREAM: selftests/vm/.gitignore: add mremap_dontunmap
Add mremap_dontunmap to .gitignore.

Fixes: 0c28759ee3c9 ("selftests: add MREMAP_DONTUNMAP selftest")
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Brian Geffon <bgeffon@google.com>
Link: http://lkml.kernel.org/r/20200517002509.362401-2-jhubbard@nvidia.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

(cherry picked from commit 98097701cc0bec06e4bc183cceaf6dfa06a69e10)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Iadb72ad4ffec5d0203214a632b612ff3266695c0
2025-09-05 06:22:00 +05:30
Brian Geffon
6bbffc8321 FROMLIST: selftests: Add a MREMAP_DONTUNMAP selftest for shmem
This test extends the current mremap tests to validate that
the MREMAP_DONTUNMAP operation can be performed on shmem mappings.

Signed-off-by: Brian Geffon <bgeffon@google.com>

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Link: https://lore.kernel.org/patchwork/patch/1401225/
Bug: 160737021
Bug: 169683130
Change-Id: Ib357e58526af739cf8df49fc9604372996a9a6b3
2025-09-05 06:21:44 +05:30
Will Deacon
09bf8d4802 UPSTREAM: arm64: tlb: Rewrite stale comment in asm/tlbflush.h
Peter Z asked me to justify the barrier usage in asm/tlbflush.h, but
actually that whole block comment needs to be rewritten.

Reported-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: If49b019942043655d3ce72021e4daa66a82c60fb
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:10:11 +05:30
Will Deacon
6b7c7a6e79 BACKPORT: arm64: tlb: Avoid synchronous TLBIs when freeing page tables
By selecting HAVE_RCU_TABLE_INVALIDATE, we can rely on tlb_flush() being
called if we fail to batch table pages for freeing. This in turn allows
us to postpone walk-cache invalidation until tlb_finish_mmu(), which
avoids lots of unnecessary DSBs and means we can shoot down the ASID if
the range is large enough.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: Ie25f4be366f5a170adbb0e64c7d57ecc2b379a58
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[cyberknight777: Backport to msm-4.14]
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:09:58 +05:30
Will Deacon
4a4bfee462 BACKPORT: arm64: tlb: Adjust stride and type of TLBI according to mmu_gather
Now that the core mmu_gather code keeps track of both the levels of page
table cleared and also whether or not these entries correspond to
intermediate entries, we can use this in our tlb_flush() callback to
reduce the number of invalidations we issue as well as their scope.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: Ibe3adb99f9f7b64517c614fd08cf3fa5c034c7ee
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[cyberknight777: Backport to msm-4.14]
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:09:44 +05:30
Will Deacon
445a5b4f6f UPSTREAM: arm64: tlb: Remove redundant !CONFIG_HAVE_RCU_TABLE_FREE code
If there's one thing the RCU-based table freeing doesn't need, it's more
ifdeffery.

Remove the redundant !CONFIG_HAVE_RCU_TABLE_FREE code, since this option
is unconditionally selected in our Kconfig.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: Ifbe6dc2d8ce9e7e0d17c1c594325b04c3d39ca95
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:09:33 +05:30
Will Deacon
04cef5e146 UPSTREAM: arm64: tlbflush: Allow stride to be specified for __flush_tlb_range()
When we are unmapping intermediate page-table entries or huge pages, we
don't need to issue a TLBI instruction for every PAGE_SIZE chunk in the
VA range being unmapped.

Allow the invalidation stride to be passed to __flush_tlb_range(), and
adjust our "just nuke the ASID" heuristic to take this into account.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: I75dd94e14ea9920b3500e8003cad2ee0a74bb05f
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:09:24 +05:30
Will Deacon
c492fcb06a UPSTREAM: arm64: tlb: Justify non-leaf invalidation in flush_tlb_range()
Add a comment to explain why we can't get away with last-level
invalidation in flush_tlb_range()

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: I6e5251011b20a0270206b0cf50c34f991752792a
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:09:14 +05:30
Will Deacon
4b905ed5c1 BACKPORT: arm64: pgtable: Implement p[mu]d_valid() and check in set_p[mu]d()
Now that our walk-cache invalidation routines imply a DSB before the
invalidation, we no longer need one when we are clearing an entry during
unmap.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: Ib0ad415b232f766fb93455f39de5449f4bf45dfb
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[cyberknight777: Backport to msm-4.14]
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:09:03 +05:30
Will Deacon
eac8e87d64 UPSTREAM: arm64: tlb: Add DSB ISHST prior to TLBI in __flush_tlb_[kernel_]pgtable()
__flush_tlb_[kernel_]pgtable() rely on set_pXd() having a DSB after
writing the new table entry and therefore avoid the barrier prior to the
TLBI instruction.

In preparation for delaying our walk-cache invalidation on the unmap()
path, move the DSB into the TLB invalidation routines.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: I7a8a259d78b6d4410c4a6e59b2f229dbd58244af
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:08:54 +05:30
Will Deacon
d1125d40e3 UPSTREAM: arm64: tlb: Use last-level invalidation in flush_tlb_kernel_range()
flush_tlb_kernel_range() is only ever used to invalidate last-level
entries, so we can restrict the scope of the TLB invalidation
instruction.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: I1c7944e35ba4c39e0736419f8fc5fce37c1eebd8
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:08:44 +05:30
Will Deacon
5f85e8aa00 UPSTREAM: MAINTAINERS: Add entry for MMU GATHER AND TLB INVALIDATION
We recently had to debug a TLB invalidation problem on the munmap()
path, which was made more difficult than necessary because:

  (a) The MMU gather code had changed without people realising
  (b) Many people subtly misunderstood the operation of the MMU gather
      code and its interactions with RCU and arch-specific TLB invalidation
  (c) Untangling the intended behaviour involved educated guesswork and
      plenty of discussion

Hopefully, we can avoid getting into this mess again by designating a
cross-arch group of people to look after this code. It is not intended
that they will have a separate tree, but they at least provide a point
of contact for anybody working in this area and can co-ordinate any
proposed future changes to the internal API.

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.com>
Change-Id: Ie434451c6fea97908ce566d3ce5cf8976207d2fb
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-05 00:08:35 +05:30
Will Deacon
4ea6c750e0 UPSTREAM: asm-generic/tlb: Track which levels of the page tables have been cleared
It is common for architectures with hugepage support to require only a
single TLB invalidation operation per hugepage during unmap(), rather than
iterating through the mapping at a PAGE_SIZE increment. Currently,
however, the level in the page table where the unmap() operation occurs
is not stored in the mmu_gather structure, therefore forcing
architectures to issue additional TLB invalidation operations or to give
up and over-invalidate by e.g. invalidating the entire TLB.

Ideally, we could add an interval rbtree to the mmu_gather structure,
which would allow us to associate the correct mapping granule with the
various sub-mappings within the range being invalidated. However, this
is costly in terms of book-keeping and memory management, so instead we
approximate by keeping track of the page table levels that are cleared
and provide a means to query the smallest granule required for invalidation.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Change-Id: Ifb486381b6e71f4e05c9d38a246bf82de2d224ac
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-04 23:52:30 +05:30
Peter Zijlstra
5db71d2197 UPSTREAM: asm-generic/tlb: Track freeing of page-table directories in struct mmu_gather
Some architectures require different TLB invalidation instructions
depending on whether it is only the last-level of page table being
changed, or whether there are also changes to the intermediate
(directory) entries higher up the tree.

Add a new bit to the flags bitfield in struct mmu_gather so that the
architecture code can operate accordingly if it's the intermediate
levels being invalidated.

Acked-by: Nicholas Piggin <npiggin@gmail.com>
Change-Id: I9a19a09e1ddff1e2386a29fe1392b0cb0de9cfe7
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-04 23:52:16 +05:30
Will Deacon
4e420b29a0 UPSTREAM: asm-generic/tlb: Guard with #ifdef CONFIG_MMU
The inner workings of the mmu_gather-based TLB invalidation mechanism
are not relevant to nommu configurations, so guard them with an #ifdef.
This allows us to implement future functions using static inlines
without breaking the build.

Acked-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Change-Id: I8d6673a8daa1ff4de448477b8f0bfc5cd0ec5719
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-04 23:52:02 +05:30
Will Deacon
5ff20ef405 UPSTREAM: arm64: tlb: Provide forward declaration of tlb_flush() before including tlb.h
As of commit fd1102f0aade ("mm: mmu_notifier fix for tlb_end_vma"),
asm-generic/tlb.h now calls tlb_flush() from a static inline function,
so we need to make sure that it's declared before #including the
asm-generic header in the arch header.

Change-Id: Ib914ff3a30a5f081a05eeccff3d59dd7e084838a
Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-04 23:51:52 +05:30
Nicholas Piggin
a40d6e9305 UPSTREAM: mm: mmu_notifier fix for tlb_end_vma
The generic tlb_end_vma does not call invalidate_range mmu notifier, and
it resets resets the mmu_gather range, which means the notifier won't be
called on part of the range in case of an unmap that spans multiple
vmas.

ARM64 seems to be the only arch I could see that has notifiers and uses
the generic tlb_end_vma.  I have not actually tested it.

[ Catalin and Will point out that ARM64 currently only uses the
  notifiers for KVM, which doesn't use the ->invalidate_range()
  callback right now, so it's a bug, but one that happens to
  not affect them.  So not necessary for stable.  - Linus ]

Change-Id: Id7b31c8a84be494b2f6341beb3be23485b5dd6bb
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-09-04 23:51:37 +05:30
Brian Geffon
85a7625403 UPSTREAM: selftests: add MREMAP_DONTUNMAP selftest
Add a few simple self tests for the new flag MREMAP_DONTUNMAP, they are
simple smoke tests which also demonstrate the behavior.

[akpm@linux-foundation.org: convert eight-spaces to hard tabs]
[bgeffon@google.com: v7]
  Link: http://lkml.kernel.org/r/20200221174248.244748-2-bgeffon@google.com
[akpm@linux-foundation.org: coding style fixes]
Signed-off-by: Brian Geffon <bgeffon@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: "Michael S . Tsirkin" <mst@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Will Deacon <will@kernel.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Sonny Rao <sonnyrao@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Yu Zhao <yuzhao@google.com>
Cc: Jesse Barnes <jsbarnes@google.com>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Florian Weimer <fweimer@redhat.com>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Link: http://lkml.kernel.org/r/20200218173221.237674-2-bgeffon@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

(cherry picked from commit 0c28759ee3c91fa8ae14d7672b781b979be274e1)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I3380f66b882cc24b7c4b5b29923f929722e7c22a
2025-09-04 23:39:22 +05:30
Aneesh Kumar K.V
14a76ff07c BACKPORT: mm/mremap: hold the rmap lock in write mode when moving page table entries.
To avoid a race between rmap walk and mremap, mremap does
take_rmap_locks().  The lock was taken to ensure that rmap walk don't miss
a page table entry due to PTE moves via move_pagetables().  The kernel
does further optimization of this lock such that if we are going to find
the newly added vma after the old vma, the rmap lock is not taken.  This
is because rmap walk would find the vmas in the same order and if we don't
find the page table attached to older vma we would find it with the new
vma which we would iterate later.

As explained in commit eb66ae030829 ("mremap: properly flush TLB before
releasing the page") mremap is special in that it doesn't take ownership
of the page.  The optimized version for PUD/PMD aligned mremap also
doesn't hold the ptl lock.  This can result in stale TLB entries as show
below.

This patch updates the rmap locking requirement in mremap to handle the race condition
explained below with optimized mremap::

Optmized PMD move

    CPU 1                           CPU 2                                   CPU 3

    mremap(old_addr, new_addr)      page_shrinker/try_to_unmap_one

    mmap_write_lock_killable()

                                    addr = old_addr
                                    lock(pte_ptl)
    lock(pmd_ptl)
    pmd = *old_pmd
    pmd_clear(old_pmd)
    flush_tlb_range(old_addr)

    *new_pmd = pmd
                                                                            *new_addr = 10; and fills
                                                                            TLB with new addr
                                                                            and old pfn

    unlock(pmd_ptl)
                                    ptep_clear_flush()
                                    old pfn is free.
                                                                            Stale TLB entry

Optimized PUD move also suffers from a similar race.  Both the above race
condition can be fixed if we force mremap path to take rmap lock.

Link: https://lkml.kernel.org/r/20210616045239.370802-7-aneesh.kumar@linux.ibm.com
Fixes: 2c91bd4a4e2e ("mm: speed up mremap by 20x on large regions")
Fixes: c49dd3401802 ("mm: speedup mremap on 1GB or larger regions")
Link: https://lore.kernel.org/linux-mm/CAHk-=wgXVR04eBNtxQfevontWnP6FDm+oj5vauQXP3S-huwbPw@mail.gmail.com
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Acked-by: Hugh Dickins <hughd@google.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 97113eb39fa7972722ff490b947d8af023e1f6a2)

[Kalesh Singh: Resolve some trivial conflicts in mm/mremap.c]

Bug: 151772539
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I5b7235e982ea2efdc155018271fbaf2711fac4c1
2025-09-04 23:39:21 +05:30
Kalesh Singh
0ff84ba061 UPSTREAM: mm/mremap.c: fix extent calculation
When `next < old_addr`, `next - old_addr` arithmetic underflows causing
`extent` to be incorrect.

Make `extent` the smaller of `next - old_addr` or `old_end - old_addr`.

Link: https://lkml.kernel.org/r/20201219170433.2418867-1-kaleshsingh@google.com
Fixes: c49dd34018026 ("mm: speedup mremap on 1GB or larger regions")
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Helge Deller <deller@gmx.de>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit e05986ee7a5814bec0e0075d813daca3d46e4a9e)

Bug: 151772539
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Ibcbd39dfa16f8ebd1aeca469540b0ef43fb849c9
2025-09-04 23:39:21 +05:30
Kalesh Singh
0fb9c9273f UPSTREAM: x86: mremap speedup - Enable HAVE_MOVE_PUD
HAVE_MOVE_PUD enables remapping pages at the PUD level if both the
source and destination addresses are PUD-aligned.

With HAVE_MOVE_PUD enabled it can be inferred that there is
approximately a 13x improvement in performance on x86.  (See data
below).

------- Test Results ---------

The following results were obtained using a 5.4 kernel, by remapping
a PUD-aligned, 1GB sized region to a PUD-aligned destination.
The results from 10 iterations of the test are given below:

Total mremap times for 1GB data on x86. All times are in nanoseconds.

  Control        HAVE_MOVE_PUD

  180394         15089
  235728         14056
  238931         25741
  187330         13838
  241742         14187
  177925         14778
  182758         14728
  160872         14418
  205813         15107
  245722         13998

  205721.5       15594    <-- Mean time in nanoseconds

A 1GB mremap completion time drops from ~205 microseconds
to ~15 microseconds on x86. (~13x speed up).

Link: https://lkml.kernel.org/r/20201014005320.2233162-6-kaleshsingh@google.com
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Gavin Shan <gshan@redhat.com>
Cc: Hassan Naveed <hnaveed@wavecomp.com>
Cc: Jia He <justin.he@arm.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Minchan Kim <minchan@google.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Sandipan Das <sandipan@linux.ibm.com>
Cc: SeongJae Park <sjpark@amazon.de>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Steven Price <steven.price@arm.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Will Deacon <will@kernel.org>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit be37c98d1134a8e068b52618c086dab6b34b9a2c)

Bug: 151772539
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I7967951289885157ef3a487a6935abe3b860847f
2025-09-04 23:39:20 +05:30
Joel Fernandes (Google)
4e3745d81d mm: select HAVE_MOVE_PMD on x86 for faster mremap
Moving page-tables at the PMD-level on x86 is known to be safe.  Enable
this option so that we can do fast mremap when possible.

Link: http://lkml.kernel.org/r/20181108181201.88826-4-joelaf@google.com
Change-Id: I05ffe342ac69c7f979debddc2e7aa66d90c11fc8
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Suggested-by: Kirill A. Shutemov <kirill@shutemov.name>
Acked-by: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-04 23:39:19 +05:30
Kalesh Singh
f7e0240ae1 UPSTREAM: arm64: mremap speedup - enable HAVE_MOVE_PUD
HAVE_MOVE_PUD enables remapping pages at the PUD level if both the source
and destination addresses are PUD-aligned.

With HAVE_MOVE_PUD enabled it can be inferred that there is approximately
a 19x improvement in performance on arm64.  (See data below).

------- Test Results ---------

The following results were obtained using a 5.4 kernel, by remapping a
PUD-aligned, 1GB sized region to a PUD-aligned destination.  The results
from 10 iterations of the test are given below:

Total mremap times for 1GB data on arm64. All times are in nanoseconds.

  Control          HAVE_MOVE_PUD

  1247761          74271
  1219896          46771
  1094792          59687
  1227760          48385
  1043698          76666
  1101771          50365
  1159896          52500
  1143594          75261
  1025833          61354
  1078125          48697

  1134312.6        59395.7    <-- Mean time in nanoseconds

A 1GB mremap completion time drops from ~1.1 milliseconds to ~59
microseconds on arm64.  (~19x speed up).

Link: https://lkml.kernel.org/r/20201014005320.2233162-5-kaleshsingh@google.com
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Gavin Shan <gshan@redhat.com>
Cc: Hassan Naveed <hnaveed@wavecomp.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jia He <justin.he@arm.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Minchan Kim <minchan@google.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Sandipan Das <sandipan@linux.ibm.com>
Cc: SeongJae Park <sjpark@amazon.de>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Steven Price <steven.price@arm.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit f5308c896d5de211245a9dc73b4e530f75185dd5)

Bug: 151772539
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I30590b7375dde84fe345f4920a06f6a2c0b5aa31
2025-09-04 23:39:19 +05:30
Kalesh Singh
1625fd67e4 BACKPORT: mm: speedup mremap on 1GB or larger regions
Android needs to move large memory regions for garbage collection.  The GC
requires moving physical pages of multi-gigabyte heap using mremap.
During this move, the application threads have to be paused for
correctness.  It is critical to keep this pause as short as possible to
avoid jitters during user interaction.

Optimize mremap for >= 1GB-sized regions by moving at the PUD/PGD level if
the source and destination addresses are PUD-aligned.  For
CONFIG_PGTABLE_LEVELS == 3, moving at the PUD level in effect moves PGD
entries, since the PUD entry is “folded back” onto the PGD entry.  Add
HAVE_MOVE_PUD so that architectures where moving at the PUD level isn't
supported/tested can turn this off by not selecting the config.

Link: https://lkml.kernel.org/r/20201014005320.2233162-4-kaleshsingh@google.com
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Gavin Shan <gshan@redhat.com>
Cc: Hassan Naveed <hnaveed@wavecomp.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jia He <justin.he@arm.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Minchan Kim <minchan@google.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Sandipan Das <sandipan@linux.ibm.com>
Cc: SeongJae Park <sjpark@amazon.de>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Steven Price <steven.price@arm.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will@kernel.org>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit c49dd340180260c6239e453263a9a244da9a7c85)

[Kalesh Singh: Resolve conflicts in mm/mremap.c]
Bug: 151772539
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Ia9b065f5059044815fd05f22bad33c484b2b2b73
2025-09-04 23:39:18 +05:30
Kalesh Singh
b13648903c UPSTREAM: arm64: mremap speedup - Enable HAVE_MOVE_PMD
HAVE_MOVE_PMD enables remapping pages at the PMD level if both the
source and destination addresses are PMD-aligned.

HAVE_MOVE_PMD is already enabled on x86. The original patch [1] that
introduced this config did not enable it on arm64 at the time because
of performance issues with flushing the TLB on every PMD move. These
issues have since been addressed in more recent releases with
improvements to the arm64 TLB invalidation and core mmu_gather code as
Will Deacon mentioned in [2].

>From the data below, it can be inferred that there is approximately
8x improvement in performance when HAVE_MOVE_PMD is enabled on arm64.

--------- Test Results ----------

The following results were obtained on an arm64 device running a 5.4
kernel, by remapping a PMD-aligned, 1GB sized region to a PMD-aligned
destination. The results from 10 iterations of the test are given below.
All times are in nanoseconds.

Control    HAVE_MOVE_PMD

9220833    1247761
9002552    1219896
9254115    1094792
8725885    1227760
9308646    1043698
9001667    1101771
8793385    1159896
8774636    1143594
9553125    1025833
9374010    1078125

9100885.4  1134312.6    <-- Mean Time in nanoseconds

Total mremap time for a 1GB sized PMD-aligned region drops from
~9.1 milliseconds to ~1.1 milliseconds. (~8x speedup).

[1] https://lore.kernel.org/r/20181108181201.88826-3-joelaf@google.com
[2] https://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg140837.html

Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/r/20201014005320.2233162-3-kaleshsingh@google.com
Link: https://lore.kernel.org/kvmarm/20181029102840.GC13965@arm.com/
Signed-off-by: Will Deacon <will@kernel.org>
(cherry picked from commit 45544eee96065cf183fbb937fe1f45a172b06f4e)

Bug: 151772539
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: If0d97276cf8de1a5893e97444f2d961db05abea5
2025-09-04 23:39:17 +05:30
Joel Fernandes (Google)
e53beba1cb mm: speed up mremap by 20x on large regions
Android needs to mremap large regions of memory during memory management
related operations.  The mremap system call can be really slow if THP is
not enabled.  The bottleneck is move_page_tables, which is copying each
pte at a time, and can be really slow across a large map.  Turning on
THP may not be a viable option, and is not for us.  This patch speeds up
the performance for non-THP system by copying at the PMD level when
possible.

The speedup is an order of magnitude on x86 (~20x).  On a 1GB mremap,
the mremap completion times drops from 3.4-3.6 milliseconds to 144-160
microseconds.

Before:
Total mremap time for 1GB data: 3521942 nanoseconds.
Total mremap time for 1GB data: 3449229 nanoseconds.
Total mremap time for 1GB data: 3488230 nanoseconds.

After:
Total mremap time for 1GB data: 150279 nanoseconds.
Total mremap time for 1GB data: 144665 nanoseconds.
Total mremap time for 1GB data: 158708 nanoseconds.

If THP is enabled the optimization is mostly skipped except in certain
situations.

[joel@joelfernandes.org: fix 'move_normal_pmd' unused function warning]
  Link: http://lkml.kernel.org/r/20181108224457.GB209347@google.com
Link: http://lkml.kernel.org/r/20181108181201.88826-3-joelaf@google.com
Change-Id: I9d8e2e356a78f05119f48e37344a2df62cb8f97e
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Acked-by: Kirill A. Shutemov <kirill@shutemov.name>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-04 23:39:17 +05:30
Mel Gorman
8f4e9f7366 mremap: remove LATENCY_LIMIT from mremap to reduce the number of TLB shootdowns
Commit 5d1904204c ("mremap: fix race between mremap() and page
cleanning") fixed races between mremap and other operations for both
file-backed and anonymous mappings.  The file-backed was the most
critical as it allowed the possibility that data could be changed on a
physical page after page_mkclean returned which could trigger data loss
or data integrity issues.

A customer reported that the cost of the TLBs for anonymous regressions
was excessive and resulting in a 30-50% drop in performance overall
since this commit on a microbenchmark.  Unfortunately I neither have
access to the test-case nor can I describe what it does other than
saying that mremap operations dominate heavily.

This patch removes the LATENCY_LIMIT to handle TLB flushes on a PMD
boundary instead of every 64 pages to reduce the number of TLB
shootdowns by a factor of 8 in the ideal case.  LATENCY_LIMIT was almost
certainly used originally to limit the PTL hold times but the latency
savings are likely offset by the cost of IPIs in many cases.  This patch
is not reported to completely restore performance but gets it within an
acceptable percentage.  The given metric here is simply described as
"higher is better".

Baseline that was known good
002:  Metric:       91.05
004:  Metric:      109.45
008:  Metric:       73.08
016:  Metric:       58.14
032:  Metric:       61.09
064:  Metric:       57.76
128:  Metric:       55.43

Current
001:  Metric:       54.98
002:  Metric:       56.56
004:  Metric:       41.22
008:  Metric:       35.96
016:  Metric:       36.45
032:  Metric:       35.71
064:  Metric:       35.73
128:  Metric:       34.96

With patch
001:  Metric:       61.43
002:  Metric:       81.64
004:  Metric:       67.92
008:  Metric:       51.67
016:  Metric:       50.47
032:  Metric:       52.29
064:  Metric:       50.01
128:  Metric:       49.04

So for low threads, it's not restored but for larger number of threads,
it's closer to the "known good" baseline.

Using a different mremap-intensive workload that is not representative
of the real workload there is little difference observed outside of
noise in the headline metrics However, the TLB shootdowns are reduced by
11% on average and at the peak, TLB shootdowns were reduced by 21%.
Interrupts were sampled every second while the workload ran to get those
figures.  It's known that the figures will vary as the
non-representative load is non-deterministic.

An alternative patch was posted that should have significantly reduced
the TLB flushes but unfortunately it does not perform as well as this
version on the customer test case.  If revisited, the two patches can
stack on top of each other.

Link: http://lkml.kernel.org/r/20180606183803.k7qaw2xnbvzshv34@techsingularity.net
Change-Id: I14865a9a03c2c66a9c9920779f039ac59d072ca8
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Nadav Amit <nadav.amit@gmail.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Aaron Lu <aaron.lu@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-04 23:39:16 +05:30
Lokesh Gidra
6cfeb1e47f ANDROID: defconfig: Enable CONFIG_USERFAULTFD
Patches for SELinux support and kernel page-fault restriction in
userfaultfd have been backported. See references below.
So from security perspective it should be safe to enable it in Android.

1) https://android-review.googlesource.com/c/kernel/common/+/1576486
2) https://android-review.googlesource.com/c/kernel/common/+/1576704
3) https://android-review.googlesource.com/c/kernel/common/+/1612597
4) https://android-review.googlesource.com/c/kernel/common/+/1574667

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Iac5143da76783de57dba229f5761aff9297c17ae
2025-09-04 23:39:15 +05:30
Lokesh Gidra
578eb9178c UPSTREAM: userfaultfd: add user-mode only option to unprivileged_userfaultfd sysctl knob
With this change, when the knob is set to 0, it allows unprivileged users
to call userfaultfd, like when it is set to 1, but with the restriction
that page faults from only user-mode can be handled.  In this mode, an
unprivileged user (without SYS_CAP_PTRACE capability) must pass
UFFD_USER_MODE_ONLY to userfaultd or the API will fail with EPERM.

This enables administrators to reduce the likelihood that an attacker with
access to userfaultfd can delay faulting kernel code to widen timing
windows for other exploits.

The default value of this knob is changed to 0.  This is required for
correct functioning of pipe mutex.  However, this will fail postcopy live
migration, which will be unnoticeable to the VM guests.  To avoid this,
set 'vm.userfault = 1' in /sys/sysctl.conf.

The main reason this change is desirable as in the short term is that the
Android userland will behave as with the sysctl set to zero.  So without
this commit, any Linux binary using userfaultfd to manage its memory would
behave differently if run within the Android userland.  For more details,
refer to Andrea's reply [1].

[1] https://lore.kernel.org/lkml/20200904033438.GI9411@redhat.com/

Link: https://lkml.kernel.org/r/20201120030411.2690816-3-lokeshgidra@google.com
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Peter Xu <peterx@redhat.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Stephen Smalley <stephen.smalley.work@gmail.com>
Cc: Eric Biggers <ebiggers@kernel.org>
Cc: Daniel Colascione <dancol@dancol.org>
Cc: "Joel Fernandes (Google)" <joel@joelfernandes.org>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Jeff Vander Stoep <jeffv@google.com>
Cc: <calin@google.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Nitin Gupta <nigupta@nvidia.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Iurii Zaikin <yzaikin@google.com>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Daniel Colascione <dancol@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit d0d4730ac2e404a5b0da9a87ef38c73e51cb1664)
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: Ic46c0be47d6394d25bd3443ff524936fa568ab85
2025-09-04 23:39:15 +05:30
Lokesh Gidra
c1a4154d17 BACKPORT: userfaultfd: add UFFD_USER_MODE_ONLY
Patch series "Control over userfaultfd kernel-fault handling", v6.

This patch series is split from [1].  The other series enables SELinux
support for userfaultfd file descriptors so that its creation and movement
can be controlled.

It has been demonstrated on various occasions that suspending kernel code
execution for an arbitrary amount of time at any access to userspace
memory (copy_from_user()/copy_to_user()/...) can be exploited to change
the intended behavior of the kernel.  For instance, handling page faults
in kernel-mode using userfaultfd has been exploited in [2, 3].  Likewise,
FUSE, which is similar to userfaultfd in this respect, has been exploited
in [4, 5] for similar outcome.

This small patch series adds a new flag to userfaultfd(2) that allows
callers to give up the ability to handle kernel-mode faults with the
resulting UFFD file object.  It then adds a 'user-mode only' option to the
unprivileged_userfaultfd sysctl knob to require unprivileged callers to
use this new flag.

The purpose of this new interface is to decrease the chance of an
unprivileged userfaultfd user taking advantage of userfaultfd to enhance
security vulnerabilities by lengthening the race window in kernel code.

[1] https://lore.kernel.org/lkml/20200211225547.235083-1-dancol@google.com/
[2] https://duasynt.com/blog/linux-kernel-heap-spray
[3] https://duasynt.com/blog/cve-2016-6187-heap-off-by-one-exploit
[4] https://googleprojectzero.blogspot.com/2016/06/exploiting-recursion-in-linux-kernel_20.html
[5] https://bugs.chromium.org/p/project-zero/issues/detail?id=808

This patch (of 2):

userfaultfd handles page faults from both user and kernel code.  Add a new
UFFD_USER_MODE_ONLY flag for userfaultfd(2) that makes the resulting
userfaultfd object refuse to handle faults from kernel mode, treating
these faults as if SIGBUS were always raised, causing the kernel code to
fail with EFAULT.

A future patch adds a knob allowing administrators to give some processes
the ability to create userfaultfd file objects only if they pass
UFFD_USER_MODE_ONLY, reducing the likelihood that these processes will
exploit userfaultfd's ability to delay kernel page faults to open timing
windows for future exploits.

Link: https://lkml.kernel.org/r/20201120030411.2690816-1-lokeshgidra@google.com
Link: https://lkml.kernel.org/r/20201120030411.2690816-2-lokeshgidra@google.com
Change-Id: I5c50a96f56c862cbbdb001acbe958c9f4c48023a
Signed-off-by: Daniel Colascione <dancol@google.com>
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: <calin@google.com>
Cc: Daniel Colascione <dancol@dancol.org>
Cc: Eric Biggers <ebiggers@kernel.org>
Cc: Iurii Zaikin <yzaikin@google.com>
Cc: Jeff Vander Stoep <jeffv@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: "Joel Fernandes (Google)" <joel@joelfernandes.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Nitin Gupta <nigupta@nvidia.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Shaohua Li <shli@fb.com>
Cc: Stephen Smalley <stephen.smalley.work@gmail.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-04 23:39:14 +05:30
Peter Xu
110111b482 BACKPORT: userfaultfd/sysctl: add vm.unprivileged_userfaultfd
Userfaultfd can be misued to make it easier to exploit existing
use-after-free (and similar) bugs that might otherwise only make a
short window or race condition available.  By using userfaultfd to
stall a kernel thread, a malicious program can keep some state that it
wrote, stable for an extended period, which it can then access using an
existing exploit.  While it doesn't cause the exploit itself, and while
it's not the only thing that can stall a kernel thread when accessing a
memory location, it's one of the few that never needs privilege.

We can add a flag, allowing userfaultfd to be restricted, so that in
general it won't be useable by arbitrary user programs, but in
environments that require userfaultfd it can be turned back on.

Add a global sysctl knob "vm.unprivileged_userfaultfd" to control
whether userfaultfd is allowed by unprivileged users.  When this is
set to zero, only privileged users (root user, or users with the
CAP_SYS_PTRACE capability) will be able to use the userfaultfd
syscalls.

Andrea said:

: The only difference between the bpf sysctl and the userfaultfd sysctl
: this way is that the bpf sysctl adds the CAP_SYS_ADMIN capability
: requirement, while userfaultfd adds the CAP_SYS_PTRACE requirement,
: because the userfaultfd monitor is more likely to need CAP_SYS_PTRACE
: already if it's doing other kind of tracking on processes runtime, in
: addition of userfaultfd.  In other words both syscalls works only for
: root, when the two sysctl are opt-in set to 1.

[dgilbert@redhat.com: changelog additions]
[akpm@linux-foundation.org: documentation tweak, per Mike]
Link: http://lkml.kernel.org/r/20190319030722.12441-2-peterx@redhat.com
Change-Id: Ied2500a773b06ac1fdc378e61fd5403a270114a6
Signed-off-by: Peter Xu <peterx@redhat.com>
Suggested-by: Andrea Arcangeli <aarcange@redhat.com>
Suggested-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Maxime Coquelin <maxime.coquelin@redhat.com>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Pavel Emelyanov <xemul@virtuozzo.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Martin Cracauer <cracauer@cons.org>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-04 23:39:13 +05:30
Yiwei Zhang
137b1d61b2 ANDROID: init: GKI: enable hidden configs for GPU
Add hidden configs to GKI_HACKS_TO_FIX so they are enabled for loadable
GPU modules built out-of-tree.

Bug: 154525079
Test: rebuild kernel binary and pass checkvintf
Change-Id: I51871132b6a0bd1a55f5db7a9f90177cbc20ef86
Signed-off-by: Yiwei Zhang <zzyiwei@google.com>
2025-09-04 23:39:12 +05:30
Todd Kjos
fea7bf43b3 arm64: configs: Add GKI_HACKS_to_FIX config
Enable config which selects a number of non-module
options which are usually selected by drivers built
as modules

Bug: 141266428
Change-Id: I8d95c96b74b2cfd861d68573135455a3392ff522
Signed-off-by: Todd Kjos <tkjos@google.com>
2025-09-04 23:39:11 +05:30
Todd Kjos
be3a16ae4b ANDROID: init: GKI: add GKI_HACKS_TO_FIX
Add CONFIG_GKI_HACKS_TO_FIX as a mechanism to force
hidden configs to be selected for modules that will be built
separately. Also used to select drivers that need to be
modularized.

As these issues are resolved upstream, the configs should
be removed from GKI_HACKS_TO_FIX

Bug: 141266428
Change-Id: Ic8b2a17cd3a389ac5ef999c8c79b5b5dfee73c8a
Signed-off-by: Todd Kjos <tkjos@google.com>
2025-09-04 23:39:11 +05:30
Uwe Kleine-König
6192276f34 of: restore old handling of cells_name=NULL in of_*_phandle_with_args()
Before commit e42ee61017f5 ("of: Let of_for_each_phandle fallback to
non-negative cell_count") the iterator functions calling
of_for_each_phandle assumed a cell count of 0 if cells_name was NULL.
This corner case was missed when implementing the fallback logic in
e42ee61017f5 and resulted in an endless loop.

Restore the old behaviour of of_count_phandle_with_args() and
of_parse_phandle_with_args() and add a check to
of_phandle_iterator_init() to prevent a similar failure as a safety
precaution. of_parse_phandle_with_args_map() doesn't need a similar fix
as cells_name isn't NULL there.

Affected drivers are:
 - drivers/base/power/domain.c
 - drivers/base/power/domain.c
 - drivers/clk/ti/clk-dra7-atl.c
 - drivers/hwmon/ibmpowernv.c
 - drivers/i2c/muxes/i2c-demux-pinctrl.c
 - drivers/iommu/mtk_iommu.c
 - drivers/net/ethernet/freescale/fman/mac.c
 - drivers/opp/of.c
 - drivers/perf/arm_dsu_pmu.c
 - drivers/regulator/of_regulator.c
 - drivers/remoteproc/imx_rproc.c
 - drivers/soc/rockchip/pm_domains.c
 - sound/soc/fsl/imx-audmix.c
 - sound/soc/fsl/imx-audmix.c
 - sound/soc/meson/axg-card.c
 - sound/soc/samsung/tm2_wm5110.c
 - sound/soc/samsung/tm2_wm5110.c

Thanks to Geert Uytterhoeven for reporting the issue, Peter Rosin for
helping pinpoint the actual problem and the testers for confirming this
fix.

Fixes: e42ee61017f5 ("of: Let of_for_each_phandle fallback to non-negative cell_count")
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Change-Id: I684efc01df23ea32c578c1da4f8ea6fcf6f03ced
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rob Herring <robh@kernel.org>
2025-09-04 21:45:31 +05:30
Uwe Kleine-König
b041b5339b of: Let of_for_each_phandle fallback to non-negative cell_count
Referencing device tree nodes from a property allows to pass arguments.
This is for example used for referencing gpios. This looks as follows:

	gpio_ctrl: gpio-controller {
		#gpio-cells = <2>
		...
	}

	someothernode {
		gpios = <&gpio_ctrl 5 0 &gpio_ctrl 3 0>;
		...
	}

To know the number of arguments this must be either fixed, or the
referenced node is checked for a $cells_name (here: "#gpio-cells")
property and with this information the start of the second reference can
be determined.

Currently regulators are referenced with no additional arguments. To
allow some optional arguments without having to change all referenced
nodes this change introduces a way to specify a default cell_count. So
when a phandle is parsed we check for the $cells_name property and use
it as before if present. If it is not present we fall back to
cells_count if non-negative and only fail if cells_count is smaller than
zero.

Change-Id: Ic7a6a5e667d46847becb2a9593a00ba6db49fc98
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rob Herring <robh@kernel.org>
2025-09-04 21:45:13 +05:30
Trishool Narayanasetty
fdc6d28a01 arm64: configs: trinket: Disable SLUB_DEBUG
Disable CONFIG_SLUB_DEBUG in perf_defconfig
to save few MBs of slab memory.

Change-Id: I7512277a86c71989b0a80619afb30e06803820ed
Signed-off-by: Trishool Narayanasetty <tnarayan@codeaurora.org>
2025-09-04 21:39:44 +05:30
theshaenix
b87a245a99 arm64: configs: Disable MMC test module 2025-09-04 21:39:09 +05:30
theshaenix
203baf7e4e arm64: configs: Disable mpq dvb demux modules 2025-09-04 21:38:24 +05:30
Michael Bestas
4f63f6218c power: reset: Force a warm reboot when in panic
Change-Id: I68697d292aaa770a7eb1424a1e423f339628acf7
2025-09-04 21:37:26 +05:30
Saravana Kannan
c46609d5a5 arm64: configs: Disable HW tracing features
HW tracing features shouldn't be enabled in any final product. So
disable it.

Bug: 154966878
Signed-off-by: Saravana Kannan <saravanak@google.com>
Change-Id: I6603e71b0912dd89d653bb0bd36a0a4cb8b504e1
2025-09-04 21:36:35 +05:30
Michael Bestas
23ad416291 power: reset: Move in_panic handling out of dload mode
* Some devices might want to use that logic
  without enabling download mode

Change-Id: Idd4a2cc8a47041740f8d4e9f43bffd84fae5830d
2025-09-04 21:35:39 +05:30
Will McVicker
4d91e7f524 GKI: ARM: dts: msm: disable coresight for atoll/sdmmagpie/sm6150/sm8150/trinket
Coresight is used for debugging purposes. When the debugging configs are
disabled, having these included causes power regressions due to clks
being left on. So lets disable all the coresight DT entries by default.

Signed-off-by: Will McVicker <willmcvicker@google.com>
Bug: 156429236
Test: compile, verify list of probed devices
Change-Id: I84f9c874f2f5e8720ced23c7b4268d1b536b96a7
2025-09-04 21:35:04 +05:30
Yabin Cui
e7d40e3672 msm: kgsl: introduce CONFIG_CORESIGHT_ADRENO.
We want to build coresight drivers as builtin drivers. But
adreno-coresight.c in msm_adreno.ko calls coresight functions.
To avoid exporting new symbols in vmlinux and breaking the ABI, this
patch separates adreno-coresight.c into CONFIG_CORESIGHT_ADRENO.
CONFIG_CORESIGHT_ADRENO is only enabled when both coresight and adreno
are builtin drivers.

Bug: 167414982
Bug: 170753932
Signed-off-by: Yabin Cui <yabinc@google.com>
Change-Id: I7488293445ade738ba03cc457320e0d74f910886
2025-09-04 21:34:30 +05:30
Aaron Ding
893f36add3 arm64: configs: vendor: Disable CONFIG_SECURITY_SMACK
Security hardening:
1. unset CONFIG_SECURITY_SMACK which implicitly enable CONFIG_NETLABEL
2. set CONFIG_SECURITY_NETWORK which CONFIG_SECURITY_SELINUX depends on

Bug: 198690429
Test: Manual testing, vts/vts-kernel, pts/base

Change-Id: Iff2a4ce1dc7897bbeec57a0b3966fdb481f2d4e4
Signed-off-by: Aaron Ding <aaronding@google.com>
Signed-off-by: Roger Liao <rogerliao@google.com>
2025-09-04 21:31:29 +05:30
Alexander Potapenko
e84dcbe131 arm64: configs: vendor: initialize locals with zeroes
This patch switches compiler-based stack initialization from 0xAA
to zero pattern, resulting in much more efficient code and saner
defaults for uninitialized local variables.

Bug: 154198143
Test: run cuttlefish and observe the following lines in dmesg:
      test_stackinit: all tests passed!
      test_meminit: all 130 tests passed!

Signed-off-by: Alexander Potapenko <glider@google.com>
Change-Id: I49821914df887760e90295d91fa54a2ebda8240b
2025-09-04 21:29:57 +05:30
Jonglin Lee
b7e1c65fa4 arm64: configs: vendor: Disable stability debug configs
Disable the following stability debug configs for shipping:

CONFIG_EDAC_KRYO_ARM64_PANIC_ON_UE

Bug: 131191106
Bug: 129433164
Bug: 129709115
Change-Id: I376fd0f070e176f41c7dd213822341a7d7de15a1
Signed-off-by: Jonglin Lee <jonglin@google.com>
2025-09-04 21:28:40 +05:30
Steve Muckle
c8c98e9d5d arm64: configs: vendor: turn off CONFIG_MEMORY_STATE_TIME
This feature is not being used.

Bug: 117847156
Change-Id: Ia398da799856ee93bd6097204ab42dff8a617f2a
Signed-off-by: Steve Muckle <smuckle@google.com>
2025-09-04 21:27:43 +05:30
Patrick Tjin
55141f95e7 arm64: configs: vendor: add security configs
CONFIG_BUG_ON_DATA_CORRUPTION (OS.KRN.2.General.11)
CONFIG_SCHED_STACK_END_CHECK  (OS.KRN.2.General.12)
CONFIG_DEFAULT_MMAP_MIN_ADDR to 32768

Bug: 132751128
Bug: 132741349
Bug: 132742402
Test: Boot to home
Change-Id: I337fb0fcb4bf7379a5957bf66e6debbed9f3f98d
Signed-off-by: Patrick Tjin <pattjin@google.com>
2025-09-04 21:26:39 +05:30
Alexander Potapenko
11b38843b5 arm64: configs: vendor: enable heap and stack initialization.
This patch enables CONFIG_INIT_STACK_ALL=y and
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y, effectively turning on stack and heap
initialization in GKI kernels.

Doing so will help us mitigate information leaks and make code that
depends on uninitialized memory execute deterministically. We'll also
get coverage for the initialization features on the existing kernel
tests.

Bug: 144999193
Change-Id: I40ad526b2e595c84b122b0308d967a3874564252
Signed-off-by: Alexander Potapenko <glider@google.com>
2025-09-04 21:25:22 +05:30
Elena Petrova
9b18708214 arm64: configs: vendor: Enable CRYPTO_DRBG_HASH, CRYPTO_DRBG_CTR
Enable Deterministic Random Bit Generators (DRBG) as required by NIAP
mobile device certification.

This change also implicitly enables CRYPTO_DRBG_HMAC.

Bug: 133263874
Signed-off-by: Elena Petrova <lenaptr@google.com>
Change-Id: Icdb9b5f486d19285dd85b36e9297e21537a46c00
2025-09-04 21:23:37 +05:30
Yan Yan
274f059943 arm64: configs: vendor: CONFIG_XFRM_MIGRATE=y
To be able to update addresses of an IPsec SA, as required by MOBIKE

Generated via:
  make ARCH=arm64 <device>_defconfig
  update config
  make ARCH=arm64 savedefconfig
  mv defconfig arch/arm64/configs/<device>_defconfig

Test: built and boot
Bug: 169170652
Signed-off-by: Yan Yan <evitayan@google.com>
Change-Id: I8922502fa8c0704cb1da1fc2eab26489fb18bf4a
2025-09-04 21:20:02 +05:30
Yan Yan
2311125fd1 arm64: configs: vendor: CONFIG_CRYPTO_CHACHA20POLY1305=y
Enable ChaCha20Poly1305 for the usage of IPsec

Generated via:
  make ARCH=arm64 <device>_defconfig
  update config
  make ARCH=arm64 savedefconfig
  mv defconfig arch/arm64/configs/<device>_defconfig

Test: built and boot
Bug: 161717358
Signed-off-by: Yan Yan <evitayan@google.com>
Change-Id: If4fc953e8e808536106d331478f50255a55994d8
2025-09-04 21:19:11 +05:30
Srinivasarao P
fdb48d66eb arm64: configs: vendor: Enable CONFIG_DM_BOW
Enable DM-BOW for Android userdata check point feature.

Change-Id: Id5d38ca6f68c81b2e3cedca4de80abd53e3094e0
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2025-09-04 21:16:55 +05:30
Swetha Chikkaboraiah
3d6f137794 arm64: configs: vendor: Disable DEBUG_FS
Debugfs is not needed on user builds, so disabling
same at compile time for ARM 64.

Change-Id: I01a4dd199a357dd85838c071020bf966079a2092
2025-09-04 21:16:54 +05:30
Patrick Rohr
864441ca34 arm64: configs: vendor: Enable bandwidth limiting options
Enable the following options to support go/bandwidth-limiting:
- CONFIG_NET_SCH_TBF
- CONFIG_NET_CLS_MATCHALL
- CONFIG_NET_ACT_POLICE
- CONFIG_NET_ACT_BPF

NET_ACT_BPF is enabled in ACK for android13-5.10+ & up:
  https://android-review.googlesource.com/c/kernel/common/+/1860654
  https://android-review.googlesource.com/c/kernel/common/+/1856374
but there is no longer an ACK developer branch for older kernels.

The remaining options were previously enabled in GKI.

Bug: 157552970
Test: TreeHugger
Signed-off-by: Patrick Rohr <prohr@google.com>
Change-Id: I53035d0e53d58ac9565dcafb5158b8cc99a8d00f
2025-09-04 21:16:53 +05:30
Chris Ye
d53a2733c8 ANDROID: arm64: configs: vendor: enable hid-playstation driver/rumble
To enable DualSense driver, i.e. hid-playstation, we need to set
CONFIG_HID_PLAYSTATION to "y". To enable Dualsense rumble, we need to
set CONFIG_PLAYSTATION_FF to "y".

Bug: 167947264

Signed-off-by: Chris Ye <lzye@google.com>
Change-Id: I26fb915e33b511feb3cf3557ec36bda0dc1b4e04
2025-09-04 21:16:52 +05:30
theshaenix
ed966ee721 config: set CONFIG_ANDROID_LOW_MEMORY_KILLER to n 2025-09-04 21:08:59 +05:30
theshaenix
539198905c added build script 2025-09-04 21:08:27 +05:30
theshaenix
1a0aaa0ccd configs: welcome ShadowBladeX 2025-08-29 13:46:30 +05:30
debdeep199x
7879014b13 arch:configs: set config_debug_fs
All HALs in device manifest are declared in FCM <= level 5
ERROR: files are incompatible: Runtime info and framework compatibility matrix are incompatible: No compatible kernel requirement found (kernel FCM version = 5).
For kernel requirements at matrix level 5, Kernel config errors:
    For config CONFIG_DEBUG_FS, value = y but required n
: Success
INCOMPATIBLE
2024-10-24 12:30:19 +00:00
debdeep199x
97ff196b47 ffs Android.bp --> Androidbp 2024-10-24 06:20:49 +00:00
debdeep199x
bc45868a21 drivers: add drivers for KernelSU 0.9.5 2024-10-21 15:30:16 +00:00
debdeep199x
9fdae32a7c Merge commit '38752ab9844857f2503bead4dc30b1a2ed89d2c2' into fourteen 2024-10-21 06:45:55 +00:00
debdeep199x
930f0d895d Merge commit '9ecf898947f7f0089c149337f15fba24a22bcb8a' into fourteen 2024-10-21 06:45:39 +00:00
debdeep199x
6313661ac3 Revert "drivers: introduce kernelsu"
This reverts commit 9198da5b10.
2024-10-18 06:23:26 +00:00
Egor Pilipenko
38752ab984 fixup! power: oplus_battery_msm7125_R: Run oplus_set_otg_switch_status on init early as possible
Signed-off-by: Egor Pilipenko <ctapchuk@gmail.com>
2024-06-02 18:31:56 +07:00
Egor Pilipenko
9ecf898947 Revert "power: oppo: Make the otg_switch read-only"
This reverts commit 932dca8be9.
2024-06-02 17:54:45 +07:00
debdeep199x
9198da5b10 drivers: introduce kernelsu 2024-05-23 15:30:07 +00:00
7212 changed files with 162665 additions and 164646 deletions

View File

@@ -1,48 +0,0 @@
ced7e0c8ca4be414095ad46b6363eaf8fb227d07:
title: 'net/qla3xxx: switch from ''pci_'' to ''dma_'' API'
mainline: 41fb4c1ba7478fe34c7e094e124e4ee4513b9763
upstream: 4c731d37cdd8bb66e4a6cff0ce69eb6ecf4e7620
fda9db2ddde56d0a4fa6e08604c5c02ed4656190:
title: 'net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues'
mainline: 89f45c30172c80e55c887f32f1af8e184124577b
upstream: 39437c89a3074b3e869dab2d0e65148923e327a5
1aa3bd40236223e2a8404b76d65e0e3c31ab91ba:
title: 'asix: Add check for usbnet_get_endpoints'
mainline: eaac6a2d26b65511e164772bec6918fcbc61938e
upstream: 1d267835dadc8cec3bd3da252171bb335f507cd3
73a7f8a478ab010be26db513967aacc263263b85:
title: 'bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()'
mainline: e009b2efb7a8850498796b360043ac25c8d3d28f
upstream: b39d97468acf9651ff68e44f0e0c7ebac4ecdca7
ff510bc907debb02a00d5be80c678fb54042eb01:
title: 'mm/memory-failure: check the mapcount of the precise page'
mainline: c79c5a0a00a9457718056b588f312baadf44e471
upstream: c6f50413f2aacc919b5de443aa080b94f5ebb21d
e5e8870a91aa5d8eeae9dfd3d6ab6cc6932a3f2b:
title: 'mm: fix unmap_mapping_range high bits shift bug'
mainline: 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d
upstream: 2db1c46c3913b8bc92fed235a344de2671fe9d8d
8d576e5e8705890e3f9f2bd0f5fe0de0832ac61f:
title: 'fuse: nlookup missing decrement in fuse_direntplus_link'
mainline: b8bd342d50cbf606666488488f9fea374aceb2d5
upstream: 437d8898fbf40b92516aef697b5638acccb7a6f9
24f1cf2efb69d6cc0cb5d50291f9eb4c95e6f29c:
title: 'netfilter: nf_tables: Reject tables of unsupported family'
mainline: f1082dd31fe461d482d69da2a8eccfeb7bf07ac2
upstream: 087d38ae0fd5a9a41b949e97601b4b0d09336f19
895547de81e54a04152a30c1dc1de41be55245e5:
title: 'net: add a route cache full diagnostic message'
mainline: 22c2ad616b74f3de2256b242572ab449d031d941
upstream: 47468fae2704151503214f4d4327c164118247fd
2ee1663e55e8977ff4e86354691f47a45ab20acc:
title: 'net/dst: use a smaller percpu_counter batch for dst entries accounting'
mainline: cf86a086a18095e33e0637cb78cda1fcf5280852
upstream: 9635bd0a5296e2e725c6b33e530d0ef582e2f64e
e0411760af63f47a43cf1971cd2328ec449645cf:
title: 'ipv6: make ip6_rt_gc_expire an atomic_t'
mainline: 9cb7c013420f98fa6fd12fc6a5dc055170c108db
upstream: b4cfbeaebeb355dbaefb218470055de2e8a73020
12cda1d5779e05665140a7e8fc88297e4ef9b418:
title: 'ipv6: remove max_size check inline with ipv4'
mainline: af6d10345ca76670c1b7c37799f0d5576ccef277
upstream: 95372b040ae689293c6863b90049f1af68410c8b

View File

@@ -1,492 +0,0 @@
634e7f82e8c70e7f17de0b0c48fd13f35e569043:
title: 'f2fs: explicitly null-terminate the xattr list'
mainline: e26b6d39270f5eab0087453d9b544189a38c8564
upstream: 16ae3132ff7746894894927c1892493693b89135
0e4e1621037f71e6ce79cc4f1c0d76150de207a4:
title: 'ASoC: cs43130: Fix the position of const qualifier'
mainline: e7f289a59e76a5890a57bc27b198f69f175f75d9
upstream: f35d77a3c58a9be14531185ff47c3f0d867382ad
92937c54dad3773d96442d1e36bec981fb8d2c7d:
title: 'ASoC: cs43130: Fix incorrect frame delay configuration'
mainline: aa7e8e5e4011571022dc06e4d7a2f108feb53d1a
upstream: 1e8f3203c494cd382088eb64defed2d116a99c65
e0d5e7495b1562301f7d8afcfb109125d4e39e3e:
title: 'ASoC: rt5650: add mutex to avoid the jack detection failure'
mainline: cdba4301adda7c60a2064bf808e48fccd352aaa9
upstream: 48ce529c83522944f116f03884819051f44f0fb6
b2007da41920e3e1506bcae0ea5d67d82deaa1b4:
title: 'net/tg3: fix race condition in tg3_reset_task()'
mainline: 16b55b1f2269962fb6b5154b8bf43f37c9a96637
upstream: dc52503ad3ca93f3bc200b259f8ac56cef05a488
6a04e427ce1ced4962a1cb607c3beae5639787f9:
title: 'ASoC: da7219: Support low DC impedance headset'
mainline: 5f44de697383fcc9a9a1a78f99e09d1838704b90
upstream: 5324775cab629021225667b4fe0fe9b28cb4b200
dee75f1cda40e535bb660f6c342ec1a7c3b4b3e1:
title: 'drm/exynos: fix a potential error pointer dereference'
mainline: 73bf1c9ae6c054c53b8e84452c5e46f86dd28246
upstream: edfa0e9b334c3e88953297073835dfa576e1d564
fd2a03c0a010e92c62e5a242c8d1ef86cbe5e6b9:
title: 'clk: rockchip: rk3128: Fix HCLK_OTG gate register'
mainline: c6c5a5580dcb6631aa6369dabe12ef3ce784d1d2
upstream: 9e35336aecd6b82ed29c30d057bd07795ca9876f
9111572de29071a25887bc3ceb20ca794815fca5:
title: 'jbd2: correct the printing of write_flags in jbd2_write_superblock()'
mainline: 85559227211020b270728104c3b89918f7af27ac
upstream: 1574191683ca491a382eb120475df573b8a69efe
ebbce42e84a5b6dd1c08203b22f947e12b5838c5:
title: 'drm/crtc: Fix uninit-value bug in drm_mode_setcrtc'
mainline: 3823119b9c2b5f9e9b760336f75bc989b805cde6
upstream: 3df929b0b60fd82c58ba5b807bc9bdc77d1550c6
1e00941f86357671797d8cdaf7a9f96a74e9ee3b:
title: 'tracing: Have large events show up as ''[LINE TOO BIG]'' instead of nothing'
mainline: b55b0a0d7c4aa2dac3579aa7e6802d1f57445096
upstream: fcd96231c7d79c5c03ac2fc73345e552caf7d7b5
f4848e88a912d30601968682a2cf7483637b1477:
title: 'tracing: Add size check when printing trace_marker output'
mainline: 60be76eeabb3d83858cc6577fc65c7d0f36ffd42
upstream: 9a9d6a726688a0ed9fb16458d6918e51aadce9b5
76ea9993683668623fbe34e433e64b176941ad11:
title: 'ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI'
mainline: 712292308af2265cd9b126aedfa987f10f452a33
upstream: 70887567dd96c2f5b46d853b603de30ea22741a2
92125c979c109cf2e1c5747b6967e2ea9f82b2bc:
title: 'reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning'
mainline: b5ec294472794ed9ecba0cb4b8208372842e7e0d
upstream: 8155a089c4a5d9afe6506463537944492b9b2839
f56eab3175dcce9f9a198db019a2460d37bd8e65:
title: 'Input: atkbd - skip ATKBD_CMD_GETID in translated mode'
mainline: 936e4d49ecbc8c404790504386e1422b599dec39
upstream: eb59410d1cca3f1223b65e7562dc0d9acae26b39
83363b85a42a78939fead3717f1e5e9c2d088400:
title: 's390/scm: fix virtual vs physical address confusion'
mainline: b1a6a1a77f0666a5a6dc0893ab6ec8fcae46f24c
upstream: e695700535c286e4f4f5a7c19e36ff6d61a25a4a
2fe8f0179e36aab4ec1b75016b1d014476d69c04:
title: 'ARC: fix spare error'
mainline: aca02d933f63ba8bc84258bf35f9ffaf6b664336
upstream: c536440b603111f5fcafa36050d2481f29f23e92
b2c25c249b8c3bc24dc867b5a0bcd88171eca56b:
title: 'Input: xpad - add Razer Wolverine V2 support'
mainline: c3d1610345b79cbe29ef6ca04a4780eff0d360c7
upstream: 01a92b3c981219d22f16bdc612e9a2afa515a5dd
de80986229942606e6c9f0f2d27b0a9697c8ad3a:
title: 'drm/crtc: fix uninitialized variable use'
mainline: 6e455f5dcdd15fa28edf0ffb5b44d3508512dccf
upstream: c39fa3fb4a7d22b915dfd86fc7e94bfeb03def3e
40db091e8d96c76059905bd7398ee00f2eb8c042:
title: 'binder: fix comment on binder_alloc_new_buf() return value'
mainline: e1090371e02b601cbfcea175c2a6cc7c955fa830
upstream: 10cfdc51c399890e535ccc16ed3f58b7c5e8f93e
572879a25b2217fba182dc8504abc783af98217e:
title: 'uio: Fix use-after-free in uio_open'
mainline: 0c9ae0b8605078eafc3bea053cc78791e97ba2e2
upstream: 3174e0f7de1ba392dc191625da83df02d695b60c
4de569f9413900bfb66722ef06849c6dd08ec042:
title: 'coresight: etm4x: Fix width of CCITMIN field'
mainline: cc0271a339cc70cae914c3ec20edc2a8058407da
upstream: d3408053bdfcb5992fe7ff01627a96e4293ffd21
08c21102abea6d209abc265063459da3d4ee4750:
title: 'x86/lib: Fix overflow when counting digits'
mainline: a24d61c609813963aacc9f6ec8343f4fcaac7243
upstream: cd6382e261952a7c2f1b8326bb9c11b074168d6c
34d8bcffbe7c87b98ba9697a0a2b0c82e76ad325:
title: 'EDAC/thunderx: Fix possible out-of-bounds string access'
mainline: 475c58e1a471e9b873e3e39958c64a2d278275c8
upstream: 71c17ee02538802ceafc830f0736aa35b564e601
4e40d13cc6bf0a594558125658cd54d7938c0160:
title: 'powerpc: add crtsavres.o to always-y instead of extra-y'
mainline: 1b1e38002648819c04773647d5242990e2824264
upstream: b7b85ec5ec15d5a3bc72ee1af35919caa91de9cb
a62184e669bcf638ece2811aea8549cff21f1ee6:
title: 'powerpc: remove redundant ''default n'' from Kconfig-s'
mainline: 719736e1cc12b2fc28eba2122893a449eee66d08
upstream: de07ea70ce6f257b8647895b98f4ddc4fee764b0
a75255720ea11b327ceaeaea9cd998bf76f0443c:
title: 'powerpc/44x: select I2C for CURRITUCK'
mainline: 4a74197b65e69c46fe6e53f7df2f4d6ce9ffe012
upstream: cce02fde090c5a828fd487c84433d8abcc36c14e
4476a80ea1038fb3b93f62b209d0b71657e5669c:
title: 'powerpc/pseries/memhotplug: Quieten some DLPAR operations'
mainline: 20e9de85edae3a5866f29b6cce87c9ec66d62a1b
upstream: fddcaa763b053c5c983907ed6c1a4a141e54f060
0fe15f7b9cb118f8e1f1e0fbf54a29f812b15605:
title: 'powerpc/pseries/memhp: Fix access beyond end of drmem array'
mainline: bd68ffce69f6cf8ddd3a3c32549d1d2275e49fc5
upstream: bb79613a9a704469ddb8d6c6029d532a5cea384c
5007064eca0329d3b10635e6e79682ffee1a7ecf:
title: 'selftests/powerpc: Fix error handling in FPU/VMX preemption tests'
mainline: 9dbd5927408c4a0707de73ae9dd9306b184e8fee
upstream: ee23d012aea27e6ae6408803c4dd4a7b228667a0
78080fd925adc07e20d346105ae760ebe0565764:
title: 'powerpc/powernv: Add a null pointer check in opal_event_init()'
mainline: 8649829a1dd25199bbf557b2621cedb4bf9b3050
upstream: 8422d179cf46889c15ceff9ede48c5bfa4e7f0b4
228d1909628f30b8d08476e5d95cc42299106eca:
title: 'powerpc/imc-pmu: Add a null pointer check in update_events_in_group()'
mainline: 0a233867a39078ebb0f575e2948593bbff5826b3
upstream: 75fc599bcdcb1de093c9ced2e3cccc832f3787f3
e18751caa633cdd72d12c0cc18b0ff031164ba8b:
title: 'mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response'
mainline: 923fb6238cb3ac529aa2bf13b3b1e53762186a8b
upstream: 238f46e6bbe689fb70d3933ffc2b9b7b0caf38b9
607acc13f86bf0acb33fef6aa25b3d5a02964566:
title: 'ACPI: video: check for error while searching for backlight device parent'
mainline: ccd45faf4973746c4f30ea41eec864e5cf191099
upstream: 556f02699d33c1f40b1b31bd25828ce08fa165d8
96a4f056a48e452dd59358613be23937b3fa60e1:
title: 'net: netlabel: Fix kerneldoc warnings'
mainline: 294ea29113104487a905d0f81c00dfd64121b3d9
upstream: d717dc44f3ae18cb8524c6fd727836efe53ec8ad
c3eb5ab095b46e82564541f4b5bfcc28786a9aec:
title: 'netlabel: remove unused parameter in netlbl_netlink_auditinfo()'
mainline: f7e0318a314f9271b0f0cdd4bfdc691976976d8c
upstream: eb9743bdb23da4136fe3a39b61f3c2fa7f8276d8
1456753483efd25769fdac097c4d4cf3c0deb949:
title: 'calipso: fix memory leak in netlbl_calipso_add_pass()'
mainline: ec4e9d630a64df500641892f4e259e8149594a99
upstream: 9a8f811a146aa2a0230f8edb2e9f4b6609aab8da
27f0c87acc3e816ba6f969888334c8c72f491b25:
title: 'mtd: Fix gluebi NULL pointer dereference caused by ftl notifier'
mainline: a43bdc376deab5fff1ceb93dca55bcab8dbdc1d6
upstream: aeba358bcc8ffddf9b4a9bd0e5ec9eb338d46022
bd4fe044189e5e33e38f681a7eba5e862160e3f7:
title: 'crypto: virtio - Handle dataq logic with tasklet'
mainline: fed93fb62e05c38152b0fc1dc9609639e63eed76
upstream: 96be18c8fff9d57e29621386e2fa17268383ea27
3d1343b49d7b745740609c97bbd1459fb05a2db8:
title: 'crypto: ccp - fix memleak in ccp_init_dm_workarea'
mainline: a1c95dd5bc1d6a5d7a75a376c2107421b7d6240d
upstream: 063f6c37b06c115b1d8336d5dac7ea4f7c9ffe53
1371d1aac1d6b88b0aff31013be162b0caf13d26:
title: 'crypto: af_alg - Disallow multiple in-flight AIO requests'
mainline: 67b164a871af1d736f131fd6fe78a610909f06f3
upstream: 19af0310c8767c993f2a5d5261e4df3f9f465ce1
cb2e4d4c3197d8f2ab3e295bee5273bdb0f50bd3:
title: 'crypto: sahara - remove FLAGS_NEW_KEY logic'
mainline: 8fd183435728b139248a77978ea3732039341779
upstream: 6ccb0052254f97e5f4c4b98befdb15de7efcde8d
726ac2c4fa83c53364a57d7479b0ac42f9057aa6:
title: 'crypto: sahara - fix ahash selftest failure'
mainline: afffcf3db98b9495114b79d5381f8cc3f69476fb
upstream: 9c241bed6d321355b41dce62e2c527fc1788c403
e7d1a334957ed6f85ff14bc20124a0f7472c656e:
title: 'crypto: sahara - fix processing requests with cryptlen < sg->length'
mainline: 5b8668ce3452827d27f8c34ff6ba080a8f983ed0
upstream: 6aff781a57751247c3bc51dce2a3038ca0d31c36
e4adbef4abb98a739765ed95a33453bf10f7c1c8:
title: 'crypto: sahara - fix error handling in sahara_hw_descriptor_create()'
mainline: ee6e6f0a7f5b39d50a5ef5fcc006f4f693db18a7
upstream: 71ba0d44a741640a962d4a6092afc84e976379bc
6e45fa30b4b1a531d8867ee85baec327dd6602d6:
title: 'pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()'
mainline: 86222a8fc16ec517de8da2604d904c9df3a08e5d
upstream: 3b333cded94fbe5ce30d699b316c4715151268ae
120738293f95e68c8eca2ab81c768b7f45389929:
title: 'crypto: virtio - Wait for tasklet to complete on device remove'
mainline: 67cc511e8d436456cc98033e6d4ba83ebfc8e672
upstream: 9cef719eefbc3956016f701cc026d7eb9834ffcb
e62a797c5d8d58f318c17ec81c0ecbc6dec2f6f0:
title: 'crypto: sahara - fix ahash reqsize'
mainline: efcb50f41740ac55e6ccc4986c1a7740e21c62b4
upstream: dff90a1b4c980b6ddf4ec6cb5167eb08e5026e82
49816cb9a0a59fd5293841ec0fb43cd795882133:
title: 'crypto: sahara - fix wait_for_completion_timeout() error handling'
mainline: 2dba8e1d1a7957dcbe7888846268538847b471d1
upstream: 882eba76746aa86d3295112fbb140829bd1145db
3f01b32b887839e9884e6c73137383647578d491:
title: 'crypto: sahara - improve error handling in sahara_sha_process()'
mainline: 5deff027fca49a1eb3b20359333cf2ae562a2343
upstream: 4532bf0aaedae56a9a0313f6a8e19f1536a076ae
81a7245bbae96e94e99775f9ed7816c56d44ec62:
title: 'crypto: sahara - fix processing hash requests with req->nbytes < sg->length'
mainline: 7bafa74d1ba35dcc173e1ce915e983d65905f77e
upstream: 8bb4be72f74b13d51e5e460441b97618252ce481
ab2940679b406a2cd07178e5e0178cf9a6546e39:
title: 'crypto: sahara - do not resize req->src when doing hash operations'
mainline: a3c6f4f4d249cecaf2f34471aadbfb4f4ef57298
upstream: 28076a1a44407a15442589780b1d06579504adc3
fb0e9e3f0e7837698efe7070fc875db673901c05:
title: 'crypto: scompress - return proper error code for allocation failure'
mainline: 6a4d1b18ef00a7b182740b7b4d8a0fcd317368f8
upstream: 1915874d67287ba1ab71825ae6a4efbb2a0e2b11
8b5ecff755cbfa45a1215921bf4e5782547f2f0b:
title: 'crypto: scompress - Use per-CPU struct instead multiple variables'
mainline: 71052dcf4be70be4077817297dcde7b155e745f2
upstream: f8f261f9ade28894f5b547d1ec2a905308990f28
17c8b716fd42226a901eeb0dfb1ff00347e9f588:
title: 'crypto: scomp - fix req->dst buffer overflow'
mainline: 744e1885922a9943458954cfea917b31064b4131
upstream: 1142d65c5b881590962ad763f94505b6dd67d2fe
72daedd6e82587cc8988ddea958dea2838b01cb4:
title: 'NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT'
mainline: 037e56a22ff37f9a9c2330b66cff55d3d1ff9b90
upstream: 1b297c8879954e09b1b8fbdd77a58f01fc4618a1
26459b2b58fa2eba9f12275d7e2d8d1dc9794677:
title: 'bpf, lpm: Fix check prefixlen before walking trie'
mainline: 9b75dbeb36fcd9fc7ed51d370310d0518a387769
upstream: 1b653d866e0fe86e424fe4b8fa743d716eee71b6
bd06c9590761e3ff8827d9a1c8581625be0b9c79:
title: 'wifi: libertas: stop selecting wext'
mainline: 8170b04c2c92eee52ea50b96db4c54662197e512
upstream: a4087ece661fe2d4f95c2625a0b7d5dd0080229b
fdf6985a539e1435a5ef7b4de9cf15a2c1c8406d:
title: 'ncsi: internal.h: Fix a spello'
mainline: 195a8ec4033b4124f6864892e71dcef24ba74a5a
upstream: 3cb8ac9da29fac5ee4e6813f2c3e12690ee84a98
05fd39a024db3af5ea78291dcf24af261e8a68d1:
title: 'net/ncsi: Fix netlink major/minor version numbers'
mainline: 3084b58bfd0b9e4b5e034f31f31b42977db35f12
upstream: 80a3ca0918eed409291a816fbed6b44678d01641
c2b0d1feb5b926fc9ba0c386454570de69dde649:
title: 'firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create()'
mainline: 964946b88887089f447a9b6a28c39ee97dc76360
upstream: fbdc266ebf438e711ebd48d9b1370e30f4e31096
897f298f90efb10cf81393cd7e0190b37c2ebbc9:
title: 'rtlwifi: Use ffs in <foo>_phy_calculate_bit_shift'
mainline: 6c1d61913570d4255548ac598cfbef6f1e3c3eee
upstream: a9386c2f247611bfad7510b64eb2932e2c555a5a
bd03ed76b048543b7401018196dc0526caa00ec9:
title: 'wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior'
mainline: bc8263083af60e7e57c6120edbc1f75d6c909a35
upstream: 6b08b1e6d85f67f5782a49daf4725dc281ed9be7
88d5a3786e5cb6a10065d7e26c250bb8c848a2a2:
title: 'wifi: rtlwifi: add calculate_bit_shift()'
mainline: 52221dfddbbfb5b4e029bb2efe9bb7da33ec1e46
upstream: 09ceb7f1710717628488f5686cc083314c693e54
2128cf6809ee76d13a74481b5985e30ec5485a45:
title: 'wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift()'
mainline: 969bc926f04b438676768aeffffffb050e480b62
upstream: ad3d745248c04faa6e60abb9d2dee9555faa470c
e393571a6bd85fd5ffec367d11483d52b0c80718:
title: 'wifi: rtlwifi: rtl8192c: using calculate_bit_shift()'
mainline: 1dedc3a6699d827d345019e921b8d8f37f694333
upstream: 29e2ecd3fdeb952696f9267d49257e93dca32321
4d6a0f73aba3e60b208083788b48f92c13608888:
title: 'wifi: rtlwifi: rtl8192cu: using calculate_bit_shift()'
mainline: f4088c8fcbabadad9dd17d17ae9ba24e9e3221ec
upstream: 1d5fd854141a1a073381f3356109ebba8709b4c6
60ca01685d4eb09fd2705165e9def96b64dc7da5:
title: 'wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()'
mainline: 3d03e8231031bcc65a48cd88ef9c71b6524ce70b
upstream: 8f79e8a983010ac6e31e2ce6bde6d00e2c9a4e4e
915183b8e7402ad215ba4a3d7b034ca1b25bd70f:
title: 'rtlwifi: rtl8192de: make arrays static const, makes object smaller'
mainline: b05897ca8c821a16ac03850c4704fe460b3f21a0
upstream: 86cd6555b79b22b64bf49a031bc056c4d4c447bd
08b7dd75bc7b17d784e8e765225d24d7158f5aeb:
title: 'wifi: rtlwifi: rtl8192de: using calculate_bit_shift()'
mainline: b8b2baad2e652042cf8b6339939ac2f4e6f53de4
upstream: 9f1500e8c3a50be139e87d71394d5109e46e3dad
3ab28359e0eb80b57a58893db84412b5e85d7777:
title: 'wifi: rtlwifi: rtl8192ee: using calculate_bit_shift()'
mainline: 63526897fc0d086069bcab67c3a112caaec751cb
upstream: 6642a375aa95f4344ab1fc7332f2d45c20ea2d63
a25a56719d96f567cb73dba6bddc2f4b5e7ef420:
title: 'wifi: rtlwifi: rtl8192se: using calculate_bit_shift()'
mainline: ac32b9317063b101a8ff3d3e885f76f87a280419
upstream: 9e50da7d71796c662bb39dada2d3ca44c2bf2362
6ba5a14ad6f87a7d610a96c08cf1100b11583c7e:
title: 'Bluetooth: Fix bogus check for re-auth no supported with non-ssp'
mainline: d03376c185926098cb4d668d6458801eb785c0a5
upstream: f7f627ac761b2fb0c487e5aaff1585f1014ab9a6
6d5e17b3543373963fda337744203edf8e4f5c40:
title: 'ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()'
mainline: d375b98e0248980681e5e56b712026174d617198
upstream: 135414f300c5db995e2a2f3bf0f455de9d014aee
8f07604e4630933aeb436be46c38b7240725a2eb:
title: 'RDMA/usnic: Silence uninitialized symbol smatch warnings'
mainline: b9a85e5eec126d6ae6c362f94b447c223e8fe6e4
upstream: ef87ffe5e8093ea540803811b1496238d778069c
faf2ca73bc2b927d4ba2f830d57de1662ce77852:
title: 'media: pvrusb2: fix use after free on context disconnection'
mainline: ded85b0c0edd8f45fec88783d7555a5b982449c1
upstream: ec36c134dd020d28e312c2f1766f85525e747aab
27d74baf1b5b0f7fe7659b1359c29efdf1915982:
title: 'drm/bridge: Fix typo in post_disable() description'
mainline: 288b039db225676e0c520c981a1b5a2562d893a3
upstream: d1992dd1ba7a9b4353cc2c673233be297c8d5c96
bbf60e5c55914a70605910a108192c9eaf502907:
title: 'f2fs: fix to avoid dirent corruption'
mainline: 53edb549565f55ccd0bdf43be3d66ce4c2d48b28
upstream: 02160112e6d45c2610b049df6eb693d7a2e57b46
2a37830abde108247bac114a185b5661ad69eb82:
title: 'drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()'
mainline: 39c960bbf9d9ea862398759e75736cfb68c3446f
upstream: f55536f3377690f9e1b8f7fba5d19e371b73d20f
c465f32956eead2b3a38259c31d0e811d2b96f40:
title: 'drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()'
mainline: b5c5baa458faa5430c445acd9a17481274d77ccf
upstream: 98d47b927d85a4151d048a41b950d92e1b01e88f
31655ae29f5b0ad9fc6bf1b0d79032bb7f08dbae:
title: 'drm/radeon: check return value of radeon_ring_lock()'
mainline: 71225e1c930942cb1e042fc08c5cc0c4ef30e95e
upstream: 4d8d372eb7e865053b954f04ee34eeb1fed1da39
5eeba65918540f2e0cd6b8c09ffafd49436ecf0a:
title: 'ASoC: cs35l33: Fix GPIO name and drop legacy include'
mainline: 50678d339d670a92658e5538ebee30447c88ccb3
upstream: c03156a046ae69f1abc2d93b57d6f410729d2c84
ec3ed7b8f8f728621c66e1e29b6b281b3a76ed39:
title: 'ASoC: cs35l34: Fix GPIO name and drop legacy include'
mainline: a6122b0b4211d132934ef99e7b737910e6d54d2f
upstream: b02d4b488da9830762611dd07d206fd49cfd72cb
6af25088ade37074893cb9dbb9d515e4807739d6:
title: 'drm/msm/mdp4: flush vblank event on disable'
mainline: c6721b3c6423d8a348ae885a0f4c85e14f9bf85c
upstream: f7133b078dbe8e5973d5b569b9fd58b5ff068f2c
d25d4a3bbb225f6f6a5e13396b33d8f51d736d10:
title: 'drm/drv: propagate errors from drm_modeset_register_all()'
mainline: 5f8dec200923a76dc57187965fd59c1136f5d085
upstream: f6f65dac6c1b18f3a4fff214f80e08f92f873fed
b7e655dc8c70d3267aabf18fef0214a17fd10403:
title: 'drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()'
mainline: 7a2464fac80d42f6f8819fed97a553e9c2f43310
upstream: 21b1645660717d6126dd4866c850fcc5c4703a41
e7d18b4f0386f969ea7962389c04afeb3ff6feb1:
title: 'drm/radeon/dpm: fix a memleak in sumo_parse_power_table'
mainline: 0737df9ed0997f5b8addd6e2b9699a8c6edba2e4
upstream: a8b530d665fb6a0af23f94f7cca175a2122b3ed2
1bfe8303ba10f5bedc81d22675d4449e16ca0cba:
title: 'drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table'
mainline: 28c28d7f77c06ac2c0b8f9c82bc04eba22912b3b
upstream: afb2be8f4279799aee6f2451287bd6f594b2e1cd
1755d5eb6e59ad98a24166819c2495a376aa42ae:
title: 'media: cx231xx: fix a memleak in cx231xx_init_isoc'
mainline: 5d3c8990e2bbf929cb211563dadd70708f42e4e6
upstream: 68d7d5923f8a2f03193b27297252d0e7cc7045fc
d4030a0f227463e56c947b32329c9921f6540e71:
title: 'media: dvbdev: drop refcount on error path in dvb_device_open()'
mainline: a2dd235df435a05d389240be748909ada91201d2
upstream: 782a58a14de9f6551dc0e82c19e0caa6f7cc419c
792d62725c643e5f7638ea7b515c99a14c8e3737:
title: 'drm/amd/pm: fix a double-free in si_dpm_init'
mainline: ac16667237a82e2597e329eb9bc520d1cf9dff30
upstream: afe9f5b871f86d58ecdc45b217b662227d7890d0
a6e7ea708763a4cbe3d71042c9d3f3c595f379d7:
title: 'drivers/amd/pm: fix a use-after-free in kv_parse_power_table'
mainline: 28dd788382c43b330480f57cd34cde0840896743
upstream: 8a27d9d9fc9b5564b8904c3a77a7dea482bfa34e
99afdfa5464efb18504ec34b1770ea1a3f45cde9:
title: 'gpu/drm/radeon: fix two memleaks in radeon_vm_init'
mainline: c2709b2d6a537ca0fa0f1da36fdaf07e48ef447d
upstream: aa2bcb8cddd990e37a0c750a04a8bc3fbc1e0710
5b38ec02c46daabc1e4c2437a97b01ced82fc186:
title: 'watchdog: set cdev owner before adding'
mainline: 38d75297745f04206db9c29bdd75557f0344c7cc
upstream: c0a529ab2af0bbe06dc278655d2ad67725ee04bc
070a50e21971a395ea35e22ba5145c90bf6aca7b:
title: 'watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling'
mainline: f33f5b1fd1be5f5106d16f831309648cb0f1c31d
upstream: 3f30085bd96cbb0a6d9a7c70989d6fcae7b9b651
d0bbd4afe43cd08a408c737ad9d3d826deeb09ea:
title: 'binder: fix async space check for 0-sized buffers'
mainline: 3091c21d3e9322428691ce0b7a0cfa9c0b239eeb
upstream: 05088b886fea59cc827e5b5cedb66165cf532f72
8f95561662745f6212e830179c4dcf3e8f90e232:
title: 'Input: atkbd - use ab83 as id when skipping the getid command'
mainline: 58f65f9db7e0de366a5a115c2e2c0703858bba69
upstream: 6c42ba1fc7d39b1d72c1adc43ea2e519f5450b3c
98b497bbb72b5c745556a05985241d55ecf93df6:
title: 'xen-netback: don''t produce zero-size SKB frags'
mainline: c7ec4f2d684e17d69bbdd7c4324db0ef5daac26a
upstream: 5bb8270789c88c0e4ad78c0de2f274f2275c7f6c
553b9fbf5d0dc52038c1845033e0d0919cdc72ec:
title: 'binder: fix race between mmput() and do_exit()'
mainline: 9a9ab0d963621d9d12199df9817e66982582d5a5
upstream: 95b1d336b0642198b56836b89908d07b9a0c9608
09f65d968ecc015e036d03f6edc697ed6d317855:
title: 'binder: fix unused alloc->free_async_space'
mainline: c6d05e0762ab276102246d24affd1e116a46aa0c
upstream: e2425a67b5ed67496959d0dfb99816f5757164b0
e3ff741c08a574f4a541ca15781a76c8faacc15a:
title: 'tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug'
mainline: 71fee48fb772ac4f6cfa63dbebc5629de8b4cc09
upstream: 98654bc44cfe00f1dfc8caf48079c504c473fdc3
848d134a5b0b0139ae89155936f6f0009f418aac:
title: 'usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()'
mainline: ff2b89de471da942a4d853443688113a44fd35ed
upstream: 21ee23b1b0c36b032eb44f3492151e924832f33d
3b3fc47ec4e2ab45ad6193fa5f768af07a3aed39:
title: 'usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart'
mainline: e9d40b215e38480fd94c66b06d79045717a59e9c
upstream: 35efd8f23709cda8cf17cdf607645c1e92362150
f2860da15f7c3d6fbb7d7736bc6f9e5401328661:
title: 'usb: chipidea: wait controller resume finished for wakeup irq'
mainline: 128d849074d05545becf86e713715ce7676fc074
upstream: 744c753fe43a01c4ba74441f3367ce56e7c24dbb
f68f3eb091d0f045aa79a6101593eb8d81eaeea5:
title: 'usb: mon: Fix atomicity violation in mon_bin_vma_fault'
mainline: 2dd23cc4d0e6aa55cf9fb3b05f2f4165b01de81c
upstream: c9fe83c03d64e60e3bdf4ec118dd391ced800125
af21cdde8b15d3432699c214e0970ddac152f539:
title: 'ALSA: oxygen: Fix right channel of capture volume mixer'
mainline: a03cfad512ac24a35184d7d87ec0d5489e1cb763
upstream: 2d412772b60b435611f2bdf9ae66d284b1e4581c
e9dc3538ec3195a260e630bb807dcd1c59141b3c:
title: 'fbdev: flush deferred work in fb_deferred_io_fsync()'
mainline: 15e4c1f462279b4e128f27de48133e0debe9e0df
upstream: 14b84d9a230b69084dc967a2e837e8f77f16e239
72900b18da7e387b139b435d58968f2fbf1922df:
title: 'wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code'
mainline: b3943b3c2971444364e03224cfc828c5789deada
upstream: fef91b68a7a1ce6fe250c823f9eac0a8a4b86d67
e68bf9e612fc65950931a48e191d5bbdf3321db8:
title: 'wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors'
mainline: 5894d0089cbc146063dcc0239a78ede0a8142efb
upstream: a0aa5c8bacad6f5a6f5cd0aeba459b54f4f01c0f
d1a47b4a12ca2b93fda76fea730b12b677ad2cf1:
title: 'wifi: mwifiex: configure BSSID consistently when starting AP'
mainline: f0dd488e11e71ac095df7638d892209c629d9af2
upstream: 99f3aa8c515deb19b25056a2e9f589ba43098260
5ce237ebadbd8ba81f08f349159a0e7d14aaa853:
title: 'HID: wacom: Correct behavior when processing some confidence == false touches'
mainline: 502296030ec6b0329e00f9fb15018e170cc63037
upstream: 9fb6c2fd168add72754c8633e9d857f109d26c79
e890afc067e68597bca534724a9c034c406a679d:
title: 'MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()'
mainline: 89c4b588d11e9acf01d604de4b0c715884f59213
upstream: c6d7d05b5180b508b589c37820aafa76698f9c2c
e46223e9fa8f7dc8beb87d13cab9117150e4c7d0:
title: 'MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()'
mainline: 3c1e5abcda64bed0c7bffa65af2316995f269a61
upstream: 8e16eb8d75597a2bc1747e4fe4bd48cd219e0c08
9f63fb12c2ed40fbec3472326ccaa66f842f895e:
title: 'apparmor: avoid crash when parsed profile name is empty'
mainline: 55a8210c9e7d21ff2644809699765796d4bfb200
upstream: 9286ee97aa4803d99185768735011d0d65827c9e
2690f9764726feaa9616353bf3c44689d5743c88:
title: 'serial: imx: Correct clock error message in function probe()'
mainline: 3e189470cad27d41a3a9dc02649f965b7ed1c90f
upstream: e6e09a88789b818f970ab9eba427dee23f82f007
df281fb15750e6711a272493cfe73b175e74ff7f:
title: 'net: ravb: Fix dma_addr_t truncation in error case'
mainline: e327b2372bc0f18c30433ac40be07741b59231c5
upstream: 83fabba372ea78f9d0caaf15fe0b10b1704d84e0
4dcf29c0ff8acca60293aee99bc256e4f5215fe1:
title: 'ipvs: avoid stat macros calls from preemptible context'
mainline: d6938c1c76c64f42363d0d1f051e1b4641c2ad40
upstream: 614235859d46cae23af6120f48bca9c4250a5392
dd39912acd0b28dec249a9466db430d2b32f53c7:
title: 'kdb: Censor attempts to set PROMPT without ENABLE_MEM_READ'
mainline: ad99b5105c0823ff02126497f4366e6a8009453e
upstream: b06507c19c19199534c14e73a85c3a2c1cef0a36
5b7a52eb9c1d0dfa92d90e668646565c6293904f:
title: 'kdb: Fix a potential buffer overflow in kdb_local()'
mainline: 4f41d30cd6dc865c3cbc1a852372321eba6d4e4c
upstream: e7c31af67b6c8afa5e917520a61bc0d79d86db68
fcbf91b1a3630d288b639ac39b1ab10529ea1c4e:
title: 'i2c: s3c24xx: fix read transfers in polling mode'
mainline: 0d9cf23ed55d7ba3ab26d617a3ae507863674c8f
upstream: 47028cccbd01b6f540b0ab289c37dc0b8b46c561
ce27684d192649d7048f579ebf7d641095503f72:
title: 'i2c: s3c24xx: fix transferring more than one message in polling mode'
mainline: 990489e1042c6c5d6bccf56deca68f8dbeed8180
upstream: 0646c260c4b4b827b3e73ebe146cd06a4c11b09d
1b29cdadfd7b1c8199fb02f4308cf4ae3dd166b7:
title: 'Revert "NFSD: Fix possible sleep during nfsd4_release_lockowner()"'
mainline: ce3c4ad7f4ce5db7b4f08a1e237d8dd94b39180b
upstream: 10d75984495f7fe62152c3b0dbfa3f0a6b739c9b
be892379d02565cc7ee9c36a4efce9e19f2bf349:
title: 'crypto: scompress - initialize per-CPU variables on each CPU'
mainline: 8c3fffe3993b06dd1955a79bd2f0f3b143d259b3
upstream: a132ff91717c28498c602e62824f0684a02c8832

View File

@@ -1,681 +0,0 @@
7641f759ca67017f4c30a592499e57880eaff71f:
title: 'PCI: mediatek: Clear interrupt status before dispatching handler'
mainline: 4e11c29873a8a296a20f99b3e03095e65ebf897d
upstream: fd110f42e3679af082c427b7a2eeb942d5af470f
efb9a9043e383cc61ee11c500879b095c0ac69b4:
title: 'include/linux/units.h: add helpers for kelvin to/from Celsius conversion'
mainline: 23331e4893614deb555c65cdf115c8a28ed32471
upstream: cde2b87517dcf1e2aa887ad8a327b022e663dcea
7fa3ad8fce867983af62f56e43a3a2e9d3b6b3ed:
title: 'units: Add Watt units'
mainline: 2ee5f8f05949735fa2f4c463a5e13fcb3660c719
upstream: 0e7f574162e2f15f4b63f9892906f6a9afe4429f
c87d7d3960d2b5393160f7cff6d2044bb092f3aa:
title: 'units: change from ''L'' to ''UL'''
mainline: c9221919a2d2df5741ab074dfec5bdfc6f1e043b
upstream: 08333e4c4f3ffe6f9d916cc111d9f3429a6aa6c2
a86917709d63eed8549377e273ed49aaf6f0fe85:
title: 'units: add the HZ macros'
mainline: e2c77032fcbe515194107994d12cd72ddb77b022
upstream: fe79b37c6a59c623c9e64e53d5d9a0fffcfe977f
43f2c1d0c3164fa36be2176c14471487612cc7d4:
title: 'serial: sc16is7xx: set safe default SPI clock frequency'
mainline: 3ef79cd1412236d884ab0c46b4d1921380807b48
upstream: 5733959d6770324020e30dd9313cbeac0aec07ef
baa039a424b919c35e14d292209e6eb1c75a56ae:
title: 'driver core: add device probe log helper'
mainline: a787e5400a1ceeb0ef92d71ec43aeb35b1fa1334
upstream: b0465a4897047ece1e4275fefc88a66ee41c5379
5691ddf6d4ceb137c3411a02d3c1e8ec04dd63f3:
title: 'spi: introduce SPI_MODE_X_MASK macro'
mainline: 029b42d8519cef70c4fb5fcaccd08f1053ed2bf0
upstream: 93d63ccd20b55ae704d2c89664375e6f98552ee6
6b48b4b203794e7f13aa0f97451bad4acbae2cae:
title: 'serial: sc16is7xx: add check for unsupported SPI modes during probe'
mainline: 6d710b769c1f5f0d55c9ad9bb49b7dce009ec103
upstream: cccdd04643a7d21d0ca5d8205b15ec0ea1be1c6b
545e2955bf5596fac2adf3a7857fa459c544c148:
title: 'crypto: api - Disallow identical driver names'
mainline: 27016f75f5ed47e2d8e0ca75a8ff1f40bc1a5e27
upstream: 15a67115d487ea5cb8213915a4f75f58adb87cbc
ea24848bab92c13dbf6ab1b2174f9d036487d253:
title: 'PM: hibernate: Enforce ordering during image compression/decompression'
mainline: 71cd7e80cfde548959952eac7063aeaea1f2e1c6
upstream: 489506a2a0cbbfc7065d4d18ec6bb9baa3818c62
581445afd04cac92963d8b56b3eea08b320d6330:
title: 'hwrng: core - Fix page fault dead lock on mmap-ed hwrng'
mainline: 78aafb3884f6bc6636efcc1760c891c8500b9922
upstream: eafd83b92f6c044007a3591cbd476bcf90455990
669cd9318ec5d236f24973f8ca3faad5f31d4b6d:
title: 'rpmsg: virtio: Free driver_override when rpmsg_remove()'
mainline: d5362c37e1f8a40096452fc201c30e705750e687
upstream: 229ce47cbfdc7d3a9415eb676abbfb77d676cb08
ea4d137035293e76e164c462a2fedfb4287924cf:
title: 'parisc/firmware: Fix F-extend for PDC addresses'
mainline: 735ae74f73e55c191d48689bd11ff4a06ea0508f
upstream: 63cc5eb9b4102474423c4d6563fdf2ebbedf437f
c0ec35dc112eab077896d9f5b4c0a290b778c38a:
title: 'block: Remove special-casing of compound pages'
mainline: 1b151e2435fc3a9b10c8946c6aebe9f3e1938c55
upstream: d2d0b95ca1b5fefa3deed444a803c9f809db66cf
3b71309c662f680a1cd0175c3324e87d75464c5f:
title: 'powerpc: Use always instead of always-y in for crtsavres.o'
f3497ef9602db8907ed48225b0bd62a8c24dac6f:
title: 'x86/CPU/AMD: Fix disabling XSAVES on AMD family 0x17 due to erratum'
72a6d97e54e06db480e8cdbdab3cd0110295251b:
title: 'driver core: Annotate dev_err_probe() with __must_check'
mainline: e1f82a0dcf388d98bcc7ad195c03bd812405e6b2
upstream: d31978bfec1d251a75d4a038e564ef2ff9d8be40
8a65f3d70ff92f689506357203bfa8fef42ed031:
title: 'Revert "driver core: Annotate dev_err_probe() with __must_check"'
mainline: f601e8f37c2c1c52f2923fffc48204a7f7dc023d
upstream: b715d543d42e8e4ddd645193410cd4511fc46d6c
4fa22d4f07a2ab952ca8005d816b1eb7b4ae7bb8:
title: 'driver code: print symbolic error code'
mainline: 693a8e936590f93451e6f5a3d748616f5a59c80b
upstream: cf07cb793264fd3c459918dda7e839d6a279493c
7fa4477471e885e41d5272987d399084f8a90d72:
title: 'drivers: core: fix kernel-doc markup for dev_err_probe()'
mainline: 074b3aad307de6126fbac1fff4996d1034b48fee
upstream: 4d61ff79b439fe9cd5eaa3363a25853f230e2026
b2d336bd83e5129931108606348fe6d64b2ea95d:
title: 'vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING'
mainline: 6c21660fe221a15c789dee2bc2fd95516bc5aeaf
upstream: 91759822dd336c20f817e6fd59cccee3952599f7
f99b9736c1b4642c7694718ff2e559060e102460:
title: 'llc: make llc_ui_sendmsg() more robust against bonding changes'
mainline: dad555c816a50c6a6a8a86be1f9177673918c647
upstream: 84e9d10419f6f4f3f3cd8f9aaf44a48719aa4b1b
dc5870e21f3001b3ec8576e6f54031a8cba164f5:
title: 'llc: Drop support for ETH_P_TR_802_2.'
mainline: e3f9bed9bee261e3347131764e42aeedf1ffea61
upstream: 165ad1e22779685c3ed3dd349c6c4c632309cc62
e5ac391f7644fa947a50c342ea44829eaecddedd:
title: 'net/rds: Fix UBSAN: array-index-out-of-bounds in rds_cmsg_recv'
mainline: 13e788deb7348cc88df34bed736c3b3b9927ea52
upstream: 344350bfa3b4b37d7c3d5a00536e6fbf0e953fbf
6a3e1d9862f94de4bee1e33e16f05038f5389a2b:
title: 'tcp: Add memory barrier to tcp_push()'
mainline: 7267e8dcad6b2f9fce05a6a06335d7040acbc2b6
upstream: 52c46caf283bfa3016a5e41363df93c02037f788
ef58e1caae5c94a09529c65681dad1fd4e8fb0ee:
title: 'netlink: fix potential sleeping issue in mqueue_flush_file'
mainline: 234ec0b6034b16869d45128b8cd2dc6ffe596f04
upstream: d53a2b227d0fd0ca1404cddec607d32154a7259f
43a2aef972f44aa2b326fa198bdf8dfabb943956:
title: 'net/mlx5: Use kfree(ft->g) in arfs_create_groups()'
mainline: 360000b26e37a75b3000bf0585b263809d96ffd3
upstream: af3bf8e9a72fbd173e06b688039c3f6fbde45315
c68c6c612420fbc4d139aae2815f9cb4b4477ee0:
title: 'net/mlx5e: fix a double-free in arfs_create_groups'
mainline: 3c6d5189246f590e4e1f167991558bdb72a4738b
upstream: e3d3ed8c152971dbe64c92c9ecb98fdb52abb629
aa81ef3caf4be77e37974492532e649a2fcb19f8:
title: 'netfilter: nf_tables: restrict anonymous set and map names to 16 bytes'
mainline: b462579b2b86a8f5230543cadd3a4836be27baf7
upstream: de19690509d3fe9374922b36bb5f2de25d76f75c
c655c5bcecd961e52b149f6ca3931ccb3fea68c4:
title: 'fjes: fix memleaks in fjes_hw_setup'
mainline: f6cc4b6a3ae53df425771000e9c9540cce9b7bb1
upstream: 3dfd95c03c387368f519339499b27e2de5aeb998
6fa5ff53b288d8a31412cbf775292e5355d2aa62:
title: 'net: fec: fix the unhandled context fault from smmu'
mainline: 5e344807735023cd3a67c37a1852b849caa42620
upstream: ba33e0ab29dab25e63b1e2d0c8200798729bb759
762a825fada9668d550eddd794000c7f2caccdfa:
title: 'btrfs: don''t warn if discard range is not aligned to sector'
mainline: a208b3f132b48e1f94f620024e66fea635925877
upstream: e50c68c5202041af6e5e8f6917f9b9bb8dcadbcc
7b51f7d4004c09506c8b18d952ac742f27a3ef61:
title: 'btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args'
mainline: 173431b274a9a54fc10b273b46e67f46bcf62d2e
upstream: f084057282bc5f45e5f50a4b226244a30666422d
0d987a601a2677d5d2632e82dcaa3fd47eda8d5e:
title: 'netfilter: nf_tables: reject QUEUE/DROP verdict parameters'
mainline: f342de4e2f33e0e39165d8639387aa6c19dff660
upstream: 8365e9d92b85fda975a5ece7a3a139cb964018c8
64ae55163661acf809649c0635c6b21e5d028ae6:
title: 'gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04'
mainline: 805c74eac8cb306dc69b87b6b066ab4da77ceaf1
upstream: c8bd34e256d33bf1ccce1540fbfe3e4dbd3d2c8e
c8c5f7898fcca7d74c44b655d176277efb9fea24:
title: 'drm: Don''t unref the same fb many times by mistake due to deadlock handling'
mainline: cb4daf271302d71a6b9a7c01bd0b6d76febd8f0c
upstream: 376e21a9e4c2c63ee5d8d3aa74be5082c3882229
c08fbf9dc1f387f205d5bcc50e015e63b4c9e0a4:
title: 'drm/bridge: nxp-ptn3460: fix i2c_master_send() error checking'
mainline: 914437992876838662c968cb416f832110fb1093
upstream: 80cb196c51aaf67c29f7fc59ae8d5d77f13d650b
a763a5bff50097dc988f3ac6a4e39aba8cfa1c1c:
title: 'drm/bridge: nxp-ptn3460: simplify some error checking'
mainline: 28d3d0696688154cc04983f343011d07bf0508e4
upstream: 245c7e59073add7c4bec107a7abb5f473fbb6762
33922b26c79b28d52cdd80634cef19adfc8af24d:
title: 'mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan'
mainline: 59be5c35850171e307ca5d3d703ee9ff4096b948
upstream: 4f5ce9429566979ea623f6f3b897d0d1bebd6b46
fd36c0072c50e2198c71ffcdf773f3a80efb4d86:
title: 'tick/sched: Preserve number of idle sleeps across CPU hotplug events'
mainline: 9a574ea9069be30b835a3da772c039993c43369b
upstream: 7c0fdf4485c7bb02a1c7d7a4a68c3686d6ac5d53
3acd7d14ab042ec3180ad82f70f02c1640d70c0b:
title: 'powerpc/mm: Fix null-pointer dereference in pgtable_cache_add'
mainline: f46c8a75263f97bda13c739ba1c90aced0d3b071
upstream: 21e45a7b08d7cd98d6a53c5fc5111879f2d96611
985b459da1516795390094540cd97bbea8263903:
title: 'powerpc: Fix build error due to is_valid_bugaddr()'
mainline: f8d3555355653848082c351fa90775214fb8a4fa
upstream: 8dc842cd56b541d8f82daa2dd0d178add07ed384
74b8b0d494bf916399a7d32153e2234299bce7cb:
title: 'powerpc/mm: Fix build failures due to arch_reserved_kernel_pages()'
mainline: d8c3f243d4db24675b653f0568bb65dae34e6455
upstream: d30f1f01acd2a4bcd819c346770ec0344b325bc1
20d558564e788fe68498849aafc685f7beeaa85d:
title: 'powerpc/lib: Validate size for vector operations'
mainline: 8f9abaa6d7de0a70fc68acaedce290c1f96e2e59
upstream: 42084a428a139f1a429f597d44621e3a18f3e414
309b71479dd509d167afbf01830396412b280494:
title: 'audit: Send netlink ACK before setting connection in auditd_set'
mainline: 022732e3d846e197539712e51ecada90ded0572a
upstream: ee56b48a402f37f239cb0ab94ae0a2fa7dd31eb9
15378f86c8f6fd91b5c159500e13bd46a3b15a7e:
title: 'ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop'
mainline: 143176a46bdd3bfbe9ba2462bf94458e80d65ebf
upstream: a4d8109395c1ab519ac9b421cc4ebe95cb75b64d
6137fbdcc97d6e46ab81b911e0dd963423c9ac64:
title: 'PNP: ACPI: fix fortify warning'
mainline: ba3f5058db437d919f8468db50483dd9028ff688
upstream: 1f850064aeccaaa45a62285df4c227dcd90c852c
93c7bcddd0ab070061059a25c7c776ad0a7c6e19:
title: 'ACPI: extlog: fix NULL pointer dereference check'
mainline: 72d9b9747e78979510e9aafdd32eb99c7aa30dd1
upstream: b7b33627be0626b16ca321b982d6a2261ef7f703
dffbd4f7153e15063036c40c39c6f4162cdaacce:
title: FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
mainline: 9862ec7ac1cbc6eb5ee4a045b5d5b8edbb2f7e68
upstream: e3e95c6850661c77e6dab079d9b5374a618ebb15
b55d66744550c1de80b8e7d070f3d0ea112102da:
title: 'UBSAN: array-index-out-of-bounds in dtSplitRoot'
mainline: 27e56f59bab5ddafbcfe69ad7a4a6ea1279c1b16
upstream: e30b52a2ea3d1e0aaee68096957cf90a2f4ec5af
83cbf9397419353ed0c7db735f115cd919f226a3:
title: 'jfs: fix slab-out-of-bounds Read in dtSearch'
mainline: fa5492ee89463a7590a1449358002ff7ef63529f
upstream: ce8bc22e948634a5c0a3fa58a179177d0e3f3950
90cde898a4c41373b7c416d69815e9d7896b347a:
title: 'jfs: fix array-index-out-of-bounds in dbAdjTree'
mainline: 74ecdda68242b174920fe7c6133a856fb7d8559b
upstream: 3d3898b4d72c677d47fe3cb554449f2df5c12555
364aa896131c66f247c842cce51c85f1cdcfe45f:
title: 'jfs: fix uaf in jfs_evict_inode'
mainline: e0e1958f4c365e380b17ccb35617345b31ef7bf3
upstream: 81b4249ef37297fb17ba102a524039a05c6c5d35
8bd89028a322d70b0858c38060c0a5b3084d91f5:
title: 'pstore/ram: Fix crash when setting number of cpus to an odd number'
mainline: d49270a04623ce3c0afddbf3e984cb245aa48e9c
upstream: 8b69c30f4e8b69131d92096cb296dc1f217101e4
96c5817c65966bcdcdec5ff419eb31c42ad9046d:
title: 'rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()'
mainline: bad1a11c0f061aa073bab785389fe04f19ba02e1
upstream: 1ba072b2f552823c3070dde7909f7615b131f956
7e68d5085eb75299c781f7014ef6947822e30686:
title: 'jfs: fix array-index-out-of-bounds in diNewExt'
mainline: 49f9637aafa6e63ba686c13cb8549bf5e6920402
upstream: f423528488e4f9606cef858eceea210bf1163f41
4208eff2d2a4e2fdc740c7e74cb1ed97a955d4ee:
title: 's390/ptrace: handle setting of fpc register correctly'
mainline: 8b13601d19c541158a6e18b278c00ba69ae37829
upstream: 6ccf904aac0292e1f6b1a1be6c407c414f7cf713
1f85aac19a14227a6885559b4b4cdd0dcd175fa1:
title: 'KVM: s390: fix setting of fpc register'
mainline: b988b1bb0053c0dcd26187d29ef07566a565cf55
upstream: 3a04410b0bc7e056e0843ac598825dd359246d18
3d8aee1169f45a8ea3015adafd87b73f603fbdeb:
title: 'SUNRPC: Fix a suspicious RCU usage warning'
mainline: 31b62908693c90d4d07db597e685d9f25a120073
upstream: fece80a2a6718ed58487ce397285bb1b83a3e54e
38f20840ac95180eccf512780f7454f85b2bf99e:
title: 'ext4: unify the type of flexbg_size to unsigned int'
mainline: 658a52344fb139f9531e7543a6e0015b630feb38
upstream: 17c04def41743d01067a4c347b2d429f847c28c3
13df229677abd27615136f5c763c3a476b6ad5fd:
title: 'scsi: lpfc: Fix possible file string name overflow when updating firmware'
mainline: f5779b529240b715f0e358489ad0ed933bf77c97
upstream: 273700c2b94ffe7da97cee356f826d1d3f525b1d
bb52b4b4fc58efa71970b07a27c918d0250cffa8:
title: 'PCI: Add no PM reset quirk for NVIDIA Spectrum devices'
mainline: 3ed48c80b28d8dcd584d6ddaf00c75b7673e1a05
upstream: 07f181ed637a9867712f6a13f536453125b024ad
98bddfaba61e706ba3198d9f791cd66bba6103cb:
title: 'bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk'
mainline: d6b83f1e3707c4d60acfa58afd3515e17e5d5384
upstream: 0fee6850e1b0a032580ef2af3c9eb6f68e57d9d0
0ac0f96f90a5a03d0f2e4ac73257d5874c9aed24:
title: 'ARM: dts: imx7s: Fix lcdif compatible'
mainline: 5f55da4cc37051cda600ea870ce8cf29f1297715
upstream: 27e147bd10bdca40b504644b536561fdb46f42e0
647e4506427c48a511e3b67b12eef2645bc61301:
title: 'ARM: dts: imx7s: Fix nand-controller #size-cells'
mainline: 4aadb841ed49bada1415c48c44d21f5b69e01299
upstream: b90391b6bfd67d81e6126a4d07bf29da7af36eb4
d64a7edab1b9eb618164ee97ba6ca2e0c2c39410:
title: 'wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()'
mainline: 2adc886244dff60f948497b59affb6c6ebb3c348
upstream: f44f073c78112ff921a220d01b86d09f2ace59bc
7474abe2c012625b0cc7f08d5089c1510d92a608:
title: 'bpf: Add map and need_defer parameters to .map_fd_put_ptr()'
mainline: 20c20bd11a0702ce4dc9300c3da58acf551d9725
upstream: 5aa1e7d3f6d0db96c7139677d9e898bbbd6a7dcf
f3402b957fdf478a6f115e958f514e61c64cb846:
title: 'scsi: libfc: Don''t schedule abort twice'
mainline: b57c4db5d23b9df0118a25e2441c9288edd73710
upstream: debaf1600843a98fe794923781d731c2ccf5a1e8
d49f575f0871d9008dbc471e24bb06afd954e336:
title: 'scsi: libfc: Fix up timeout error in fc_fcp_rec_error()'
mainline: 53122a49f49796beb2c4a1bb702303b66347e29f
upstream: 1cfcd5845f6141ea6580d13fc021fce7de324d3e
2bcbb1bff89713910536e9aec5f42ce8d106a86b:
title: 'ARM: dts: rockchip: fix rk3036 hdmi ports node'
mainline: 27ded76ef0fcfcf939914532aae575cf23c221b4
upstream: 281c16796d60e713cb86c08e09200d290232c6d3
131b53e398cd5cdd930d6b5c404953142b0ee046:
title: 'ARM: dts: imx25/27-eukrea: Fix RTC node name'
mainline: 68c711b882c262e36895547cddea2c2d56ce611d
upstream: 26633c330ad956bf3878057f88395a5aae89240f
7c4c3abbd88ea0d578de393487684dadd026c0f1:
title: 'ARM: dts: imx: Use flash@0,0 pattern'
mainline: 1e1d7cc478fb16816de09740e3c323c0c188d58f
upstream: 9c5dc6b0e2d37b8e718cf3ef66c4a2f771dee20e
f6bc8318f88aae9883253889f9e36bda8841e891:
title: 'ARM: dts: imx27: Fix sram node'
mainline: 2fb7b2a2f06bb3f8321cf26c33e4e820c5b238b6
upstream: 0ab77b773ebcc5aa5087fdd18deb851a7ed6a3a6
9fc574b8c1464071d8319710708885ccc0a431b4:
title: 'ARM: dts: imx1: Fix sram node'
mainline: c248e535973088ba7071ff6f26ab7951143450af
upstream: 9d3aeecaac3030a1d95ed0483ecbf16c89e403f0
a85363dccc0d0d632635e01c29fe341129125f9f:
title: 'ARM: dts: imx27-apf27dev: Fix LED name'
mainline: dc35e253d032b959d92e12f081db5b00db26ae64
upstream: 6296b2c41f0bca9e1308d4d7a85800245b486ad9
c462fbab07ab0f93ec19d7a6d907685ea1a06d54:
title: 'ARM: dts: imx23-sansa: Use preferred i2c-gpios properties'
mainline: e3aa1a82fb20ee97597022f6528823a8ab82bde6
upstream: cf146a95be04e40b317c38b116b2efd4b043c3dd
7e7a432ac9ea935be11a15fea46457de63f7e112:
title: 'ARM: dts: imx23/28: Fix the DMA controller node name'
mainline: 858d83ca4b50bbc8693d95cc94310e6d791fb2e6
upstream: 3d8e8afe1de475ab4d9470c6d731a1c0cf29deee
da94a28d1bdc83ef21d12a68ed91787db4fa3b1e:
title: 'md: Whenassemble the array, consult the superblock of the freshest device'
mainline: dc1cc22ed58f11d58d8553c5ec5f11cbfc3e3039
upstream: 81ca80caa3c5c2e4e5d1da2dca42cc11964c1e9f
d68481e8bff48e47200f68c0f58b20891791c91d:
title: 'wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices'
mainline: 4e87ca403e2008b9e182239e1abbf6876a55eb33
upstream: 099b8d44c6a0ab899600f6ece6737ce8b527dbc7
a1351ac1cf686629cd1eb5b7a1065b3683611007:
title: 'wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift()'
mainline: 5c16618bc06a41ad68fd8499a21d35ef57ca06c2
upstream: 93aab385375ddd03a83f5b8444c665ee2c2b6d88
b656f1f1849b925cd68ab74a777a9cc75f8d774a:
title: 'wifi: cfg80211: free beacon_ies when overridden from hidden BSS'
mainline: 32af9a9e1069e55bc02741fb00ac9d0ca1a2eaef
upstream: fc736ef2b3b2e535c2ba46966bd8083365c96a11
edbe2c53887737af65f496c2265285f74a4768cd:
title: 'ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument'
mainline: 67c7666fe808c3a7af3cc6f9d0a3dd3acfd26115
upstream: bbb3342c6343688fb673d7c6b51cbf8d184565d2
658d3409acede1f86abdcfa706919570144a0b55:
title: 'fast_dput(): handle underflows gracefully'
mainline: 504e08cebe1d4e1efe25f915234f646e74a364a8
upstream: fabeeafdab5e1239e794b8ce72df02503d0ced83
4b7f4e14cc08eacfa5ca86eacc05a8271b28d889:
title: 'RDMA/IPoIB: Fix error code return in ipoib_mcast_join'
mainline: 753fff78f430704548f45eda52d6d55371a52c0f
upstream: c6d9287ebe4ed77ea34fa450a5d70f4984824181
abd23fc2b176740252f577b29693fbae20c1c8f5:
title: 'drm/drm_file: fix use of uninitialized variable'
mainline: 1d3062fad9c7313fff9970a88e0538a24480ffb8
upstream: 803bd61b474d6dbffc8c5418c61e8da586c94450
99467f7e403930a41f8bea2542279956188c128d:
title: 'drm/framebuffer: Fix use of uninitialized variable'
mainline: f9af8f0c1dc567a5a6a6318ff324c45d80d4a60f
upstream: 081d55ccd15d7edd3786c285866cdd06a28f2c6f
d6660003336dbf23b039bcb0601dff7a42f14f0d:
title: 'drm/mipi-dsi: Fix detach call without attach'
mainline: 90d50b8d85834e73536fdccd5aa913b30494fef0
upstream: 9eef5de467f413e14c9b145aa41914334c29f8a7
edc53e8e2a27c8774234a5e3b143fdd6c3136644:
title: 'media: stk1160: Fixed high volume of stk1160_dbg messages'
mainline: b3695e86d25aafbe175dd51f6aaf6f68d341d590
upstream: 3f61c5b5bb53a842d683680c347366b9c431c3b4
3590c7ea1d2a0882c4e8969300159543fda974aa:
title: 'PCI: add INTEL_HDA_ARL to pci_ids.h'
mainline: 5ec42bf04d72fd6d0a6855810cc779e0ee31dfd7
upstream: a6265345461f1580efd7e38ba6b9506dda987d23
f5b5ee65a158a23f105ace2085c6beafb450aa89:
title: 'ALSA: hda: Add Icelake PCI ID'
e3d7a6fbda19cd9d3d62c61f0557b2ddcbc86c4f:
title: 'ALSA: hda: Intel: add HDA_ARL PCI ID support'
mainline: a31014ebad617868c246d3985ff80d891f03711e
upstream: fa7eb2295f5fb213b4c5583bd1a3be6fdb682185
c5e1693a823b9baaba503fd12531f9b7ae802a8d:
title: 'drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time'
mainline: 16ac5b21b31b439f03cdf44c153c5f5af94fb3eb
upstream: 8ab9b22151400c549f40f2390f1d101d80ec089e
f1a52361385cf56587f45df0e419270b476fb717:
title: 'IB/ipoib: Fix mcast list locking'
mainline: 4f973e211b3b1c6d36f7c6a19239d258856749f9
upstream: 4c8922ae8eb8dcc1e4b7d1059d97a8334288d825
a113f3ea4415f689541d9452c474ae03fc2e38d4:
title: 'media: ddbridge: fix an error code problem in ddb_probe'
mainline: 09b4195021be69af1e1936cca995712a6d0f2562
upstream: 7fe1190951cf4f45ff602250b29c4665c264b78e
9b68e07d9da7ee0571e1bdd80bf64f631345fedb:
title: 'clk: hi3620: Fix memory leak in hi3620_mmc_clk_init()'
mainline: bfbea9e5667cfa9552c3d88f023386f017f6c308
upstream: c807df25c33f1365fda042b11085a4861ec6e4f9
96bc3d1b305d5d5fe2b95d94b86b46a902bd146b:
title: 'clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()'
mainline: 2fbabea626b6467eb4e6c4cb7a16523da12e43b4
upstream: 15b51ad774214f9bd9a969bf4880ebeb4dbd4868
c33e46a8972e0956bf361ede13f448eaa042181a:
title: 'leds: trigger: panic: Don''t register panic notifier if creating the trigger failed'
mainline: afacb21834bb02785ddb0c3ec197208803b74faa
upstream: 6c0a90374357d7bc3fde5fc096ae996699e4eb22
d7d0f5e11bb0b6145733eb2cb28b3639388f84f6:
title: 'um: Fix naming clash between UML and scheduler'
mainline: 541d4e4d435c8b9bfd29f70a1da4a2db97794e0a
upstream: 7ad082147c5d4e74b06ee5d9fd992fcdc1bf75bb
9b93ed7199417436eb33dc11cd20fc5d4964f693:
title: 'um: Don''t use vfprintf() for os_info()'
mainline: 236f9fe39b02c15fa5530b53e9cca48354394389
upstream: e0fe0da96187d485633cdcfe4ae41ca4d15dd412
a0b367d347123053abb1b97bc22154dab9ae22f3:
title: 'um: net: Fix return type of uml_net_start_xmit()'
mainline: 7d748f60a4b82b50bf25fad1bd42d33f049f76aa
upstream: af95ebc8ed68503602b0490faca91df4a844b223
7a559ea7d22e2523c0c38d7597c79e8f5c663823:
title: 'mfd: ti_am335x_tscadc: Fix TI SoC dependencies'
mainline: 284d16c456e5d4b143f375b8ccc4038ab3f4ee0f
upstream: bad080a74ac807a1dac93c9db96156a434bb5cb4
79a5e39dee6e10829a945d9f6a5761bdb46c3803:
title: 'PCI: Only override AMD USB controller if required'
mainline: e585a37e5061f6d5060517aed1ca4ccb2e56a34c
upstream: a17d6ef61d1615851dbf0111ce1e61af4a897804
2b84420be156e351f2e9d5975ed7679bdda1ff19:
title: 'usb: hub: Replace hardcoded quirk value with BIT() macro'
mainline: 6666ea93d2c422ebeb8039d11e642552da682070
upstream: 2ba7f86b8703af8ace1a011b041c2bd654409e3d
56552e5cf5d1e10d74d67c2b9a5adc4f258faee5:
title: 'libsubcmd: Fix memory leak in uniq()'
mainline: ad30469a841b50dbb541df4d6971d891f703c297
upstream: 0d143f52174d588228fa73275de701d58b62ea4a
7f727e04636fa507a472cd48c5b7822fd92fa973:
title: "virtio_net: Fix \"\u2018%d\u2019 directive writing between 1 and 11 bytes into a region of size 10\" warnings"
mainline: e3fe8d28c67bf6c291e920c6d04fa22afa14e6e4
upstream: 7840b2e4ba3e9288df84dac1417102a174c71229
7da16dee92cf04281c2b9ba054ed1277bdef0745:
title: 'ceph: fix deadlock or deadcode of misusing dget()'
mainline: b493ad718b1f0357394d2cdecbf00a44a36fa085
upstream: eb55ba8aa7fb7aad54f40fbf4d8dcdfdba0bebf6
f6292d4326aea4ef58ca1b9e0050d4531b09b656:
title: 'drm/amdgpu: Release ''adev->pm.fw'' before return in ''amdgpu_device_need_post()'''
mainline: 8a44fdd3cf91debbd09b43bd2519ad2b2486ccf4
upstream: 616053201f939cb326836316d8afcd1e3d2df18b
4a8a10a1d1379bb73f929d2ff61c91cd50fa76e1:
title: 'wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update'
mainline: 1184950e341c11b6f82bc5b59564411d9537ab27
upstream: e01d8d01ba197cac99bef2495fbf5640f0bc5a72
9b0dce0699b0cff330f26757170390e60beecc2f:
title: 'scsi: isci: Fix an error code problem in isci_io_request_build()'
mainline: 658365c6b0857e6a306436e315a8633937e3af42
upstream: 86ca4cb47d8213773044b151e6861784d646ee35
287b49e9dddc421e7cbcf2ce9ded277dcd7bb385:
title: 'net: remove unneeded break'
mainline: 7ebb9db011088f9bd357791f49cb7012e66f29e2
upstream: b2460d9640b13afd691f35b075d16f7fc179c7cb
6c59597adc4da77a4c79730b2d0d2f6bb5103f07:
title: 'ixgbe: Remove non-inclusive language'
mainline: 93b067f154b3edfd3d75a272fd9433bf787e2e1d
upstream: aba0ff77fce0db42a45de1dca5d34aa717d5415c
12a1e3ffea01766734037b0fe1369d278b669d88:
title: 'ixgbe: Refactor overtemp event handling'
mainline: 6c1b4af8c1b20c70dde01e58381685d6a4a1d2c8
upstream: d9ffeffbc43250255f087adb55b1a99cd4fe0c43
0fad6add2e903cf769f5d922a43c6616fce2d590:
title: 'ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()'
mainline: bbc404d20d1b46d89b461918bc44587620eda200
upstream: b74c5d0d164efc6a9ebd5e880234987e1e8970d1
e0ffb3925dba851417d00745b2ce9c4b314589c3:
title: 'ipv6: Ensure natural alignment of const ipv6 loopback and router addresses'
mainline: 60365049ccbacd101654a66ddcb299abfabd4fc5
upstream: e6b0f4f7e3b2429d78a54ad5ec705b4119010c32
86c1617a51a7e041f7b3106e796f5dd4177a53e2:
title: 'llc: call sock_orphan() at release time'
mainline: aa2b2eb3934859904c287bf5434647ba72e14c1c
upstream: 6b950c712a9a05cdda4aea7fcb2848766576c11b
a0373ec83347192d0bc2f3352c074e8b023c42a5:
title: 'netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger'
mainline: 259eb32971e9eb24d1777a28d82730659f50fdcb
upstream: b0b2937fda85f1eaf885527518993a035cfa13bc
ddff75cf19625cf745da29f133a12eb35e48de78:
title: 'net: Fix one possible memleak in ip_setup_cork'
mainline: 9783ccd0f2507cbe3c5ff1cb84bf6ae3a512d17d
f4e1df41128d009e3eb57658e1304d2f35109b50:
title: 'net: ipv4: fix a memleak in ip_setup_cork'
mainline: 5dee6d6923458e26966717f2a3eae7d09fc10bf6
upstream: 3241813266b623a1153db37f0204cf4225bd6864
fc4e079263f4dc3afed7beef32f09e11cfdb83ff:
title: 'af_unix: fix lockdep positive in sk_diag_dump_icons()'
mainline: 4d322dce82a1d44f8c83f0f54f95dd1b8dcf46c9
upstream: 875f31aaa67e306098befa5e798a049075910fa7
17fe0fd15062dc03aedcf4bb6572a4a9592807b6:
title: 'net: sysfs: Fix /sys/class/net/<iface> path'
mainline: ae3f4b44641dfff969604735a0dcbf931f383285
upstream: 3dc7b3ffd5c539124ee8fc42a32a91b5df13717d
985d3a3dd71c81ab2012fd3b8f0a769c71a19237:
title: 'HID: apple: Swap the Fn and Left Control keys on Apple keyboards'
mainline: 346338ef00d35bf8338ded171f9abeb9b10b43df
upstream: f27e9a72c1079449474ab6b4858bd30ec3d9ec89
7412effbe212ef6ccdf8e42b1c40364e6c369a17:
title: 'HID: apple: Add support for the 2021 Magic Keyboard'
mainline: 0cd3be51733febb4f8acb92bcf55b75fe824dd05
upstream: adfbe479c1b60c4e97734dfbeeb483fe37a9df71
e42213c7c7b015e6b41fb27d9b6264309042a750:
title: 'HID: apple: Add 2021 magic keyboard FN key mapping'
mainline: 531cb56972f2773c941499fcfb639cd5128dfb27
upstream: 0802f8e32b0212b3e5f14eb729c96e6d90a47934
e827391d4767cbb6a25f85d1e17c05799f6f81f6:
title: 'bonding: remove print in bond_verify_device_path'
mainline: 486058f42a4728053ae69ebbf78e9731d8ce6f8b
upstream: 9bb3bf598f4b0f5481dbc585db2d5021304ac1b5
7f0c76f847575a92100f05495514a3464534d593:
title: 'dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV'
mainline: a22fe1d6dec7e98535b97249fdc95c2be79120bb
upstream: 743259cc178aee41626f5929ed9ea6f63bb0c631
24288c6c65f514b98d7b1c1feb237b51a56ab054:
title: 'phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP'
mainline: 7104ba0f1958adb250319e68a15eff89ec4fd36d
upstream: 486218c11e8d1c8f515a3bdd70d62203609d4b6b
56dc4afb9fa67af5b158a6b184216302e793a0b7:
title: 'atm: idt77252: fix a memleak in open_card_ubr0'
mainline: f3616173bf9be9bf39d131b120d6eea4e6324cb5
upstream: bd70b7541b30213829ca7a2d02e428a4449821ff
2214d04c620940a739fa5a5ce070a3c785aa0cd5:
title: 'hwmon: (aspeed-pwm-tacho) mutex for tach reading'
mainline: 1168491e7f53581ba7b6014a39a49cfbbb722feb
upstream: 52830e218a4d5e38c6a781c7912da777252f8c40
2ac57567eda95eb1a9c39e819eab709767452dfe:
title: 'inet: read sk->sk_family once in inet_recv_error()'
mainline: eef00a82c568944f113f2de738156ac591bbd5cd
upstream: caa064c3c2394d03e289ebd6b0be5102eb8a5b40
5a9a22f2873e63cd857c7a6659f3d38484ac2e70:
title: 'rxrpc: Fix response to PING RESPONSE ACKs to a dead call'
mainline: 6f769f22822aa4124b556339781b04d810f0e038
upstream: 16d97ffdca5515fccc7c969b6025d1551e84fe34
96d352f660e2e222dc1bab6b2c4740237dd3b305:
title: 'tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()'
mainline: 3871aa01e1a779d866fa9dfdd5a836f342f4eb87
upstream: 24ec8f0da93b8a9fba11600be8a90f0d73fb46f1
de3d17a308ceded0363dffa3b2ee69b9fbfbb6cc:
title: 'ppp_async: limit MRU to 64K'
mainline: cb88cb53badb8aeb3955ad6ce80b07b598e310b8
upstream: 4fdb14ba89faff6e6969a4dffdc8e54235d6e5ed
a057d02cf808c2c042d13aa9ada37a250fe329f2:
title: 'netfilter: nft_compat: reject unused compat flag'
mainline: 292781c3c5485ce33bd22b2ef1b2bed709b4d672
upstream: 56fb2bf4ab8c91a2e078553497b6c5b2f1dac699
990506c3102a4016f10a7b705a3f95a2dba0e567:
title: 'netfilter: nft_compat: restrict match/target protocol to u16'
mainline: d694b754894c93fb4d71a7f3699439dec111decc
upstream: 1d769e2dc5444c3ab3010887d7c3cda76a0310e7
700f4e9ff1bac4b1bc1780bcc9cf5695e4392028:
title: 'net/af_iucv: clean up a try_then_request_module()'
mainline: 4eb9eda6ba64114d98827e2870e024d5ab7cd35b
upstream: 8811188205406ce59c34fabc18e2421b38c03fdd
6716f2f7d44fa8420f77009a11593525ae9255b2:
title: 'USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e'
mainline: 129690fb229a20b6e563a77a2c85266acecf20bc
upstream: e3cd866fcbeb03b13f6fc7b6133cb542c8484c4a
39a732c5a779ddbfbc3e662856dfcaa717af4a26:
title: 'USB: serial: option: add Fibocom FM101-GL variant'
mainline: b4a1f4eaf1d798066affc6ad040f76eb1a16e1c9
upstream: 9c83c6116f5dde982e1f33a1b47bde2991ac8ac5
b30273541bae7aaec17a09c2780e4a4c395edde1:
title: 'USB: serial: cp210x: add ID for IMST iM871A-USB'
mainline: 12b17b4eb82a41977eb848048137b5908d52845c
upstream: 80af54d045296bab4e2fe8704b4b9fc1f533e47b
eebb66beca62cded341b539533c7c7a91da8ac95:
title: 'Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID'
mainline: 683cd8259a9b883a51973511f860976db2550a6e
upstream: 0be65249b72efb7d6eec6aabbb9901f22b4c9856
7d25e28ce6dc61080ffcab293998214b86a14b11:
title: 'vhost: use kzalloc() instead of kmalloc() followed by memset()'
mainline: 4d8df0f5f79f747d75a7d356d9b9ea40a4e4c8a9
upstream: 95eab1039625d54d1770665756dd34e9fe926638
6a49558f890e67f40142f23305b2b6dbffee6931:
title: 'btrfs: send: return EOPNOTSUPP on unknown flags'
mainline: f884a9f9e59206a2d41f265e7e403f080d10b493
upstream: be548d984286e2d58c3135aa0cf1cbafa0cad8a7
39be5d7e52744cac421786024357c1c3d7570597:
title: 'spi: ppc4xx: Drop write-only variable'
mainline: b3aa619a8b4706f35cb62f780c14e68796b37f3f
upstream: 80a642c11a91fdff66406b52197097d97685e4e1
679ed29719be8e945287b4e87a641900507fe003:
title: 'ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()'
mainline: 6ef5d5b92f7117b324efaac72b3db27ae8bb3082
upstream: 3dd2d99e2352903d0e0b8769e6c9b8293c7454b2
dee976568a7a732baea9b4547a3a601896a32ec8:
title: 'Documentation: net-sysfs: describe missing statistics'
mainline: e528afb72a481977456bb18345d4e7f6b85fa7b1
upstream: b908fdcb6bbc07a3314afb386415b616fa01732f
7a193babedaf498a625c7b82eea463c89589a2a2:
title: 'net: sysfs: Fix /sys/class/net/<iface> path for statistics'
mainline: 5b3fbd61b9d1f4ed2db95aaf03f9adae0373784d
upstream: e7928873d9ac5a6194f0ffc56549d4262af7e568
c3be0bd42d8b5436b4f4fc9e2261b3d2a4c738e1:
title: 'MIPS: Add ''memory'' clobber to csum_ipv6_magic() inline assembler'
mainline: d55347bfe4e66dce2e1e7501e5492f4af3e315f8
upstream: 54d186fb5128ea95dbacbe350440208220555039
1260d580ea28af4201a331f13f5fb5b96da08f94:
title: 'i40e: Fix waiting for queues of all VSIs to be disabled'
mainline: c73729b64bb692186da080602cd13612783f52ac
upstream: 04b9c13dc116af8ad88b98d6a96765e0fa4a2b23
44ec3b6a27b2d303dced9d70ed708cc8d8ed3784:
title: 'tracing/trigger: Fix to return error if failed to alloc snapshot'
mainline: 0958b33ef5a04ed91f61cef4760ac412080c4e08
upstream: bcf4a115a5068f3331fafb8c176c1af0da3d8b19
deb218b8416f96a7cb91d0ce311dd3418729c827:
title: 'mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again'
mainline: 9319b647902cbd5cc884ac08a8a6d54ce111fc78
upstream: c593d26fb5d577ef31b6e49a31e08ae3ebc1bc1e
3e0c669b2a6d346166ce0c47d1abf45f69046404:
title: 'HID: wacom: generic: Avoid reporting a serial of ''0'' to userspace'
mainline: ab41a31dd5e2681803642b6d08590b61867840ec
upstream: 2303e0b4005c13c0faa6562e32886ebf8ee04f57
7cf7d8509d54a81f1963ce1fb4346ca851f31ff3:
title: 'HID: wacom: Do not register input devices until after hid_hw_start'
mainline: c1d6708bf0d3dd976460d435373cf5abf21ce258
upstream: d943536197c1a05e377452af4ec7942e11d018f4
6f2e6123d897f20b9e8ba8e47c2466909dcb5580:
title: 'USB: hub: check for alternate port before enabling A_ALT_HNP_SUPPORT'
mainline: f17c34ffc792bbb520e4b61baa16b6cfc7d44b13
upstream: 67d96ddb269523ba171b0c6f8582a9f32812447b
b7b8de89e0c14584f675cf1c1e7ceb648ae1d1e1:
title: 'usb: f_mass_storage: forbid async queue when shutdown happen'
mainline: b2d2d7ea0dd09802cf5a0545bf54d8ad8987d20c
upstream: 68a8f87c9c2e514eb9bded7337044142ff7c1ba0
5b4d630c61084a0afa27b2d6e45335a84d333be3:
title: 'scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock"'
mainline: 977fe773dcc7098d8eaf4ee6382cb51e13e784cb
upstream: 94a600226b6d0ef065ee84024b450b566c5a87d6
3d027c0afcebe6338e106257e984a69500b9c1f6:
title: 'firewire: core: correct documentation of fw_csr_string() kernel API'
mainline: 5f9ab17394f831cb7986ec50900fa37507a127f1
upstream: cc9e5616a31b3054be3852d41f91592cd21f4f83
e9ea3b98c3eeb1be14666afce0a52eca86630704:
title: 'nfc: nci: free rx_data_reassembly skb on NCI device cleanup'
mainline: bfb007aebe6bff451f7f3a4be19f4f286d0d5d9c
upstream: 7e9a8498658b398bf11b8e388005fa54e40aed81
2f07b4feb7344a12863625df46967a3b6990a791:
title: 'xen-netback: properly sync TX responses'
mainline: 7b55984c96ffe9e236eb9c82a2196e0b1f84990d
upstream: 543fc0ea771528b7e2aa793bea1c46952d64d404
0b85140d50e49360af625aa8ba84de40b18adbb7:
title: 'ext4: fix double-free of blocks due to wrong extents moved_len'
mainline: 55583e899a5357308274601364741a83e78d6ac4
upstream: b4fbb89d722cbb16beaaea234b7230faaaf68c71
d375940a2f5db7ac750a0c16fc7afeff22f09ddf:
title: 'staging: iio: ad5933: fix type mismatch regression'
mainline: 6db053cd949fcd6254cea9f2cd5d39f7bd64379c
upstream: 4a0efde7875822485ebfd991874d454d2347e1a0
5e09189142b229f4a7b98b105b89548bb1895b3d:
title: 'x86/mm/ident_map: Use gbpages only where full GB page should be mapped.'
mainline: d794734c9bbfe22f86686dc2909c25f5ffe1a572
upstream: 9149fef02dc1c54d2b4b9a555e11e7482f6ab583
d24322c6c1cb11ee854b27d53e8f57598f58d906:
title: 'ALSA: hda/conexant: Add quirk for SWS JS201D'
mainline: 4639c5021029d49fd2f97fa8d74731f167f98919
upstream: e0de24ef5b3efe5636668f5090fa0833c6fb5b77
a53d021d96e27b4e691be9bbf2b0e7e6a971a556:
title: 'nilfs2: fix data corruption in dsync block recovery for small block sizes'
mainline: 67b8bcbaed4777871bb0dcc888fb02a614a98ab1
upstream: 5278c3eb6bf5896417572b52adb6be9d26e92f65
188292ff815215ff899d45a09e860000e12d53b7:
title: 'nilfs2: fix hang in nilfs_lookup_dirty_data_buffers()'
mainline: 38296afe3c6ee07319e01bb249aa4bb47c07b534
upstream: 228742b2ddfb99dfd71e5a307e6088ab6836272e
59185e887608415f810273b3d66a7c0a82ab145a:
title: 'nfp: use correct macro for LengthSelect in BAR config'
mainline: b3d4f7f2288901ed2392695919b3c0e24c1b4084
upstream: 09e5ae88b985524cb4f559c81b684f77cb237893
ab54d44fa99cd6d87b05c7805ca0666c11b1fb36:
title: 'irqchip/irq-brcmstb-l2: Add write memory barrier before exit'
mainline: b0344d6854d25a8b3b901c778b1728885dd99007
upstream: edb943366fe91647079b58fa85781006fbfbe34a
70bd0bc34ed8b422fb44e5f570cd8923f20f875b:
title: 'pmdomain: core: Move the unused cleanup to a _sync initcall'
mainline: 741ba0134fa7822fcf4e4a0a537a5c4cfd706b20
upstream: 81c0229f34f0e1330789fae616b9e2219ab28477
072057390d7c127c32d061f52c8255b6e4b77305:
title: 'Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"'
mainline: bed9e27baf52a09b7ba2a3714f1e24e17ced386d
upstream: 1e8c1c2a92692881ac7ec92dcf1c8a846584251b
edcd4473ab9ae8709bfdad2665bbb1d20f438364:
title: 'sched/membarrier: reduce the ability to hammer on sys_membarrier'
mainline: 944d5fe50f3f03daacfea16300e656a1691c4a23
upstream: 3cd139875e9a7688b3fc715264032620812a5fa3
9dc394f2da9b2208457484dbcdcf9cdb3ee2d7ed:
title: 'nilfs2: fix potential bug in end_buffer_async_write'
mainline: 5bc09b397cbf1221f8a8aacb1152650c9195b02b
upstream: c4a09fdac625e64abe478dcf88bfa20406616928
cdb04bf58f0b42afc09c9a9ba1f22e19b432a345:
title: 'lsm: new security_file_ioctl_compat() hook'
mainline: f1bb47a31dff6d4b34fb14e99850860ee74bb003
upstream: f8f51085b4be6132762ce0d8940071ccdcce2504
141272175d24b1f41c429b0364d5f5852f6daa2d:
title: 'netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()'
mainline: c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63
upstream: fca41e5b687e029f69e3a35a2fa31e2560e538dc

View File

@@ -1,152 +0,0 @@
292ea5ee570c5edd64c505d5a645f421c342327c:
title: 'net/sched: Retire CBQ qdisc'
mainline: 051d442098421c28c7951625652f61b1e15c4bd5
upstream: 23e01e29002a015975bfe9da401ca2068cef8cc0
48f4bae5b9694dcb5cf7d760fca89c76bbb4786a:
title: 'net/sched: Retire ATM qdisc'
mainline: fb38306ceb9e770adfb5ffa6e3c64047b55f7a07
upstream: d9d084b263dcbd6b35ff4732b3eb78b5e61fcac1
e8321667659838270cf620dbb9f52be23ed92cc1:
title: 'net/sched: Retire dsmark qdisc'
mainline: bbe77c14ee6185a61ba6d5e435c1cbb489d2a9ed
upstream: 88f8fcd4d137174a88795a9da5f3e92bda04cabb
45dea6f77d434e7b87f21e13eb7a0781321084f0:
title: 'memcg: add refcnt for pcpu stock to avoid UAF problem in drain_all_stock()'
mainline: 1a3e1f40962c445b997151a542314f3c6097f8c3
upstream: 9e46a20397f443d02d6c6f1a72077370e8cbc8da
c352221909a64672b1725ee06095c35aa3b652d2:
title: 'nilfs2: replace WARN_ONs for invalid DAT metadata block requests'
mainline: 5124a0a549857c4b87173280e192eea24dea72ad
upstream: b06dec684e11ea944d896ac78cec1602e5157eb8
9c31d18305176ac3339d2e7fb16e23a78bd6147f:
title: 'sched/rt: Fix sysctl_sched_rr_timeslice intial value'
mainline: c7fcb99877f9f542c918509b2801065adcaf46fa
upstream: 41b7572dea9f7196d075b40d5ac8aafdb5f4b0d4
6d01d5fde49ee90ac890b2a96c8c7a8bc291805c:
title: 'sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset'
mainline: c1fc6484e1fb7cc2481d169bfef129a1b0676abe
upstream: 1f80bc015277247c9fd9646f7c21f1c728b5d908
7ccbe0f58d447aea568811db944b7c6d15a5feb7:
title: 'sched/rt: Disallow writing invalid values to sched_rt_period_us'
mainline: 079be8fc630943d9fc70a97807feb73d169ee3fc
upstream: 2d931472d4740d3ada7011cc4c3499948d3a22fa
93331ecf6b4e7b6b2027b2c6ffa0fad20fc9a2d4:
title: 'scsi: target: core: Add TMF to tmr_list handling'
mainline: 83ab68168a3d990d5ff39ab030ad5754cbbccb25
upstream: 425a571a7e6fc389954cf2564e1edbba3740e171
ad947ce27c06a8e0004da911805699199e04f6a2:
title: 'dmaengine: shdma: increase size of ''dev_id'''
mainline: 404290240827c3bb5c4e195174a8854eef2f89ac
upstream: bcbaa5ce276fc342cbae3b3148b2af85d3679d80
5a5772e0f601b64f0f8a3abc4f6dad020235e429:
title: 'wifi: cfg80211: fix missing interfaces when dumping'
mainline: a6e4f85d3820d00694ed10f581f4c650445dbcda
upstream: 31b8419692ae51d2671676eace947b428004d2ea
b1e9a26d3a909e8207d9f17f75592e8b94a1da9f:
title: 'wifi: mac80211: fix race condition on enabling fast-xmit'
mainline: bcbc84af1183c8cf3d1ca9b78540c2185cd85e7f
upstream: 76fad1174a0cae6fc857b9f88b261a2e4f07d587
dbe08f914e17a73f39417420d22dd7730e079ba9:
title: 'fbdev: savage: Error out if pixclock equals zero'
mainline: 04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288
upstream: 224453de8505aede1890f007be973925a3edf6a1
dc8cc812cd193503fa1ffbac6770e2f82f9671bd:
title: 'fbdev: sis: Error out if pixclock equals zero'
mainline: e421946be7d9bf545147bea8419ef8239cb7ca52
upstream: 84246c35ca34207114055a87552a1c4289c8fd7e
050de50371ba2727fcaffb5a438cfc70eeee3d03:
title: 'ahci: asm1166: correct count of reported ports'
mainline: 0077a504e1a4468669fd2e011108db49133db56e
upstream: 3f25115864b2abfac4f9267475ed9419073aa560
e08ae878b02e2f2953a7556c05a25ca5c3628c24:
title: 'ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()'
mainline: 4530b3660d396a646aad91a787b6ab37cf604b53
upstream: 21f8cfe79f776287459343e9cfa6055af61328ea
a8bb8329743029dd77a6bbc7ffaf8ec83c1384c3:
title: 'ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal()'
mainline: 832698373a25950942c04a512daa652c18a9b513
upstream: 5a6dcc4ad0f7f7fa8e8d127b5526e7c5f2d38a43
d8f22636a42eb332f53a25f4271827716a9780cc:
title: 'regulator: pwm-regulator: Add validity checks in continuous .get_voltage'
mainline: c92688cac239794e4a1d976afa5203a4d3a2ac0e
upstream: 733f4c36e68cc664e0083d4ff1d5e9fadee2120b
974906d0d9cab75a506494745ff92b214bada2e3:
title: 'hwmon: (coretemp) Enlarge per package core count limit'
mainline: 34cf8c657cf0365791cdc658ddbca9cc907726ce
upstream: 171977332b38f271cd08dede4a792182a811a994
da86812addd2aba615e37f3d02a02859cd7c5493:
title: 'firewire: core: send bus reset promptly on gap count error'
mainline: 7ed4380009e96d9e9c605e12822e987b35b05648
upstream: 98fc79aad9ce694cbcc202570befb8f9150cbea6
f2a5b354a969fc3cb9fc291ba5e622f0ff943618:
title: 'virtio-blk: Ensure no requests in virtqueues before deleting vqs.'
mainline: 4ce6e2db00de8103a0687fb0f65fd17124a51aaa
upstream: 2b5128c714d863cd8d259aa9d87bed2d6aa6a5a8
b7436a25cb86e673b0b19506d3ba9dcdcf01e3de:
title: 's390/qeth: Fix potential loss of L3-IP@ in case of network issues'
mainline: 2fe8a236436fe40d8d26a1af8d150fc80f04ee1a
upstream: 07dbb1c86a81f96c779b2267ca1994f61bc1e585
5cf1aceb57dea1645112c6673b1e633805ccffcf:
title: 'mm: memcontrol: switch to rcu protection in drain_all_stock()'
mainline: e1a366be5cb4f849ec4de170d50eebc08bb0af20
upstream: 9b78faee4829e8d4bc88f59aa125e219ad834003
6b9f863739cf9b288aebc3b47a9a0b46d82fb076:
title: 'dm-crypt: don''t modify the data when using authenticated encryption'
mainline: 50c70240097ce41fe6bce6478b80478281e4d0f7
upstream: 43a202bd552976497474ae144942e32cc5f34d7e
462d9e209c0fca1e4dda298d209725ef39d73b10:
title: 'gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()'
mainline: 136cfaca22567a03bbb3bf53a43d8cb5748b80ec
upstream: f0ecdfa679189d26aedfe24212d4e69e42c2c861
f951d454d97724fb80e7820728e35223e0207304:
title: 'l2tp: pass correct message length to ip6_append_data'
mainline: 359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79
upstream: 4c3ce64bc9d36ca9164dd6c77ff144c121011aae
9449bb501c2106ff6a1032aabdbb30d11d3e2501:
title: 'usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs'
mainline: 76c51146820c5dac629f21deafab0a7039bc3ccd
upstream: 059285e04ebb273d32323fbad5431c5b94f77e48
4bad3089552677d750edc4ccd0fbd2a52f53eef6:
title: 'IB/hfi1: Fix a memleak in init_credit_return'
mainline: 809aa64ebff51eb170ee31a95f83b2d21efa32e2
upstream: 2e4f9f20b32658ef3724aa46f7aef4908d2609e3
e32d2194770b6278678ca69981d21be95ae314c6:
title: 'RDMA/srpt: Support specifying the srpt_service_guid parameter'
mainline: fdfa083549de5d50ebf7f6811f33757781e838c0
upstream: 84f1dac960cfa210a3b7a7522e6c2320ae91932b
e0a38c97a50cc65f0ce9d3f6673d999ebf4248d4:
title: 'RDMA/srpt: fix function pointer cast warnings'
mainline: eb5c7465c3240151cd42a55c7ace9da0026308a1
upstream: e333db03ab6ee3bd3596739724250a9a374dd466
768622287c4688a25c6f37a3f667a8ed20f5d515:
title: 'scsi: jazz_esp: Only build if SCSI core is builtin'
mainline: 9ddf190a7df77b77817f955fdb9c2ae9d1c9c9a3
upstream: 63a1b5c7bc8623b084b034419c6253debfa4d3cf
757db7bb5082d313c77dd568323136ddd4b15139:
title: 'nouveau: fix function cast warnings'
mainline: 0affdba22aca5573f9d989bcb1d71d32a6a03efe
upstream: ba9ec8d32f0f9feda6c2c044dcd72ca214485040
3a93a1d1d4110d0c826efd53e3dbde8ebfc4ca84:
title: 'ipv6: sr: fix possible use-after-free and null-ptr-deref'
mainline: 5559cea2d5aa3018a5f00dd2aca3427ba09b386b
upstream: 953f42934533c151f440cd32390044d2396b87aa
29ac1aef647719e9c7cd6aeff459910bf5062b96:
title: 'packet: move from strlcpy with unused retval to strscpy'
mainline: 8fc9d51ea2d32a05f7d7cf86a25cc86ecc57eb45
upstream: a2b855119ec4a0142abf5ce354ea82f368dce778
92a10e44f1361057e751ccfb7fe3f22cd5053523:
title: 's390: use the correct count for __iowrite64_copy()'
mainline: 723a2cc8d69d4342b47dfddbfe6c19f1b135f09b
upstream: 2b505745a91e84338e4b728314f858a1b60b67e2
b47f8d88b2f28b8e2467bdd48ca8016adf4f1943:
title: 'PCI/MSI: Prevent MSI hardware interrupt number truncation'
mainline: db744ddd59be798c2627efbfc71f707f5a935a40
upstream: 343be31cc008a2f267863011934fb0aac6a9c8e2
57c80836ce9e30d1512614cd4e7802f31676c8b0:
title: 'KVM: arm64: vgic-its: Test for valid IRQ in its_sync_lpi_pending_table()'
mainline: 8d3a7dfb801d157ac423261d7cd62c33e95375f8
upstream: c2462b26faab4d40a78fc2862387bd615e0b7c25
d9bf292a90ce3928db273d3cbba8b9a9fd588e9c:
title: 'fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio'
mainline: b820de741ae48ccf50dd95e297889c286ff4f760
upstream: 337b543e274fe7a8f47df3c8293cc6686ffa620f

View File

@@ -1,60 +0,0 @@
07621fa295c2e2079f3acb75c9649378ca78538b:
title: 'netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter'
mainline: 661779e1fcafe1b74b3f3fe8e980c1e207fea1fd
upstream: ec343a55b687a452f5e87f3b52bf9f155864df65
86fb5280f208f4c5718b1bc55098978712d4de00:
title: 'lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected'
mainline: 0e67899abfbfdea0c3c0ed3fd263ffc601c5c157
upstream: 750e313184ea9f6866a8131c13be44f946881951
b784cefd731fce7ef16cddf44b634f02d9bc280f:
title: 'net: usb: dm9601: fix wrong return value in dm9601_mdio_read'
mainline: c68b2c9eba38ec3f60f4894b189090febf4d8d22
upstream: 31e9b04a715e28aa740da64af1a3ab56373551bf
169f7f2453d78302d84a9962aab95eb6d35a73c2:
title: 'Bluetooth: Avoid potential use-after-free in hci_error_reset'
mainline: 2449007d3f73b2842c9734f45f0aadb522daf592
upstream: e0b278650f07acf2e0932149183458468a731c03
16da27d838b852af3745e22afe9d4b7223b12fd7:
title: 'Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST'
mainline: 7e74aa53a68bf60f6019bd5d9a9a1406ec4d4865
upstream: afec8f772296dd8e5a2a6f83bbf99db1b9ca877f
a007eac0cabb4160b86b7b7c0bbd06a67384c1b2:
title: 'Bluetooth: Enforce validation on max value of connection interval'
mainline: e4b019515f950b4e6e5b74b2e1bb03a90cb33039
upstream: 4debb1e930570f20caa59d815c50a89fa33124d7
32c6bed3090320e251c2a671ee21909665a8affa:
title: 'efi/capsule-loader: fix incorrect allocation size'
mainline: fccfa646ef3628097d59f7d9c1a3e84d4b6bb45e
upstream: 00cf21ac526011a29fc708f8912da446fac19f7b
b525907dcaacff60d1754d6cc8d627a1346ffd0e:
title: 'power: supply: bq27xxx-i2c: Do not free non existing IRQ'
mainline: 2df70149e73e79783bcbc7db4fa51ecef0e2022c
upstream: d4d813c0a14d6bf52d810a55db06a2e7e3d98eaa
41c783fd39f24fdaf17d5307cbc27ca10e262a22:
title: 'ALSA: Drop leftover snd-rtctimer stuff from Makefile'
mainline: 4df49712eb54141be00a9312547436d55677f092
upstream: 0832312bae111b350330aaba1bcbae74b369e8ab
2197924b93ee10ba74ad07390b1c2dbd57deba9f:
title: 'gtp: fix use-after-free and null-ptr-deref in gtp_newlink()'
mainline: 616d82c3cfa2a2146dd7e3ae47bda7e877ee549e
upstream: 01129059d5141d62fae692f7a336ae3bc712d3eb
b56ad919b0fe95c06df2ddb0e28571abde834205:
title: 'wifi: nl80211: reject iftype change with mesh ID change'
mainline: f78c1375339a291cba492a70eaf12ec501d28a8e
upstream: d38d31bbbb9dc0d4d71a45431eafba03d0bc150d
c5e84b933695e646431020169931c1ba19ade2b9:
title: 'btrfs: dev-replace: properly validate device names'
mainline: 9845664b9ee47ce7ee7ea93caf47d39a9d4552c4
upstream: 11d7a2e429c02d51e2dc90713823ea8b8d3d3a84
2b5f5b754028ec92420b62132826e7b1e9a194e6:
title: 'mmc: core: Fix eMMC initialization with 1-bit bus connection'
mainline: ff3206d2186d84e4f77e1378ba1d225633f17b9b
upstream: 229d1418ce7ef2ee367d685c9780905888de1254
8a7e4f19620e2d2f46af573941c9fafef41bda78:
title: 'cachefiles: fix memory leak in cachefiles_add_cache()'
mainline: e21a2f17566cbd64926fb8f16323972f7a064444
upstream: cb5466783793e66272624cf71925ae1d1ba32083
d5fb3070026f21b1cddcbba5d01b070a47a09091:
title: 'gpio: 74x164: Enable output pins after registers are reset'
mainline: 530b1dbd97846b110ea8a94c7cc903eca21786e5
upstream: 3815150a859730a267387759a1c1e086d16b8775

View File

@@ -1,143 +0,0 @@
683e08ff6ef0a279343ba4383c6e01e4a9143050:
title: 'ip: validate header length on virtual device xmit'
mainline: cb9f1b783850b14cbd7f87d061d784a666dfba1f
60e32c8d4c6bb518863249d1c7c7e1fb7c5a9f96:
title: 'net: lan78xx: Allow for VLAN headers in timeout calcs'
b64278fd3d498eeb7a3f9b44cdffd303eaa41ca7:
title: 'net: usb: lan78xx: Disable interrupts before calling generic_handle_irq()'
mainline: 0a29ac5bd3a988dc151c8d26910dec2557421f64
e2ad089a70e591cf7c886be6f559a0e8503674fc:
title: 'net: usb: lan78xx: Remove lots of set but unused ''ret'' variables'
mainline: 06cd7c46b3ab3f2252c61bf85b191236cf0254e1
upstream: 7585522bf089bfebb7bbd22fddb5495f16f250c9
f6cbd3c0c4516263a546a791a9eb985ca5ee04a6:
title: 'lan78xx: Fix white space and style issues'
mainline: 9ceec7d33adf9647293f24d2fd9a055b89c63864
upstream: 09a8c3e4e79157bd3358bc9f0fab1517ae8ad884
b70394861f10fc4bb0a53bb4fe54b79f497fdf79:
title: 'lan78xx: Add missing return code checks'
mainline: 3415f6baaddb9b39d7112247ab39ef3c700f882e
upstream: 20ccd52bd3b5e1323e58a1049d7d5285650c6c64
c2688f303badea10dd8526d734db642898128e7e:
title: 'lan78xx: Fix partial packet errors on suspend/resume'
mainline: e1210fe63bf8b080edd0805240e90b81b6b069c1
upstream: 242c4cd0d906f6f8708c0214b0c926b109f63168
cb2fabebb54f6cc12e8d180c40d9ac59076bb666:
title: 'lan78xx: Fix race conditions in suspend/resume handling'
mainline: 5f4cc6e25148cc141f97afb41b4dfe9eb1cce613
upstream: 513cfa1886cd2a06658410b788236522c2a69583
30336393906643b4fece662c7c2f1871766222fd:
title: 'net: lan78xx: fix runtime PM count underflow on link stop'
mainline: 1eecc7ab82c42133b748e1895275942a054a7f67
upstream: 575689f40b415299864bf1826d03e71d3d807c73
de6f8690a982faf789a071b7683e3b26274faf4e:
title: 'net: move definition of pcpu_lstats to header file'
mainline: 52bb6677d530d37055092d86b4eab69dce6c166a
upstream: 6463ace2a35d22642c90147ebced20ef6145eac6
46ae53df59e8bb5f52d184011ff4db8582b47874:
title: 'net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb'
mainline: d13f048dd40e8577260cd43faea8ec9b77520197
3b1e13eb6c7bcbc71e0766dc21ccb55f8d15ab50:
title: 'geneve: make sure to pull inner header in geneve_rx()'
mainline: 1ca1ba465e55b9460e4e75dec9fff31e708fec74
upstream: e431c3227864b5646601c97f5f898d99472f2914
08230f3ca93b03add21ae1e8ddf08bd283daab23:
title: 'netfilter: nf_conntrack_h323: Remove typedef struct'
0025d996dd7b719a14f477ad3fa810abdf406585:
title: 'netfilter: nf_ct_h323: Out Of Bound Read in Netfilter Conntrack'
5ee983c52f6ca4fa4f15d9ff3b82634237b49e4f:
title: 'netfilter: nf_ct_h323: Convert CHECK_BOUND macro to function'
74a4c76141e79f28621987d7a5d1233528717105:
title: 'netfilter: nf_ct_h323: Extend nf_h323_error_boundary to work on bits as well'
1c31b4059c9416af2dfb42f087f64edd607eb35f:
title: 'netfilter: nf_conntrack_h323: Add protection for bmp length out of range'
mainline: 767146637efc528b5e3d31297df115e85a2fd362
upstream: 98db42191329c679f4ca52bec0b319689e1ad8cb
7bab6671e4d56af53eaa19b4e61d349ce3b1cee7:
title: 'netrom: Fix a data-race around sysctl_netrom_default_path_quality'
mainline: 958d6145a6d9ba9e075c921aead8753fb91c9101
upstream: 7644df766006d4878a556e427e3ecc78c2d5606b
5993b06357724c9656435dcd39ef3f731bb68719:
title: 'netrom: Fix a data-race around sysctl_netrom_obsolescence_count_initialiser'
mainline: cfd9f4a740f772298308b2e6070d2c744fb5cf79
upstream: e3a3718b1723253d4f068e88e81d880d71f1a1e9
3babe0b373c89f4557d880edfaee1269e0565619:
title: 'netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser'
mainline: 119cae5ea3f9e35cdada8e572cc067f072fa825a
upstream: acc653e8a3aaab1b7103f98645f2cce7be89e3d3
75af2f874a607d406075ebee8872267e7610cc9c:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_timeout'
mainline: 60a7a152abd494ed4f69098cf0f322e6bb140612
upstream: 500936692ccca8617a955652d1929f079b17a201
6e9e490c1c0f727effa44d696b29b363b9ddf216:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_maximum_tries'
mainline: e799299aafed417cc1f32adccb2a0e5268b3f6d5
upstream: 84b8486e9cedc93875f251ba31abcf73bd586a3a
9da1d2a1e6687d4009eff99367df4bf7dee17f6c:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_acknowledge_delay'
mainline: 806f462ba9029d41aadf8ec93f2f99c5305deada
upstream: 6133a71c75dacea12fcc85838b4455c2055b0f14
943942802104ff9dcb435d85456b08967878b40d:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_busy_delay'
mainline: 43547d8699439a67b78d6bb39015113f7aa360fd
upstream: 7782e5e7047cae6b9255ee727c99fc73d77cf773
3f661371119e40c7307cff48dfaa28ba19ec6a20:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_requested_window_size'
mainline: a2e706841488f474c06e9b33f71afc947fb3bf56
upstream: 4f2efa17c3ec5e4be0567b47439b9713c0dc6550
0a8e233837a214086305549c6cc3c10505960a18:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_no_activity_timeout'
mainline: f99b494b40431f0ca416859f2345746199398e2b
upstream: 73426c32e259c767d40613b956d5b80d0c28a9a9
4851e4321fdf86f860623d8541f46916cbd9b8e7:
title: 'netrom: Fix a data-race around sysctl_netrom_routing_control'
mainline: b5dffcb8f71bdd02a4e5799985b51b12f4eeaf76
upstream: c13fbb5902bce848759385986d4833f5b90782c1
3c574b4ac9511dee909385868739d64de9abf892:
title: 'netrom: Fix a data-race around sysctl_netrom_link_fails_count'
mainline: bc76645ebdd01be9b9994dac39685a3d0f6f7985
upstream: 97a4d8b9f67cc7efe9a0c137e12f6d9e40795bf1
daa941d9ed63191c6d3e13d640ecd55a07d449a3:
title: 'netrom: Fix data-races around sysctl_net_busy_read'
mainline: d380ce70058a4ccddc3e5f5c2063165dc07672c6
upstream: d623fd5298d95b65d27ef5a618ebf39541074856
0e37e77f60fe5fe48b7010deb499d284c92003c6:
title: 'tools/selftest/vm: allow choosing mem size and page size in map_hugetlb'
mainline: fa7b9a805c797b729022029aaa3a2b7c35fff4c6
upstream: becbfcabedfe3ceb9bd6184c172fad00c0a8feb0
b37d2d9d10c65fabe5b9b53ec84d9388202f4bf2:
title: 'selftests: mm: fix map_hugetlb failure on 64K page size systems'
mainline: 91b80cc5b39f00399e8e2d17527cad2c7fa535e2
upstream: abdbd5f3e8c504d864fdc032dd5a4eb481cb12bf
fb847632d0d888521c17c0f1109ca827316281a4:
title: 'um: allow not setting extra rpaths in the linux binary'
mainline: 386093c68ba3e8bcfe7f46deba901e0e80713c29
upstream: 90091bdf5df0195de0d2d8e3e4d43aaaee122d34
8ddca3d65f8a45b7a4e8d844441b30f990e0b015:
title: 'hv_netvsc: use netif_is_bond_master() instead of open code'
mainline: c60882a4566a0a62dc3a40c85131103aad83dcb3
upstream: a2577793ff166cc18fe4192a8b1bca2d37253e6a
f2348ee837cee8604c0502b6ef9d806ce1cc13ec:
title: 'getrusage: add the "signal_struct *sig" local variable'
mainline: c7ac8231ace9b07306d0299969e42073b189c70a
upstream: e904c9a4834888cb2b37607d9571f49964f4603f
c048d8254a03786c76d3e0f7b687c98f951c7957:
title: 'getrusage: move thread_group_cputime_adjusted() outside of lock_task_sighand()'
mainline: daa694e4137571b4ebec330f9a9b4d54aa8b8089
upstream: 33ec341e3e9588962ff3cf49f642da140d3ecfc0
82f1e0dc48d7753fa960bfc2cec672a0aaf69e01:
title: 'getrusage: use __for_each_thread()'
mainline: 13b7bc60b5353371460a203df6c38ccd38ad7a3a
upstream: e24772adaaf4b81ac0855cceb17080352526f765
8d11949c478109b80f65d7b3da4927407e61c10a:
title: 'getrusage: use sig->stats_lock rather than lock_task_sighand()'
mainline: f7ec1cd5cc7ef3ad964b677ba82b8b77f1c93009
upstream: c96f49d3a741f6693feecdb067c442b609903d03
fee13d620a067a56d35582ad3bae29e9fd6dd1f8:
title: 'selftests/vm: fix display of page size in map_hugetlb'
mainline: 1ec882fc81e3177faf055877310dbdb0c68eb7db
upstream: 71317d703c550c819b5465c3a49ce98650089865
f19d6a15935beb1be8aee2845912d846e5649981:
title: 'selftests/vm: fix map_hugetlb length used for testing read and write'
mainline: cabc30da10e677c67ab9a136b1478175734715c5
upstream: af289249ec5c79200c4ec4ec7f4902378956c4d7

View File

@@ -1,532 +0,0 @@
3300a318344fb9cee9d92161549c7cfef5ac1413:
title: 'xen/events: only register debug interrupt for 2-level events'
mainline: d04b1ae5a9b0c868dda8b4b34175ef08f3cb9e93
5ee8a0e79d4147dd41e7e4e420d91e2f16eb4bb6:
title: 'x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()'
mainline: 69143f60868b3939ddc89289b29db593b647295e
f2645f10d789c047bcaf11a573ed337bad4f0707:
title: 'x86/xen: Add some null pointer checking to smp.c'
mainline: 3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2
upstream: 70a33a629090130d731fc1e1ad498bb672eea165
96405638c5c2567f6c27cfd84ada8a5a5311b231:
title: 'MIPS: Clear Cause.BD in instruction_pointer_set'
mainline: 9d6e21ddf20293b3880ae55b9d14de91c5891c59
upstream: b0b3373993a5b445eeb410d7c74a87710aad9d6e
3ded98fc3b9716997438f60daf0452b7c3e6d360:
title: 'net/iucv: fix the allocation size of iucv_path_table array'
mainline: b4ea9b6a18ebf7f9f3a7a60f82e925186978cfcf
upstream: 13f5b64a584b5554f81e7e493dcbafaddd06557d
e9f9eb0c2d8c5c96fc354cf8ede84f4ba6f38d19:
title: 'block: sed-opal: handle empty atoms when parsing response'
mainline: 5429c8de56f6b2bd8f537df3a1e04e67b9c04282
upstream: 72da7347f460b2ecc5e934bcbef312e0fa5ebf2b
e6d8df74f2692f4e83306e293a8c503112d32aa8:
title: 'dm-verity, dm-crypt: align "struct bvec_iter" correctly'
mainline: 787f1b2800464aa277236a66eb3c279535edd460
upstream: 8338d971f919256b312f28a9a320f552a499dc8e
70928e45cbbe230a8fde12a6bb7bbbfb77139e7f:
title: 'scsi: mpt3sas: Prevent sending diag_reset when the controller is ready'
mainline: ee0017c3ed8a8abfa4d40e42f908fb38c31e7515
upstream: 6cc96148d26afbf1e3b8167ee68dc9eec387804d
b79150eddce93e7bf87f005c9c996abd90d4655e:
title: 'Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security'
mainline: 2535b848fa0f42ddff3e5255cf5e742c9b77bb26
upstream: 369f419c097e82407dd429a202cde9a73d3ae29b
51ec1ed43d0b4ab1228eb55189fa939ad579c4c2:
title: 'firewire: core: use long bus reset on gap count error'
mainline: d0b06dc48fb15902d7da09c5c0861e7f042a9381
upstream: b89198d02d0149f22149675766c47883de923106
243004088d2707ad353b4ee4dd6b96f76daca68d:
title: 'Input: gpio_keys_polled - suppress deferred probe error for gpio'
mainline: 963465a33141d0d52338e77f80fe543d2c9dc053
upstream: a215f042a7f57346fd5430e84f81f822e84975b5
6895f6831861ceceb98e7b6604ec9050a37c8173:
title: 'ASoC: wm8962: Enable oscillator if selecting WM8962_FLL_OSC'
mainline: 03c7874106ca5032a312626b927b1c35f07b1f35
upstream: c2a85fd64160fcf4185669d4db299fbb2df76986
2a2f4e8dfe12971fd6b78ec6e05179151bea4a88:
title: 'ASoC: wm8962: Enable both SPKOUTR_ENA and SPKOUTL_ENA in mono mode'
mainline: 6fa849e4d78b880e878138bf238e4fd2bac3c4fa
upstream: 2f87e22ea1b42b89435bf98a768eb8227797d819
cacf64e0af45cb788a70941441fc6423149b1d9f:
title: 'ASoC: wm8962: Fix up incorrect error message in wm8962_set_fll'
mainline: 96e202f8c52ac49452f83317cf3b34cd1ad81e18
upstream: d619f175ff50582c05858cb96d05391f77c7c7aa
ed2edd721e156046bb4dc4587f06af360f875581:
title: 'crypto: af_alg - make some functions static'
mainline: 466e0759269d31485074126700574230bfff3b1c
upstream: 0ca02d4beebb7b47ea0cbdceac891465cbb966c6
f63a7bf2dcf7e05021785b64b184795f6b6a6ccd:
title: 'crypto: algif_aead - Only wake up when ctx->more is zero'
mainline: f3c802a1f30013f8f723b62d7fa49eb9e991da23
upstream: de564b59755dfb080ef237dd4fbd02cb0c3e58a1
ce3317e4a96642984d3e7fbaf33a086176052bf8:
title: 'do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak'
mainline: 3948abaa4e2be938ccdfc289385a27342fb13d43
upstream: 4bac28f441e3cc9d3f1a84c8d023228a68d8a7c1
70137872f87a2e47239cf7ea0d9b295f173f6c27:
title: 'fs/select: rework stack allocation hack for clang'
mainline: ddb9fd7a544088ed70eccbb9f85e9cc9952131c1
upstream: b86af4d77a5a2487020794845c1a2e948699630c
644ef6ff144cf72b7c0170ade4a8a449f01d9e63:
title: 'md: switch to ->check_events for media change notifications'
mainline: a564e23f0f99759f453dbefcb9160dec6d99df96
upstream: dc51c01a3d5a796e18520a186f56e13f8e70749f
5621bcf7c79c834e98f01dfea929a7bbf7d600ab:
title: 'block: add a new set_read_only method'
mainline: e00adcadf3af7a8335026d71ab9f0e0a922191ac
upstream: f28658bc8a7faa03578dc2588b5b3b56b09575a6
1d018bd5617e06f3c7bd6df7cacaf79a35cd4da3:
title: 'md: implement ->set_read_only to hook into BLKROSET processing'
mainline: 118cf084adb3964d06e1667cf7d702e56e5cd2c5
upstream: bde70d747f81f7f014b7c63d6a7b2dd6c8356f43
fe9ee4210de1a9816e6e99a791894f87a62c2fb3:
title: 'md: Don''t clear MD_CLOSING when the raid is about to stop'
mainline: 9674f54e41fffaf06f6a60202e1fa4cc13de3cf5
upstream: 8eea2ea62b459cebffd20d5d5121becbec838291
67f0ca2ac39c5b06d90c7bbb3f4dbd01a96fd1fa:
title: 'aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts'
mainline: f98364e926626c678fb4b9004b75cacf92ff0662
upstream: ad80c34944d7175fa1f5c7a55066020002921a99
44b1502cbcf6899a21c9d4ec8c61f5bcfaee0d03:
title: 'timekeeping: Fix cross-timestamp interpolation on counter wrap'
mainline: 84dccadd3e2a3f1a373826ad71e5ced5e76b0c00
upstream: 3c22ef22761ab15b1c32ea5997859c0719fdc14d
ed6452adf4a6e0b9641fc065d63ddc6075238c23:
title: 'timekeeping: Fix cross-timestamp interpolation corner case decision'
mainline: 87a41130881995f82f7adbafbfeddaebfb35f0ef
upstream: 86c7cc07eef558e9986a17ac5b6d5f44c8b493bd
fabbb78782e6dd484cc0e036e1e0dbbb8c70b8da:
title: 'timekeeping: Fix cross-timestamp interpolation for non-x86'
mainline: 14274d0bd31b4debf28284604589f596ad2e99f2
upstream: 20880812b2f8fad4cf269f83bd5266eed31f0208
0e7ba895f0ec865043f09e88cbfc750869e3d81a:
title: 'b43: dma: Fix use true/false for bool type variable'
mainline: a9160bb35ad9ada8428a4d48426f7fc128db40cc
upstream: eb014286140dd5bd4f82417bb186edbbb2f1d3a4
c6fa41a3cb1d5f9fff1b455d779df5a47c44f254:
title: 'wifi: b43: Stop/wake correct queue in DMA Tx path when QoS is disabled'
mainline: 9636951e4468f02c72cc75a82dc65d003077edbc
upstream: 1824f942527f784a19e01eac2d9679a21623d010
947b5e0d7e03173f242ce6c5871cb82e357529f9:
title: 'wifi: b43: Stop/wake correct queue in PIO Tx path when QoS is disabled'
mainline: 77135a38f6c2f950d2306ac3d37cbb407e6243f2
upstream: 5175e6256f5ad36ceea6ad5aa44f6ce87764e653
73a69fcb66db7b037de6c521e49ba54ee21e5e3c:
title: 'b43: main: Fix use true/false for bool type'
mainline: 6db774c1725059f98e4fce97f878688248584be5
upstream: ddd8aa7d4959a42786c3e2c2491c33e91e032f88
13876838c450d766f468452a940c14e7f16ce55b:
title: 'wifi: b43: Stop correct queue in DMA worker when QoS is disabled'
mainline: 581c8967d66c4961076dbbee356834e9c6777184
upstream: 0191ff009dce9740494e37a8616b3f0a3b38d884
14ee0973eab90a53de93ef3bd02f73ef9cb54622:
title: 'wifi: b43: Disable QoS for bcm4331'
mainline: 09795bded2e725443fe4a4803cae2079cdaf7b26
upstream: 4828567fd9625926c07fe711a096d5374f5f42d5
4b8198ce7bd031846776dc60a66402697e2d3f9b:
title: 'wifi: mwifiex: debugfs: Drop unnecessary error check for debugfs_create_dir()'
mainline: 50180c7f8e3de7c2d87f619131776598fcb1478d
upstream: 1e68b5319090ee3f810580c059a202ec8b24bdbe
c4d2af79e42344f14a2826b617fbe57e263c8e36:
title: 'sock_diag: request _diag module only when the family or proto has been registered'
7e6bdf38024904a26cf237968d6f476d3060ea8c:
title: 'sock_diag: annotate data-races around sock_diag_handlers[family]'
mainline: efd402537673f9951992aea4ef0f5ff51d858f4b
upstream: cffd4a7c975848e2bb7c577e5c814a0d2bc9efd4
d4a666252ef7cc7e3c6c126564e8f8e3ac751196:
title: 'af_unix: Annotate data-race of gc_in_progress in wait_for_unix_gc().'
mainline: 31e03207119a535d0b0e3b3a7f91983aeb2cb14d
upstream: 0c41412330b8804ec9829ecb929a21d8cc2e06c5
7dbbfcf6db50dd29b7040c06826c2f26b8813b6a:
title: 'wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()'
mainline: 5f0e4aede01cb01fa633171f0533affd25328c3a
upstream: 96481624fb5a6319079fb5059e46dbce43a90186
d39f836a2b9e34610d3c1b6800adda8b1b98b6b6:
title: 'ACPI: processor_idle: Fix memory leak in acpi_processor_power_exit()'
mainline: e18afcb7b2a12b635ac10081f943fcf84ddacc51
upstream: d351bcadab6caa6d8ce7159ff4b77e2da35c09fa
3ecc2213610561a98f56332417ce1cd445addd80:
title: 'bus: tegra-aconnect: Update dependency to ARCH_TEGRA'
mainline: 4acd21a45c1446277e2abaece97d7fa7c2e692a9
upstream: dfd9078eecdac8d45badc029d0a1afb9b887d089
cff340eed43a60e8352306c2d0daa936e2609d55:
title: 'iommu/amd: Mark interrupt as managed'
mainline: 0feda94c868d396fac3b3cb14089d2d989a07c72
upstream: 46b9f2480b5bd3793340754eb52aa887fcbeb2f1
7f3fb7d44b2c90cb14e6bdc2be5058669186d725:
title: 'wifi: brcmsmac: avoid function pointer casts'
mainline: e1ea6db35fc3ba5ff063f097385e9f7a88c25356
upstream: 523bd0437c687d0b4edf7548b95217993746c64c
a8674f8f32d3ce9502633eec64d5f1240d7ab031:
title: 'ARM: dts: arm: realview: Fix development chip ROM compatible value'
mainline: 3baa4c5143d65ebab2de0d99a395e5f4f1f46608
upstream: d6a0ddacb07986dbd08d97b8c8b0928778e318b4
ff060748955642dd9eb032bb32bf8d3c8b0c809c:
title: 'ACPI: scan: Fix device check notification handling'
mainline: 793551c965116d9dfaf0550dacae1396a20efa69
upstream: 3dd8bfb5f23fa1605f2a7b62c91258a7d778ccb1
f1a4dbde435665ebd50419198f51995a86722489:
title: 'x86, relocs: Ignore relocations in .notes section'
mainline: aaa8736370db1a78f0e8434344a484f9fd20be3b
upstream: 13edb509abc91c72152a11baaf0e7c060a312e03
98dd836d4d90f8c75583cdb77e51e43416145bf2:
title: 'SUNRPC: fix some memleaks in gssx_dec_option_array'
mainline: 3cfcfc102a5e57b021b786a755a38935e357797d
upstream: b97c37978ca825557d331c9012e0c1ddc0e42364
4cb02a03a5ed3ea326f92cb72cc6d96019ea43f4:
title: 'mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function'
mainline: ae5004a40a262d329039b99b62bd3fe7645b66ad
upstream: f10426db32e7712fcc72154e2fa288f7127094ad
7344a5ae74cc4e62b079a877d20b2570e2f235ef:
title: 'igb: move PEROUT and EXTTS isr logic to separate functions'
mainline: cf99c1dd7b7729091043374b90807c7a5f9fd9b1
upstream: d686b4537ead6bdd1a636040c00af51e9e0a1bc5
2fe7a8cde6d1b03ecb4fed3f7cf6e5427463cfda:
title: 'igb: Fix missing time sync events'
mainline: ee14cc9ea19ba9678177e2224a9c58cce5937c73
upstream: f346bf4db1ebaad9c8ca5aae6397c7867b8ac4f3
e63d5f1f3f5f918a0a94e7d4facccfa6342239cc:
title: 'Bluetooth: Remove superfluous call to hci_conn_check_pending()'
mainline: 78e3639fc8031275010c3287ac548c0bc8de83b1
upstream: 6e960390709966929a29eaec8bca710237a54f24
224f6971eb2b4457331804d194017c1524f8157f:
title: 'Bluetooth: hci_core: Fix possible buffer overflow'
mainline: 81137162bfaa7278785b24c1fd2e9e74f082e8e4
upstream: 6d5a9d4a7bcbb7534ce45a18a52e7bd23e69d8ac
aca6a0b117cfb0701cc2bea02db1e8c6372b08b0:
title: 'sr9800: Add check for usbnet_get_endpoints'
mainline: 07161b2416f740a2cb87faa5566873f401440a61
upstream: 424eba06ed405d557077339edb19ce0ebe39e7c7
5b157b57a27deae00138ebbf9abe793d85b80d12:
title: 'bpf: Fix hashtab overflow check on 32-bit arches'
mainline: 6787d916c2cf9850c97a0a3f73e08c43e7d973b1
upstream: 33ec04cadb77605b71d9298311919303d390c4d5
c7eb664d0ae8b3da9621816bfe11ad862c24e342:
title: 'bpf: Fix stackmap overflow check on 32-bit arches'
mainline: 7a4b21250bf79eef26543d35bd390448646c536b
upstream: d0e214acc59145ce25113f617311aa79dda39cb3
efa596b077451aef0f8bb760ad3975264a046ee4:
title: 'ipv6: fib6_rules: flush route cache when rule is changed'
mainline: c4386ab4f6c600f75fdfd21143f89bac3e625d0d
upstream: 95db6e62a2d920abf43c169e51046adb9f394ef0
9676e9447d12a404638bbee6bd43852440c7c137:
title: 'tcp: fix incorrect parameter validation in the do_tcp_getsockopt() function'
mainline: 716edc9706deb3bb2ff56e2eeb83559cea8f22db
upstream: d909b53ff5b8f005b474b4417ee271f5a4adca94
a0e4e51da39f5a7fc9d9e1f5fc14640701887d90:
title: 'l2tp: fix incorrect parameter validation in the pppol2tp_getsockopt() function'
mainline: 955e9876ba4ee26eeaab1b13517f5b2c88e73d55
upstream: 51a7e05fbca612ae1f09f62dfe21957380b8546d
5cfa0a58e61d01c690063af3623d0a53b76951a6:
title: 'udp: fix incorrect parameter validation in the udp_lib_getsockopt() function'
mainline: 4bb3ba7b74fceec6f558745b25a43c6521cf5506
upstream: f21612ee652c08b4a5a0bb11528035f57935fae1
59a4e1ed1e12998b6ee449091fe2ae36597b223b:
title: 'net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function'
mainline: 3ed5f415133f9b7518fbe55ba9ae9a3f5e700929
upstream: 867608c0abcbdc86e62925604ac2d3f0c7ca678a
fa19944cf14ae594b5b1353f881e80f4d83016b5:
title: 'net/x25: fix incorrect parameter validation in the x25_getsockopt() function'
mainline: d6eb8de2015f0c24822e47356f839167ebde2945
upstream: 7089428a1a4e28efa0c36877d80639a8306fdbf4
3d651f489f213a8688c49fdb9c5af4e94aaefe08:
title: 'dm raid: fix false positive for requeue needed during reshape'
mainline: b25b8f4b8ecef0f48c05f0c3572daeabefe16526
upstream: 52a35f5551c6c63f2c50c24117377faa47b2395c
d8348562b9ba5d57db7ff9c39b40c326d81fec2d:
title: 'dm: call the resume method on internal suspend'
mainline: 65e8fbde64520001abf1c8d0e573561b4746ef38
upstream: 69836d9329f0b4c58faaf3d886a7748ddb5bf718
c5b100db7c774d0770809952834e65c00da6aed8:
title: 'drm/tegra: dsi: Add missing check for of_find_device_by_node'
mainline: afe6fcb9775882230cd29b529203eabd5d2a638d
upstream: 47a13d0b9d8527518639ab5c39667f69d6203e80
a1d6e2d545ae60e3c0f14afc655960a12a1836ce:
title: 'gpu: host1x: mipi: Update tegra_mipi_request() to be node based'
mainline: 767598d447aa46411289c5808b0e45e20a1823b4
upstream: aaa5ef6db779a2ffdac6e2c4e27a042fc85af425
a7f31893877bed52efc884b8151f7bd211643115:
title: 'drm/tegra: dsi: Make use of the helper function dev_err_probe()'
mainline: fc75e4fcbd1e4252a0481ebb23cd4516c127a8e2
upstream: 4003d399dd34bd9a80fcf78a3feb3140eb82b2b8
beef7ea1764bd7497ea4a76932b5b57bb6d1147d:
title: 'drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()'
mainline: 830c1ded356369cd1303e8bb87ce3fea6e744de8
upstream: 0cb8749a621cdd291dc8976bbc245029124d402a
8f0f744ebf00a199144bb821d0d1b186de6be782:
title: 'drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_dsi_probe()'
mainline: 5286a9fc280c45b6b307ee1b07f7a997e042252c
upstream: d7e898d13a867014352f0daf98f8a0155c67a3c9
9514fc65463c56256c0fbb075a6e414d2c440e9c:
title: 'drm/rockchip: inno_hdmi: Fix video timing'
mainline: 47a145c03484d33e65d773169d5ca1b9fe2a492e
upstream: c031022829a91114cb2bd531c38de99184957b6d
36ac37d23799588aa1f243c55a9958bac40ce8be:
title: 'drm: Don''t treat 0 as -1 in drm_fixp2int_ceil'
mainline: cf8837d7204481026335461629b84ac7f4538fa5
upstream: e3271a9f1432472bfd1aec82a5086d6b10e0dfec
f37d112202ea81abf2af9a552cd3657f8b042342:
title: 'media: tc358743: register v4l2 async device only after successful setup'
mainline: 87399f1ff92203d65f1febf5919429f4bb613a02
upstream: 17c2650de14842c25c569cbb2126c421489a3a24
e2bc2e2b68b321dfd3fb2c66691014a66ee074a6:
title: 'media: em28xx: annotate unchecked call to media_device_register()'
mainline: fd61d77a3d28444b2635f0c8b5a2ecd6a4d94026
upstream: 8b3c5d95bcc85f4333b6968ae7710ee2a1b28f0a
fdec9e17f52ea90aa40441a258d62ad3f0d6707d:
title: 'media: v4l2-tpg: fix some memleaks in tpg_alloc'
mainline: 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c
upstream: 0de691ff547d86dd54c24b40a81f9c925df8dd77
08af260a5bc1b71c1278dccb64a7866ea0687ef3:
title: 'media: dvbdev: remove double-unlock'
mainline: 122d0e8dd050cc5dc3fb9e9b5f2dee3c5276ce35
upstream: cfa5ffc57e54fb8b864d23b6992cb37d706f6a87
88b9134f0e55fe9a7162ee90e5324e2fd91b0ad9:
title: 'media: media/dvb: Use kmemdup rather than duplicating its implementation'
mainline: f6af820ef1be58c2e4b81aa479b9f109eb6344ce
upstream: 6e4129f8163460c79bb99887bc6f791196fcbda2
5ace531d9048d5957c275071f8e55d5b3261e03e:
title: 'media: dvbdev: Fix memleak in dvb_register_device'
mainline: 167faadfcf9339088910e9e85a1b711fcbbef8e9
upstream: 085f36c317cba8b8955c5da5f59c7486345d2bbb
83a32ee58edae39a2e9bb7d71f36d0317ebf39d2:
title: 'media: dvbdev: fix error logic at dvb_register_device()'
mainline: 1fec2ecc252301110e4149e6183fa70460d29674
upstream: a30cf94eaf5dd3ffd8d13c3a8c303d04357b01c1
0ae7184adc0e7116a0bc81eded303fc031db1812:
title: 'media: dvbdev: convert DVB device types into an enum'
8f649cb42cc0154445a0319a3ec9e0f6f37737b5:
title: 'media: dvb-core: Fix use-after-free due to race at dvb_register_device()'
mainline: 627bb528b086b4136315c25d6a447a98ea9448d3
upstream: dc04ff778b4f8ff4560f1c42993417359e74d36a
dec38a328d1cb93913450eab8c0b2b52ca6d96b7:
title: 'media: edia: dvbdev: fix a use-after-free'
mainline: 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5
upstream: d0f5c28333822f9baa5280d813124920720fd856
a9c53a71d5103df700ba1022bd793c2e7da2e4b3:
title: 'clk: qcom: reset: Allow specifying custom reset delay'
mainline: 2cb8a39b6781ea23accd1fa93b3ad000d0948aec
upstream: 5f0a066e0ece83eb4c72c6672539bcdbfeb39a4e
7091467f8cf4ffb05762766872608822fba862a6:
title: 'clk: qcom: reset: support resetting multiple bits'
mainline: 4a5210893625f89723ea210d7c630b730abb37ad
upstream: 38dd93f87da08876edf8df89a5992ce46da920ea
fb58c616f8d5d230746a6e834a13daaf9616432d:
title: 'clk: qcom: reset: Commonize the de/assert functions'
mainline: eda40d9c583e95e0b6ac69d2950eec10f802e0e8
upstream: 823c46950d9a96e94db8f565013f4f2f528c2bbe
3acb0bf9b01663735e38d8647655c4c2dc81aa80:
title: 'clk: qcom: reset: Ensure write completion on reset de/assertion'
mainline: 2f8cf2c3f3e3f7ef61bd19abb4b0bb797ad50aaf
upstream: d258d124f435adb3cac491e4b0274e75597f3a02
045db5c9471c0d3662193af5123c40c459442c29:
title: 'quota: code cleanup for __dquot_alloc_space()'
mainline: df15a2a59d0b29d86e17140b83ed231adaded12f
upstream: d9e4ab12b60a49204435102f8120c0d3e62583f1
34b20f6e467fcd6dcd4352a429263beca0cc46fc:
title: 'fs/quota: erase unused but set variable warning'
mainline: 78bc3334a69ff289dbc973a9db7c52a2d7757e5b
upstream: 1974c13019b97140149690cd622a9c6732c32124
92b446b2b7dfe86c8955bf914789754b2d44ec81:
title: 'quota: check time limit when back out space/inode change'
mainline: 632a9f3acd6687376cbb0b178df6048e19cbacc9
upstream: e87ed533e7a6167f4a5e1b0fdbf21784acf115cc
ba23e07d50c32bf3e5c651e29fe526f53652b28b:
title: 'quota: simplify drop_dquot_ref()'
mainline: 7bce48f0fec602b3b6c335963b26d9eefa417788
upstream: 248699a705f31211c0d7cc9e0d79cbbabbc9c791
b2b5f36baf4785d586642aab144412e5961b7955:
title: 'quota: Fix potential NULL pointer dereference'
mainline: d0aa72604fbd80c8aabb46eda00535ed35570f1f
upstream: 8514899c1a4edf802f03c408db901063aa3f05a1
9b7a96f32e377542671c0cc2c43a1ab5cfa84723:
title: 'quota: Fix rcu annotations of inode dquot pointers'
mainline: 179b8c97ebf63429589f5afeba59a181fe70603e
upstream: 06172dff9a47e76dfce9b60d44ef21131b417803
d85a1e5fdc93c04aad783ac5134fe266a0a372b7:
title: 'perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str()'
mainline: 1eb3d924e3c0b8c27388b0583a989d757866efb6
upstream: f9e92ad5eb0901cacac8f1cc4e5ea12514f7934b
38f97031f0e5fad4f2a081d34cd1a1365cca5e05:
title: 'drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode()'
mainline: c4891d979c7668b195a0a75787967ec95a24ecef
upstream: 1c35795b90f4dce0605ace7eef9ae1bd1282ebf2
9075faa224b8911050442a04a83e7156df94f0b7:
title: 'ALSA: seq: fix function cast warnings'
mainline: d7bf73809849463f76de42aad62c850305dd6c5d
upstream: 9f9254f8927d9f4e4185ec18d8ee648dfcb5ed62
0203c9b23b47d5e2f6d817b69d592ccc88d9a1f5:
title: 'media: go7007: add check of return value of go7007_read_addr()'
mainline: 0b70530ee740861f4776ff724fcc25023df1799a
upstream: ff13e3ce6aa4c0dfdbc6438fe3c03118afe3ee8c
ef1a77adc95fea554698fbbe7530b7e7da5ef4a6:
title: 'media: pvrusb2: fix pvr2_stream_callback casts'
mainline: 30baa4a96b23add91a87305baaeba82c4e109e1f
upstream: 4e93392ae27eb5f8ad4efd31cf8f1ecd5fdabe15
bbb93685c7c6f27816955df2d599ca30a5ff2dbb:
title: 'drm/mediatek: dsi: Fix DSI RGB666 formats and definitions'
mainline: fae6f815505301b92d9113764f4d76d0bfe45607
upstream: a5e660dba9ff73531053664e20dd858d880adbdb
8bfb9ffc388bc45abfcbf77b8b2c0715c4a950f6:
title: 'PCI: Mark 3ware-9650SE Root Port Extended Tags as broken'
mainline: baf67aefbe7d7deafa59ca49612d163f8889934c
upstream: 8443ceba0a8e5960e134ef26346266cb2d3a251d
2c4e4f364fc917492491e7e801a11aa3d021eaba:
title: 'clk: hisilicon: hi3519: Release the correct number of gates in hi3519_clk_unregister()'
mainline: 74e39f526d95c0c119ada1874871ee328c59fbee
upstream: 907370aacf216e3a662d44e88d204413488444b3
964b1a6dfa9591962a88502cbce73e0d5a39f12c:
title: 'drm/tegra: put drm_gem_object ref on error in tegra_fb_create'
mainline: 32e5a120a5105bce01561978ee55aee8e40ac0dc
upstream: d674e78da934afd2ce5935eff08cf5361a9a27ac
cc17862516e0adc1504c13f2bcf8e6e660af3912:
title: 'mfd: syscon: Call of_node_put() only when of_parse_phandle() takes a ref'
mainline: d2b0680cf3b05490b579e71b0df6e07451977745
upstream: 5d16d3dc28a95915c1f7a41f68f2a069ced4b578
7fc8137190a1cebb8826d8ed71480d2653801e3f:
title: 'crypto: arm - Rename functions to avoid conflict with crypto/sha256.h'
mainline: e4dcc1be15268b6d34de3968f906577591521bd5
upstream: bdb1db7115d9b2a9d10c101dfc67386485fad00d
0147d403e14fcf04d14e54c8db8c92e0b9e895c1:
title: 'crypto: arm/sha - fix function cast warnings'
mainline: 53cc9baeb9bc2a187eb9c9790d30995148852b12
upstream: 8d27d1b155c26bae2bd76b0c3e78cc4f1f1e21c5
1b84c12ebaccfd96af1d200d69bad289842962a9:
title: 'mtd: rawnand: lpc32xx_mlc: fix irq handler prototype'
mainline: 347b828882e6334690e7003ce5e2fe5f233dc508
upstream: 9fc05d7953b0d71372b632e1d62abf78c6ac9d64
d7fb1c3d480ad75315a420879665772dd588cd44:
title: 'drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int()'
mainline: 7cf1ad2fe10634238b38442a851d89514cb14ea2
upstream: 5a2b18dbec88b972d570994483f188cb59586609
6251ccc9fe18868635199a6e3dcd17ac5732060a:
title: 'media: pvrusb2: fix uaf in pvr2_context_set_notify'
mainline: 0a0b79ea55de8514e1750884e5fec77f9fdd01ee
upstream: ed8000e1e8e9684ab6c30cf2b526c0cea039929c
810b8a9fe3e1bc6bc357b08882289aab5be3909e:
title: 'media: dvb-frontends: avoid stack overflow warnings with clang'
mainline: 7a4cf27d1f0538f779bf31b8c99eda394e277119
upstream: c073c8cede5abd3836e83d70d72606d11d0759d4
d692197c4290038026cd849e964cbc0963b8baf7:
title: 'media: go7007: fix a memleak in go7007_load_encoder'
mainline: b9b683844b01d171a72b9c0419a2d760d946ee12
upstream: 7f11dd3d165b178e738fe73dfeea513e383bedb5
f754e826a42f26ce110d8c22ac3efcd5b8f714a8:
title: 'drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip'
mainline: c958e86e9cc1b48cac004a6e245154dfba8e163b
upstream: accdac6b71d5a2b84040c3d2234f53a60edc398e
1785997d8b483b47a511d6d61e2e8cc20095ec5d:
title: 'powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks'
mainline: ad86d7ee43b22aa2ed60fb982ae94b285c1be671
upstream: 0a1754ba8d537e054b01f0c2dc6b653a5a1b685d
138ea96e89f7b2bccb7b3fee18b0a4430e6b2f5c:
title: 'powerpc/embedded6xx: Fix no previous prototype for avr_uart_send() etc.'
mainline: 20933531be0577cdd782216858c26150dbc7936f
upstream: 131dffef3a81e9c6f4a9e278ffd66f3eb5ae8c3e
e50c0ec386b601a2161ecf3ce4d8bb64dc0226bd:
title: 'backlight: lm3630a: Initialize backlight_properties on init'
mainline: ad9aeb0e3aa90ebdad5fabf9c21783740eb95907
upstream: 063b294747b47f7bdaad3953542e73552bf7fe65
d0ca047e07a3357a1cfa5de925311b5496e1b233:
title: 'backlight: lm3630a: Don''t set bl->props.brightness in get_brightness'
mainline: 4bf7ddd2d2f0f8826f25f74c7eba4e2c323a1446
upstream: 85360e411bd2239ef184178352fab6582a0fcb85
80b386048fb42668966e1afc0ae2c4d6e6dfd1fa:
title: 'backlight: da9052: Fully initialize backlight_properties during probe'
mainline: 0285e9efaee8276305db5c52a59baf84e9731556
upstream: ba9f50fa0edd4d45bc9840ba05efa9b526a30b53
2f286fb34ca716ba08e7f4cb0f020ce20cb9d219:
title: 'backlight: lm3639: Fully initialize backlight_properties during probe'
mainline: abb5a5d951fbea3feb5c4ba179b89bb96a1d3462
upstream: 9d0aaf425cc5aec627ee7cae0990e6c5b7d2adb9
3f2fe45a95a3f6a3cd5f7c17d8c53a41b1800d75:
title: 'backlight: lp8788: Fully initialize backlight_properties during probe'
mainline: 392346827fbe8a7fd573dfb145170d7949f639a6
upstream: 3301f60ab7ebc14ec7242f1ad62dc151e11cd308
1455216df91812ea6d3e0fcf0ce4be142ba39cbc:
title: 'sparc32: Fix section mismatch in leon_pci_grpci'
mainline: 24338a6ae13cb743ced77da1b3a12c83f08a0c96
upstream: 6bf3c3508c839c4457058686fbd59d9c55e5e598
684d0dfc0167a62bb2fc9c3c2d97e421a6f8f1d7:
title: 'ALSA: usb-audio: Stop parsing channels bits when all channels are found.'
mainline: a39d51ff1f52cd0b6fe7d379ac93bd8b4237d1b7
upstream: 7e2c1b0f6dd9abde9e60f0f9730026714468770f
ee504736ec7911bfb90382f7f3222faa7982dc0f:
title: 'scsi: csiostor: Avoid function pointer casts'
mainline: 9f3dbcb5632d6876226031d552ef6163bb3ad215
upstream: 77d9c6364756ec8986b8d7f801bcb2295cfa036a
826d2a5f4af824bc5457e9ca919e6d0e0da677c5:
title: 'scsi: bfa: Fix function pointer type mismatch for hcb_qe->cbfn'
mainline: b69600231f751304db914c63b937f7098ed2895c
upstream: 8413fc5ef952b5ddd606a42b2be1e15694e2f526
dd5627de25e1b9b306a735e52a9be0189c50681e:
title: 'net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr()'
mainline: d6f4de70f73a106986ee315d7d512539f2f3303a
upstream: 867a6a6899a68323d6ef8995ea3765611d67ba1e
43e88e13e5e89dabaa722dcbe424df93ff3fa50b:
title: 'NFS: Fix an off by one in root_nfs_cat()'
mainline: 698ad1a538da0b6bf969cfee630b4e3a026afb87
upstream: 9bb320c5cea50e7fa82a477743a6a0546eaa37b3
ac71f4414591935d0d42f189b92234f8475c8e26:
title: 'clk: qcom: gdsc: Add support to update GDSC transition delay'
mainline: 4e7c4d3652f96f41179aab3ff53025c7a550d689
upstream: 13c921e83ef2f8c2d7f6d79272e7760de605ca3c
5f8e15a6c9782fe17177f6adbed2605e2626ec1a:
title: 'serial: max310x: fix syntax error in IRQ error message'
mainline: 8ede8c6f474255b2213cccd7997b993272a8e2f9
upstream: e75ae3225cd1e1648c5140abf21d8c76b4b5e10a
2ba503c76ed0e3fb44574c56c207662044701968:
title: 'tty: serial: samsung: fix tx_empty() to return TIOCSER_TEMT'
mainline: 314c2b399288f0058a8c5b6683292cbde5f1531b
upstream: 6e839e4153c9881d79f94263fa352db35aa82b20
5fa039f25b048a293240318f643539862f51a239:
title: 'rtc: mediatek: enhance the description for MediaTek PMIC based RTC'
251fdf12a591f6f0393c9a074493372ee677d5ef:
title: 'rtc: mt6397: select IRQ_DOMAIN instead of depending on it'
mainline: 544c42f798e1651dcb04fb0395219bf0f1c2607e
upstream: 575fe3cc7fe2f80e9f45e1d36a4526ea43fbf280
05809dc60c6107cc2d59fc9e5c6ab7880415cce8:
title: 'serial: 8250_exar: Don''t remove GPIO device on suspend'
mainline: 73b5a5c00be39e23b194bad10e1ea8bb73eee176
upstream: 787e2620d1574196f10193a7c3693d95958254cb
5bc6fb9dd8654ad945d2ab614de42276880ed458:
title: 'staging: greybus: fix get_channel_from_mode() failure path'
mainline: 34164202a5827f60a203ca9acaf2d9f7d432aac8
upstream: 40bbb7e4e83a53b5ae2c4b79c675618159571d83
f950312d06f35a0dcf0d89eedd046d78ecaacb57:
title: 'usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin'
mainline: 600556809f04eb3bbccd05218215dcd7b285a9a9
upstream: 4371549533b124e1693a7771303e44ed827af2e0
c412392d4e52ac3f871a4b94dcd97886f61f1c68:
title: 'net: hsr: fix placement of logical operator in a multi-line statement'
mainline: 059477830022e1886f55a9641702461c249fa864
upstream: 9706929ab421a6f68ed72fc0e6371e4fca8e698a
f185d5434353871c54ffa351ed5647bc974a29f9:
title: 'hsr: Fix uninit-value access in hsr_get_node()'
mainline: ddbec99f58571301679addbc022256970ca3eac6
upstream: e3b2bfb8ff1810a537b2aa55ba906a6743ed120c
e2ef56dd89fdb684f70940c3a13aeacaa5551b2f:
title: 'rds: introduce acquire/release ordering in acquire/release_in_xmit()'
mainline: 1422f28826d2a0c11e5240b3e951c9e214d8656e
upstream: bec6c4ce1169a565c58c347d5d0ac22e46d507d6
b3f50f65706d8c16fc23b4c2d67622da15dbf2f2:
title: 'hsr: Handle failures in module init'
mainline: 3cf28cd492308e5f63ed00b29ea03ca016264376
upstream: 9a4e0ec0624c5b3e07fb042b307b98c3543de2f4
ac6c533f13a4ec9071d6548a8be5467ab238c6aa:
title: 'net/bnx2x: Prevent access to a freed page in page_pool'
mainline: d27e2da94a42655861ca4baea30c8cd65546f25d
upstream: 7bcc090c81116c66936a7415f2c6b1483a4bcfd9
d49e4f3714a9208ee47e19da264ef74eab869b2e:
title: 'spi: spi-mt65xx: Fix NULL pointer access in interrupt handler'
mainline: a20ad45008a7c82f1184dc6dee280096009ece55
upstream: 2342b05ec5342a519e00524a507f7a6ea6791a38
2939b898498d9da54f5ea4c0b3d698a7644843fa:
title: 'crypto: af_alg - Fix regression on empty requests'
mainline: 662bb52f50bca16a74fe92b487a14d7dccb85e1a
upstream: 546e3961b5d4c6db82cfb441fabb4353940c8f95
3f81c30ae458bf0f8cc2f421f3254ffa59dd95df:
title: 'crypto: af_alg - Work around empty control messages without MSG_MORE'
mainline: c195d66a8a75c60515819b101975f38b7ec6577f
upstream: ba1f292491c011fa11d80b152f15ef97e4519891

View File

@@ -1,555 +0,0 @@
b6367d59022c3d29f26c2674b1d27b9a57fd7611:
title: 'ARM: 9303/1: kprobes: avoid missing-declaration warnings'
mainline: 1b9c3ddcec6a55e15d3e38e7405e2d078db02020
6ca1b2d3199e6cc70dbe78e0aac0c645864f254e:
title: 'IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors'
mainline: fd8958efe8779d3db19c9124fce593ce681ac709
3897b04a0125d9a98b69d9e640894e989e0111f0:
title: 'ALSA: jack: Fix mutex call in snd_jack_report()'
mainline: 89dbb335cb6a627a4067bc42caa09c8bc3326d40
44918a75916b6ac426f3eb490ec190f7267ebe58:
title: 'pinctrl: amd: Detect internal GPIO0 debounce handling'
mainline: 968ab9261627fa305307e3935ca1a32fcddd36cb
baf47aad0cfd39d3fa596efcaee9515a4faa5333:
title: 'btrfs: fix extent buffer leak after tree mod log failure at split_node()'
mainline: ede600e497b1461d06d22a7d17703d9096868bc3
49d8396c56ccab57ecb82eac5f03d2ddbc6c5d5f:
title: 'ext4: fix to check return value of freeze_bdev() in ext4_shutdown()'
mainline: c4d13222afd8a64bf11bc7ec68645496ee8b54b9
e10468ba237d9e21c82e7ba195c65ade5c98f1f6:
title: 'iio: addac: stx104: Fix race condition for stx104_write_raw()'
mainline: 9740827468cea80c42db29e7171a50e99acf7328
0610bb030e1533960373b258cc1da102a9797ef4:
title: 'block: fix signed int overflow in Amiga partition support'
mainline: fc3d092c6bb48d5865fec15ed5b333c12f36288c
a450641d12ecfdc76146e9adbf9afa97d4066f13:
title: 'media: v4l2-fwnode: fix v4l2_fwnode_parse_link handling'
mainline: 453b0c8304dcbc6eed2836de8fee90bf5bcc7006
9e997f74ce0f2fcd1544dfb02dba9e34302e316c:
title: 'selftests/ftrace: Add new test case which checks non unique symbol'
mainline: 03b80ff8023adae6780e491f66e932df8165e3a0
c86b5b015e84106b7f27125afa8cab73b6049404:
title: 'iio: exynos-adc: request second interupt only when touchscreen mode is used'
mainline: 865b080e3229102f160889328ce2e8e97aa65ea0
1fc95525bb3120beb3ecb973c63d15451af155d1:
title: 'tty: Fix uninit-value access in ppp_sync_receive()'
mainline: 719639853d88071dfdfd8d9971eca9c283ff314c
99be7e54736c8c10ef7eb932663e6934e7211d40:
title: 'tipc: Fix kernel-infoleak due to uninitialized TLV value'
mainline: fb317eb23b5ee4c37b0656a9a52a3db58d9dd072
4425848d99f2d3b435b82908cb5d97cbe2a8bea0:
title: 'xen/events: fix delayed eoi list handling'
mainline: 47d970204054f859f35a2237baa75c2d84fcf436
44bca7e58d3781ecfcc50a057dc543cf1a4f5aa2:
title: 'ptp: annotate data-race around q->head and q->tail'
mainline: 73bde5a3294853947252cd9092a3517c7cb0cd2d
3dc6016771b5b1ba4a6b2e5b30bde6a60f58da0a:
title: 'ppp: limit MRU to 64K'
mainline: c0a2a1b0d631fc460d830f52d06211838874d655
5637b9415bdd7751c16e7c4bf6f5aac4153b9ad5:
title: 'macvlan: Don''t propagate promisc change to lower dev in passthru'
mainline: 7e1caeace0418381f36b3aa8403dfd82fc57fc53
cb012706e5b68819a0621bc309bef26361bc0242:
title: 'cifs: spnego: add '';'' in HOST_KEY_LEN'
mainline: ff31ba19d732efb9aca3633935d71085e68d5076
8905c5cb8ab75e1db511953a5ff6bcaabba923ab:
title: 'MIPS: KVM: Fix a build warning about variable set but not used'
mainline: 83767a67e7b6a0291cde5681ec7e3708f3f8f877
af8bc7a89e19db227d1dc677274e0551e557be36:
title: 'smb3: fix touch -h of symlink'
mainline: 475efd9808a3094944a56240b2711349e433fb66
d4ad1c73b6822d4420f5040e390a469525012265:
title: 'fbdev: stifb: Make the STI next font pointer a 32-bit signed offset'
mainline: 8a32aa17c1cd48df1ddaa78e45abcb8c7a2220d6
deff8222bd2f74ee0f6b68d182eda890faaf40ba:
title: 'IB/isert: Fix unaligned immediate-data handling'
mainline: 0b089c1ef7047652b13b4cdfdb1e0e7dbdb8c9ab
f22913e1425acf9ecf5c5aa3754d1db3d8606e59:
title: 'arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names'
mainline: 24165c5dad7ba7c7624d05575a5e0cc851396c71
53a85c328dba07d400e92923f28a176ab66aa4fa:
title: 'net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()'
mainline: 01a564bab4876007ce35f312e16797dfe40e4823
90fe1515b0d0c3b6a6791a8830634866335de049:
title: 'pinctrl: at91-pio4: use dedicated lock class for IRQ'
mainline: 14694179e561b5f2f7e56a0f590e2cb49a9cc7ab
cc34811325d1ae1e3058a8dc3223e53ac7a56879:
title: 'btrfs: do not allow non subvolume root targets for snapshot'
mainline: a8892fd71933126ebae3d60aec5918d4dceaae76
30e342297e0c2ad1593e205b183bc5d023e587e2:
title: 'smb: client: fix OOB in smbCalcSize()'
mainline: b35858b3786ddbb56e1c35138ba25d6adf8d0bef
edaa381535f5630e8a8d28b572eea3c42ff61d19:
title: 'usb: fotg210-hcd: delete an incorrect bounds test'
mainline: 7fbcd195e2b8cc952e4aeaeb50867b798040314c
d276b94d1aa48da69d5128bd20dbbd1ddf4eb432:
title: 'IB/hfi1: Fix sdma.h tx->num_descs off-by-one error'
mainline: e6f57c6881916df39db7d95981a8ad2b9c3458d6
b46a8405794cad6204be3042221a7c21f77d8c62:
title: 'pinctrl: amd: Only use special debounce behavior for GPIO 0'
mainline: 0d5ace1a07f7e846d0f6d972af60d05515599d0b
fdedafcd742d8559f1ad629c189a2536b7db9f46:
title: 'PCI: qcom: Disable write access to read only registers for IP v2.3.3'
mainline: a33d700e8eea76c62120cb3dbf5e01328f18319a
c3ac72987ed13ef8fa08a06df187933552352c4f:
title: 'ASoC: cs42l51: fix driver to properly autoload with automatic module loading'
mainline: e51df4f81b02bcdd828a04de7c1eb6a92988b61e
e90f7b2f28a78446741403c19d0d68863ee0193a:
title: 'x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms'
mainline: edc0a2b5957652f4685ef3516f519f84807087db
52fca5bb0ec336fc31cb97aec94471e9ca07d68c:
title: 'regmap: Account for register length in SMBus I/O limits'
mainline: 0c9d2eb5e94792fe64019008a04d4df5e57625af
416820cdafc7f91f2a0657857eb972a4943bd7a4:
title: 'sched/rt: pick_next_rt_entity(): check list_entry'
mainline: 7c4a5b89a0b5a57a64b601775b296abf77a9fe97
615179d3ecf2bbc4af25755f5eb29f8b42343a23:
title: 'arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller'
mainline: 36541089c4733355ed844c67eebd0c3936953454
bfc632c94ee01d6df7f63b34853326caa34903f9:
title: 'MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled'
mainline: ef8f8f04a0b25e8f294b24350e8463a8d6a9ba0b
1c78ca6a42d34e98bbd22bd5eff7cf1313eae907:
title: 'xen-netback: use default TX queue size for vifs'
mainline: 66cf7435a26917c0c4d6245ad9137e7606e84fdf
e4325866403488f055694d166f5ce40dd78d8ee4:
title: 'r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1'
mainline: dcf75a0f6bc136de94e88178ae5f51b7f879abc9
89953db2dc4fc004cc9f89585cd614ea925ab64c:
title: 'can: dev: can_restart(): don''t crash kernel if carrier is OK'
mainline: fe5c9940dfd8ba0c73672dddb30acd1b7a11d4c7
c9c68fd8c6b4b1d06691978cdeb6db4e24689038:
title: 'can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()'
mainline: 6841cab8c4504835e4011689cbdb3351dec693fd
607895f054178a48f6e1b93d9593204cd7ec23d6:
title: 'PCI: keystone: Don''t discard .remove() callback'
mainline: 200bddbb3f5202bbce96444fdc416305de14f547
049e87ba1c0af12f2a20fe643d3279f9f10a9a3e:
title: 'PCI: keystone: Don''t discard .probe() callback'
mainline: 7994db905c0fd692cf04c527585f08a91b560144
50115d1f00090102e4710e783df515d082b16df1:
title: 'ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE'
mainline: 13736654481198e519059d4a2e2e3b20fa9fdb3e
5640235350f177b104ab4398e235eb8896f57eb2:
title: 'reset: Fix crash when freeing non-existent optional resets'
mainline: 4a6756f56bcf8e64c87144a626ce53aea4899c0e
af2908904edad8cf9715b47b0e79908a95da3647:
title: 'net/rose: fix races in rose_kill_by_device()'
mainline: 64b8bc7d5f1434c636a40bdcfcd42b278d1714be
69af869a0796b07ba9c970573b10c8973bd6d01f:
title: 'usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling'
mainline: b65ba0c362be665192381cc59e3ac3ef6f0dd1e1
5a4b3f5db7d61d2da0ba29c2c3093c3e2e6396c9:
title: 'Documentation: fix little inconsistencies'
mainline: 98bfa34462fb6af70b845d28561072f80bacdb9b
2913b0ba7f6e2d9cc248bd735c4355521ecfabc9:
title: 'irqchip/jcore-aic: Kill use of irq_create_strict_mappings()'
mainline: 5f8b938bd790cff6542c7fe3c1495c71f89fef1b
3e768cbf9216ce85725737f867956a8f2ca0a457:
title: 'irqchip/jcore-aic: Fix missing allocation of IRQ descriptors'
mainline: 4848229494a323eeaab62eee5574ef9f7de80374
b6e41b5c2379ff1395ca96b6386c05a32843c2a5:
title: 'nfc: constify several pointers to u8, char and sk_buff'
mainline: 3df40eb3a2ea58bf404a38f15a7a2768e4762cb0
45de6db884778ef4e93de4ae7280cd611d884504:
title: 'nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()'
mainline: 0d9b41daa5907756a31772d8af8ac5ff25cf17c1
3d857eb0919abf307085ca6832f0ac4d93a24a64:
title: 'hwrng: virtio - add an internal buffer'
mainline: bf3175bc50a3754dc427e2f5046e17a9fafc8be7
278c136276289aa6d3df570c3b062d9fbeedc89b:
title: 'hwrng: virtio - don''t wait on cleanup'
mainline: 2bb31abdbe55742c89f4dc0cc26fcbc8467364f6
97e7381a6f9194c77cd5459f7561193d45a0aa33:
title: 'hwrng: virtio - don''t waste entropy'
mainline: 5c8e933050044d6dd2a000f9a5756ae73cbe7c44
7d1e957a222bb21290e580049099d103ced9fd6a:
title: 'hwrng: virtio - always add a pending request'
mainline: 9a4b612d675b03f7fc9fa1957ca399c8223f3954
c3e52a599f7f62da2ad63e22410984d9aa60e10d:
title: 'hwrng: virtio - Fix race on data_avail and actual data'
mainline: ac52578d6e8d300dd50f790f29a24169b1edd26c
210c0fdcd3a63fbbdd4b235d76dc552da17a1c72:
title: 'i2c: xiic: Fix kerneldoc warnings'
mainline: bcc156e2289d35673928fecf85c798a9d55f0b14
95aabd146e569369fd59671b707d6ad8d51bc72d:
title: 'i2c: xiic: Add timeout to the rx fifo wait loop'
mainline: b4c119dbc300c7a6ee2da70d5c7ba14747b35142
f19338828b5ef9275e53a562253bba42620b8237:
title: 'i2c: xiic: Change code alignment to 1 space only'
mainline: 0a9336ee133deb39f962e16b5eca2a48fec4eb52
bcbf5ebbe44731241b63d63b49fd3f4603d64071:
title: 'i2c: xiic: Fix broken locking on tx_msg'
mainline: c119e7d00c916881913011e6f4c6ac349a41e4e2
afe1470c49177fb9d7144561e1d93f4c5a0d4bfc:
title: 'i2c: xiic: Defer xiic_wakeup() and __xiic_start_xfer() in xiic_process()'
mainline: 743e227a895923c37a333eb2ebf3e391f00c406d
8a0f82d628a2ab065fc339a5089d567ca7a42f49:
title: 'i2c: xiic: Don''t try to handle more interrupt events after error'
mainline: cb6e45c9a0ad9e0f8664fd06db0227d185dc76ab
e30d592833c874df29f606cd7bb8db5ee8a99415:
title: 'net: tcp_input: Neaten DBGUNDO'
mainline: 3934788a7b4df71f8bd7a2a1f1c0480f06a2076e
ee0c076e95ebf74f2ba1d795a624452176bcfbbe:
title: 'net: bcmgenet: Avoid calling platform_device_put() twice in bcmgenet_mii_exit()'
mainline: aa7365e19f8410659ec30503cd8ce866a176c9f4
e97f35bdb99bd53102c39a90471f8fdefa3c2cf4:
title: 'net: bcmgenet: Ensure MDIO unregistration has clocks enabled'
mainline: 1b5ea7ffb7a3bdfffb4b7f40ce0d20a3372ee405
116ca77c4c71f447185ebc9bbe1c71cd4d96c062:
title: 'ceph: define argument structure for handle_cap_grant'
mainline: a1c6b8358171c16db0f858a7fbb28aa574b07c09
fea2d6421e6233a9d7ab4b6017303d72b16aae7d:
title: 'ceph: don''t let check_caps skip sending responses for revoke msgs'
mainline: 257e6172ab36ebbe295a6c9ee9a9dd0fe54c1dc2
c3b84f9003a993627adf8fb99f2141488f56381e:
title: 'net: Replace the limit of TCP_LINGER2 with TCP_FIN_TIMEOUT_MAX'
mainline: f0628c524fd188c3f9418e12478dfdfadacba815
d5a497ae323bb6ab71d7b5eb8b9bae056f920033:
title: 'tcp: annotate data-races around tp->linger2'
mainline: 9df5335ca974e688389c875546e5819778a80d59
cd432e4c1b933a42f95ba14762afbcb1f932a9c0:
title: 'ext4: rename journal_dev to s_journal_dev inside ext4_sb_info'
mainline: ee7ed3aa0f08621dbf897d2a98dc6f2c7e7d0335
3cacee45e38c0c293d4b4e8b44eaa0ffaf503f72:
title: 'ext4: Fix reusing stale buffer heads from last failed mounting'
mainline: 26fb5290240dc31cae99b8b4dd2af7f46dfcba6b
e6dd1522cb62c19dd5d4131710f9d2992548efdf:
title: 'dlm: cleanup plock_op vs plock_xop'
mainline: bcbb4ba6c9ba81e6975b642a2cade68044cd8a66
f6f6a0dec0c6cb62d700e6a1b979b67be8d1ef06:
title: 'dlm: rearrange async condition return'
mainline: a800ba77fd285c6391a82819867ac64e9ab3af46
95ba3c92f307d3017a4cad2ac37cb94e3ed6e799:
title: 'fs: dlm: interrupt posix locks only when process is killed'
mainline: 59e45c758ca1b9893ac923dd63536da946ac333b
a8a61debd3e4dd682b5661b5dd0230622bec22ed:
title: 'btrfs: simplify IS_ERR/PTR_ERR checks'
mainline: 8d9e220ca0844bf75b98cb5b8e2c25d203c0d0f6
aa11e1e3cda3cf7e6b8664b93d5af3eaaad8a98d:
title: 'btrfs: check for commit error at btrfs_attach_transaction_barrier()'
mainline: b28ff3a7d7e97456fd86b68d24caa32e1cfa7064
eff17aaaaced7877e833d19a0bc679651632c109:
title: 'scsi: zfcp: workqueue: set description for port work items with their WWPN as context'
mainline: 5c750d58e9d78987e2bda6b65441e6f6b961a01e
550d8906f7a311955da9e7ec57e92a79ad9b1044:
title: 'scsi: zfcp: Defer fc_rport blocking until after ADISC response'
mainline: e65851989001c0c9ba9177564b13b38201c0854c
b54ef4914a396bf6da749e33036fab3b2a84368e:
title: 'PM / wakeirq: support enabling wake-up irq after runtime_suspend called'
mainline: 259714100d98b50bf04d36a21bf50ca8b829fc11
16853250e57a8a89839d7f9a5628f433a9c9164f:
title: 'PM: sleep: wakeirq: fix wake irq arming'
mainline: 8527beb12087238d4387607597b4020bc393c4b4
d27937e2279cf13e7b7c57ff5c0a6636ca6eea50:
title: 'mmc: meson-gx: remove useless lock'
mainline: 83076d2268c72d123f3d1eaf186a9f56ec1b943a
c6bedc5607e55567e777c28af26c57303b08e129:
title: 'mmc: meson-gx: remove redundant mmc_request_done() call from irq context'
mainline: 3c40eb8145325b0f5b93b8a169146078cb2c49d6
70868b0c559cc25c2a841c113293a6afc4538d01:
title: 'nfsd4: kill warnings on testing stateids with mismatched clientids'
mainline: 663e36f07666ff924012defa521f88875f6e5402
bdc1664459d8064eb02ddb76c315dafb6b571f0e:
title: 'nfsd: Remove incorrect check in nfsd4_validate_stateid'
mainline: f75546f58a70da5cfdcec5a45ffc377885ccbee8
a56312f49990de12ec7b3d966bbf8644d89b8187:
title: 'dlm: improve plock logging if interrupted'
mainline: bcfad4265cedf3adcac355e994ef9771b78407bd
10d746f6180ca8a78a5f370181ad6c14f587f0dc:
title: 'dlm: replace usage of found with dedicated list iterator variable'
mainline: dc1acd5c94699389a9ed023e94dd860c846ea1f6
127999b1f810d0421aa7e553e9cdcde318b1887f:
title: 'fs: dlm: add pid to debug log'
mainline: 19d7ca051d303622c423b4cb39e6bde5d177328b
e6bfc1367e60133389f38b4f8e6a0639a27bea78:
title: 'fs: dlm: change plock interrupted message to debug again'
mainline: ea06d4cabf529eefbe7e89e3a8325f1f89355ccd
0f6305457b27e01b6a5e4f486d3f49c34bab496e:
title: 'fs: dlm: use dlm_plock_info for do_unlock_close'
mainline: 4d413ae9ced4180c0e2114553c3a7560b509b0f8
0b0e05f21ee5f823cc062c2df8a27f292c56007c:
title: 'fs: dlm: fix mismatch of plock results from userspace'
mainline: 57e2c2f2d94cfd551af91cedfa1af6d972487197
050f94118e4753e12230982cfc021116d37764c6:
title: 'MIPS: cpu-features: Enable octeon_cache by cpu_type'
mainline: f641519409a73403ee6612b8648b95a688ab85c2
129c199aa0d9d5d4e0c1c784c21e0cb9de98c738:
title: 'MIPS: cpu-features: Use boot_cpu_type for CPU type based features'
mainline: 5487a7b60695a92cf998350e4beac17144c91fcd
ae7ad73420b84636f3c3ef56ab3395e443de7bc8:
title: 'Revert "tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP"'
mainline: 4e9679738a918d8a482ac6a2cb2bb871f094bb84
38c48e8208a3aa72af922e6066fff0ccc59059f6:
title: 'tty: serial: fsl_lpuart: add earlycon for imx8ulp platform'
mainline: e0edfdc15863ec80a1d9ac6e174dbccc00206dd0
790ba10b696a0644d0d674ccfada612841160654:
title: 'fbdev: Improve performance of sys_imageblit()'
mainline: 6f29e04938bf509fccfad490a74284cf158891ce
000e6839ff5a15a30db490549ac2a4b6fd7897f7:
title: 'fbdev: Fix sys_imageblit() for arbitrary image widths'
mainline: 61bfcb6a3b981e8f19e044ac8c3de6edbe6caf70
fd2daf94457d373bfc3bec7848c016f7eda8437d:
title: 'fbdev: fix potential OOB read in fast_imageblit()'
mainline: c2d22806aecb24e2de55c30a06e5d6eb297d161d
a975f7d7c8a9b294e140eb3ee7decc85a1eef8cf:
title: 'net: remove bond_slave_has_mac_rcu()'
mainline: 8b0fdcdc3a7d44aff907f0103f5ffb86b12bfe71
7fb02a7f7d83ee430f670597abb8d6a6d10f0594:
title: 'bonding: fix macvlan over alb bond support'
mainline: e74216b8def3803e98ae536de78733e9d7f3b109
43a1a81dc41cc370c7d9d22d9643a2aafcd70416:
title: 'mwifiex: drop ''set_consistent_dma_mask'' log message'
mainline: f7369179ad32000973fc7a0a76603e0b41792b52
7a73825cdd948a89445ff03f858517d49ef06194:
title: 'mwifiex: switch from ''pci_'' to ''dma_'' API'
mainline: 4cf975f640fefdfdf6168a79e882558478ce057a
e32af8cb49f42d5ab30497922feca00033a72966:
title: 'wifi: mwifiex: fix error recovery in PCIE buffer descriptor management'
mainline: 288c63d5cb4667a51a04668b3e2bb0ea499bc5f4
aa5a8b2a894434b1369882e2fd19cd63508998fc:
title: 'ath9k: use irqsave() in USB''s complete callback'
mainline: 84a0d4669c8fdbe6e3e23937c5083af99a1946f2
38af08a8cd605518c36e54d4d2b1d60cffc3bfd4:
title: 'wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx'
mainline: b674fb513e2e7a514fcde287c0f73915d393fdb6
07da16c6e55bc394a29ba4f4da176e96d9ace43d:
title: 'ARM: dts: BCM5301X: Harmonize EHCI/OHCI DT nodes name'
mainline: 74abbfe99f43eb7466d26d9e48fbeb46b8f3d804
73b5bae64a17666626cf1ced507adb32e1a36609:
title: 'ARM: dts: BCM53573: Drop nonexistent #usb-cells'
mainline: 05d2c3d552b8c92fc397377d9d1112fc58e2cd59
067937ca477d5457ee6b6ec835436a3b27ac2e8e:
title: 'drm/tegra: Remove superfluous error messages around platform_get_irq()'
mainline: d12919bb5da571ec50588ef97683d37e36dc2de5
5bf51969adad6e4fd5a282b05a71cb2351e400ea:
title: 'drm/tegra: dpaux: Fix incorrect return value of platform_get_irq'
mainline: 2a1ca44b654346cadfc538c4fb32eecd8daf3140
5e192852448d0cec109afdff412214de340d34e8:
title: 'dlm: fix plock lookup when using multiple lockspaces'
mainline: 7c53e847ff5e97f033fdd31f71949807633d506b
8b6eebfbe7e2405bb0024e56b604d9ca3782eaaa:
title: 'sc16is7xx: Set iobase to device index'
mainline: 5da6b1c079e6804a81e63ab8337224cbd2148c91
a86abf7ed3e585714e068e259ef50800027bb467:
title: 'serial: sc16is7xx: fix broken port 0 uart init'
mainline: 2861ed4d6e6d1a2c9de9bf5b0abd996c2dc673d0
8e8afe4f1480bc9982913b2258a6b1648dfae121:
title: 'staging: typec: tcpm: Document data structures'
mainline: 98076fa64a05dd2bda3a9f38e171bade15ab507d
34c3c637cad40733d10132f69f9cc2debd66e33e:
title: 'staging: typec: fix endianness mismatch identified by sparse'
mainline: 81948cbcf12cb16a6f5fad9c86233a596e2f47ab
19fac3944e5c31df98b276221f2ebbccc1b6d415:
title: 'usb: typec: add fwnode to tcpc'
mainline: 5e85a04c8c0d271d7561a770b85741f186398868
f62619a3cf799ec41e764b406bbdaf660cc332f5:
title: 'usb: typec: tcpci: clear the fault status bit'
mainline: 23e60c8daf5ec2ab1b731310761b668745fcf6ed
a14cb6e28662143de003bde6a3a485bda15f0507:
title: 'scsi: lpfc: remove redundant null check on eqe'
mainline: 858e51e8cbe11a8c59b24aaf4cb40f7f4e7a2feb
47e59bc230b9b9cabac05b6b9c4ee937d25e3663:
title: 'scsi: qla2xxx: Reinstate module parameter ql2xenablemsix'
mainline: e7240af5108fc8b068b1b21988e48f0c5005cae6
0b48bb34020820ef4cc3a1db955cb8da14378547:
title: 'scsi: qla2xxx: Add option for use reserve exch for ELS'
mainline: 9ecf0b0dd5b934a89eeaa15723d10beb6c33074c
04b6abf7d75816455738721e49e3ee2e7e1cf2cf:
title: 'scsi: qla2xxx: Add protection mask module parameters'
mainline: 7855d2ba1172d716d96a628af7c5bafa5725ac57
fee054173692099ed2621b3b40631837db73a0be:
title: 'scsi: qla2xxx: Remove unsupported ql2xenabledif option'
mainline: e9105c4b7a9208a21a9bda133707624f12ddabc2
4b3db74257bb92b7e865c56462749fb0885ba92b:
title: 'ext4: remove the ''group'' parameter of ext4_trim_extent'
mainline: bd2eea8d0a6b6a9aca22f20bf74f73b71d8808af
9dd4bb24589fa1264649a51dcab190a086a40b2a:
title: 'ext4: add new helper interface ext4_try_to_trim_range()'
mainline: 6920b3913235f517728bb69abe9b39047a987113
c1932c2190bc4572ef8ab809bf8ca96d5cb3e963:
title: 'ext4: mark group as trimmed only if it was fully scanned'
mainline: d63c00ea435a5352f486c259665a4ced60399421
12056cb85b8326928109f708af452e9a5e67b08d:
title: 'ALSA: hda: Add Intel NUC7i3BNB to the power_save blacklist'
mainline: dd6dd5365404a31292715e6f54184f47f9b6aca5
983c8163037c25396f4705649175f03a8655b2ec:
title: 'ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist'
mainline: 721f1e6c1fd137e7e2053d8e103b666faaa2d50c
17021e3657fa24eb0c8fceaacdde318962cd0dbe:
title: 'ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q'
mainline: 057a28ef93bdbe84326d34cdb5543afdaab49fe1
a3a38c97cc8a24d335da2ab40c1f41bd90f4e6e3:
title: 'libata: Add new med_power_with_dipm link_power_management_policy setting'
mainline: f4ac6476945ff62939420bcf8266e39f8d5d54bd
7fc967f723e63bfb05694a5042aa7a931740faaa:
title: 'libata: make ata_port_type const'
mainline: 8df82c13a3756f831b0d748226ce932515728e04
543828f9c9d5194b02dd0f9148a36e1959f44786:
title: 'ata: libata-core: Do not register PM operations for SAS ports'
mainline: 75e2bd5f1ede42a2bc88aa34b431e1ace8e0bea0
481af7a82bed32501d1db0d13469032db4bd6844:
title: 'net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()'
mainline: 31c07dffafce914c1d1543c135382a11ff058d93
759b99e2744b81d7c570679a8055bf3b9ce8e23a:
title: 'tcp: Namespace-ify sysctl_tcp_early_retrans'
mainline: 2ae21cf527da0e5cf9d7ee14bd5b0909bb9d1a75
5069afc313ab712506eb20ea71ba74f4fc9fe69c:
title: 'tcp: fix excessive TLP and RACK timeouts from HZ rounding'
mainline: 1c2709cfff1dedbb9591e989e2f001484208d914
9908f81a7a4d69b2cab427061bbe8270e4ee9ec4:
title: 'tcp: batch tcp_net_metrics_exit'
mainline: 789e6ddb0b2fb5d5024b760b178a47876e4de7a6
96f264346322c9e8e8fcd1c2309484e63b63b994:
title: 'tcp_metrics: add missing barriers on delete'
mainline: cbc3a153222805d65f821e10f4f78b6afce06f86
f07ac9ebc8bb931f7d3f44d21a0005f329fab7d8:
title: 'regmap: Allow missing device in regmap_name_read_file()'
mainline: 12ae3808c160b7be0de3c633ac4cbe8c5f2937bf
08e96d4f68e8ac7d926c5cbc681f8a51c395d55a:
title: 'regmap: debugfs: Fix a erroneous check after snprintf()'
mainline: d3601857e14de6369f00ae19564f1d817d175d19
926415a94426a5f06cae0bf580991003ad6cc541:
title: 'leds: pwm: simplify if condition'
mainline: b43a8f01fccbfdddbc7f9b2bbad11b7db3fda4e1
e1f59ea64f2ccca230bac4ab7735707479719591:
title: 'leds: pwm: convert to atomic PWM API'
mainline: dd47a83453e4a5b0d6a91fe702b7fbc1984fb610
99196523a0932a647a11e106f7b275ed5eb116bb:
title: 'leds: pwm: Don''t disable the PWM when the LED should be off'
mainline: 76fe464c8e64e71b2e4af11edeef0e5d85eeb6aa
d227179970abfcde03c773743472af8fef544327:
title: 'ledtrig-cpu: Limit to 8 CPUs'
mainline: abcc131292aa8c7de2c5f0ed76a717436c21de63
eaf18b187c77c62754fb9a79704b1c9f39289058:
title: 'leds: trigger: ledtrig-cpu:: Fix ''output may be truncated'' issue for ''cpu'''
mainline: ff50f53276131a3059e8307d11293af388ed2bcd
2a3d11b71743d93a48fb1fca8b6a5b50c43b6a5f:
title: 'tools: iio: privatize globals and functions in iio_generic_buffer.c file'
mainline: ebe5112535b5cf389ca7d337cf6a0c1d885f9880
ff9a3a01f25e1bed4d58ac67e97d7838d97e5055:
title: 'tools: iio: iio_generic_buffer: Fix some integer type and calculation'
mainline: 49d736313d0975ddeb156f4f59801da833f78b30
d84e1a8ae24bda75c5d07633c00957a31e762cf2:
title: 'tools: iio: iio_generic_buffer ensure alignment'
mainline: 2d3dff577dd0ea8fe9637a13822f7603c4a881c8
88750343019d107c221ac35bfcdf0712acca028a:
title: 'pwm: sti: Avoid conditional gotos'
mainline: fd3ae02bb66f091e55f363d32eca7b4039977bf5
a2afa76cd56cb36cce6df2844d1bd50fe7cd3326:
title: 'pwm: sti: Reduce number of allocations and drop usage of chip_data'
mainline: 2d6812b41e0d832919d72c72ebddf361df53ba1b
1167e186dab9a6e4f145c0200c945e288dc8915e:
title: 'hv_netvsc: use reciprocal divide to speed up percent calculation'
mainline: a7f99d0f2bbfe3b42ce398cdd37a97762e72cb56
e72642bece884f0adc7e84170b0cd593ec099dc3:
title: 'hv_netvsc: Fix race of register_netdevice_notifier and VF register'
mainline: 85520856466ed6bc3b1ccb013cddac70ceb437db
5efc9b330da9c5d031ff4a2c9ea440b8a4763a4d:
title: 'ALSA: hda/realtek - Add support for ALC1220'
mainline: 0202f5cd9aab127355f6b1de74058a670424d48a
717887a04ab8cc073b017de117f49a6f7561fc86:
title: 'ALSA: hda/realtek - Clevo P950ER ALC1220 Fixup'
mainline: 2f0d520a1a73555ac51c19cd494493f60b4c1cea
7c1753de173dac57ee577b2879d785c3f50ac923:
title: 'ALSA: hda/realtek - Headset microphone and internal speaker support for System76 oryp5'
mainline: 7f665b1c3283aae5b61843136d0a8ee808ba3199
343b68d0d5deba6a0a5ac71c07bbbca09996bc67:
title: 'ALSA: hda/realtek - Add quirk for Tuxedo XC 1509'
mainline: 80690a276f444a68a332136d98bfea1c338bc263
c05c727992661edfc7a751a2c548cbdf4b5b1445:
title: 'ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887'
mainline: ca184355db8e60290fa34bf61c13308e6f4f50d3
695490e53275fe3e3ec200eaa23ea9a12480a960:
title: 'ALSA: hda/realtek - Fix microphone noise on ASUS TUF B550M-PLUS'
mainline: 9bfa7b36343c7d84370bc61c9ed774635b05e4eb
6ef8acf68b6eca9bc92f3245661611cade8c2803:
title: 'hfsplus: unmap the page in the "fail_page" label'
mainline: f5b23d6704e478b5a97dbba5df9dea96a9cbf847
ad3319dd44140ca9ce30a141ef6554eba430567e:
title: 'ALSA: hda/realtek: Headset Mic VREF to 100%'
mainline: baaacbff64d9f34b64f294431966d035aeadb81c
2d92e5282406723408007792521bae223b4957ab:
title: 's390/mm: fix phys vs virt confusion in mark_kernel_pXd() functions family'
mainline: 3784231b1e091857bd129fd9658a8b3cedbdcd58
617738d9f53ecf196289eff667689692ea688992:
title: 's390/cmma: fix detection of DAT pages'
mainline: 44d93045247661acbd50b1629e62f415f2747577
c3b3e5c5fd6af9babc0ae2c40f8dedcb5a971246:
title: 'mtd: cfi_cmdset_0001: Support the absence of protection registers'
mainline: b359ed5184aebf9d987e54abc5dae7ac03ed29ae
2d6c830b5b74502a3489e71649bed1a5aa3a0126:
title: 'mtd: cfi_cmdset_0001: Byte swap OTP info'
mainline: 565fe150624ee77dc63a735cc1b3bff5101f38a3
aaeb68749011877e3f27f12a2074030416c6e87b:
title: 'netfilter: xt_owner: Add supplementary groups option'
mainline: ea6cc2fd8a2b89ab6dcd096ba6dbc1ecbdf26564
c5bb4c9e5197e11029e4e0139bd9f3b418583b8c:
title: 'netfilter: xt_owner: Fix for unsafe access of sk->sk_socket'
mainline: 7ae836a3d630e146b732fe8ef7d86b243748751f
704e90cd5aea7b3d54272c79f4426c779c6b6206:
title: 'devcoredump : Serialize devcd_del work'
mainline: 01daccf748323dfc61112f474cf2ba81015446b0
e54af988b2b852fdd3e49a71b74d9f390a3ee481:
title: 'devcoredump: Send uevent once devcd is ready'
mainline: af54d778a03853801d681c98c0c2a6c316ef9ca7
cf43b6d64c1240c2477e73960d176a4409fafa96:
title: Add Acer Aspire Ethos 8951G model quirk
mainline: 00066e9733f629e536f6b7957de2ce11a85fe15a
5b475c173f7dbe4a7d4d30b532fe625a48789159:
title: 'ALSA: hda/realtek - More constifications'
mainline: 6b0f95c49d890440c01a759c767dfe40e2acdbf2
52db37c601def3669f3ee12815fad45141c18df6:
title: 'ALSA: hda/realtek - Add Headset Mic supported for HP cPC'
mainline: 5af29028fd6db9438b5584ab7179710a0a22569d
1c02322babbd2995262bc53b701915ae21e11822:
title: 'ALSA: hda/realtek - Enable headset mic of Acer X2660G with ALC662'
mainline: d858c706bdca97698752bd26b60c21ec07ef04f2
8d8b693c3b4a5f1c7888bb772761b0ce2d8ec1e1:
title: 'ALSA: hda/realtek - Enable the headset of Acer N50-600 with ALC662'
mainline: a124458a127ccd7629e20cd7bae3e1f758ed32aa
7f6644d4ab24b8185cac62d3dc4e98c3442c32aa:
title: 'ALSA: hda/realtek - The front Mic on a HP machine doesn''t work'
mainline: 148ebf548a1af366fc797fcc7d03f0bb92b12a79
a12a6438dd344448ea3ed430f6304b5179c07e0d:
title: 'ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW'
mainline: a3fd1a986e499a06ac5ef95c3a39aa4611e7444c
0cef3d6365178cae90fa6873bd24e123c4991b79:
title: 'ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform'
mainline: d7f32791a9fcf0dae8b073cdea9b79e29098c5f4
9c603c45f7a062f3f95cf63f2bd30656aa7e4869:
title: 'ALSA: hda/realtek - ALC897 headset MIC no sound'
mainline: fe6900bd8156467365bd5b976df64928fdebfeb0
2b52c1d89d88fe46c263396d6a03bdaa946f80ab:
title: 'ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOB'
mainline: 4bf5bf54476dffe60e6b6d8d539f67309ff599e2
c3378d349af0b3cfa731f780ce4f4a5b32e98326:
title: 'ALSA: hda/realtek: Enable headset onLenovo M70/M90'
mainline: 4ca110cab46561cd74a2acd9b447435acb4bec5f
86d3937af58b1883a4864c1920dc1f0a94d1ec1a:
title: 'ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5'
mainline: 6f7e4664e597440dfbdb8b2931c561b717030d07
97ad753fc2535621640dceb6901fee3a189579b0:
title: 'staging: android: ashmem: Remove use of unlikely()'
mainline: 59848d6aded59a644bd3199033a9dc5a66d528f5
cc4df094fab7ff5c72080d3139993b593e2eecc0:
title: 'net: warn if gso_type isn''t set for a GSO SKB'
mainline: 1d155dfdf50efc2b0793bce93c06d1a5b23d0877
2dd12d177fc0e880d57f29006e9789827505ef32:
title: 'driver: staging: count ashmem_range into SLAB_RECLAIMBLE'
mainline: 3989f5a5f81c97732f9e3b3ae2d1d7923f6e7653
c1b444cfadfcaa4febb4cd7c2485c7190b26cd21:
title: 'net: check dev->gso_max_size in gso_features_check()'
mainline: 24ab059d2ebd62fdccc43794796f6ffbabe49ebc
c79ed0e007099e62a54ac8cf46ef510d539eeb85:
title: 'scsi: bnx2fc: Remove set but not used variable ''oxid'''
mainline: efcbe99818ac9bd93ac41e8cf954e9aa64dd9971
041b7f92ebe014ec914efa59e83f72ab1dcbd335:
title: 'scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()'
mainline: 08c94d80b2da481652fb633e79cbc41e9e326a91
abd2c4dd779190715bddb438c4cd90a8ce61fe7f:
title: 'ANDROID: binder: Add thread->process_todo flag.'
mainline: 148ade2c4d4f46b3ecc1ddad1c762371e8708e35
aaf0101b79c4375c4eafff78d1e4887b273681b2:
title: 'binder: signal epoll threads of self-work'
mainline: 97830f3c3088638ff90b20dfba2eb4d487bf14d7

View File

@@ -1,559 +0,0 @@
30155e4316fd08d7ca77ca14772dc3fd32088ab7:
title: 'Documentation/hw-vuln: Update spectre doc'
mainline: 06cb31cc761823ef444ba4e1df11347342a6e745
upstream: 3e4f86cfda46ef6320f385b80496d3f65d5ed63d
169885159d59ee3cb6482d4ec9799d11ee61477d:
title: 'x86/cpu: Support AMD Automatic IBRS'
mainline: e7862eda309ecfccc36bb5558d937ed3ace07f3f
upstream: a7268b3424863578814d99a1dd603f6bb5b9f977
2c6281927b58e02df6ffda6f8f860207634d8616:
title: 'x86/pti: Don''t report XenPV as vulnerable'
mainline: 6cb2b08ff92460290979de4be91363e5d1b6cec1
a50c4e98d9d3103cd8b418fdac2aff45d6a91cf6:
title: 'x86/bugs: Use sysfs_emit()'
mainline: 1d30800c0c0ae1d086ffad2bdf0ba4403370f132
upstream: 205bf06008b8ea128ae8f643c21fb32fe4165416
b361dfb73f7cf65487d75cc4b7e755ddc22db3cf:
title: 'wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach'
mainline: 0f7352557a35ab7888bc7831411ec8a3cbe20d78
upstream: 202c503935042272e2f9e1bb549d5f69a8681169
d780b7417a456b366c4ca6a8cfe0e439769e8656:
title: 'smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()'
mainline: 9c82169208dde516510aaba6bbd8b13976690c5d
upstream: b4cbf54183220cc35e19c21d970505c4eae0faa4
003fe24b3f4ffda82e27f3301099888060f01c97:
title: 'smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()'
mainline: ac02f007d64eb2769d0bde742aac4d7a5fc6e8a5
upstream: 8ff12bd997f54f1075f2242a10bff2e3c1bbad02
15e5a3ae7f084b993ef68e998a29f119de8e24ec:
title: 'ARM: dts: mmp2-brownstone: Don''t redeclare phandle references'
mainline: 5a56cf3e8738f5d31d8c024d0c62a4c2bfe76fb2
upstream: b8dd364515493630ea3a6ece252ba79533e00354
59bd54acd4b8cf21883b7e3ed1d9f7556d0e524e:
title: 'arm: dts: marvell: Fix maxium->maxim typo in brownstone dts'
mainline: 831e0cd4f9ee15a4f02ae10b67e7fdc10eb2b4fc
upstream: d2285ff966088aa5e6ff1a85d40b23ea7b4d2cf9
49486ded3cf00d844277c258f4c6170b7ba0792b:
title: 'media: xc4000: Fix atomicity violation in xc4000_get_frequency'
mainline: 36d503ad547d1c75758a6fcdbec2806f1b6aeb41
upstream: 72ddb259a4d09f8e0d06cb2abc9a3eedfcb4200e
270a92c92373a65c649de646996a14f2523076c1:
title: 'KVM: Always flush async #PF workqueue when vCPU is being destroyed'
mainline: 3d75b8aa5c29058a512db29da7cbee8052724157
upstream: ab2c2f5d9576112ad22cfd3798071cb74693b1f5
66476cee65989ef662adc023102b54206faa056a:
title: 'sparc64: NMI watchdog: fix return value of __setup handler'
mainline: 3ed7c61e49d65dacb96db798c0ab6fcd55a1f20f
upstream: 452529f9b6094f32d9143ef54af5bffd374a9c27
2eb2a9ca28c54db784293209ef58babd54d359ed:
title: 'crypto: qat - fix double free during reset'
mainline: 01aed663e6c421aeafc9c330bda630976b50a764
upstream: 277035d2da928bb50ff5ba8723dc4f0284284223
80509311946cbc5c9b71cb2730c5cb0cbc8ebd45:
title: 'crypto: qat - resolve race condition during AER recovery'
mainline: 7d42e097607c4d246d99225bf2b195b6167a210c
upstream: daba62d9eeddcc5b1081be7d348ca836c83c59d7
e5e642ae8fb37cc06046bebf193cd4957d945c73:
title: 'fat: fix uninitialized field in nostale filehandles'
mainline: fde2497d2bc3a063d8af88b258dbadc86bd7b57c
upstream: 9840d1897e28f8733cc1e38f97e044f987dc0a63
5109254ba7cb8452f154b8c5dbb4a7e1224a9f8b:
title: 'ubifs: Set page uptodate in the correct place'
mainline: 723012cab779eee8228376754e22c6594229bf8f
upstream: 4aa554832b9dc9e66249df75b8f447d87853e12e
c05dbbe027edbe0f2cb9514f8d8084eb96fc2256:
title: 'ubi: Check for too small LEB size in VTBL code'
mainline: 68a24aba7c593eafa8fd00f2f76407b9b32b47a9
upstream: ff818a59ecdfb13a8eb4a38a87b869090dd1745c
13e3ca30e708d8efed15b15f6d0cf232c071aa9c:
title: 'ubi: correct the calculation of fastmap size'
mainline: 7f174ae4f39e8475adcc09d26c5a43394689ad6c
upstream: 113d2c358fe9b9c2b307b4984ed41dfce6f78347
0f8a1215c497c27c788e2c7399b1aaac9c205e75:
title: 'parisc: Do not hardcode registers in checksum functions'
mainline: 52b2d91752a82d9350981eb3b3ffc4b325c84ba9
upstream: 32248b37aa141fa9d9dccf24d67295de39d68e6f
f221d4640d25832bbee599d5c24cda1a040125a1:
title: 'parisc: Fix ip_fast_csum'
mainline: a2abae8f0b638c31bb9799d9dd847306e0d005bd
upstream: 5cdd5e21c16369dd334e38b6c1aa6c2eaecaebdd
b8cb20b9c4c197de9d905518f4227ed7dcaa7aaa:
title: 'parisc: Fix csum_ipv6_magic on 32-bit systems'
mainline: 4408ba75e4ba80c91fde7e10bccccf388f5c09be
upstream: 103616f04373ce99dc8fb601100163292c9d9700
bff540549bd2b5c312c5dc43a094b685467a9fa6:
title: 'parisc: Fix csum_ipv6_magic on 64-bit systems'
mainline: 4b75b12d70506e31fc02356bbca60f8d5ca012d0
upstream: ee185ae2b97933193cf1e44e959a80690f835fb3
6711300be2eb4c7d6f43ac023b5ec484166c79c2:
title: 'parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds'
mainline: 0568b6f0d863643db2edcc7be31165740c89fa82
upstream: 7d27b71af7262ec53ec49f2679fdb3509ee28098
56a2eacb2e9155c55916bd4eab07d7c4204b683f:
title: 'PM: suspend: Set mem_sleep_current during kernel command line setup'
mainline: 9bc4ffd32ef8943f5c5a42c9637cfd04771d021b
upstream: 312ead3c0e23315596560e9cc1d6ebbee1282e40
504cb476a9133b6c59bf54d9b267b1196544226e:
title: 'clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays'
mainline: a903cfd38d8dee7e754fb89fd1bebed99e28003d
upstream: 5533686e99b04994d7c4877dc0e4282adc9444a2
9fcafc89b8ec3ad253f9ad9a67012141893aee44:
title: 'clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays'
mainline: e2c02a85bf53ae86d79b5fccf0a75ac0b78e0c96
upstream: 99740c4791dc8019b0d758c5389ca6d1c0604d95
822a0ce90098854047b7088afd2dae656b90bdcb:
title: 'powerpc/fsl: Fix mfpmr build errors with newer binutils'
mainline: 5f491356b7149564ab22323ccce79c8d595bfd0c
upstream: 8f7f583ce3393580eb8a55942d05e3ab6eb161ba
9598535c6526853f78a891421f12783174e05482:
title: 'USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB'
mainline: 3fb7bc4f3a98c48981318b87cf553c5f115fd5ca
upstream: fd3b0646012973dcef107f614300076c35aec30e
8a13c955082f3d8ce5ea1badda9e72fcdb0908d9:
title: 'USB: serial: add device ID for VeriFone adapter'
mainline: cda704809797a8a86284f9df3eef5e62ec8a3175
upstream: 64d0643a8b7bed28f011bf1f942a4d6972d815ca
24dc68b8236fd0ccb59be9dd9492e5bcfb89f3aa:
title: 'USB: serial: cp210x: add ID for MGP Instruments PDS100'
mainline: a0d9d868491a362d421521499d98308c8e3a0398
upstream: dea245d8c104a2977d79e2310b83fd5d9a39861f
618c54ca2dd86b503e06c8df9ced140e53a48d99:
title: 'USB: serial: option: add MeiG Smart SLM320 product'
mainline: 46809c51565b83881aede6cdf3b0d25254966a41
upstream: 03c0edfa0533fbc9fd9ecd5350c5c3639e3171b1
8436412b0d625fe55cd4ea391bf0cd606b7c748a:
title: 'USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M'
mainline: b1a8da9ff1395c4879b4bd41e55733d944f3d613
upstream: 99e7b5884bb1fa4703a03af0bb740eb797ed335c
e28c7f715843eb54828e33d60ef14c0ebc8e3d47:
title: 'PM: sleep: wakeirq: fix wake irq warning in system suspend'
mainline: e7a7681c859643f3f2476b2a28a494877fd89442
upstream: 66ed532e73bdfdcdb4b49bf6e92db7758bd2ff21
601d558db55ea0010315cbc4a4bb83e8eb7bf038:
title: 'mmc: tmio: avoid concurrent runs of mmc_request_done()'
mainline: e8d1b41e69d72c62865bebe8f441163ec00b3d44
upstream: c421a077bb1a4b0923792ee6fc9e1b246d5fa6d6
0be0578f83ec594ad05ae6821a34de4b769c7db7:
title: 'fuse: don''t unhash root'
mainline: b1fe686a765e6c0d71811d825b5a1585a202b777
upstream: 0f8957f5077b29cda838be2f75ef6cd2668e6df4
76c167a161ef90c6588ec0dda97ec68d8fd6e9a6:
title: 'PCI: Drop pci_device_remove() test of pci_dev->driver'
mainline: 097d9d414433315122f759ee6c2d8a7417a8ff0f
upstream: 064300ccb0e272adcedd96df96750d08c5a4d2f2
1453f1042e621a4a7247c9069755473a0eefa1ba:
title: 'PCI/PM: Drain runtime-idle callbacks before driver removal'
mainline: 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf
upstream: 9a87375bb586515c0af63d5dcdcd58ec4acf20a6
050bbf8ca58f05c6f76244284ccb7942dfbb00c9:
title: 'Revert "Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d""'
mainline: 3445139e3a594be77eff48bc17eff67cf983daed
upstream: 130e2ae1fdf361f3a5a9b21db10fe519c54ad470
6ac966e0c64f616bf5ae8c9e3655827fafa2a288:
title: 'dm-raid: fix lockdep waring in "pers->hot_add_disk"'
mainline: 95009ae904b1e9dca8db6f649f2d7c18a6e42c75
upstream: da81cab62b4f48fc3800db68ed30f8dd94e78f92
1c6f43992e92359208930b339fd57f04e157da73:
title: 'mmc: core: Fix switch on gp3 partition'
mainline: 4af59a8df5ea930038cd3355e822f5eedf4accc1
upstream: 14db3446d26511191088a941069bcdec97223728
805bd3875b89fe0311ca2e530836ec10cb390798:
title: 'hwmon: (amc6821) add of_match table'
mainline: 3f003fda98a7a8d5f399057d92e6ed56b468657c
upstream: f6b084787b7d9bd4009e0d6d1f0cc79349f7efcd
4c3c05340a8d2925c998e568db8c6199a08df5c4:
title: 'ext4: fix corruption during on-line resize'
mainline: a6b3bfe176e8a5b05ec4447404e412c2a3fc92cc
upstream: 75cc31c2e7193b69f5d25650bda5bb42ed92f8a1
4f84ef5651a0ae72ca8bc3f1529a9863a90862c7:
title: 'speakup: Fix 8bit characters from direct synth'
mainline: b6c8dafc9d86eb77e502bb018ec4105e8d2fbf78
upstream: 37f4f4f1ac2661c1cc7766a324d34b24f65e75e8
49362eca812601c014d7006bd66b8b6484277d98:
title: 'kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1'
mainline: 75b5ab134bb5f657ef7979a59106dce0657e8d87
upstream: 39460da0515e5ef2afc67a184395daf8f97f74a1
fbe0715512c3fca4b0d1c8e746f18bd2f24d042f:
title: 'vfio/platform: Disable virqfds on cleanup'
mainline: fcdc0d3d40bc26c105acf8467f7d9018970944ae
upstream: af47ec223f6d9d72d2ddd3fb31a7d1210eafd0bb
94dcaef811b46fe6df7487a738e14e747c10e4f7:
title: 'soc: fsl: qbman: Always disable interrupts when taking cgr_lock'
mainline: 584c2a9184a33a40fceee838f856de3cffa19be3
upstream: b56a793f267679945d1fdb9a280013bd2d0ed7f9
321e5b5b657ed28e3e12c00b1d1c7a1aed0080b6:
title: 'soc: fsl: qbman: Add helper for sanity checking cgr ops'
mainline: d0e17a4653cebc2c8a20251c837dd1fcec5014d9
upstream: 99fe1b21b5e5bf69d351adca3c594c46c5bf155b
a8363db776a883cdbf0fd646f3133b3e3f110977:
title: 'soc: fsl: qbman: Add CGR update function'
mainline: 914f8b228ede709274b8c80514b352248ec9da00
upstream: e2bd2df406edd2dff1b105f9dea3c502ee5808c3
e32c360971de834a38399f982b9d9c5993b6d5ef:
title: 'soc: fsl: qbman: Use raw spinlock for cgr_lock'
mainline: fbec4e7fed89b579f2483041fabf9650fb0dd6bc
upstream: 2b3fede8225133671ce837c0d284804aa3bc7a02
6b39a518dba77c95d71e3d05bf2667602b3a206b:
title: 's390/zcrypt: fix reference counting on zcrypt card objects'
mainline: 50ed48c80fecbe17218afed4f8bed005c802976c
upstream: 7e500849fa558879a1cde43f80c7c048c2437058
133f1b251a963f13a59296ffd812314b3895acd5:
title: 'drm/imx/ipuv3: do not return negative values from .get_modes()'
mainline: c2da9ada64962fcd2e6395ed9987b9874ea032d3
upstream: 749e6b3a2dfc9d393874e7a6cc7fed6eeda97ee0
e08287742d6330d8946d74dbd16fa6ab32f584b9:
title: 'drm/vc4: hdmi: do not return negative values from .get_modes()'
mainline: abf493988e380f25242c1023275c68bd3579c9ce
upstream: 6206e70d5faa5a9e8a3250683ebee1637d3559fa
cead81caaf4e893de661245723b033c776eba434:
title: 'memtest: use {READ,WRITE}_ONCE in memory scanning'
mainline: 82634d7e24271698e50a3ec811e5f50de790a65f
upstream: 6e7044f155f7756e4489d8ad928f3061eab4595b
592973ee7e6a0af69d6689fa946f83544b0b7f32:
title: 'nilfs2: fix failure to detect DAT corruption in btree and direct mappings'
mainline: f2f26b4a84a0ef41791bd2d70861c8eac748f4ba
upstream: b67189690eb4b7ecc84ae16fa1e880e0123eaa35
f54f17b7da72676032972ac38c70d5f958b93591:
title: 'nilfs2: use a more common logging style'
mainline: a1d0747a393a079631130d61faa2a61027d1c789
upstream: 5c8f85e9ff21ee1fc6d20fcd73a15877556c3bbe
a3a1048f65cd381d4efdf6d4beb71eddb5d54ac5:
title: 'nilfs2: prevent kernel bug at submit_bh_wbc()'
mainline: 269cdf353b5bdd15f1a079671b0f889113865f20
upstream: 91e4c4595fae5e87069e44687ae879091783c183
01877909cac69ce374567fddfb200298900be9d8:
title: 'ahci: asm1064: correct count of reported ports'
mainline: 9815e39617541ef52d0dfac4be274ad378c6dc09
upstream: ece903bf390e819c45fba8cf6a31c7487e24c505
adc881c85ad12350f907e04d3a8c0d2242873b3a:
title: 'ahci: asm1064: asm1166: don''t limit reported ports'
mainline: 6cd8adc3e18960f6e59d797285ed34ef473cc896
upstream: d29630b79d4c48b31312fa3d735de63cbe97e6c5
8e23affd6f90a54fc41e30143bf3fee824dd3f24:
title: 'comedi: comedi_test: Prevent timers rescheduling during deletion'
mainline: f53641a6e849034a44bf80f50245a75d7a376025
upstream: 4b6e87971dbea7d9231f670281723003f90429b2
c125ac99931ed065edcf24f7ab4572e03840633e:
title: 'netfilter: nf_tables: disallow anonymous set with timeout flag'
mainline: 16603605b667b70da974bea8216c93e7db043bf1
upstream: e4988d8415bd0294d6f9f4a1e7095f8b50a97ca9
6579e677dcdff3b57c01dfd05076c5f602dddf3d:
title: 'netfilter: nf_tables: reject constant set with timeout'
mainline: 5f4fc4bd5cddb4770ab120ce44f02695c4505562
upstream: 9372a64fb8a9f8e9cc59a0c8fa2ab5a670384926
92844cb2a29c9cb805badb5f0b47b1a7b064ae6e:
title: 'xfrm: Avoid clang fortify warning in copy_to_user_tmpl()'
mainline: 1a807e46aa93ebad1dfbed4f82dc3bf779423a6e
upstream: 79fa29ce641165aa5d934f55f2369aacfd7c35e4
ee2aa965bc6fa84adcc53b1daef7bc40bfa0d890:
title: 'ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform'
mainline: d397b6e56151099cf3b1f7bfccb204a6a8591720
upstream: 341568ef8afd587d1e6edd1c4a2e6daec438ea34
c549cae12cd0f345aff86d8b4ea4e4234476f23e:
title: 'USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command'
mainline: 014bcf41d946b36a8f0b8e9b5d9529efbb822f49
upstream: 9968c701cba7eda42e5f0052b040349d6222ae34
0dcddb86a5d646529e4395f7206ae146d07be618:
title: 'usb: gadget: ncm: Fix handling of zero block length packets'
mainline: f90ce1e04cbcc76639d6cba0fdbd820cd80b3c70
upstream: e2dbfea520e60d58e0c498ba41bde10452257779
602634cfb4b83b8bb798fb91fe9fa8a0aef24c72:
title: 'usb: port: Don''t try to peer unused USB ports based on location'
mainline: 69c63350e573367f9c8594162288cffa8a26d0d1
upstream: 8697e9b39f57fdae216d1fa6947e196307516aac
0b11f20185ce5eb0cba6d38542c33020592085f5:
title: 'tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled'
mainline: 74cb7e0355fae9641f825afa389d3fba3b617714
upstream: 206ef729592010631fd2fe721a94b4e71c61653e
d594c0266f6a7959f1844a5b51786ddb695ed093:
title: 'vt: fix memory overlapping when deleting chars in the buffer'
mainline: 39cdb68c64d84e71a4a717000b6e5de208ee60cc
upstream: c8686c014b5e872ba7e334f33ca553f14446fc29
fd783c9a2045ec6adb0d10a00d5529d0dd05d395:
title: 'mm/memory-failure: fix an incorrect use of tail pages'
66bf9016921cd93d270fc6ebec98e69cb9f2e364:
title: 'mm/migrate: set swap entry values of THP tail pages properly.'
85c54b93ba34a1150bffd0158f4ec43b1d17cf3f:
title: 'wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes'
mainline: 4f2bdb3c5e3189297e156b3ff84b140423d64685
upstream: ea9a0cfc07a7d3601cc680718d9cff0d6927a921
2743401fbf05f96c405165f8176873a62c813768:
title: 'exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()'
mainline: 2aea94ac14d1e0a8ae9e34febebe208213ba72f7
upstream: 3a679f8a8c88de0b17b0bfde031238b40daf76ba
8163976a83576149919cd26e021b99167cbe4731:
title: 'USB: cdc-wdm: Fix use after free in service_outstanding_interrupt().'
mainline: 5e5ff0b4b6bcb4d17b7a26ec8bcfc7dd4651684f
2eb4d359ad399b7c830e00d52bcf30b776bf7bc8:
title: 'usb: cdc-wdm: close race between read and workqueue'
mainline: 339f83612f3a569b194680768b22bf113c26a29d
upstream: 5904411219601127ffdbd2d622bb5d67f9d8d16c
690e1f475ec547a1809a949f1abf1ac6a24a9e35:
title: 'ALSA: sh: aica: Convert timers to use timer_setup()'
5c3becdbf4d010b2460d46da9de7bbf274f82792:
title: 'ALSA: aica: Fix a long-time build breakage'
mainline: 534420c6ff87d3052540f1fd346e0adcff440819
57ad2852b697ab931110d4443e42aa15420928cd:
title: 'ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs'
mainline: 051e0840ffa8ab25554d6b14b62c9ab9e4901457
upstream: eeb2a2ca0b8de7e1c66afaf719529154e7dc60b2
9b033ffdc4492f9882d1e3d8416f3c9a3b1c281e:
title: 'fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion'
mainline: 961ebd120565cb60cebe21cb634fbc456022db4a
upstream: 10ca82aff58434e122c7c757cf0497c335f993f3
271b5f628523048373853e7d726edc4ab6b2dafa:
title: 'printk: Update @console_may_schedule in console_trylock_spinning()'
mainline: 8076972468584d4a21dab9aa50e388b3ea9ad8c7
upstream: 45f99d441067035dbb3f2a0d9713abe61ea721c5
b2de2c514c647d19070e8f2fad629356367749fa:
title: 'btrfs: add define for oldest generation'
8e0244b75adcff266630f97bdedb589988c1605d:
title: 'btrfs: allocate btrfs_ioctl_defrag_range_args on stack'
mainline: c853a5783ebe123847886d432354931874367292
upstream: 022ed023c8c0bed09a21e9617056723df948544c
c598f19d1ee74a8b8820210cc4563253e60d7f6a:
title: 'Revert "loop: Check for overflow while configuring loop"'
7d51a15acdfba9db409c1fea20682dba5e4c533d:
title: 'loop: Call loop_config_discard() only after new config is applied'
mainline: 7c5014b0987a30e4989c90633c198aced454c0ec
upstream: 944e9628259117a2f21d9c7ce5d7fbb305cc6ba6
d1bcca1f152951849067da419020d041495285d3:
title: 'perf/core: Fix reentry problem in perf_output_read_group()'
mainline: 6b959ba22d34ca793ffdb15b5715457c78e38b1a
upstream: a2039c87d30177f0fd349ab000e6af25a0d48de8
4cb71f760e2735758614a3798d255aa93862d577:
title: 'efivarfs: Request at most 512 bytes for variable names'
mainline: f45812cc23fb74bef62d4eb8a69fe7218f4b9f2a
upstream: a7bd7dbaa2ddcf8c5ed5d96df240f1442447d252
5ef535b7348ea1372234b51a6c806617275b8968:
title: 'powerpc: xor_vmx: Add ''-mhard-float'' to CFLAGS'
mainline: 35f20786c481d5ced9283ff42de5c69b65e5ed13
upstream: 9b021c7ffbbf7569b074c3f6cafa377b8c29a2e3
d249d755055ea72ae93f908e4f009672bb4a367b:
title: 'usb: dwc2: host: Fix hibernation flow'
mainline: 3c7b9856a82227db01a20171d2e24c7ce305d59b
upstream: 8c93d233285e234b84bc34c9de317ccf3ae00aec
3e18f9aae5c9f4ee7c82f727c7db4bdc66055af9:
title: 'usb: dwc2: host: Fix ISOC flow in DDMA mode'
mainline: b258e42688501cadb1a6dd658d6f015df9f32d8f
upstream: dca1dc1e99e09e7b8eaccb55d6aecb87d9cb8ecd
933c295f1bf97ef659d06b2fa268f948de50ffc9:
title: 'usb: udc: remove warning when queue disabled ep'
mainline: 2a587a035214fa1b5ef598aea0b81848c5b72e5e
upstream: 2b002c308e184feeaeb72987bca3f1b11e5f70b8
e31a16fe832d4016c83230cc8bd7f67493e1c9a7:
title: 'scsi: qla2xxx: Fix command flush on cable pull'
mainline: a27d4d0e7de305def8a5098a614053be208d1aa1
upstream: b73377124f56d2fec154737c2f8d2e839c237d5a
909ca3e7e6fb1ae6130e1a7d473acc1c8bbc9ffa:
title: 'x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled'
mainline: fd470a8beed88440b160d690344fbae05a0b9b1b
upstream: bb8cc9c34361714dd232700b3d5f1373055de610
03119f856df4a8f68fbc6c3d2dfc5b42634c5287:
title: 'scsi: lpfc: Correct size for wqe for memset()'
mainline: 28d41991182c210ec1654f8af2e140ef4cc73f20
upstream: 5df0d994c23a43f4c0f2a7fdf6b62e106d08e53e
f354bb2f646ba9eb13094f3a58a9fcb2495cdaf8:
title: 'USB: core: Fix deadlock in usb_deauthorize_interface()'
mainline: 80ba43e9f799cbdd83842fc27db667289b3150f5
upstream: 8cbdd324b41528994027128207fae8100dff094f
746dafa5f8bd92d019409cd1e3991b6b23ed9808:
title: 'nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet'
mainline: d24b03535e5eb82e025219c2f632b485409c898f
upstream: 11387b2effbb55f58dc2111ef4b4b896f2756240
f113056cc53497bafb4a5a1ae59fcb8da95409df:
title: 'mptcp: add sk_stop_timer_sync helper'
mainline: 08b81d873126b413cda511b1ea1cbb0e99938bbd
upstream: 9c382bc16fa8f7499b0663398437e125cf4f763b
a15af438bc3f84cd18bd555ed93704f174afd28e:
title: 'tcp: properly terminate timers for kernel sockets'
mainline: 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada
upstream: 93f0133b9d589cc6e865f254ad9be3e9d8133f50
0d619c44f46a548f37d0af8526b1e2141888415c:
title: 'Bluetooth: hci_event: set the conn encrypted before conn establishes'
mainline: c569242cd49287d53b73a94233db40097d838535
upstream: 96caf943a0f384f347d0d32afa8a3e94837fe012
bddbc4e6e85deec70cfd5e4d06553687ce2031e2:
title: 'Bluetooth: Fix TOCTOU in HCI debugfs implementation'
mainline: 7835fcfd132eb88b87e8eb901f88436f63ab60f7
upstream: 466488b14a87dc97d8a3bf5e65a30bff032847c1
2828c51f974e201fb04d01231d502059b21dee7d:
title: 'netfilter: nf_tables: disallow timeout for anonymous sets'
mainline: e26d3009efda338f19016df4175f354a9bd0a4ab
upstream: 116b0e8e4673a5faa8a739a19b467010c4d3058c
0c4e907602df65b88f9bed57d6bc5039b7172e8c:
title: 'Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped."'
mainline: c567f2948f57bdc03ed03403ae0234085f376b7d
upstream: b66762945d3289d472cedfca81dd98f9d8efe3b7
ce55bbe3422d77c1733e562b2481ae5d5609e4de:
title: 'mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations'
mainline: 803de9000f334b771afacb6ff3e78622916668b0
upstream: c82a659cc8bb7a7f8a8348fc7f203c412ae3636f
ca0de57e9c48d85f650f98c4a515cbfb61213a7e:
title: 'net: stmmac: Fix issues when number of Queues >= 4'
mainline: e8df7e8c233a18d2704e37ecff47583b494789d3
77222083054d1880d96617dc92433f13f7485340:
title: 'net: stmmac: fix rx queue priority assignment'
mainline: b3da86d432b7cd65b025a11f68613e333d2483db
upstream: c5dd42e0c490416e45fac594694cbc0ada0ea0f9
750226b1e9ada5f831c682b3970e6fb4c908de43:
title: 'net/sched: act_skbmod: prevent kernel-infoleak'
mainline: d313eb8b77557a6d5855f42d2234bd592c7b50dd
upstream: f190a4aa03cbd518bd9c62a66e1233984f5fd2ec
b406df4814ddb671e6b276983496bfe1fbbb70d8:
title: 'selftests: reuseaddr_conflict: add missing new line at the end of the output'
mainline: 31974122cfdeaf56abc18d8ab740d580d9833e90
upstream: d6c0a37d412657cf2661996387340e8afeb82a63
1c37416298197f52e10ae196eff4e11f07c11a96:
title: 'ipv6: Fix infinite recursion in fib6_dump_done().'
mainline: d21d40605bca7bd5fc23ef03d4c1ca1f48bc2cae
upstream: 9472d07cd095cbd3294ac54c42f304a38fbe9bfe
4a254ec690b1730e4360c6c82a1e6a220f757bb1:
title: 'staging: mmal-vchiq: Avoid use of bool in structures'
mainline: 640e77466e69d9c28de227bc76881f5501f532ca
upstream: 11895fd09f5d37abbc60ac88f4897587997cfbf5
cde080763f772971b9bab16de6a83a57bfa72941:
title: 'staging: mmal-vchiq: Allocate and free components as required'
mainline: 8c589e1794a31e9a381916b0280260ab601e4d6e
upstream: 48823cc0c75c3290d82b339f2135e54d6c20eaaa
1fbb48548bf323fe8c3bb65573ac2b47a06fcc52:
title: 'staging: mmal-vchiq: Fix client_component for 64 bit kernel'
mainline: 22e64b486adc4785542f8002c3af4c895490f841
upstream: 60cb8c4ae9874e8b7906302306e85e3138cb19fc
5e236ea4cd576ca487aaeb6cd4a43b825580f096:
title: 'staging: vc04_services: changen strncpy() to strscpy_pad()'
mainline: ef25725b7f8aaffd7756974d3246ec44fae0a5cf
upstream: 3a54069c1398266c7523f24db52391f7d54be13f
5314097a03c077acf9974718386187c632ff87a6:
title: 'staging: vc04_services: fix information leak in create_component()'
mainline: f37e76abd614b68987abc8e5c22d986013349771
upstream: 4693868e40b1367d1def54e5ea750da2d288da67
b38a90afb44d28ca6aed9ba7b0e3c83d0e2a0161:
title: 'init: open /initrd.image with O_LARGEFILE'
mainline: 4624b346cf67400ef46a31771011fb798dd2f999
upstream: 9f0dcca773117f0b240d1db97db27f0b8aac106a
5d848e29b28655b7cdd56347f17871ebceaa35af:
title: 'ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw'
mainline: fc563aa900659a850e2ada4af26b9d7a3de6c591
upstream: a6f9bd4aee2c96d597b765af5f3a61a2b8d8e98c
4519a94da38decdf42b41f68e360331ab9f44338:
title: 'ata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit'
mainline: 52f80bb181a9a1530ade30bc18991900bbb9697f
upstream: 81e38e4e2c756c95267c758bf683b35ce0ca77b1
401b18b386e1e23ebabb0d02ea19464d756a368c:
title: 'ata: sata_mv: Fix PCI device ID table declaration compilation warning'
mainline: 3137b83a90646917c90951d66489db466b4ae106
upstream: b9bacf4b0e12ae9963774e4de9ddc6631ba65343
dbff4c3de9bcdaf9692cd0174ee96b8dbd60bba2:
title: 'ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone'
mainline: 1576f263ee2147dc395531476881058609ad3d38
upstream: 5fd82952faaabaaefd7e594fce9b19d4b4e754f9
cdf0bc842607a3cb79b4fee6470e73df396effdb:
title: 'wifi: ath9k: fix LNA selection in ath_ant_try_scan()'
mainline: d6b27eb997ef9a2aa51633b3111bc4a04748e6d3
upstream: 95f1acd1e998a48197d33720e33161750e459c23
cab49d428499a8d81c7923b4c2bd011e71ea6326:
title: 'VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()'
mainline: 19b070fefd0d024af3daa7329cbc0d00de5302ec
upstream: e87bb99d2df6512d8ee37a5d63d2ca9a39a8c051
7960ca05581467d75f635a849f0e367514b19448:
title: 'arm64: dts: rockchip: fix rk3399 hdmi ports node'
mainline: f051b6ace7ffcc48d6d1017191f167c0a85799f6
upstream: 23c6f9f6619a699c196cfc1e5a57becdfe4a0b9a
9febcc825310e72385e81d69e9b967b3b4e7205a:
title: 'tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num()'
mainline: f85450f134f0b4ca7e042dc3dc89155656a2299d
upstream: c4f135f454deb2ff4b7a5ec53577aaa776e2fac9
c75868bec680efa61415ec3897135a7d596c384f:
title: 'btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()'
mainline: 7411055db5ce64f836aaffd422396af0075fdc99
upstream: bebd9e0ff90034875c5dfe4bd514fd7055fc7a89
1b9e5cdca908d0c426ba76b2c277c8c20dca49dd:
title: 'btrfs: export: handle invalid inode or root reference in btrfs_get_parent()'
mainline: 26b66d1d366a375745755ca7365f67110bbf6bd5
upstream: 8b11774810aadeda80d4eb54f648eaf88f369d22
c3e4fbedaa6d065b319e72de153e2be8d8414596:
title: 'btrfs: send: handle path ref underflow in header iterate_inode_ref()'
mainline: 3c6ee34c6f9cd12802326da26631232a61743501
upstream: be2b6bcc936ae17f42fff6494106a5660b35d8d3
18ac75f7eb293f56efde10cc65fa7eb6d1350bc9:
title: 'Bluetooth: btintel: Fix null ptr deref in btintel_read_version'
mainline: b79e040910101b020931ba0c9a6b77e81ab7f645
upstream: ec2049fb2b8be3e108fe2ef1f1040f91e72c9990
c6d084381d756d922236737ce0569fd76b904a62:
title: 'Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails'
mainline: bc4996184d56cfaf56d3811ac2680c8a0e2af56e
upstream: 004402ec227732308871a6127f0b967cf2a293cd
385733c04408bec0083e9f768a094db74dc058d2:
title: 'sysv: don''t call sb_bread() with pointers_lock held'
mainline: f123dc86388cb669c3d6322702dc441abc35c31e
upstream: 13b33feb2ebddc2b1aa607f553566b18a4af1d76
cf30a0518a5944e7af7c38a04af145c8e5e975e8:
title: 'scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()'
mainline: 2ae917d4bcab80ab304b774d492e2fcd6c52c06b
upstream: edf82aa7e9eb864a09229392054d131b34a5c9e8
be099afe08c0439e72c1b37f2896d7942b318bdf:
title: 'isofs: handle CDs with bad root inode but good Joliet root directory'
mainline: 4243bf80c79211a8ca2795401add9c4a3b1d37ca
upstream: b02e6ba55997926c961a95cdaf9de91f75b0b5c3
95bfe2806bd05c524d8534070c038b8feaae436a:
title: 'media: sta2x11: fix irq handler cast'
mainline: 3de49ae81c3a0f83a554ecbce4c08e019f30168e
upstream: 347b2e635e8b2beaa076b0bc110be9c6ea50aec1
84b6065e346863ebad34cba5284ff8eddcf4cb4a:
title: 'SUNRPC: increase size of rpc_wait_queue.qlen from unsigned short to unsigned int'
mainline: 2c35f43b5a4b9cdfaa6fdd946f5a212615dac8eb
upstream: 56199ebbcbbcc36658c2212b854b37dff8419e52
53510903f234a0aea0f80bd7d3bcccf520fc07c9:
title: 'block: prevent division by zero in blk_rq_stat_sum()'
mainline: 93f52fbeaf4b676b21acfe42a5152620e6770d02
upstream: 6a55dab4ac956deb23690eedd74e70b892a378e7
2929cf2f94cfec0fb6afbcdd27ec2bfb6fae1a59:
title: 'tools: iio: replace seekdir() in iio_generic_buffer'
mainline: 4e6500bfa053dc133021f9c144261b77b0ba7dc8
upstream: 4a886ce3c846032ed8d9bf18f525f12dcb5de614
b550cc1a3828e39bb76a2c0d8218b57dc8f71f0d:
title: 'usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined'
mainline: 12f371e2b6cb4b79c788f1f073992e115f4ca918
upstream: f90519f1d6a0c4d86bcd401f34bda11486fa4284
781096a3f8ab4b70c9b75f8c0d3e5f694e16d843:
title: 'fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2'
mainline: bc87bb342f106a0402186bcb588fcbe945dced4b
upstream: 3affd4cceebd560aa13c280fe0ad46a38e46eb73
ebe31b54cbaf1029c6ecd6f8e59d6bb59b59280a:
title: 'fbmon: prevent division by zero in fb_videomode_from_videomode()'
mainline: c2d953276b8b27459baed1277a4fdd5dd9bd4126
upstream: 1fb52bc1de55e9e0bdf71fe078efd4da0889710f
d7d6dfa21578d006e6023f9eddc4029774e6a6d6:
title: 'tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc'
mainline: 67c37756898a5a6b2941a13ae7260c89b54e0d88
upstream: 7d303dee473ba3529d75b63491e9963342107bed
6419be48607d845c7b94621da5405191a0805754:
title: 'virtio: reenable config if freezing device failed'
mainline: 310227f42882c52356b523e2f4e11690eebcd2ab
upstream: 5908fb34c0cf62c0f25f916d50d00582b053e077
e917dc0ff33859792cb7328fc84068471824639b:
title: 'x86/mm/pat: fix VM_PAT handling in COW mappings'
mainline: 04c35ab3bdae7fefbd7c7a7355f29fa03a035221
upstream: f18681daaec9665a15c5e7e0f591aad5d0ac622b
9be9972d568f71227eb0d8b300af769013f27b42:
title: 'Bluetooth: btintel: Fixe build regression'
mainline: 6e62ebfb49eb65bdcbfc5797db55e0ce7f79c3dd
upstream: 81a3ce3efd82e0790a6151c3dad6c02570d48816
84edf3cb66dffa4c868347741aa8ac43073ffcf1:
title: 'VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler()'
mainline: e606e4b71798cc1df20e987dde2468e9527bd376
upstream: cc065e1b11a270ebd2b18bbe61f0d6cc8efaa15d
edb8d9b7e0dce5410776f9d4298d04b1a01c2a86:
title: 'Revert "ext4: fix to check return value of freeze_bdev() in ext4_shutdown()"'
b26791b0c721cd39ea18bcf50cf570a3888af085:
title: 'ext4: fix to check return value of freeze_bdev() in ext4_shutdown()'
mainline: c4d13222afd8a64bf11bc7ec68645496ee8b54b9
5a1a8ad6c941914dc628dd636be10c60e817b5c3:
title: 'netfilter: nftables: exthdr: fix 4-byte stack OOB write'
mainline: fd94d9dadee58e09b49075240fe83423eb1dcd36
842f01e7df81db42b75be7d590626a9602e495ec:
title: 'Revert "net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()"'
79f3640f21c02761bfdbbda2d2b271fa40da724d:
title: 'net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()'
mainline: 01a564bab4876007ce35f312e16797dfe40e4823

View File

@@ -1,250 +0,0 @@
e4f4588b3c0869ac39c79a84669bba92b50c2205:
title: 'batman-adv: Avoid infinite loop trying to resize local TT'
mainline: b1f532a3b1e6d2e5559c7ace49322922637a28aa
upstream: 04720ea2e6c64459a90ca28570ea78335eccd924
fcab8bb833c33df8d7619a7c8367231f89577f70:
title: 'Bluetooth: Fix memory leak in hci_req_sync_complete()'
mainline: 45d355a926ab40f3ae7bc0b0a00cb0e3e8a5a810
upstream: 89a32741f4217856066c198a4a7267bcdd1edd67
f67ff0072a70883c601e426a97085753f0ea4d23:
title: 'nouveau: fix function cast warning'
mainline: 185fdb4697cc9684a02f2fab0530ecdd0c2f15d4
upstream: 7b30bcac7f8bd82dcb9ee61d04926d286060a19f
5f11455435b6294f64eb70b163dba59ba4239ea0:
title: 'geneve: fix header validation in geneve[6]_xmit_skb'
mainline: d8a6213d70accb403b82924a1c229e733433a5ef
upstream: 43be590456e1f3566054ce78ae2dbb68cbe1a536
016fcada2b407eccf84eb18626994945ee51f78c:
title: 'ipv4/route: avoid unused-but-set-variable warning'
mainline: cf1b7201df59fb936f40f4a807433fe3f2ce310a
upstream: 0b48182b06f631781987c38be150d76b0f483923
fee87d38713d366ea650216d07a3ac962d2b7f1c:
title: 'ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr'
mainline: 7633c4da919ad51164acbf1aa322cc1a3ead6129
upstream: b4b3b69a19016d4e7fbdbd1dbcc184915eb862e1
bfa99d232f459aae39a87cb7bc7a28e772325080:
title: 'net/mlx5: Properly link new fs rules into the tree'
mainline: 7c6782ad4911cbee874e85630226ed389ff2e453
upstream: de0139719cdda82806a47580ca0df06fc85e0bd2
39f0520cea332cf14036a8d90902938fa0f2475c:
title: 'tracing: hide unused ftrace_event_id_fops'
mainline: 5281ec83454d70d98b71f1836fb16512566c01cd
upstream: 8bfa576fe3c6df875a16f3eb27f7ec3fdd7f3168
79a4cc09e1dd7c1d8d6d3f5906d1cdb04ce14d43:
title: 'vhost: Add smp_rmb() in vhost_vq_avail_empty()'
mainline: 22e1992cf7b034db5325660e98c41ca5afa5f519
upstream: 60bb8b451c6a9dc993c876e1f2abf188f9bc97c1
f5e66cc721903d6adf93b7e9bb7fe06f6033dce2:
title: 'selftests: timers: Fix abs() warning in posix_timers test'
mainline: ed366de8ec89d4f960d66c85fc37d9de22f7bf6d
upstream: 3004d8f3f9ddb7c43b4af98203c8bb9a31bf8b51
b1c1aa9e9a32ff9503c37d3a47e7eacc66cd809a:
title: 'x86/apic: Force native_apic_mem_read() to use the MOV instruction'
mainline: 5ce344beaca688f4cdea07045e0b8f03dc537e74
upstream: 38ecf8d8a293c9677a4659ede4810ecacb06dcda
a3f786dc93abeaa911663b647c4a9a48b021e9c1:
title: 'selftests/ftrace: Limit length in subsystem-enable tests'
mainline: 1a4ea83a6e67f1415a1f17c1af5e9c814c882bb5
upstream: 0a8b2a0410e7fdcd899e58015d025004808559f6
b13c030fd2b3a061d1659003a770b3986c24f7b5:
title: 'kprobes: Fix possible use-after-free issue on kprobe registration'
mainline: 325f3fb551f8cd672dbbfc4cf58b14f9ee3fc9e8
upstream: b5808d40093403334d939e2c3c417144d12a6f33
638cc92651d52087ea7e22c3cee5dfaa472e835b:
title: 'Revert "tracing/trigger: Fix to return error if failed to alloc snapshot"'
mainline: 0958b33ef5a04ed91f61cef4760ac412080c4e08
upstream: 34925d01baf3ee62ab21c21efd9e2c44c24c004a
cf9d94023df9b8d5ee9885351ac7b0bb280a39da:
title: 'netfilter: nf_tables: __nft_expr_type_get() selects specific family type'
mainline: 9cff126f73a7025bcb0883189b2bed90010a57d4
upstream: 97f097a8091261ffa07c8889550c4026e59b6c14
59c0769283b97b4a2e14c2846703d5ef9a10c86e:
title: 'netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()'
mainline: f969eb84ce482331a991079ab7a5c4dc3b7f89bf
upstream: 939109c0a8e2a006a6cc8209e262d25065f4403a
eaa8c23a83b5a719ac9bc795481595bbfc02fc18:
title: 'tun: limit printing rate when illegal packet received by tun dev'
mainline: f8bbc07ac535593139c875ffa19af924b1084540
upstream: 68459b8e3ee554ce71878af9eb69659b9462c588
cfe1ce127436f4025381610721ccca95be5661eb:
title: 'drm: nv04: Fix out of bounds access'
mainline: cf92bb778eda7830e79452c6917efa8474a30c1e
upstream: c2b97f26f081ceec3298151481687071075a25cb
40aa14ae1d3360c716476ef5bf841e83b4044a74:
title: 'comedi: vmk80xx: fix incomplete endpoint checking'
mainline: d1718530e3f640b7d5f0050e725216eab57a85d8
upstream: 3a63ae0348d990e137cca04eced5b08379969ea9
e9606f845b0e6e58ea7f0a1cb83f3ca8b6c22c27:
title: 'serial/pmac_zilog: Remove flawed mitigation for rx irq flood'
mainline: 1be3226445362bfbf461c92a5bcdb1723f2e4907
upstream: 69a02273e288011b521ee7c1f3ab2c23fda633ce
32343abd61668292ae454465c0b9f5afb5560d0d:
title: 'USB: serial: option: add Fibocom FM135-GL variants'
mainline: 356952b13af5b2c338df1e06889fd1b5e12cbbf4
upstream: 9a5402ed97bc701eef3d1f04cad469604aaae0ad
2f8adbc57c1c78ec6d9d12bf3cd5924e1d11b98b:
title: 'USB: serial: option: add support for Fibocom FM650/FG650'
mainline: fb1f4584b1215e8c209f6b3a4028ed8351a0e961
upstream: 5809919a53225cb041d171661af398de05fd5499
7a6940c22f654a3953351f2e6d4f990a18293284:
title: 'USB: serial: option: add Lonsung U8300/U9300 product'
mainline: cf16ffa17c398434a77b8a373e69287c95b60de2
upstream: 6efc183ddca84d2d67db97243897c9c01dae3941
1ce24d37d83eb52cd418553e5e364234d2eb301c:
title: 'USB: serial: option: support Quectel EM060K sub-models'
mainline: c840244aba7ad2b83ed904378b36bd6aef25511c
upstream: 44af06ae8bc16e7b325029dc1da51c68169d395d
2193ac5e795e5513c453c321c8eeb5a0a5e63a5c:
title: 'USB: serial: option: add Rolling RW101-GL and RW135-GL support'
mainline: 311f97a4c7c22a01f8897bddf00428dfd0668e79
upstream: 19301bdc1d265877e47bba58cb58738e51efb120
5f912f0cb02da4f3c48151fbaa4490f695556cc5:
title: 'USB: serial: option: add Telit FN920C04 rmnet compositions'
mainline: 582ee2f9d268d302595db3e36b985e5cbb93284d
upstream: 36c159eded196bbca23f0f344202815528545d2d
519eedb563740160edd7c1a150b730c311d2a1f5:
title: 'Revert "usb: cdc-wdm: close race between read and workqueue"'
mainline: 1607830dadeefc407e4956336d9fcd9e9defd810
upstream: 347cca11bb78b9f3c29b45a9c52e70258bd008bf
ccbc9d463cf6f7c018cb20bb05bc98483c63eaaa:
title: 'usb: dwc2: host: Fix dereference issue in DDMA completion flow.'
mainline: eed04fa96c48790c1cce73c8a248e9d460b088f8
upstream: 257d313e37d66c3bcc87197fb5b8549129c45dfe
68e8ffca8bcb4619d8a20a711cf51a3464530790:
title: 'speakup: Avoid crash on very long word'
mainline: c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1
upstream: 756c5cb7c09e537b87b5d3acafcb101b2ccf394f
8005cde96bd7db2593c25a75b9a2ccb18087cf8e:
title: 'fs: sysfs: Fix reference leak in sysfs_break_active_protection()'
mainline: a90bca2228c0646fc29a72689d308e5fe03e6d78
upstream: f28bba37fe244889b81bb5c508d3f6e5c6e342c5
66881703734d16aba33608bf449cc2586b6a51fc:
title: 'nilfs2: fix OOB in nilfs_set_de_type'
mainline: c4a7dc9523b59b3e73fd522c73e95e072f876b16
upstream: 054f29e9ca05be3906544c5f2a2c7321c30a4243
f2b908139433610ec7b0803abd46fcf0b3b43fb4:
title: 'arm64: dts: rockchip: fix alphabetical ordering RK3399 puma'
mainline: f0abb4b2c7acf3c3e4130dc3f54cd90cf2ae62bc
upstream: e0fbabb4865a9f2eebfa8688765fd6fd76185bba
655536c706fd7a9534ac7aec8a63a178d62fe415:
title: 'arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK3399 Puma'
mainline: 945a7c8570916650a415757d15d83e0fa856a686
upstream: 8ada42c66029ee8ec7918b2a5bb2feb9dbe461f1
ed92aae0da0019d4e7db47d37501752a7affbaa3:
title: 'ARC: [plat-hsdk]: Remove misplaced interrupt-cells property'
mainline: 61231eb8113ce47991f35024f9c20810b37996bf
upstream: 60874cc9e4d57c357266ad8b1b1b3b960be8af77
61c51e051a59e94a3c62f81c01f949e94958559e:
title: 'vxlan: drop packets from invalid src-address'
mainline: f58f45c1e5b92975e91754f5407250085a6ae7cf
upstream: 961711809db16bcf24853bfb82653d1b1b37f3bf
8a7045c992202504ab6a4f059f662f83463ace78:
title: 'mlxsw: core: Unregister EMAD trap using FORWARD action'
mainline: 976c44af48141cd8595601c0af2a19a43c5b228b
upstream: 4235cc4d207b535969eef8f3e610f9caafac7295
52ada5a71f0a8be64f0ddaa20583efcf6e8e0411:
title: 'NFC: trf7970a: disable all regulators on removal'
mainline: 6bea4f03c6a4e973ef369e15aac88f37981db49e
upstream: 33ba7baa3cba4b49190635ff883770dd2ae5a3e5
49adc83f7ee5de31ecf4715cf3c1ee131b957815:
title: 'net: usb: ax88179_178a: stop lying about skb->truesize'
mainline: 4ce62d5b2f7aecd4900e7d6115588ad7f9acccca
upstream: 571d30b27680591a576c29782617d95820e765ee
a4fb866fbb951f1c5908c99221021a6e923ee72e:
title: 'net: gtp: Fix Use-After-Free in gtp_dellink'
mainline: f2a904107ee2b647bb7794a1a82b67740d7c8a64
upstream: 07b20d0a3dc13fb1adff10b60021a4924498da58
7e7531a6b522c9ad6e3967215e54d7724159dd7f:
title: 'docs: segmentation-offloads.txt: add SCTP info'
19b468b254ac2fd06d13219073e6395e3b474567:
title: 'bpf: fix bpf_skb_adjust_net/bpf_skb_proto_xlat to deal with gso sctp skbs'
02cac8715a217aa9d6e76a4dca2e0f2d8242f832:
title: 'ipvs: Fix checksumming on GSO of SCTP packets'
mainline: e10d3ba4d434ed172914617ed8d74bd411421193
upstream: 740a06078ac58840494934ace6055eb879f267fb
bca56f5107b108ae5c63b5478b0ebaeab77cf5ac:
title: 'i40e: Do not use WQ_MEM_RECLAIM flag for workqueue'
mainline: 2cc7d150550cc981aceedf008f5459193282425c
upstream: 09b54d29f05129b092f7c793a70b689ffb3c7b2c
c112e92e7e9009b25113d00c387517474d00350f:
title: 'serial: core: Provide port lock wrappers'
mainline: b0af4bcb49464c221ad5f95d40f2b1b252ceedcc
upstream: dcc8ed283f841e217ad23a65453f7b8c6068d6c5
7b5287213ee5429e42b281d104e07e08d50c2d9a:
title: 'serial: mxs-auart: add spinlock around changing cts state'
mainline: 54c4ec5f8c471b7c1137a1f769648549c423c026
upstream: 56434e295bd446142025913bfdf1587f5e1970ad
06da784dbd29c1e42dd9ced075d829704914864b:
title: 'drm/amdgpu: restrict bo mapping within gpu address limits'
mainline: 8b80d74bdb2285d3022b349c8451eb16535f7906
upstream: 605134e35a72a8cf1ff1cf433664a2b4a4924488
5dd0e09eeab9c87b6a91fcf9ef0b10295d68ff2d:
title: 'amdgpu: validate offset_in_bo of drm_amdgpu_gem_va'
mainline: 9f0bcf49e9895cb005d78b33a5eebfa11711b425
upstream: 82aace80cfaab778245bd2f9e31b67953725e4d0
3e99e112aa1d6c9af57da0446cef785190e95634:
title: 'drm/amdgpu: validate the parameters of bo mapping operations more clearly'
mainline: 6fef2d4c00b5b8561ad68dd2b68173f5c6af1e75
upstream: d4da6b084f1c5625937d49bb6722c5b4aef11b8d
a039a95bde00995c63312c1870c870187dcaa60f:
title: 'Revert "crypto: api - Disallow identical driver names"'
mainline: 27016f75f5ed47e2d8e0ca75a8ff1f40bc1a5e27
upstream: 69dc8fc8307640b717b37056549d88a664273206
e3b3f139e8a216c0dc590c0349a0824c1918ed86:
title: 'tracing: Show size of requested perf buffer'
mainline: a90afe8d020da9298c98fddb19b7a6372e2feb45
upstream: 78b92d50fe6ab79d536f4b12c5bde15f2751414d
edc56d2275828b9e3a8258681c30bb666cfdf8f7:
title: 'tracing: Increase PERF_MAX_TRACE_SIZE to handle Sentinel1 and docker together'
mainline: e531e90b5ab0f7ce5ff298e165214c1aec6ed187
upstream: c8d5402dcd1834747bb3dbd9b6fe51defd3d636b
75613ba0ee43c74bb35bb8f80961e8e0ea496f9f:
title: 'Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old()'
mainline: 9bf4e919ccad613b3596eebf1ff37b05b6405307
upstream: 92d26492b4acdc05a3ad1f7795b6cae91292b00d
cccd878ed43e046f7dc286fb677079dd801d2626:
title: 'btrfs: fix information leak in btrfs_ioctl_logical_to_ino()'
mainline: 2f7ef5bb4a2f3e481ef05fab946edb97c84f67cf
upstream: 689efe22e9b5b7d9d523119a9a5c3c17107a0772
336db5bbf15c2e86555a7b369f8faa7b3d4abe0f:
title: 'arm64: dts: rockchip: enable internal pull-up for Q7_THRM# on RK3399 Puma'
mainline: 0ac417b8f124427c90ec8c2ef4f632b821d924cc
upstream: 6d5692510d683ab57f81f82fd3d5282e33dd416f
94db4962aa554ced828a4fbee5e96941a3fb2e7f:
title: 'irqchip/gic-v3-its: Prevent double free on error'
mainline: c26591afd33adce296c022e3480dea4282b7ef91
upstream: f5417ff561b8ac9a7e53c747b8627a7ab58378ae
98b91fb5ede664960c3890efcd2f952affb11dee:
title: 'net: b44: set pause params only when interface is up'
mainline: e3eb7dd47bd4806f00e104eb6da092c435f9fb21
upstream: 1aeede3a0217741120725c4c9cebf039c6fff7ef
9485c0dda576f58a9579b81e4d10b72bebda58de:
title: 'stackdepot: respect __GFP_NOLOCKDEP allocation flag'
mainline: 6fe60465e1d53ea321ee909be26d97529e8f746c
upstream: 79b25b1a58d0a6b53dfd685bca8a1984c86710dd
cd3a5b7416bf89cb599e05f6e81e519211413cba:
title: 'mtd: diskonchip: work around ubsan link failure'
mainline: 21c9fb611c25d5cd038f6fe485232e7884bb0b3d
upstream: 153adb5d7878d18e2b9be173996034f858fbce8e
063e3bb968e0b88dfd0eca06c56d3eb95b43e40b:
title: 'idma64: Don''t try to serve interrupts when device is powered off'
mainline: 9140ce47872bfd89fca888c2f992faa51d20c2bc
upstream: ffe3f362de3479f5d75a97a7004a279a650ee7cd
6feb1d6f972701a31a9e48c70c9fe13f96f00ed4:
title: 'i2c: add param sanity check to i2c_transfer()'
c8c86b3d8008e24fba2c5956a2849ed47c9ce817:
title: 'i2c: smbus: fix NULL function pointer dereference'
mainline: 91811a31b68d3765b3065f4bb6d7d6d84a7cfc9f
upstream: 40f1d79f07b49c8a64a861706e5163f2db4bd95d
674f9950629e4a2071b81cd12e58e5e190754121:
title: 'HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up'
mainline: 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e
upstream: 21bfca822cfc1e71796124e93b46e0d9fa584401
67c9c69cedb11331c684e306485b2767c9ed0ffc:
title: 'serial: core: fix kernel-doc for uart_port_unlock_irqrestore()'
mainline: 29bff582b74ed0bdb7e6986482ad9e6799ea4d2f
upstream: 6e5937b23a13ce6bbe8bf17319efa34598f1650a
7abf8b09720539a0c4f2561eff4002278e8b27c0:
title: 'net: fix unused variable warning in do_tcp_setsockopt()'
7d8091b0ea0bbeab05cfeeacc8251c73a298f4ee:
title: Simplify major/minor non-dynamic logic

View File

@@ -1,226 +0,0 @@
7a2c5465ee29605fd2c0c2a6d22f8e9787cc93b4:
title: 'dmaengine: pl330: issue_pending waits until WFP state'
mainline: 22a9d9585812440211b0b34a6bc02ade62314be4
upstream: e588495c211a58a593c0b35bde105e50a80f1587
1be5dfb4ae2059ec9c905e05c28525082863a716:
title: 'dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state"'
mainline: afc89870ea677bd5a44516eb981f7a259b74280c
upstream: 15097ae79c7231684158d7fd6306853e7042979d
de3ac5d3e761015a4e4ad472aac54347deae0b60:
title: 'wifi: nl80211: don''t free NULL coalescing rule'
mainline: 801ea33ae82d6a9d954074fbcf8ea9d18f1543a7
upstream: 327382dc0f16b268950b96e0052595efd80f7b0a
52cab27f08d73efcb58ca69bb59475c2809abb21:
title: 'net: slightly optimize eth_type_trans'
mainline: 45cf7959c30402d7c4ea43568a6f1bab0ba6ca63
upstream: a82fcda87f9ba6ca65d8c0020de72237d5462766
269a33dfbc3eaaf920f438cc933fce8ca1d6293e:
title: 'net: create netdev->dev_addr assignment helpers'
mainline: 48eab831ae8b9f7002a533fa4235eed63ea1f1a3
36bdbf757991cf19077cac99ee29f44e4164ffcf:
title: 'ethernet: add a helper for assigning port addresses'
mainline: e80094a473eefad9d856ce3ab0d7afdbb64800c4
upstream: 51fcea1b7c52abc3ff5af354e199731582a34ebf
ba10f69d1e654aff90e015383bfd641dc8556e5a:
title: 'ethernet: Add helper for assigning packet type when dest address does not match device address'
mainline: 6e159fd653d7ebf6290358e0330a0cb8a75cf73b
upstream: 3d63a6c77b51c1a7cef2987a7f70ec9d91b04d95
bdf517d3858a65b97d7f0d7df1acbc6ba5766bfd:
title: 'pinctrl: core: delete incorrect free in pinctrl_enable()'
mainline: 5038a66dad0199de60e5671603ea6623eb9e5c79
upstream: 735f4c6b6771eafe336404c157ca683ad72a040d
525562e5df5cc30f7d0e86974730550a7753941f:
title: 'power: rt9455: hide unused rt9455_boost_voltage_values'
mainline: 452d8950db3e839aba1bb13bc5378f4bac11fa04
upstream: c8d8b7f650b5bfddd9ac8b39fa3455716ddcbaff
b290fe8f786a5c701623bc3a4522f728ff6511ad:
title: 'pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()'
mainline: a0cedbcc8852d6c77b00634b81e41f17f29d9404
upstream: 06780473cb8a858d1d6cab2673e021b072a852d1
6e4174bf8ee5e72fa57859378ac90172b5a4ee88:
title: 'bna: ensure the copied buf is NUL terminated'
mainline: 8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f
upstream: bd502ba81cd1d515deddad7dbc6b812b14b97147
945365c6ab9e246eaa46aa79d0e090c43e983191:
title: 'nsh: Restore skb->{protocol,data,mac_header} for outer header in nsh_gso_segment().'
mainline: 4b911a9690d72641879ea6d13cce1de31d346d79
upstream: a7c2c3c1caabcb4a3d6c47284c397507aaf54fe9
f3cbc47fef3fd6e96761cb7986e48698353fc74c:
title: 'net l2tp: drop flow hash on forward'
mainline: 42f853b42899d9b445763b55c3c8adc72be0f0e1
upstream: b6e4b93edc0100a88d7d4f3140bba25a529c5166
f2c7931f8a50c6da3a1f5ec513b2f8b3c52919e0:
title: 'net: dsa: mv88e6xxx: Add number of MACs in the ATU'
mainline: d9ea56206c4df77175321874544eb4ca48c0bac8
upstream: 4b1f3253bfa5a709d0c0003e3272c5a284a36771
18b5e4742fea56bceaac0d8ad276711a0f7c8062:
title: 'net: dsa: mv88e6xxx: Fix name of switch 88E6141'
8bba49c34aecc6bed2a9a282710963f4af19460d:
title: 'net: dsa: mv88e6xxx: Fix number of databases for 88E6141 / 88E6341'
mainline: b9a61c20179fda7bdfe2c1210aa72451991ab81a
upstream: 0c27eb63bd9feaf34ec3049873c1b1889b569a85
74703c09c98e094af2885ff2ff052d66b2731fe4:
title: 'net: bridge: fix multicast-to-unicast with fraglist GSO'
mainline: 59c878cbcdd80ed39315573b3511d0acfd3501b5
upstream: 01386957ca757e31fb66caceb303f71f9e577b83
f6d438b693a934d982288ee2eee89e9e30bb8a18:
title: 'tipc: fix a possible memleak in tipc_buf_append'
mainline: 97bf6f81b29a8efaf5d0983251a7450e5794370d
upstream: 01cd1b7b685751ee422d00d050292a3d277652d6
17f4f66e30c9de03ade16f70122bbab83424be13:
title: 'scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic'
mainline: bb011631435c705cdeddca68d5c85fd40a4320f9
upstream: b241595d3d09d24c60cd9e594dc81fa1b0f6b280
4f09d935a3265126515304a5496b7dee43998e85:
title: 'wifi: mac80211: fix ieee80211_bss_*_flags kernel-doc'
mainline: 774f8841f55d7ac4044c79812691649da203584a
upstream: fd10730c905db4e7984109f1342d9aa43ee63c8f
b6f6bed5092bdbc36b99ee09a6b07a00bf0f6012:
title: 'net: mark racy access on sk->sk_rcvbuf'
mainline: c2deb2e971f5d9aca941ef13ee05566979e337a4
upstream: 9e7538cb8131946817218f793ceb334c63cfcdb8
e5f7fdcb7c0455dc9dd4d9de1729261dc7f215a2:
title: 'scsi: bnx2fc: Remove spin_lock_bh while releasing resources after upload'
mainline: c214ed2a4dda35b308b0b28eed804d7ae66401f9
upstream: 468f3e3c15076338367b0945b041105b67cf31e3
7a1f974c7345abc254eaad100b67e2093c68fcba:
title: 'ALSA: line6: Zero-initialize message buffers'
mainline: c4e51e424e2c772ce1836912a8b0b87cd61bc9d5
upstream: c957c9432f957007fef152a3efc9aabe4337ef4a
c4cefd5df74348cc94d3b934e448c9dd5ab64416:
title: 'net: bcmgenet: Reset RBUF on first open'
mainline: 0a6380cb4c6b5c1d6dad226ba3130f9090f0ccea
upstream: 510e7b18fdad4b55849d7a73b8ff2c3e8ad2f7af
532051585e477a5ef3e62ad8f006288b18cd5727:
title: 'ata: sata_gemini: Check clk_enable() result'
mainline: e85006ae7430aef780cc4f0849692e266a102ec0
upstream: 47325095299e50d274da30525f7b41d638c22a8e
3b969e6e4d466989104ad6d6f95296b9e9f37d54:
title: 'firewire: ohci: mask bus reset interrupts between ISR and bottom half'
mainline: 752e3c53de0fa3b7d817a83050b6699b8e9c6ec9
upstream: b3948c69d60279fce5b2eeda92a07d66296c8130
5c0a4f90868a9e879228c6ed8d058ee8f1c70213:
title: 'tools/power turbostat: Fix added raw MSR output'
mainline: e5f4e68eed85fa8495d78cd966eecc2b27bb9e53
upstream: e13c8b6b8675c7848e54145b77e7c0d2c52a3422
096fb209120164d95c7046009ee24600fdb0eb43:
title: 'tools/power turbostat: Fix Bzy_MHz documentation typo'
mainline: 0b13410b52c4636aacb6964a4253a797c0fa0d16
upstream: 5225091f94af36e1dddc5bc71abd317dcac4847e
89b804f254ae731be5f86e671b3ac126f2f452a8:
title: 'scsi: target: Fix SELinux error when systemd-modules loads the target module'
mainline: 97a54ef596c3fd24ec2b227ba8aaf2cf5415e779
upstream: 2c9cb7a564bdd454df694b8e08eecbf925199eac
3fc20d8d310b70b29dca23bf8733cd18d08e1ec4:
title: 'selftests: timers: Fix valid-adjtimex signed left-shift undefined behavior'
mainline: 076361362122a6d8a4c45f172ced5576b2d4a50d
upstream: 968908c39d985bc636e069769772155f66586664
99b4d7e3ea1c9056962bafc600bbed0ba6035e91:
title: 'fs/9p: only translate RWX permissions for plain 9P2000'
mainline: cd25e15e57e68a6b18dc9323047fe9c68b99290b
upstream: e90bc596a74bb905e0a45bf346038c3f9d1e868d
83f6d606db87a09db262083d62866aa1eb8309e2:
title: 'fs/9p: translate O_TRUNC into OTRUNC'
mainline: 87de39e70503e04ddb58965520b15eb9efa7eef3
upstream: 0ce2676013818e62b18504d39211b65d8b54bc24
8b2c6a57cf512e211fdeb0bd08938647547b7639:
title: '9p: explicitly deny setlease attempts'
mainline: 7a84602297d36617dbdadeba55a2567031e5165b
upstream: 1b90be6698e8d67a2edb8d260e9654d539e7cb51
48c6238101a2be011c58503b7fbe9c6ded8afac3:
title: 'gpio: wcove: Use -ENOTSUPP consistently'
mainline: 0c3b532ad3fbf82884a2e7e83e37c7dcdd4d1d99
upstream: a0c966b4d7fe7d701d31aebbd3cc32d1e7ee266e
d7cb3d68d0dd185840ff94aca7e798229de8d0dc:
title: 'gpio: crystalcove: Use -ENOTSUPP consistently'
mainline: ace0ebe5c98d66889f19e0f30e2518d0c58d0e04
upstream: e4c744a9c1da845faecba1532ba70154630b94ed
7fdb44bf63d8d7e30340c10846aeaeeeb9530ba5:
title: 'fs/9p: drop inodes immediately on non-.L too'
mainline: 7fd524b9bd1be210fe79035800f4bd78a41b349f
upstream: cc3d6fbd645449298d03d96006e3e9bcae00bc1a
4d26ff1d302a1cfb1a6ec136b4e88b18605a266a:
title: 'net:usb:qmi_wwan: support Rolling modules'
mainline: d362046021ea122309da8c8e0b6850c792ca97b5
upstream: a1a3346ef3e9a7fa0954903355bc4366e72da9a3
22dc505fb63ec90f4f89fd3f6b58cad1c68e059c:
title: 'tcp: remove redundant check on tskb'
mainline: d1edc085559744fbda7a55e97eeae8bd6135a11b
upstream: 6f7082e284ec3fa32694e5704da510194229ef12
426be5e0e2e245b5f7aa5c8b735f7350e41e3ba7:
title: 'tcp: defer shutdown(SEND_SHUTDOWN) for TCP_SYN_RECV sockets'
mainline: 94062790aedb505bdda209b10bea47b294d6394f
upstream: 34e41a031fd7523bf1cd00a2adca2370aebea270
8f75b925397684e4842eed1ae96fa57c441bd283:
title: 'Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout'
mainline: 483bc08181827fc475643272ffb69c533007e546
upstream: 1b33d55fb7355e27f8c82cd4ecd560f162469249
db1b3cb8b825fb48230e12d00652500c9fa29e2e:
title: 'Bluetooth: l2cap: fix null-ptr-deref in l2cap_chan_timeout'
mainline: adf0398cee86643b8eacde95f17d073d022f782c
upstream: e137e2ba96e51902dc2878131823a96bf8e638ae
5301db4a62df009136d5e53d6c9daf4d35a0049d:
title: 'rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation'
mainline: 1aec77b2bb2ed1db0f5efc61c4c1ca3813307489
upstream: 8ac69ff2d0d5be9734c4402de932aa3dc8549c1a
ada1bc85dc1c41f4d40845ea46ef94553db632a3:
title: 'phonet: fix rtm_phonet_notify() skb allocation'
mainline: d8cac8568618dcb8a51af3db1103e8d4cc4aeea7
upstream: ec1f71c05caeba0f814df77e0f511d8b4618623a
b497c0ef92d390bcb8fa79846d2a02509e17d071:
title: 'net: bridge: use DEV_STATS_INC()'
mainline: 44bdb313da57322c9b3c108eb66981c6ec6509f4
71ccd14baaa895a643aac754b686592608eda7da:
title: 'net: bridge: fix corrupted ethernet header on multicast-to-unicast'
mainline: 86b29d830ad69eecff25b22dc96c14c6573718e6
upstream: e96b4e3e5e2d03e72d251aa46853cf609f4f8960
3868d9c979084977fa44b477b1daed205ca5224b:
title: 'net/ipv6: Refactor fib6_rule_action'
fd6963c88a807bea816c6b6eed4896715ac5c552:
title: 'ipv6: fib6_rules: avoid possible NULL dereference in fib6_rule_action()'
mainline: d101291b2681e5ab938554e3e323f7a7ee33e3aa
upstream: 4a5a573387da6a6b23a4cc62147453ff1bc32afa
40d8d26e718b40b76be38e01998d92e982e6fe36:
title: 'af_unix: Do not use atomic ops for unix_sk(sk)->inflight.'
mainline: 97af84a6bba2ab2b9c704c08e67de3b5ea551bb2
upstream: c8a2b1f7208b0ea0a4ad4355e0510d84f508a9ff
e987e6352bc9cbc7d925c7110aedd4c254bce439:
title: 'af_unix: Fix garbage collector racing against connect()'
mainline: 47d8ac011fe1c9251070e1bd64cb10b48193ec51
upstream: a36ae0ec2353015f0f6762e59f4c2dbc0c906423
3e595e41a1d31b9dad72dc959b6e85bae59c62a9:
title: 'firewire: nosy: ensure user_length is taken into account when fetching packet contents'
mainline: 38762a0763c10c24a4915feee722d7aa6e73eb98
upstream: 67f34f093c0f7bf33f5b4ae64d3d695a3b978285
8ed9c2744b2925a670e1cacb329cf26029bad6b0:
title: 'usb: gadget: composite: fix OS descriptors w_value logic'
mainline: ec6ce7075ef879b91a8710829016005dc8170f17
upstream: c037e0ebc0cabb1906203ca3322ad9dc7eeddc8e
9c25fd19c4e377b891db0435e4ebcb264714bde7:
title: 'usb: gadget: f_fs: Fix a race condition when processing setup packets.'
mainline: 0aea736ddb877b93f6d2dd8cf439840d6b4970a9
upstream: af3f22e07de457965352950d1a535edbf84444f0
5fc482f94740a21c8101f0f7f01d7b42a895efc1:
title: 'tipc: fix UAF in error path'
mainline: 080cbb890286cd794f1ee788bbc5463e2deb7c2b
upstream: e19ec8ab0e25bc4803d7cc91c84e84532e2781bd
8aa195d14b00d30a14b28f066a0c0ca21d1b3bae:
title: 'dyndbg: fix old BUG_ON in >control parser'
mainline: 00e7d3bea2ce7dac7bee1cf501fb071fd0ea8f6c
upstream: 3c718bddddca9cbef177ac475b94c5c91147fb38
9804a24b7ac34a1ce3cbb9914940853a59997055:
title: 'drm/vmwgfx: Fix invalid reads in fence signaled events'
mainline: a37ef7613c00f2d72c8fc08bd83fb6cc76926c8c
upstream: 2f527e3efd37c7c5e85e8aa86308856b619fa59f
cc156d9fc5bcab07f124ade0fb47174c7c1efb65:
title: 'net: fix out-of-bounds access in ops_init'
mainline: a26ff37e624d12e28077e5b24d2b264f62764ad6
upstream: 3cdc34d76c4f777579e28ad373979d36c030cfd3
bade56293ac77e3f0c05d39b9719cf42e75a7077:
title: 'af_unix: Suppress false-positive lockdep splat for spin_lock() in __unix_gc().'
mainline: 1971d13ffa84a551d29a81fdf5b5ec5be166ac83
upstream: b29dcdd0582c00cd6ee0bd7c958d3639aa9db27f
7410069cb98b2623f694bc855a997f3836900f56:
title: 'RDS: IB: Use DEFINE_PER_CPU_SHARED_ALIGNED for rds_ib_stats'
4a89fa4873851d33bed1eee79f5009cef636e526:
title: 'rds: Fix build regression.'

View File

@@ -1,18 +0,0 @@
ebc7ed8686acc9ab4fc68b9c9ad601b094c37a9c:
title: 'Revert "selftests: mm: fix map_hugetlb failure on 64K page size systems"'
dcd987848b62bdf1bbc0a44b0af4d42c364e8d1e:
title: 'dm: limit the number of targets and parameter size area'
mainline: bd504bcfec41a503b32054da5472904b404341a4
upstream: 1ddc0c3f4996c4ca1216ede1fa7699a803204590
30741c3b9f4e080264a6b52a95391902a9b71108:
title: 'btrfs: add missing mutex_unlock in btrfs_relocate_sys_chunks()'
mainline: 9af503d91298c3f2945e73703f0e00995be08c30
upstream: 6ffbcb3704046668ede6551b236960597d71a005
1d8ba83736394d3167acb51f49623624d74ac1e0:
title: 'serial: kgdboc: Fix NMI-safety problems from keyboard reset code'
mainline: b2aba15ad6f908d1a620fd97f6af5620c3639742
upstream: 512b9385201c7dec1b8d490711e9b578ae50525e
fb341e5794b05a39dfaa8f073dc5a23072b09992:
title: 'docs: kernel_include.py: Cope with docutils 0.21'
mainline: d43ddd5c91802a46354fa4c4381416ef760676e2
upstream: 4b431a786f0ca86614b2d00e17b313956d7ef035

View File

@@ -1,613 +0,0 @@
8bb6ee62c33b1f281b98b2dd19f1d7249a1ee5ab:
title: 'speakup: Fix sizeof() vs ARRAY_SIZE() bug'
mainline: 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b
upstream: 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358
a43f1f02b3a93c9a2da8ea92e4d6509d0a61ebd8:
title: 'ring-buffer: Fix a race between readers and resize checks'
mainline: c2274b908db05529980ec056359fae916939fdaa
upstream: b50932ea673b5a089a4bb570a8a868d95c72854e
39d470c1d65655756f7bc56eef30977466000040:
title: 'nilfs2: fix unexpected freezing of nilfs_segctor_sync()'
mainline: 936184eadd82906992ff1f5ab3aada70cce44cee
upstream: 072980bc50626c4557694ce54e3f6f2bde02b6e0
6696ef522ef729e48bb88e624f4b450cc48d0008:
title: 'nilfs2: fix potential hang in nilfs_detach_log_writer()'
mainline: eb85dace897c5986bc2f36b3c783c6abb8a4292e
upstream: 911d38be151921a5d152bb55e81fd752384c6830
478b032b9b295f6e4d224766b1d74f3f8d8015f5:
title: 'tty: n_gsm: fix possible out-of-bounds in gsm0_receive()'
mainline: 47388e807f85948eefc403a8a5fdc5b406a65d5a
upstream: 9513d4148950b05bc99fa7314dc883cc0e1605e5
0e454ea0aef962c0bc28aaec416c987c472ee16f:
title: 'wifi: cfg80211: fix the order of arguments for trace events of the tx_rx_evt class'
mainline: 9ef369973cd2c97cce3388d2c0c7e3c056656e8a
upstream: 5099e30dde0caffa9f0e2c41d7327fc3ed987fd5
52bed87bdd7ff234fbf08cffb5805fec3753a574:
title: 'net: usb: qmi_wwan: add Telit FN920C04 compositions'
mainline: 0b8fe5bd73249dc20be2e88a12041f8920797b59
upstream: 25468fffbbd2b0f06b4b12d79ff56cc5c40bfd1f
1de2264213019b0e94512027fedda73173da635e:
title: 'ASoC: rt5645: Fix the electric noise due to the CBJ contacts floating'
mainline: 103abab975087e1f01b76fcb54c91dbb65dbc249
upstream: 5c50d2e998143ce00c0629dcaabd73c3d962545c
f5822a115c534c96bcde99428ab661088e193a09:
title: 'ASoC: dt-bindings: rt5645: add cbj sleeve gpio property'
mainline: 306b38e3fa727d22454a148a364123709e356600
upstream: 5af06b6c57a9bbfa9bd5421e28bcd5c571c5821e
6c8dd658875782d45f021c5015b9ec9bf5f5ff87:
title: 'ASoC: da7219-aad: fix usage of device_get_named_child_node()'
mainline: e8a6a5ad73acbafd98e8fd3f0cbf6e379771bb76
upstream: 6d2d2aaae1faa64c2f803d6f11f4b2df3b3c2cff
8355ba0b459240e847584f780402073b8236df46:
title: 'crypto: bcm - Fix pointer arithmetic'
mainline: 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9
upstream: c256b616067bfd6d274c679c06986b78d2402434
09020d6f62421e7fd4240279ff30dde78a0300bc:
title: 'firmware: raspberrypi: Use correct device for DMA mappings'
mainline: df518a0ae1b982a4dcf2235464016c0c4576a34d
upstream: b7277844e7e367381b2377853afceb58427cf6fb
78f8f3e6cf95446a03837bb11a67c4c2569ced32:
title: 'ecryptfs: Fix buffer size for tag 66 packet'
mainline: 85a6a1aff08ec9f5b929d345d066e2830e8818e5
upstream: 1c125b9287e58f364d82174efb167414b92b11f1
7ee6938a59b80751d7919f67a3c4fb585d3829f6:
title: 'nilfs2: fix out-of-range warning'
mainline: c473bcdd80d4ab2ae79a7a509a6712818366e32a
upstream: 7610fd35b74211ab8def4e124095e600a1ae945b
72d5387b60255610eb6fd5c18bb819fc39cc8917:
title: 'parisc: add missing export of __cmpxchg_u8()'
mainline: c57e5dccb06decf3cb6c272ab138c033727149b5
upstream: 63d5a72afbd1505f180e81bc72e056ceea28b43b
7eb7c75444aa358909836ea7ff4f692a53b199f9:
title: 'crypto: ccp - Remove forward declaration'
mainline: 3512dcb4e6c64733871202c01f0ec6b5d84d32ac
upstream: 4b713a1581b17a94a21699165a20d82eb0eca2dc
afb1d97ca2b2cdfa5f46e8eb9fc37934349bc34e:
title: 'crypto: ccp - drop platform ifdef checks'
mainline: 42c2d7d02977ef09d434b1f5b354f5bc6c1027ab
upstream: ce8f89223c9552d18b118596a85fd6cc237bc0e9
7375909839424727552bd0bb2022ca3db5c6ffe8:
title: 'jffs2: prevent xattr node from overflowing the eraseblock'
mainline: c6854e5a267c28300ff045480b5a7ee7f6f1d913
upstream: 2904e1d9b64f72d291095e3cbb31634f08788b11
a28a74b9a53b5b25cde8cfbea4c071f7a1c9beed:
title: 'null_blk: Fix missing mutex_destroy() at module removal'
mainline: 07d1b99825f40f9c0d93e6b99d79a08d0717bac1
upstream: 54ee1f7e2ea06e5c5341dc54255881fa5d11b312
520ccb81e3976c1c21d19d43265958faad0aee46:
title: 'nfsd: drop st_mutex before calling move_to_close_lru()'
mainline: 56c35f43eef013579c76c007ba1f386d8c2cac14
upstream: 52d3370e8022ce28cd8cf4d16c09245aa683d7fb
6faa6059493e8a857fe5c3b5e12a3ceec730cda3:
title: 'wifi: ath10k: poll service ready message before failing'
mainline: e57b7d62a1b2f496caf0beba81cec3c90fad80d5
upstream: 54e3970b1848856e49f8cd08751dcb010ac3296b
a2c3254bc18b8f7bea19a00d8e7ea4ec52e941c1:
title: 'x86/boot: Ignore relocations in .notes sections in walk_relocs() too'
mainline: 76e9762d66373354b45c33b60e9a53ef2a3c5ff2
upstream: 2487db16d4b9faead07b7825d33294e9e783791d
5b61b9cefdb45e69ab265050d603cdd30f3d089b:
title: 'scsi: ufs: qcom: Perform read back after writing reset bit'
mainline: c4d28e06b0c94636f6e35d003fa9ebac0a94e1ae
upstream: e6bfc88b60f0874a00b22f243a94a5e8601d5039
936e250e7ec6cb3bad3a8aa3a699a625e62cb5a6:
title: 'scsi: ufs: core: Perform read back after disabling interrupts'
mainline: e4a628877119bd40164a651d20321247b6f94a8b
upstream: bf144a2e3b5048e5a9e3baf19f54d5e865d578b4
c5a8d87d1f0792ab4f65cf240309a4effe22de01:
title: 'scsi: ufs: core: Perform read back after disabling UIC_COMMAND_COMPL'
mainline: 4bf3855497b60765ca03b983d064b25e99b97657
upstream: 8dfd79c1c31660549a03439d42794c138efa5432
94707145849c4be8019d4f7b2cce86402f9f9127:
title: 'irqchip/alpine-msi: Fix off-by-one in allocation error path'
mainline: ff3669a71afa06208de58d6bea1cc49d5e3fcbd1
upstream: 4654dfa98682444152aac9bcef50e0d5e114a135
96f2e9bb5b58c10a84e2a0064c7dc88cdcfff4d8:
title: 'ACPI: disable -Wstringop-truncation'
mainline: a3403d304708f60565582d60af4316289d0316a0
upstream: 2e816914b5ba234c3815ca80bffd2f3b3a7de6b0
8734c83b6dae36fbe4d97f42409e04459426858c:
title: 'scsi: libsas: Fix the failure of adding phy with zero-address to port'
mainline: 06036a0a5db34642c5dbe22021a767141f010b7a
upstream: 2d8f31aa03df040c58a2e4a0382b96269c1bf96a
784e2dc0d9be9b2e2ff8e3d05713f4d82895a489:
title: 'scsi: hpsa: Fix allocation size for Scsi_Host private data'
mainline: 504e2bed5d50610c1836046c0c195b0a6dba9c72
upstream: 9fc44d44b3b8eadd8b797462c733eb6c63598e6f
6541bba29a4584f20a372e98ca07659b1b971c3e:
title: 'wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()'
mainline: c511a9c12674d246916bb16c479d496b76983193
upstream: 569da482fdec15251ff113462717182d85bd1665
d85d76f39ef8f74c3ce4b2084bc1d56b90f808ce:
title: 'macintosh/via-macii: Remove BUG_ON assertions'
mainline: 5f93d7081a47e1972031ccf57c4b2779eee162fb
upstream: 880897e8a5ade054a04575e5d8cc2666da415ab4
cbe81c90b06ebd1a23367c8c594dbddac39d531c:
title: 'm68k/mac: Add mutual exclusion for IOP interrupt polling'
fad0ed0dd7bf14e6c89489e1db0486828e45f563:
title: 'macintosh/via-macii, macintosh/adb-iop: Clean up whitespace'
mainline: 47fd2060660e62b169990a6fcd9eb61bc1a85c5c
upstream: d0aa752285c9a35ee1ae0f2a4da10c5ceb6c09b6
82b5124ff8448c3b27d5cf963d835806a4ec8726:
title: 'macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"'
mainline: d301a71c76ee4c384b4e03cdc320a55f5cf1df05
upstream: e4ff8bcfb2841fe4e17e5901578b632adb89036d
e6c959db704b9f17b53d0d695ac791ddb180649b:
title: 'wifi: carl9170: add a proper sanity check for endpoints'
mainline: b6dd09b3dac89b45d1ea3e3bd035a3859c0369a0
upstream: eb0f2fc3ff5806cc572cd9055ce7c52a01e97645
0e282a437be278b5a28b5de56553710ca304877a:
title: 'wifi: ar5523: enable proper endpoint verification'
mainline: e120b6388d7d88635d67dcae6483f39c37111850
upstream: 79ddf5f2020fd593d50f1363bb5131283d74f78f
08d55870d721795f5ca9affb641a9d77a5cde478:
title: 'sh: kprobes: Merge arch_copy_kprobe() into arch_prepare_kprobe()'
mainline: 1422ae080b66134fe192082d9b721ab7bd93fcc5
upstream: 8ed15460d8bbc517bf54b24c7694e6c0ff174968
3d986276f8b5fa0dc170e1b35f0659b9ba4b2cd0:
title: 'Revert "sh: Handle calling csum_partial with misaligned data"'
mainline: b5319c96292ff877f6b58d349acf0a9dc8d3b454
upstream: 3c37203af733254154602273a970cfb7400c223e
2461969d18d1b3a8ca40c5203819221813d2fa47:
title: 'scsi: bfa: Ensure the copied buf is NUL terminated'
mainline: 13d0cecb4626fae67c00c84d3c7851f6b62f7df3
upstream: 481fc0c8617304a67649027c4a44723a139a0462
c2d34a41a30021d6947d93dee2373e98416296b8:
title: 'scsi: qedf: Ensure the copied buf is NUL terminated'
mainline: d0184a375ee797eb657d74861ba0935b6e405c62
upstream: 1f84a2744ad813be23fc4be99fb74bfb24aadb95
ceee9c23ca78be8cbe0b677623554c14da4a8ffe:
title: 'wifi: mwl8k: initialize cmd->addr[] properly'
mainline: 1d60eabb82694e58543e2b6366dae3e7465892a5
upstream: 6bc4e51e8d8451d40ec092d01119287af2acffcf
2341a1b273189a5673cfbb6a5badecca8e25d24a:
title: 'net: usb: sr9700: stop lying about skb->truesize'
mainline: 05417aa9c0c038da2464a0c504b9d4f99814a23b
upstream: c0aff9978bb6ead0aec382a2645a563a3dd2df38
314fdca9aa1eac5417fd9621bf4ebbacfd100e75:
title: 'm68k: Fix spinlock race in kernel thread creation'
mainline: da89ce46f02470ef08f0f580755d14d547da59ed
upstream: 2a8d1d95302c7d52c6ac8fa5cb4a6948ae0d3a14
4e23b79c4b130dd3049e3c0001d4926dcfacded5:
title: 'm68k/mac: Use ''030 reset method on SE/30'
mainline: 9c0e91f6b701dce6902408d50c4df9cebe4744f5
upstream: c96430d59c71a0e5c641b5267ccf141c501fe15e
3d47f159d4991609f1a71bb15683f1b8cac8d2a8:
title: 'm68k: mac: Fix reboot hang on Mac IIci'
mainline: 265a3b322df9a973ff1fc63da70af456ab6ae1d6
upstream: 8055e882c57031a5ca7fbf278796c19ded9f9d6f
be1d9f0e9de4ae6b3c0baed5547aa84be06f6548:
title: 'af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg'
mainline: 540bf24fba16b88c1b3b9353927204b4f1074e25
upstream: fca6072e1a7b1e709ada5604b951513b89b4bd0a
16d0a15317ccdd42565ee3b0b4414f7134f414ba:
title: 'net: usb: smsc95xx: stop lying about skb->truesize'
mainline: d50729f1d60bca822ef6d9c1a5fb28d486bd7593
upstream: 1010b50b2ebaaa863baeba7572267ac39bbb7adb
d84c07f0a36edfbb017f66723aff19b75408ec6a:
title: 'net: openvswitch: fix overwriting ct original tuple for ICMPv6'
mainline: 7c988176b6c16c516474f6fceebe0f055af5eb56
upstream: 6a51ac92bf35d34b4996d6eb67e2fe469f573b11
e990bf08d73df105508439d775a40706fa34e4da:
title: 'ipv6: sr: add missing seg6_local_exit'
mainline: 3321687e321307629c71b664225b861ebf3e5753
upstream: 9acb7ed4ff0e57b29326768aa8780f2ba2310090
32cc76dc98c3a167b25dfe1548848036fc07d834:
title: 'ipv6: sr: fix incorrect unregister order'
mainline: 6e370a771d2985107e82d0f6174381c1acb49c20
upstream: d55cf7ced48c5054a79829a0b14203710006a277
a7eb748e89ec4c74a795fd32380019f21ae75895:
title: 'ipv6: sr: fix invalid unregister error path'
mainline: 160e9d2752181fcf18c662e74022d77d3164cd45
upstream: 10610575a3ac2a702bf5c57aa931beaf847949c7
73bc0203a1791e5252c190a016d46502406d53f0:
title: 'mtd: rawnand: hynix: fixed typo'
mainline: 6819db94e1cd3ce24a432f3616cd563ed0c4eaba
upstream: 80850a39e2548988f4feae26f3fd66286b460278
4ba8a5fa126c85d319a0f1c773a15c04dde7d74c:
title: 'fbdev: shmobile: fix snprintf truncation'
mainline: 26c8cfb9d1e4b252336d23dd5127a8cbed414a32
upstream: f6100ea560ed320a397d99aad6ad6918f0f1a70a
43f9acac76b1661328292b13c57936252536a7ee:
title: 'drm/mediatek: Add 0 size check to mtk_drm_gem_obj'
mainline: 1e4350095e8ab2577ee05f8c3b044e661b5af9a0
upstream: 79078880795478d551a05acc41f957700030d364
27a754ac9d1b146c6690b8cc566be4df02028430:
title: 'powerpc/fsl-soc: hide unused const variable'
mainline: 01acaf3aa75e1641442cc23d8fe0a7bb4226efb1
upstream: b798cfeea12ebfd74c4bba511deb02956c97789e
a36a6656bdcc519ee8206e91a484c9545e41c428:
title: 'media: ngene: Add dvb_ca_en50221_init return value check'
mainline: 9bb1fd7eddcab2d28cfc11eb20f1029154dac718
upstream: 7394bab35c51cead246ef50d8c2e699e36032aed
83fe7e17269e69bb85c5dcde3543fe69a7d14907:
title: 'media: radio-shark2: Avoid led_names truncations'
mainline: 1820e16a3019b6258e6009d34432946a6ddd0a90
upstream: cbc12c9693fad0545fb0e753d78979026ae0772a
d1bafe8dbdd69b5b94c648616261b10f89e9e634:
title: 'fbdev: sh7760fb: allow modular build'
mainline: 51084f89d687e14d96278241e5200cde4b0985c7
upstream: 74bafc897cb6c83b29c66cb39e82936204a5e51f
8b76f73f5124b83712d6cdcb3ef990263e40c5f0:
title: 'ASoC: tracing: Export SND_SOC_DAPM_DIR_OUT to its value'
mainline: 58300f8d6a48e58d1843199be743f819e2791ea3
upstream: 60c68092723ea420215e9c3d5530038bc6568739
e39747d5b28a334d3aa4a7d53db14f9f30390923:
title: 'x86/insn: Fix PUSH instruction in x86 instruction decoder opcode map'
mainline: 59162e0c11d7257cde15f907d19fefe26da66692
upstream: ef10bbdf4d59a98cf57ddf943756f14ef3cdbccd
668cfe934e0081e60581269d5afab127489cdfda:
title: 'ext4: avoid excessive credit estimate in ext4_tmpfile()'
mainline: 35a1f12f0ca857fee1d7a04ef52cbd5f1f84de13
upstream: 1f9e32f9ea3454f79d80c8af7fac54843beba7f6
0f0c8dcfaaff549a0397d3e63ec093c2ff6d602d:
title: 'selftests/kcmp: Make the test output consistent and clear'
mainline: ff682226a353d88ffa5db9c2a9b945066776311e
upstream: 32b0469d13ebeb008b39613eb5acf529a10e0bde
eea262830c62f8856fed4c532b5598f83c2972a9:
title: 'selftests/kcmp: remove unused open mode'
mainline: eb59a58113717df04b8a8229befd8ab1e5dbf86e
upstream: 24331545d6ff749a8dbfb09925af86e8cc50dad5
b3ab7172b68826ae894b394561679727af8e970d:
title: 'RDMA/ipoib: Fix use of sizeof()'
183cb1a936e35c5ae205498945addd70a31a61e0:
title: 'RDMA/IPoIB: Fix format truncation compilation errors'
mainline: 49ca2b2ef3d003402584c68ae7b3055ba72e750a
upstream: b469345f1fca84bed4dea3cae85faa401cf9bf3e
08f41b353c1621f65bd6f61aa5f5aed2fc1feb11:
title: 'netrom: fix possible dead-lock in nr_rt_ioctl()'
mainline: e03e7f20ebf7e1611d40d1fdc1bde900fd3335f6
upstream: b9d663fbf74290cb68fbc66ae4367bd56837ad1d
79417a25cb5eb9644fe89e5aae703a6b591669d5:
title: 'af_packet: do not call packet_read_pending() from tpacket_destruct_skb()'
mainline: 581073f626e387d3e7eed55c48c8495584ead7ba
upstream: 4f3ae7d846b4565c0b80d65ed607c3277bc984d4
03baaba21b3291e6300e4fafb8d2849f0389de3d:
title: 'sched/topology: Don''t set SD_BALANCE_WAKE on cpuset domain relax'
mainline: 9ae7ab20b4835dbea0e5fc6a5c70171dc354a72e
upstream: 046daa54c348ccec12ab38b92923060dd09ef00b
cd212b4b364b6efe32441d764cabaef2402c8eba:
title: 'sched/fair: Allow disabling sched_balance_newidle with sched_relax_domain_level'
mainline: a1fd0b9d751f840df23ef0e75b691fc00cfd4743
upstream: 454de5ed81766fbbf4777c43392d8b0b35e7e16d
8d680792eafdefb9e3e547a305a505da085932ff:
title: 'greybus: lights: check return of get_channel_from_mode'
mainline: a1ba19a1ae7cd1e324685ded4ab563e78fe68648
upstream: 8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b
0d0f766835c349005332fd8e7b296660a7d6a65a:
title: 'dmaengine: idma64: Add check for dma_set_max_seg_size'
mainline: 2b1c1cf08a0addb6df42f16b37133dc7a351de29
upstream: 12c70cc851b263b8cc9479a23488992eeb4c35e6
e9c8e448b86118386e2aed7e3bb0e02fdbb68d14:
title: 'firmware: dmi-id: add a release callback function'
mainline: cf770af5645a41a753c55a053fa1237105b0964a
upstream: 20595142ca22ac2c8357564d9e7d52a0ffa471af
bcbacbcfd59ba38747a001592ffb3aae1118e5de:
title: 'serial: max3100: Lock port->lock when calling uart_handle_cts_change()'
mainline: 77ab53371a2066fdf9b895246505f5ef5a4b5d47
upstream: 44b38924135d2093e2ec1812969464845dd66dc9
c6cf8b544d9ca71186322b2ede24e7ded577381a:
title: 'serial: max3100: Update uart_driver_registered on driver removal'
mainline: 712a1fcb38dc7cac6da63ee79a88708fbf9c45ec
upstream: 21a61a7fbcfdd3493cede43ebc7c4dfae2147a8b
647c442cedd75f319c8ce8dc039c2d7baec68317:
title: 'serial: max3100: Fix bitwise types'
mainline: e60955dbecb97f080848a57524827e2db29c70fd
upstream: 2ae8d5726526c05452aff0444b0f305fdf89a32d
89f965ae0a3f751235963e2597c63fd9ce035113:
title: 'greybus: arche-ctrl: move device table to its right location'
mainline: 6a0b8c0da8d8d418cde6894a104cf74e6098ddfa
upstream: 22e65ed6799f2bfd059d633890d6c7ebe46abc9b
0328af15e33a89109f97c8abcce2119896607fb4:
title: 'usb: gadget: u_audio: Clear uac pointer when freed.'
mainline: a2cf936ebef291ef7395172b9e2f624779fb6dc0
upstream: a646645af00f65db78fe4a60f753f2b07df35b6e
5bbc7d325cef8fbd593fd8e71f12343c47028be1:
title: 'stm class: Fix a double free in stm_register_device()'
mainline: 3df463865ba42b8f88a590326f4c9ea17a1ce459
upstream: 6cc30ef8eb6d8f8d6df43152264bbf8835d99931
16e15c7fd21ec24f98668e5a7bf28ef5c1a0fcaa:
title: 'ppdev: Add an error check in register_device'
mainline: fbf740aeb86a4fe82ad158d26d711f2f3be79b3e
upstream: 65cd017d43f4319a56747d38308b0a24cf57299e
d1e6203d776319b888b57b1176df438ee85e67f7:
title: 'extcon: max8997: select IRQ_DOMAIN instead of depending on it'
mainline: b1781d0a1458070d40134e4f3412ec9d70099bec
upstream: b463819e3725b60c550145df952080b5d0fe85a7
46dc390d5714351d5b798312f8edf666e327a1ef:
title: 'f2fs: add error prints for debugging mount failure'
mainline: 9227d5227b8db354d386f592f159eaa44db1c0b8
upstream: 3506e1b893b5c2afa96922f36a01f018e4c4bbba
3fa32fd0a2737a59698613854994f72051a6d4bb:
title: 'libsubcmd: Fix parse-options memory leak'
mainline: 230a7a71f92212e723fa435d4ca5922de33ec88a
upstream: 3625187a973f16a3df59b803297816fe51d32400
41c0d9061a68f5979e3244c26854cef37d91382b:
title: 'Input: ims-pcu - fix printf string overflow'
mainline: bf32bceedd0453c70d9d022e2e29f98e446d7161
upstream: 502f295dcccf0ee7c4bddcf1ff2876987aaf89ca
7dfc577218ae7aeeadc5bdffe5727d57337904ee:
title: 'Input: pm8xxx-vibrator - correct VIB_MAX_LEVELS calculation'
mainline: 48c0687a322d54ac7e7a685c0b6db78d78f593af
upstream: fd4bb5284d34687c82356f07efe957af89ee51fe
bb75c00bad0d04025b00991fe16db2fc0504ce58:
title: 'um: Fix return value in ubd_init()'
mainline: 31a5990ed253a66712d7ddc29c92d297a991fdf2
upstream: d2640251f94078e1dcf0a26b1815601f6dbd5440
330646466ce0f4978524457d109ac80ece62c547:
title: 'um: Add winch to winch_handlers before registering winch IRQ'
mainline: a0fbbd36c156b9f7b2276871d499c9943dfe5101
upstream: 66ea9a7c6824821476914bed21a476cd20094f33
b7d9420c157cdb207a95dfc4a40edd116dedf355:
title: 'media: stk1160: fix bounds checking in stk1160_copy_video()'
mainline: faa4364bef2ec0060de381ff028d1d836600a381
upstream: f6a392266276730bea893b55d12940e32a25f56a
cd05d6e21092d824ec4d37f39f7583310d0442fa:
title: 'powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp'
mainline: 6d4341638516bf97b9a34947e0bd95035a8230a5
upstream: f0f4cb4cc3f43324bab3b5541b27e79cbd15c8d1
d6c506b111a38e5583e5bdd880cc0c04d7ef3948:
title: 'um: Fix the -Wmissing-prototypes warning for __switch_mm'
mainline: 2cbade17b18c0f0fd9963f26c9fc9b057eb1cb3a
upstream: c08650c13bfc05794855480cc51075fdfcc388e0
75fd6535ba80c0726e31004af666d80a0b9c3df8:
title: 'media: cec: cec-api: add locking in cec_release()'
mainline: 42bcaacae924bf18ae387c3f78c202df0b739292
upstream: d2cfbc5298add5e0c6cfe8b343f73dfdf01c8b1c
9da7f2b727fd54add9890e238847acf82d6807a1:
title: 'null_blk: Fix the WARNING: modpost: missing MODULE_DESCRIPTION()'
mainline: 9e6727f824edcdb8fdd3e6e8a0862eb49546e1cd
upstream: 7471d0be031ab830a0fa154437601cff98f7068b
4e00769cc5020fde90269bdd1e5c24302b0ba6ce:
title: 'x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y'
mainline: 66ee3636eddcc82ab82b539d08b85fb5ac1dff9b
upstream: 28a7a1f9571068bb2ddc8a11f0afe5dfa9863462
3327ed68607e86e489af26305145830bf3f299a6:
title: 'nfc: nci: Fix uninit-value in nci_rx_work'
mainline: e4a87abf588536d1cdfb128595e6e680af5cf3ed
upstream: 406cfac9debd4a6d3dc5d9258ee086372a8c08b6
2d5acfc9e45f4597b931857dd92d2f29d2382ad7:
title: 'ipv6: sr: fix memleak in seg6_hmac_init_algo'
mainline: efb9f4f19f8e37fde43dfecebc80292d179f56c6
upstream: afd5730969aec960a2fee4e5ee839a6014643976
45e0b129726564750a58c06f1b4060b23f158960:
title: 'params: lift param_set_uint_minmax to common code'
mainline: 2a14c9ae15a38148484a128b84bff7e9ffd90d68
upstream: 459de98d7a6b3d504b5e8664f32f59a306dd425c
cf1096a1c8e1905df5e69949153c2598060457f0:
title: 'tcp: Fix shift-out-of-bounds in dctcp_update_alpha().'
mainline: 3ebc46ca8675de6378e3f8f40768e180bb8afa66
upstream: 06d0fe049b51b0a92a70df8333fd85c4ba3eb2c6
a629b0579dee6b041fdcad1859fa9f6a86da4ced:
title: 'openvswitch: Set the skbuff pkt_type for proper pmtud support.'
mainline: 30a92c9e3d6b073932762bef2ac66f4ee784c657
upstream: 62a95de44a9bc006e01b0afa1b1e8868dc6de9d1
0374a08aa5206c6200a88e0a122500dfd1d195f0:
title: 'arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY'
mainline: ffbf4fb9b5c12ff878a10ea17997147ea4ebea6f
upstream: f221bd58db0f6ca087ac0392284f6bce21f4f8ea
63c5945dbfcb8b6f4c260aef57172893a15ebbb3:
title: 'virtio: delete vq in vp_find_vqs_msix() when request_irq() fails'
mainline: 89875151fccdd024d571aa884ea97a0128b968b6
upstream: cb7a7c8144b434e06aba99b13b045a7efe859587
273d17ed35348d5e6cabe23d9170c876f95f3946:
title: 'net: fec: remove redundant variable ''inc'''
76ff93a5ccf6378571ba77875039f77752ac8a33:
title: 'net: fec: avoid lock evasion when reading pps_enable'
mainline: 3b1c92f8e5371700fada307cc8fd2c51fa7bc8c1
upstream: 4e4efb8f1b275e85c5c7f69087e392dbae437a8d
3267e236cb890a2ff6450ba831f3ad66386d6c4b:
title: 'nfc: nci: Fix kcov check in nci_rx_work()'
mainline: 19e35f24750ddf860c51e51c68cf07ea181b4881
upstream: c6c938ef515733a1c7af2c87dbc23138f402ba97
1a7a9cc0bb2c966cb7edee4a47dc81053e9030d8:
title: 'nfc: nci: Fix handling of zero-length payload packets in nci_rx_work()'
mainline: 6671e352497ca4bb07a96c48e03907065ff77d8a
upstream: 8f02d494cebae48dbd14c582ad4b36846e211b6a
ac335a5fe30958ed4c81fac6b76e4b6c77f6f95d:
title: 'netfilter: nfnetlink_queue: acquire rcu_read_lock() in instance_destroy_rcu()'
mainline: dc21c6cc3d6986d938efbf95de62473982c98dec
upstream: 8658bd777cbfcb0c13df23d0ea120e70517761b9
0a359294f4d22e037ff38999b1fdaa688aab6e5f:
title: 'spi: Don''t mark message DMA mapped when no transfer in it is'
mainline: 9f788ba457b45b0ce422943fcec9fa35c4587764
upstream: c7893975764ba3b7a58a186f63dae188f7eddb18
5584ee5ae01187bdcb286738c27d8cecf7c2b92d:
title: 'nvmet: fix ns enable/disable possible hang'
mainline: f97914e35fd98b2b18fb8a092e0a0799f73afdfe
upstream: 36a935c8785a9ca95b094440a0450cd56b90e70c
d6e67757cebbeb5857838f51e2c514a3c9fc5557:
title: 'net/mlx5e: Use rx_missed_errors instead of rx_dropped for reporting buffer exhaustion'
mainline: 5c74195d5dd977e97556e6fa76909b831c241230
upstream: 19f9b6cb94eebb4ef2a4a6bca0ef595039d73e04
5beeab6917b9b59ab2c15744b190b3ad93c58687:
title: 'dma-buf/sw-sync: don''t enable IRQ from sync_print_obj()'
mainline: b794918961516f667b0c745aebdfebbb8a98df39
upstream: 1ff116f68560a25656933d5a18e7619cb6773d8a
3d00c58ac6d7f0fa0882aafb5b1ca2c3c22838eb:
title: 'enic: Validate length of nl attributes in enic_set_vf_port'
mainline: e8021b94b0412c37bcc79027c2e382086b6ce449
upstream: 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600
d7936abfc24afa29d587b2bdd0829092dc478ebf:
title: 'smsc95xx: remove redundant function arguments'
mainline: 368be1ca28f66deba16627e2a02e78adedd023a6
upstream: eced17c8715d43ce16f61c5a6a49299fbf37c0a0
17ddb0fdf87c7f3f7c07e2721f688301411d2792:
title: 'smsc95xx: use usbnet->driver_priv'
mainline: ad90a73f0236c41f7a2dedc2e75c7b5a364eb93e
upstream: bcc526fec891dee22162082b1beeb9068b9eabb0
e0bd5cab3be56a1437e713a5411c458b80fa039c:
title: 'net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM'
mainline: 52a2f0608366a629d43dacd3191039c95fef74ba
upstream: 85b6bcf9d5e332aa9c4b7820cb3aa748c3df6a80
4c2d953d579bbc6018f916d7474ca42a0ea2471f:
title: 'net:fec: Add fec_enet_deinit()'
mainline: bf0497f53c8535f99b72041529d3f7708a6e2c0d
upstream: 416b0756721dcee2bb6227a4403e694011c32874
c00f30ffce7c99732b9610771908b84af2f7e95a:
title: 'kconfig: fix comparison to constant symbols, ''m'', ''n'''
mainline: aabdc960a283ba78086b0bf66ee74326f49e218e
upstream: 6bfda3ef7f6a2c1de30e70d67e901aa966f40c17
59e5a44b8b298cec43305d8ba650673094448b28:
title: 'net: add DEV_STATS_READ() helper'
mainline: 0b068c714ca9479d2783cc333fff5bc2d4a6d45c
f18d1f1dd0f85682cce01581ea7c2596d0d35ead:
title: 'ipvlan: properly track tx_errors'
mainline: ff672b9ffeb3f82135488ac16c5c5eb4b992999b
41e5da22e02a94825b061ad86f10c9d6955727fd:
title: 'ipvlan: add ipvlan_route_v6_outbound() helper'
mainline: 18f039428c7df183b09c69ebf10ffd4e521035d2
3a016fed8503f04152b170bc324fd7fbbfb155e4:
title: 'ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound'
mainline: b3dc6e8003b500861fa307e9a3400c52e78e4d3a
upstream: 0049a623dfbbb49888de7f0c2f33a582b5ead989
24212e46bb2a25ec7c7ef9c45a40670608a3a0f8:
title: 'ALSA: timer: Simplify timer hw resolution calls'
804b59ac965568b4ac7b1788ba8b3b324e362693:
title: 'ALSA: timer: Set lower bound of start tick time'
mainline: 4a63bd179fa8d3fcc44a0d9d71d941ddd62f0c4e
upstream: 68396c825c43664b20a3a1ba546844deb2b4e48f
f642f364e2b4e4302e6b41f1583603a9be83baef:
title: 'binder: fix max_thread type inconsistency'
mainline: 42316941335644a98335f209daafa4c122f28983
upstream: c437184be3c16f7123e5c59b4c85c1101f4dc96b
5584cc5bd6c850f9738f7b249be3d298f0012a16:
title: 'mmc: core: Do not force a retune before RPMB switch'
mainline: 67380251e8bbd3302c64fea07f95c31971b91c22
upstream: bda1d354bef71be32aaf2c5e6b96eef854b3dd4e
042d63a09767b3d6d006fc867d77cf610bfcdebf:
title: 'fs/nilfs2: convert timers to use timer_setup()'
705fabd9032429d644eee84edc1d45f740edcc81:
title: 'nilfs2: fix use-after-free of timer for log writer thread'
mainline: f5d4e04634c9cf68bdf23de08ada0bb92e8befe7
upstream: 822ae5a8eac30478578a75f7e064f0584931bf2d
7e6f3eaf97955faec6cf408b6404a35cf2c82ea0:
title: 'vxlan: Fix regression when dropping packets due to invalid src addresses'
mainline: 1cd4bc987abb2823836cbb8f887026011ccddc8a
upstream: f6141cbc2b5af521b1711e95363302b858a38729
34358bf261de42b079db6cbd5ae3b074282cd00f:
title: 'neighbour: fix unaligned access to pneigh_entry'
mainline: ed779fe4c9b5a20b4ab4fd6f3e19807445bb78c7
upstream: f451d1a013fd585cbf70a65ca6b9cf3548bb039f
792524d8e1b344cedcb40983a8756d4793a22e9e:
title: 'ata: pata_legacy: make legacy_exit() work again'
mainline: d4a89339f17c87c4990070e9116462d16e75894f
upstream: 21604179f67bd484790c296565bdc38f7a40fe35
aa9c43942fc69f5e652d6b4f68e0e2bf75868c7e:
title: 'arm64: tegra: Correct Tegra132 I2C alias'
mainline: 2633c58e1354d7de2c8e7be8bdb6f68a0a01bad7
upstream: 40f76e72ec0ebe27dcff9bfd5de8e65e1a2b8939
d7263704edf4ee2783b116f64f407752d5b2f2bf:
title: 'md/raid5: fix deadlock that raid5d() wait for itself to clear MD_SB_CHANGE_PENDING'
mainline: 151f66bb618d1fd0eeb84acb61b4a9fa5d8bb0fa
upstream: b32aa95843cac6b12c2c014d40fca18aef24a347
964fdd7feb56e40a55b89328877b0a7103bb4084:
title: 'arm64: dts: hi3798cv200: fix the size of GICR'
mainline: 428a575dc9038846ad259466d5ba109858c0a023
upstream: 26e62b983a31b304733fb21f4b576a4a1e171297
35d3fa1859980a84c64c51b04a2ac57ffe5af109:
title: 'media: mxl5xx: Move xpt structures off stack'
mainline: 526f4527545b2d4ce0733733929fac7b6da09ac6
upstream: 772f5e31ed2d6bc5e8698394e4d13b298060c74a
2046df24d6472a520a62d52a72d84d180b3e363c:
title: 'media: v4l2-core: hold videodev_lock until dev reg, finishes'
mainline: 1ed4477f2ea4743e7c5e1f9f3722152d14e6eeb1
upstream: 1ea3de272f5cc7603610b96316f9ed07bec6c2d0
293140832f7230044b5f6888d0110714f51b554f:
title: 'fbdev: savage: Handle err return when savagefb_check_var failed'
mainline: 6ad959b6703e2c4c5d7af03b4cfd5ff608036339
upstream: be754cbd77eaf2932408a4e18532e4945274a5c7
832e81e147209b23bc09678738383b7bc258b448:
title: 'netfilter: nf_tables: add nft_set_is_anonymous() helper'
05084047e524051c0ea37f6b3183017d783e6e20:
title: 'netfilter: nf_tables: fix set double-free in abort path'
mainline: 40ba1d9b4d19796afc9b7ece872f5f3e8f5e2c13
c4af59f2d8336214168c4e0778a1a0a62afcbdc4:
title: 'netfilter: nf_tables: pass context to nft_set_destroy()'
mainline: 0c2a85edd143162b3a698f31e94bf8cdc041da87
upstream: 525561faa075cb49905783fd3e4e16b66b218846
b42c75cd69307b546b719cc59fb421a7c80a980f:
title: 'netfilter: nftables: rename set element data activation/deactivation functions'
mainline: f8bb7889af58d8e74d2d61c76b1418230f1610fa
upstream: 68b10f33a37e942bdc06b9cb313ad4e1b1f612e8
e4382ad0d81a0f37c3d430a3009f597568a949a4:
title: 'netfilter: nf_tables: pass ctx to nf_tables_expr_destroy()'
50bfcb0af95ae860d93c151604451b9a10af6e06:
title: 'netfilter: nf_tables: drop map element references from preparation phase'
mainline: 628bd3e49cba1c066228e23d71a852c23e26da73
upstream: bc9f791d2593f17e39f87c6e2b3a36549a3705b1
4538b02484e4c2d0c016ca190c5219fd97f932fb:
title: 'netfilter: nf_tables: don''t skip expired elements during walk'
mainline: 24138933b97b055d486e8064b4a1721702442a9b
upstream: 94313a196b44184b5b52c1876da6a537701b425a
ea71b10a3d18e5589f44b836a83003a6e741d6bb:
title: 'netfilter: nft_dynset: report EOPNOTSUPP on missing set feature'
mainline: 95cd4bca7b1f4a25810f3ddfc5e767fb46931789
upstream: c5c4746c8cd6d049dcbf39c811172c917ea6fb6e
fa8b9918795f9be7f4ca95f5440acff86fe946db:
title: 'netfilter: nft_dynset: relax superfluous check on set updates'
mainline: 7b1394892de8d95748d05e3ee41e85edb4abbfa1
upstream: 79e98cd78610560a6a6cf85200eb31331602f9a9
6658c1ef0cb35d3d594507db800cb44a54db4f75:
title: 'KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode'
mainline: dfe6d190f38fc5df5ff2614b463a5195a399c885
upstream: 3c9ee8294728633e707c25fe0a321eeac1cc7515
9d5b95ce1488266fd3dc3951da6c8ce25c366ada:
title: 'crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak'
mainline: d3b17c6d9dddc2db3670bc9be628b122416a3d26
upstream: 0ce5964b82f212f4df6a9813f09a0b5de15bd9c8
9a9a74f4cdb1295a5a854d2ca6cb87fc19048ef3:
title: 'net/9p: fix uninit-value in p9_client_rpc()'
mainline: 25460d6f39024cc3b8241b14c7ccf0d6f11a736a
upstream: 72c5d8e416ecc46af370a1340b3db5ff0b0cc867
471ea347bb7d4b16dd62a6642efb111fa36f2da7:
title: 'intel_th: pci: Add Meteor Lake-S CPU support'
mainline: a4f813c3ec9d1c32bc402becd1f011b3904dd699
upstream: 58c0309c73fe1e9c477ed4cc5d02fc9015336979
9f2edbc910b189e46e7ca3d17680e36fde63276d:
title: 'sparc64: Fix number of online CPUs'
mainline: 98937707fea8375e8acea0aaa0b68a956dd52719
upstream: 180b2e4c1ba4f6e3e4c52d6664cb019f6eac02f8
f751d9a9f3d6c01908cf9bc9d966a35ecc1a2f64:
title: 'kdb: Fix buffer overflow during tab-complete'
mainline: e9730744bf3af04cda23799029342aa3cddbc454
upstream: fb824a99e148ff272a53d71d84122728b5f00992
f990953b6d8d752849e6f682628d4632f051b7de:
title: 'kdb: Use format-strings rather than ''\0'' injection in kdb_read()'
mainline: 09b35989421dfd5573f0b4683c7700a7483c71f9
upstream: 4edfbbaca46491b06af14e49dcb79ac661d0bbdc
fc2a098bc09c4f9968c93222902d72f518ec6953:
title: 'kdb: Fix console handling when editing and tab-completing commands'
mainline: db2f9c7dc29114f531df4a425d0867d01e1f1e28
upstream: 21c068c1bbb4c336741749596d004b1965faab2c
201f3d45deb9bcf1046483d72642d8457976c7a9:
title: 'kdb: Merge identical case statements in kdb_read()'
mainline: 6244917f377bf64719551b58592a02a0336a7439
upstream: 4a89182788f9af9a290c19098382fb972ebe2783
c89fb4fb7559ec8e3f74ecbc29ef856a47cc85d4:
title: 'kdb: Use format-specifiers rather than memset() for padding in kdb_read()'
mainline: c9b51ddb66b1d96e4d364c088da0f1dfb004c574
upstream: 2467f3f182eb35627534effd4956fceb2504c127
212ca5dd4286a76808254db293bd898a062b56e3:
title: 'sparc: move struct termio to asm/termios.h'
mainline: c32d18e7942d7589b62e301eb426b32623366565
upstream: 980a1cd6e092eab9398a78f517809a7dacaa0468
199f7d837409f78087fde12a33c486d4d866c16e:
title: 'ext4: fix mb_cache_entry''s e_refcnt leak in ext4_xattr_block_cache_find()'
mainline: 0c0b4a49d3e7f49690a6827a41faeffad5df7e21
upstream: 9ad75e78747b5a50dc5a52f0f8e92e920a653f16
593e234893f02097b207840c7c31b4d91b64ca14:
title: 'nfs: fix undefined behavior in nfs_block_bits()'
mainline: 3c0a2e0b0ae661457c8505fecc7be5501aa7a715
upstream: 74ea538aa24490d7d259c881189bb58dbf1f692c
aa4a1101113a8425c065d44e33c636cad583327d:
title: 'crypto: algif_aead - fix uninitialized ctx->init'
8949bc46fedc763c195c9a72f69abb9405cac9dc:
title: 'x86/kvm: Teardown PV features on boot CPU as well'
mainline: 8b79feffeca28c5459458fe78676b081e87c93a4
227178f3eba56c465bdd554e9786a0699bbf40d4:
title: 'x86/kvm: Disable kvmclock on all CPUs on shutdown'
mainline: c02027b5742b5aa804ef08a4a9db433295533046
f07e26ece43c2b61389d2a56226ea19d3bd40c57:
title: 'x86/kvm: Disable all PV features on crash'
mainline: 3d6b84132d2a57b5a74100f6923a8feb679ac2ce

View File

@@ -1,506 +0,0 @@
037ba8c484cfe176665b4bdb735a62d8cc7b1b9a:
title: 'Revert "scsi: target: Fix SELinux error when systemd-modules loads the target module"'
378cd84450603623545e9b29cac5445b188b6c0c:
title: 'Revert "tcp: defer shutdown(SEND_SHUTDOWN) for TCP_SYN_RECV sockets"'
2e31c6f2136246110bfbd82c25ec9ecbf4169729:
title: 'Revert "tcp: remove redundant check on tskb"'
9dd807b0452a622f5a5547b451eda30befa3d61d:
title: 'tcp: defer shutdown(SEND_SHUTDOWN) for TCP_SYN_RECV sockets'
mainline: 94062790aedb505bdda209b10bea47b294d6394f
a57e28b291e0ad50d1c6ceba6a7cb556fdf1faf6:
title: 'wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects'
mainline: b7d7f11a291830fdf69d3301075dd0fb347ced84
upstream: 377dbb220edc8421b7960691876c5b3bef62f89b
9feb2600c4ba32c9fb136d7b5e16ca06c853ea8c:
title: 'wifi: mac80211: Fix deadlock in ieee80211_sta_ps_deliver_wakeup()'
mainline: 44c06bbde6443de206b30f513100b5670b23fc5e
upstream: e51637e0c66a6f72d134d9f95daa47ea62b43c7e
79e590b3651e9074489976e737e7fc1255a6cd79:
title: 'wifi: iwlwifi: mvm: don''t read past the mfuart notifcation'
mainline: 4bb95f4535489ed830cf9b34b0a891e384d1aee4
upstream: 15b37c6fab9d5e40ac399fa1c725118588ed649c
9ba19e227817b86f1032cc551912a049b62ba7e6:
title: 'ipv6: sr: block BH in seg6_output_core() and seg6_input_core()'
mainline: c0b98ac1cc104f48763cdb27b1e9ac25fd81fc90
upstream: 6330fe95e59bc1de5ad3ebd89e379d785c7c6fc0
7c79a301b097797b8edd46b11a888a287e281f98:
title: 'vxlan: Fix regression when dropping packets due to invalid src addresses'
mainline: 1cd4bc987abb2823836cbb8f887026011ccddc8a
upstream: ddd44dc20554c38450204df47f8422c7fec78f2d
54f3a87336ada67c8a8da26f7575d12c5ca85bfb:
title: 'tcp: count CLOSE-WAIT sockets for TCP_MIB_CURRESTAB'
mainline: a46d0ea5c94205f40ecf912d1bb7806a8a64704f
upstream: 25dec34bfd770f444409b3228f90f64feb6804f6
7a5ce9a4d73421a553e354ee6eb5de1a3bffeae5:
title: 'ptp: Fix error message on failed pin verification'
mainline: 323a359f9b077f382f4483023d096a4d316fd135
upstream: e468462fe0efdd233b6fd7b978e9911bb1eb8614
4d194b485b1878813b072bc174b6443164b96fb1:
title: 'af_unix: ensure POLLOUT on remote close() for connected dgram socket'
003de6abbdca3c2d230bd4ce3adc752b5eb4982c:
title: 'af_unix: Fix a data-race in unix_dgram_peer_wake_me().'
mainline: 662a80946ce13633ae90a55379f1346c10f0c432
4379c4db8fa9f7d4adfdf7256277c96ac968a690:
title: 'af_unix: Annotate data-race of sk->sk_state in unix_inq_len().'
mainline: 3a0f38eb285c8c2eead4b3230c7ac2983707599d
upstream: 5c91a2f308cabf7cc0e30997455ac15926199987
03b7c75271f457de1fc83095624428cd9ef74db4:
title: 'af_unix: Fix data races around sk->sk_shutdown.'
mainline: e1d09c2c2f5793474556b60f83900e088d0d366d
089da5e3914abb4806b03eff85aeb895c0ab860b:
title: 'af_unix: Annotate data-races around sk->sk_state in unix_write_space() and poll().'
mainline: eb0718fb3e97ad0d6f4529b810103451c90adf94
upstream: 6b4dffb64e98b9eacc7c214056146d32642f7e8a
c6f96daa0536f49a7d624196dbc3defc536eacdb:
title: 'af_unix: Annotate data-races around sk->sk_state in sendmsg() and recvmsg().'
mainline: 8a34d4e8d9742a24f74998f45a6a98edd923319b
upstream: 7cd9dd08be2482bd1015642b61d97a187af5a774
cab04acca50227f3f27fb5616bee123fea171762:
title: 'af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG.'
mainline: 0aa3be7b3e1f8f997312cc4705f8165e02806f8f
upstream: 123d798351c96a15456478558fccac0eb766f26d
98e2f1cec1532524595d79af5c86ed370debd735:
title: 'af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen.'
mainline: bd9f2d05731f6a112d0c7391a0d537bfc588dbe6
upstream: f5cf5e139ec736f1ac18cda8d5e5fc80d7eef787
15baad6e966a2478052b6e2efd0153a9e9a9e0c2:
title: 'af_unix: Use unix_recvq_full_lockless() in unix_stream_connect().'
mainline: 45d872f0e65593176d880ec148f41ad7c02e40a7
upstream: b56ff0d20a4a60b9e6424d0609acccbbde573ea8
a8d1038ecf162678372a6f5686eabbf0c070ec91:
title: 'af_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen().'
mainline: 5d915e584d8408211d4567c22685aae8820bfc55
upstream: 141826272a2cd16436f9b6c241cf88b72feddb3b
669958a2bdd8b94c6bbe1df7c83feae7b844afb3:
title: 'af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill().'
mainline: efaf24e30ec39ebbea9112227485805a48b0ceb1
upstream: 9c2d206ddc697595ceb0e8e356c64f9e845a0c2f
77067622d8f27240f3e5438767cce7317f8b9c34:
title: 'usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete'
mainline: 24729b307eefcd7c476065cd7351c1a018082c19
upstream: f71a53148ce34898fef099b75386a3a9f4449311
6c20d50e094e8b67aab06f29f7e97351bbfef601:
title: 'serial: sc16is7xx: replace hardcoded divisor value with BIT() macro'
mainline: 2e57cefc4477659527f7adab1f87cdbf60ef1ae6
upstream: 9dcb6eb967fe778d1d985a709ac4030895603fc0
f966c6e6aa0166c853782a705ae5389f8c6b24e7:
title: 'serial: sc16is7xx: fix bug in sc16is7xx_set_baud() when using prescaler'
mainline: 8492bd91aa055907c67ef04f2b56f6dadd1f44bf
upstream: 2b14e818ef3e49741ee60a317554222c6af3a800
41d740fdbcb6d45f86ec6cd7238ba2ca38df8824:
title: 'media: mc: mark the media devnode as registered from the, start'
mainline: 4bc60736154bc9e0e39d3b88918f5d3762ebe5e0
upstream: d3f6dc1155a09bc2c212b734c3ff01a046490e92
fe9a3e689a0275a21eae214693dd7ddbdbb63cec:
title: 'selftests/mm: compaction_test: fix incorrect write of zero to nr_hugepages'
mainline: 9ad665ef55eaad1ead1406a58a34f615a7c18b5e
upstream: 62b71327cf1af11ceb4a3f53ebf0c85cb9ad3db8
75614587972465759b313027993c87e60eeb446f:
title: 'selftests/mm: conform test to TAP format output'
mainline: 9a21701edc41465de56f97914741bfb7bfc2517d
upstream: 4a4f88dcf8b688db0cf527362ebf4db0d272a3f6
6132af7d247da481d1f4e99c91f5fdc29961bce3:
title: 'selftests/mm: compaction_test: fix bogus test success on Aarch64'
mainline: d4202e66a4b1fe6968f17f9f09bbc30d08f028a1
upstream: 4d5f7ab71a24f17311d361f47c61cc49064e1dd0
71bf6edd5d5c1384f56efcc445146a367f1e7c38:
title: 'nilfs2: Remove check for PageError'
mainline: 79ea65563ad8aaab309d61eeb4d5019dd6cf5fa0
upstream: c158e493640ce76e76241f0529cebe19770ba5b2
52c1c33e0dafbe82538c326d4a6144544e9501f4:
title: 'nilfs2: return the mapped address from nilfs_get_page()'
mainline: 09a46acb3697e50548bb265afa1d79163659dd85
upstream: 7ed62ec616a3441aa3859150d50fadf5fd117aa8
c5682abd08cb2a8960de840d00ce1efc5066286e:
title: 'nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors'
mainline: 7373a51e7998b508af7136530f3a997b286ce81c
upstream: 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428
ac2c307a0180583e260719f923ba2edabddea919:
title: 'USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages'
mainline: 22f00812862564b314784167a89f27b444f82a46
upstream: 217d1f44fff560b3995a685a60aa66e55a7f0f56
6f5dcde17cd2c15cb9812b4441ab1ba7088ccf0c:
title: 'mei: me: release irq in mei_me_pci_resume error path'
mainline: 283cb234ef95d94c61f59e1cd070cd9499b51292
upstream: 83c2321411d8bb8f832dbb482ea3387ac1322542
79cb0bb1b0e2cbed9eaec6f1fb7ce81baf278a39:
title: 'jfs: xattr: fix buffer overflow for invalid xattr'
mainline: 7c55b78818cfb732680c4a72ab270cc2d2ee3d0f
upstream: f0dedb5c511ed82cbaff4997a8decf2351ba549f
b8b14f255f86c39eee93bc4fbc4c8f6c3f9da875:
title: 'xhci: Apply reset resume quirk to Etron EJ188 xHCI host'
mainline: 17bd54555c2aaecfdb38e2734149f684a73fa584
upstream: a2ddc0475c4c6fff5b9eac0e0eb4726640925e1b
41c568e13eb14e46c634292e403a4652603b2d46:
title: 'xhci: Apply broken streams quirk to Etron EJ188 xHCI host'
mainline: 91f7a1524a92c70ffe264db8bdfa075f15bbbeb9
upstream: 5c08d8bcc6f20965d665a6122a3fe60eba042e74
abe1fafad8d912b27028e91a0040650149ab4ab8:
title: 'Input: try trimming too long modalias strings'
mainline: 0774d19038c496f0c3602fb505c43e1b2d8eed85
upstream: d9bbbbf1a2cac25fafa44ba09d2ab8f5365c0a06
c0be0c4967c8b988f9603c7b7cecc01379071c67:
title: 'HID: core: remove unnecessary WARN_ON() in implement()'
mainline: 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5
upstream: 955b3764671f3f157215194972d9c01a3a4bd316
2cb6663051a21277c7bdf9695ad8a04fc6a5dc7a:
title: 'iommu/amd: Fix sysfs leak in iommu init'
mainline: a295ec52c8624883885396fde7b4df1a179627c3
upstream: 7f66540fcf6f8f66784f739c33f79d2889e95106
b4722a9d958fe8bd54d0358650bf07b11ab91d4b:
title: 'drm/bridge/panel: Fix runtime warning on panel bridge release'
mainline: ce62600c4dbee8d43b02277669dd91785a9b81d9
upstream: 3e0daaf28639c6fd22e96eb2f8772ad40e922ee7
291c8c1e9e291262f9179c0ba5cef2e49df4f142:
title: 'tcp: fix race in tcp_v6_syn_recv_sock()'
mainline: d37fe4255abe8e7b419b90c5847e8ec2b8debb08
upstream: 06f208ae0670ef97b0bf253a5523863e113026b6
9ae3694d9677f29e0d8e5bbb86841f69baae279d:
title: 'Bluetooth: L2CAP: Fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ'
mainline: 806a5198c05987b748b50f3d0c0cfb3d417381a4
upstream: a1f9c8328219b9bb2c29846d6c74ea981e60b5a7
fab190e5fcd0466de646405bf49ca7017bbdca31:
title: 'ipv6/route: Add a missing check on proc_dointvec'
mainline: f0fb9b288d0a7e9cc324ae362e2dfd2cc2217ded
upstream: f00c343be6f25a6a3736fd6b332c918da57d81d8
04f57a8a33fef04d61ba56f8b4e830fe0cebc8f2:
title: 'net/ipv6: Fix the RT cache flush via sysctl using a previous delay'
mainline: 14a20e5b4ad998793c5f43b0330d9e1388446cf3
upstream: ebde6e8a52c68dc45b4ae354e279ba74788579e7
82d942edbd8b21acbacd1d16eb3cb52d47404384:
title: 'drivers: core: synchronize really_probe() and dev_uevent()'
mainline: c0a40097f0bc81deafc15f9195d1fb54595cd6d0
upstream: bb3641a5831789d83a58a39ed4a928bcbece7080
126c475927adda67084f403fee8ec76a853b70fc:
title: 'drm/exynos/vidi: fix memory leak in .get_modes()'
mainline: 38e3825631b1f314b21e3ade00b5a4d737eb054e
upstream: 540ca99729e28dbe902b01039a3b4bd74520a819
37026b40b51170c1f9b052ef1b1cd19ec815c566:
title: 'vmci: prevent speculation leaks by sanitizing event in event_deliver()'
mainline: 8003f00d895310d409b2bf9ef907c56b42a4e0f4
upstream: 58730dfbd4ae01c1b022b0d234a8bf8c02cdfb81
aaea44b590e4a5e853dcc48edbf8ffa6dc611490:
title: 'fs/proc: fix softlockup in __read_vmcore'
mainline: 5cbcb62dddf5346077feb82b7b0c9254222d3445
upstream: 7bdf1d550ddfcd9ab797087421f77b7aceddc8a7
c02663a1e56ea3793580a51e2ea012e198661ca1:
title: 'ocfs2: use coarse time for new created files'
mainline: b8cb324277ee16f3eca3055b96fce4735a5a41c6
upstream: f882e853ea33c1e4f7107387f85879139682b720
db16f074c58fb04ccb5efd329bd001b3769662b2:
title: 'ocfs2: fix races between hole punching and AIO+DIO'
mainline: 952b023f06a24b2ad6ba67304c4c84d45bea2f18
upstream: 3c26b5d21b1239e9c7fd31ba7d9b2d7bdbaa68d9
7932419ef19393d4fc9b05a04583d8c31c2785e3:
title: 'dmaengine: axi-dmac: fix possible race in remove()'
mainline: 1bc31444209c8efae98cb78818131950d9a6f4d6
upstream: 5226e7062723bd5d4f1bd5e98ace7c1e6c015d57
c2986a4fcfa961be763f68bb7c55ff808dcbbc63:
title: 'intel_th: pci: Add Granite Rapids support'
mainline: e44937889bdf4ecd1f0c25762b7226406b9b7a69
upstream: 96185ee73d5cd28c2b19311c87536ffeeb653562
fbda6dc2f8c85e96d6ae1f5243146a33e627ee9e:
title: 'intel_th: pci: Add Granite Rapids SOC support'
mainline: 854afe461b009801a171b3a49c5f75ea43e4c04c
upstream: 04d47e1fd4e9a9b9c32e769b9106bbcbddeca756
97c26585440f81fc3832759721964719ae7a4802:
title: 'intel_th: pci: Add Sapphire Rapids SOC support'
mainline: 2e1da7efabe05cb0cf0b358883b2bc89080ed0eb
upstream: f9159b4706fc1eae09c37081f9a580673a4477ff
0d4c32589468be6d7b8993e7576690004f50f5cc:
title: 'intel_th: pci: Add Meteor Lake-S support'
mainline: c4a30def564d75e84718b059d1a62cc79b137cf9
upstream: 8af7cedc0edf1b9d3c29e2b72e7d643f64669ee4
eac9744fef5c714c3201a0ab9c56e61ede318c29:
title: 'intel_th: pci: Add Lunar Lake support'
mainline: f866b65322bfbc8fcca13c25f49e1a5c5a93ae4d
upstream: 4780775da4957702ece226104b17d072e557a962
948b6135a242e4147ee69d7d47e1df20f5951d7f:
title: 'nilfs2: fix potential kernel bug due to lack of writeback flag waiting'
mainline: a4ca369ca221bb7e06c725792ac107f0e48e82e7
upstream: 95f6f81e50d858a7c9aa7c795ec14a0ac3819118
22749c2b34a685511b52c8e1c52539519f0a46ec:
title: 'hv_utils: drain the timesync packets on onchannelcallback'
mainline: b46b4a8a57c377b72a98c7930a9f6969d2d4784e
upstream: 1af0a35eba1ee302fc30aea8cb621f6de8728785
06d15f1e6c6dbb25aa2058c26a02bc3589dd87d7:
title: 'mm/hugetlb: add mmap() encodings for 32MB and 512MB page sizes'
bee6efedbf7b70baa442b7af575c6cc055c2bcef:
title: 'hugetlb_encode.h: fix undefined behaviour (34 << 26)'
mainline: 710bb68c2e3a24512e2d2bae470960d7488e97b1
upstream: a33d99c8b213d16ad61bc68cb17aad1e2f484192
ba2eacb9af4998743a14271e11fba297a8761497:
title: 'usb-storage: alauda: Check whether the media is initialized'
mainline: 16637fea001ab3c8df528a8995b3211906165a30
upstream: e0aab7b07a9375337847c9d74a5ec044071e01c8
d3d05ae427ca75738046af172544e4ad75bdf8aa:
title: 'rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment'
mainline: 8b9b443fa860276822b25057cb3ff3b28734dec0
upstream: 6652029853316f4c273219145ef0e71b148bbe01
5856f70943c52055ea24d8ee791308367cd1039a:
title: 'batman-adv: bypass empty buckets in batadv_purge_orig_ref()'
mainline: 40dc8ab605894acae1473e434944924a22cfaaa0
upstream: 79636f636126775436a11ee9cf00a9253a33ac11
f98f3237faf35d508d9c1b783385102a7be0abf2:
title: 'scsi: qedi: Fix crash while reading debugfs attribute'
mainline: 28027ec8e32ecbadcd67623edb290dad61e735b5
upstream: 56bec63a7fc87ad50b3373a87517dc9770eef9e0
476276b356c5d338435b82ecfe217a9422d7235f:
title: 'powerpc/pseries: Enforce hcall result buffer validity and size'
mainline: ff2e185cf73df480ec69675936c4ee75a445c3e4
upstream: acf2b80c31c37acab040baa3cf5f19fbd5140b18
8824c4818bf4e7a3b2c47f78c6a8ace368ebe2c5:
title: 'powerpc/io: Avoid clang null pointer arithmetic warnings'
mainline: 03c0f2c2b2220fc9cf8785cd7b61d3e71e24a366
upstream: 7e1e8e86b0b62844b2c795549f65494e95b5983e
43cef40ed1b05181bab0553b15a699a4a3de9dc4:
title: 'usb: misc: uss720: check for incompatible versions of the Belkin F5U002'
mainline: 3295f1b866bfbcabd625511968e8a5c541f9ab32
upstream: 02d13616ca30014ed96302e51a5b0e17664e58bc
20c569a7cff68ac7d507661d2cbb62dd6fffdc7d:
title: 'udf: Sanitize nanoseconds for time stamps'
04f8c1f355f2e1cdc8bc261bb903c85488dbb649:
title: 'udf: Simplify calls to udf_disk_stamp_to_time'
28e83fb606df2b620ca55001b6b1ec4669fff3fe:
title: 'udf: udftime: prevent overflow in udf_disk_stamp_to_time()'
mainline: 3b84adf460381169c085e4bc09e7b57e9e16db0a
upstream: 2f85b07bd802e86e155fd8496e3d105ec3a2ade9
7bf7a1b84c85a21b7e9e7dc9136efd5c79d7b4ed:
title: 'MIPS: Octeon: Add PCIe link status check'
mainline: 29b83a64df3b42c88c0338696feb6fdcd7f1f3b7
upstream: 6bff05aaa32c2f7e1f6e68e890876642159db419
2401229809147c9144c4e7bbbcc43c7154cf1aba:
title: 'MIPS: Routerboard 532: Fix vendor retry check code'
mainline: ae9daffd9028f2500c9ac1517e46d4f2b57efb80
upstream: acabc32a7b27f30a75ef01e873d8b65f5dc7d5d5
2f46065f2784076d6c121eab1a21a8096fba6b13:
title: 'cipso: fix total option length computation'
mainline: 9f36169912331fa035d7b73a91252d7c2512eb1a
upstream: 5d3b9efa04c0d8967e00cbc4b6b5aab79952f5d1
f5105aa1e9989b1deb6d87f9d080a7d0d917dc56:
title: 'netrom: Fix a memory leak in nr_heartbeat_expiry()'
mainline: 0b9130247f3b6a1122478471ff0e014ea96bb735
upstream: d616876256b38ecf9a1a1c7d674192c5346bc69c
b71bbdc8869cbf604b55e27437b9d91d3dd909aa:
title: 'xfrm6: check ip6_dst_idev() return value in xfrm6_get_saddr()'
mainline: d46401052c2d5614da8efea5788532f0401cb164
upstream: c71761292d4d002a8eccb57b86792c4e3b3eb3c7
e3d1b924da1c094e403381851f287d1cb6d430de:
title: 'virtio_net: checksum offloading handling fix'
mainline: 604141c036e1b636e2a71cf6e1aa09d1e45f40c2
upstream: d0e99ad7721155aaa4e57b8b11bb70743da61491
8bfba3c52500198a370f799501c232303b52817c:
title: 'net: usb: rtl8150 fix unintiatilzed variables in rtl8150_get_link_ksettings'
mainline: fba383985354e83474f95f36d7c65feb75dba19d
upstream: 88154e3329e1f47490ee98f8d32a0353d8d46550
cc48980d16d92c2f4e6c9a1976bd2afdf9f30fa6:
title: 'regulator: core: Fix modpost error "regulator_get_regmap" undefined'
mainline: 3f60497c658d2072714d097a177612d34b34aa3d
upstream: bdc0a40accdf77080fed82d72e89d341001dcbf6
d7e271c7c6269187a0c054ef781b1160398b119a:
title: 'dmaengine: ioatdma: Fix missing kmem_cache_destroy()'
mainline: 5422145d0b749ad554ada772133b9b20f9fb0ec8
upstream: 0b346aa39e76de78be5e105dc338e190e80a5188
ed44c23c974a4df0899e57a375eeb563a911b575:
title: 'ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."'
mainline: a83e1385b780d41307433ddbc86e3c528db031f0
upstream: 435ecc978c3d5d0c4e172ec5b956dc1904061d98
cc96770672dafa9b46038f64523c42ce3534e8ba:
title: 'drm/radeon: fix UBSAN warning in kv_dpm.c'
mainline: a498df5421fd737d11bfd152428ba6b1c8538321
upstream: 07e8f15fa16695cf4c90e89854e59af4a760055b
cd513bd7a535592e2c65efc462a42866d507da3a:
title: 'gcov: add support for GCC 14'
mainline: c1558bc57b8e5b4da5d821537cd30e2e660861d8
upstream: 48d5f4d66962fde59c78dd0a7cf6bd03b3f49c61
5566df875aabd57002b81daf45d37d2f6c874d42:
title: 'ARM: dts: samsung: smdkv310: fix keypad no-autorepeat'
mainline: 87d8e522d6f5a004f0aa06c0def302df65aff296
upstream: 1d1838ca012952f4914af6f6619bbdea6251039c
9b2697403d29b12ef06ab68f4f2232291dfed184:
title: 'ARM: dts: samsung: exynos4412-origen: fix keypad no-autorepeat'
mainline: 88208d3cd79821117fd3fb80d9bcab618467d37b
upstream: 77951f880a4b9e7f76460364ec0b931d1a59c9fb
d350b585ee4796a3868be5f4cd8a29877275c819:
title: 'ARM: dts: samsung: smdk4412: fix keypad no-autorepeat'
mainline: 4ac4c1d794e7ff454d191bbdab7585ed8dbf3758
upstream: 4c70a7576ae14f804196ae0089f9deb6cbd77e1f
dcea2cf5d7cca146641b67b8cbcc153cbfdeb0c3:
title: 'PCI: Add PCI_ERROR_RESPONSE and related definitions'
mainline: 57bdeef4716689d9b0e3571034d65cf420f6efcd
upstream: 4c003aef56d5642aefd4d11ee9d7e6755d4c1a6e
f66ed725b522bfad043ec2dbcf50eff7ffc8feda:
title: 'x86/amd_nb: Check for invalid SMN reads'
mainline: c625dabbf1c4a8e77e4734014f2fde7aa9071a1f
upstream: d4e52b36c73f44d2b5f41d0cd3f57b3d2efbf180
e8b7b4167c95a9e6976479edda683c1b13ca0832:
title: 'iio: dac: ad5592r-base: Replace indio_dev->mlock with own device lock'
mainline: 33c53cbf8f7bc8d62f6146a19da97c8594376ff0
upstream: b576d7d08f26d40789313ec6a8acc966a149c37f
a28ae8f66b95e48a7ad69aa23382bd8486b6c529:
title: 'iio: dac: ad5592r: un-indent code-block for scale read'
mainline: b004fe33034cc64f72c20923be71cf1e6c9a624c
upstream: c101996c9dabd9d809c12f686547b7035c087f10
d9b6601da0310953862e47ebc5fe28f9bf37033a:
title: 'iio: dac: ad5592r: fix temperature channel scaling value'
mainline: 279428df888319bf68f2686934897301a250bb84
upstream: 9eaaefbae8f5ddbed0fce822042ad969f5f876c5
675de54c63726a5b6316a7c3854219e10208f4ea:
title: 'scsi: mpt3sas: Add ioc_<level> logging macros'
mainline: 645a20c6821cd1ab58af8a1f99659e619c216efd
upstream: 229e75730c784f7b871ae9bd76f8bd506d20a304
bd4e577402b93532aacc19b7f44c4963b763fafe:
title: 'scsi: mpt3sas: Gracefully handle online firmware update'
mainline: ffedeae1fa545a1d07e6827180c3923bf67af59f
upstream: 230c290c74b956a4c26926c94a5bf932ca234884
165419d81604a14fb6d0b111fd2f96288ec9528b:
title: 'scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory'
mainline: 4254dfeda82f20844299dca6c38cbffcfd499f41
upstream: e9bce7c751f6d6c7be88c0bc081a66aaf61a23ee
d9ea1dc07e87131c9ae5e3e1504c2cacbf2df74a:
title: 'usb: xhci: Remove ep_trb from xhci_cleanup_halted_endpoint()'
de371a2bb30d1695a5c07357bd207e5aadefcd51:
title: 'xhci: Use soft retry to recover faster from transaction errors'
mainline: f8f80be501aa2f10669585c3e328fad079d8cb3a
upstream: 8f667ee530a601449fede56370036e1d8d9a62dc
c73496b00b416467313ec64166d9d8d5d7e3a921:
title: 'xhci: Set correct transferred length for cancelled bulk transfers'
mainline: f0260589b439e2637ad54a2b25f00a516ef28a57
upstream: ca0f0c5b0b991a71f61948bad09eb5f9e8cc4851
3f74f1a0bd8b876661fb5263fa78048e2586065d:
title: 'usb: xhci: do not perform Soft Retry for some xHCI hosts'
mainline: a4a251f8c23518899d2078c320cf9ce2fa459c9f
upstream: 2a28c0f457c5563cef9fbad803d9445eee0c1e05
d6636e9d955f53a9da4e40af4ddba67ab3391fbf:
title: 'pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER'
mainline: adec57ff8e66aee632f3dd1f93787c13d112b7a1
upstream: e65a0dc2e85efb28e182aca50218e8a056d0ce04
0b45b7f4f6ee46da3efc4858af96e1a86e536250:
title: 'pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins'
mainline: e8448a6c817c2aa6c6af785b1d45678bd5977e8d
upstream: 860a562a61a838867c8d3f66d059a0fc7a67d1c9
0d6d13a0bb379aa59f6475c1bb6df7aaed21857f:
title: 'pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pins'
mainline: 5ef6914e0bf578357b4c906ffe6b26e7eedb8ccf
upstream: f8426b53f59f88c637143ffa31276be73a3c9b27
a1e6c61656a89e49007fd9847fe123acd15d31b9:
title: 'pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set'
mainline: 4ea4d4808e342ddf89ba24b93ffa2057005aaced
upstream: 61c552e4ee1dbfa85d68997ab6e9d80690b401a7
90340ac06eb8a83a320c3bf2a31cc67eaf333478:
title: 'drm/amdgpu: fix UBSAN warning in kv_dpm.c'
mainline: f0d576f840153392d04b2d52cf3adab8f62e8cb6
upstream: 4ad7d49059358ceadd352b4e2511425bdb68f400
f6658c76f5f0670445bebb35a9ccf3d5ae502806:
title: 'ASoC: fsl-asoc-card: set priv->pdev before using it'
mainline: 90f3feb24172185f1832636264943e8b5e289245
upstream: ae81535ce2503aabc4adab3472f4338070cdeb6a
c01fc5238f6bb561e137d7b6e7df88c5107a263f:
title: 'netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers'
mainline: 7931d32955e09d0a11b1fe0b6aac1bfa061c005c
upstream: 40188a25a9847dbeb7ec67517174a835a677752f
9578df8a6b21442b2451be92ea5ce59b2cc38505:
title: 'net/iucv: Avoid explicit cpumask var allocation on stack'
mainline: be4e1304419c99a164b4c0e101c7c2a756b635b9
upstream: 2b085521be5292016097b5e7ca81b26be3f7098d
bf4ffd90f46475894c7d758eb26aa0f8a31dc245:
title: 'ALSA: emux: improve patch ioctl data validation'
mainline: 89b32ccb12ae67e630c6453d778ec30a592a212f
upstream: 40d7def67841343c10f8642a41031fecbb248bab
728e947a35ba429d96e495c170367211583d760e:
title: 'media: dvbdev: Initialize sbuf'
mainline: 17d1316de0d7dc1bdc5d6e3ad4efd30a9bf1a381
upstream: 1925c902159d686372d897c2fa8ee4ea91b62d14
cf89c5861a3b88fcef8ce222edd384bb5cb44934:
title: 'soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message'
mainline: ddbf3204f600a4d1f153498f618369fca352ae00
upstream: 671abe2b126e6e39d52eefbf53106650ef2dd904
43bae0d9a7bd2f0a78a283b1440a74601b4a4f68:
title: 'nvme: fixup comment for nvme RDMA Provider Type'
mainline: f80a55fa90fa76d01e3fffaa5d0413e522ab9a00
upstream: 277ea9f9bf1171f0f02836ded9b65b9b8684322d
b4951f8134444e1eb7b28ea2234463f8ed077745:
title: 'i2c: ocores: stop transfer on timeout'
mainline: e7663ef5ae0f02e3b902eb0305dec981333eb3e1
upstream: c7999d372e7fe8bdfbc2226af1896e8bd328018a
4d73d79702f3c0872f20dfd8a05974c7b18ebc7f:
title: 'i2c: ocores: set IACK bit after core is enabled'
mainline: 5a72477273066b5b357801ab2d315ef14949d402
upstream: 1f7e4dd58af1267db2970e5c2e98a4d0ff170047
00eda93e9c842eecb76a1bc09b337e4f0cb043eb:
title: 'x86: stop playing stack games in profile_pc()'
mainline: 093d9603b60093a9aaae942db56107f6432a5dca
upstream: 65ebdde16e7f5da99dbf8a548fb635837d78384e
51e44a77a5ca50e7e1f0548960bbb9eea83ff139:
title: 'mmc: sdhci-pci: Convert PCIBIOS_* return codes to errnos'
mainline: ebc4fc34eae8ddfbef49f2bdaced1bf4167ef80d
upstream: bba83bf85fc6fcca1e827fd88bf3998be9ad0d24
b23dedd4318672a4265f48d90f8760b41b6f7006:
title: 'iio: adc: ad7266: Fix variable checking bug'
mainline: a2b86132955268b2a1703082fbc2d4832fc001b8
upstream: 75a024d3ab0d331fc1d0b640b00e63d31d556b1e
e4de596e5e18fb924bfe0048049cd04a285272f9:
title: 'net: usb: ax88179_178a: improve link status logs'
mainline: 058722ee350c0bdd664e467156feb2bf5d9cc271
upstream: abb029e078e149d4d1f44a244cf833a6a1541447
cbc92ffc360a7b6f16408d7092c71d72bb9e0382:
title: 'usb: gadget: printer: SS+ support'
mainline: fd80731e5e9d1402cb2f85022a6abf9b1982ec5f
upstream: a0886d04f1c7439b55c1c9daecd6b21ada2de5dd
7209de070ba2427bfa29373c649c6311b69580bc:
title: 'usb: musb: da8xx: fix a resource leak in probe()'
mainline: de644a4a86be04ed8a43ef8267d0f7d021941c5e
upstream: a93b97349ba92cdc8b63ad09d28a873a467e1d62
4ddbe32a34bc9cc18c34282f88488d22c4178071:
title: 'usb: atm: cxacru: fix endpoint checking in cxacru_bind()'
mainline: 2eabb655a968b862bc0c31629a09f0fbf3c80d51
upstream: 5159a81924311c1ec786ad9fdef784ead8676a6a
c6f828c51833c0dcdd53b79a4eb5c8d5f5ebd56b:
title: 'tty: mcf: MCF54418 has 10 UARTS'
mainline: 7c92a8bd53f24d50c8cf4aba53bb75505b382fed
upstream: 0929fbe8194db19bfeed22f8c7f9b24da9f08bb9
87cc48eed0c10fc8f13907410db3f1c76c77826b:
title: 'hexagon: fix fadvise64_64 calling conventions'
mainline: 896842284c6ccba25ec9d78b7b6e62cdd507c083
upstream: 72152ab85ae44e13df8b7a653b5f657b48fa3229
2dc9769a951e305b690994008bcc32ee0d57f3e2:
title: 'drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes'
mainline: 66edf3fb331b6c55439b10f9862987b0916b3726
upstream: 9289cd3450d1da3e271ef4b054d4d2932c41243e
e2f974a4f127e38e7a5ec7a7ab51bb59d4392f17:
title: 'drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes'
mainline: 6d411c8ccc0137a612e0044489030a194ff5c843
upstream: ffabad4aa91e33ced3c6ae793fb37771b3e9cb51
f8741253033be14a8f4297ba6c8ec7cd3ddf4def:
title: 'batman-adv: include gfp.h for GFP_* defines'
e6522330b7414dc7f96f547045bdc5db9de0cc3e:
title: 'batman-adv: Don''t accept TT entries for out-of-spec VIDs'
mainline: 537a350d14321c8cca5efbf0a33a404fec3a9f9e
upstream: 4d5a2d6b7a9a1140342c5229d1a427ec37a12fd4
5696aad6bf4700041503e715bd2fb5d9dcf1fcc0:
title: 'ftruncate: pass a signed offset'
mainline: 4b8e88e563b5f666446d002ad0dc1e6e8e7102b0
upstream: c329760749b5419769e57cb2be80955d2805f9c9
7128fc9dcb40ffa3ca16cc92eeb4aa3f65639c87:
title: 'pwm: stm32: Refuse too small period requests'
mainline: c45fcf46ca2368dafe7e5c513a711a6f0f974308
upstream: 19946741ea989605d12d2ffdbb006b9ca000dde8
81d8db9302d30505f89d672e1a39c60ed71a1dda:
title: 'ipv6: annotate some data-races around sk->sk_prot'
mainline: 086d49058cd8471046ae9927524708820f5fd1c7
upstream: 13bda7ac5801f501bed6e21717dbf3b0df773847
0904f321c3a052af42b094f786f75fe32f5d8f2d:
title: 'ipv6: Fix data races around sk->sk_prot.'
mainline: 364f997b5cfe1db0d63a390fe7c801fa2b3115f6
upstream: fda6d62642a9c544a293d7ad7cb058f8c7f8f3dd
1895f4d98247c54d045cd4a9c94c0802f3c270d5:
title: 'tcp: Fix data races around icsk->icsk_af_ops.'
mainline: f49cd2f4d6170d27a2c61f1fecb03d8a70c91f57
upstream: 5bb642cc3355ffd3c8bca0a8bd8e6e65bcc2091c
6658230562d296ef2484a1156ff322c558d3c26a:
title: 'arm64: dts: rockchip: Add sound-dai-cells for RK3368'
mainline: 8d7ec44aa5d1eb94a30319074762a1740440cdc8
upstream: f7fc312d1d750db0ea867e50e6c436e0679a5a65
944720b778413cf71b70f8d697b94a357ea40e19:
title: 'SUNRPC: Fix RPC client cleaned up the freed pipefs dentries'
mainline: bfca5fb4e97c46503ddfc582335917b0cc228264

View File

@@ -1,222 +0,0 @@
a29d61e7e8e578fd6bc893e3fc566de319821ca5:
title: 'media: dvb: as102-fe: Fix as10x_register_addr packing'
mainline: 309422d280748c74f57f471559980268ac27732a
upstream: 86b769452b39428807f287ff5bb5aaf6fbfb7e9c
763d3cd7f083891a68cf5158c5bab81bb5e8be0f:
title: 'media: dvb-usb: dib0700_devices: Add missing release_firmware()'
mainline: 4b267c23ee064bd24c6933df0588ad1b6e111145
upstream: 213375679632f6ed1e4eb98b78a8f600977b9b34
f3829e3d794cad5ddb6c88e0ff1b27b6435d224b:
title: 'IB/core: Implement a limit on UMAD receive List'
mainline: ca0b44e20a6f3032224599f02e7c8fb49525c894
upstream: 1288cf1cceb0e6df276e182f5412370fb4169bcb
8fb8547e74c70ef7ed9af6d75f8b27186d6c1d88:
title: 'media: dw2102: Don''t translate i2c read into write'
mainline: 0e148a522b8453115038193e19ec7bea71403e4a
upstream: 74eb7ec7afe976a499484f56e8af020c3260a559
fca275dacc79b9d77ec45e208a68284a19515d5f:
title: 'sctp: prefer struct_size over open coded arithmetic'
mainline: e5c5f3596de224422561d48eba6ece5210d967b3
upstream: 03f37e56305156bd25c5c237d1cc7f5c75495ef2
b0f4f0d200c9bcb8c14b1f09a288dc89d026fdc3:
title: 'firmware: dmi: Stop decoding on broken entry'
mainline: 0ef11f604503b1862a21597436283f158114d77e
upstream: c2a350a3fa622a174e3704691d05989cdfde4d51
d2b33d0a14125c60fb7fc2fe60e7305ef606bc7f:
title: 'Input: ff-core - prefer struct_size over open coded arithmetic'
mainline: a08b8f8557ad88ffdff8905e5da972afe52e3307
upstream: e52cfcf68df0b52565be68106e9f65ab8077b48a
9c1cb2b6cbf9a9e1ee2e9702637c71adc476e874:
title: 'net: dsa: mv88e6xxx: Correct check for empty list'
mainline: 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b
upstream: 47d28dde172696031c880c5778633cdca30394ee
a65c17e8b9fe25ecae58373ddbea9fe06135f193:
title: 'media: dvb-frontends: tda18271c2dd: Remove casting during div'
mainline: e9a844632630e18ed0671a7e3467431bd719952e
upstream: 2401cbc0f5d4bd1e327d247548cc6ee57bc76c53
909138842fcc6194732efcd7e9d6ab4b9b715600:
title: 'media: s2255: Use refcount_t instead of atomic_t for num_channels'
mainline: 6cff72f6bcee89228a662435b7c47e21a391c8d0
upstream: 32f2f5385eefa73aaebefda419147ac8599ba9e6
cf654f32bbef8fd9d7d57d91a3378370a975e85f:
title: 'media: dvb-frontends: tda10048: Fix integer overflow'
mainline: 1aa1329a67cc214c3b7bd2a14d1301a795760b07
upstream: 8167e4d7dc086d4f7ca7897dcff3827e4d22c99a
f5a529216e877313cde4f8a3fc637c816642e861:
title: 'i2c: i801: Annotate apanel_addr as __ro_after_init'
mainline: 355b1513b1e97b6cef84b786c6480325dfd3753d
upstream: 1a1f7053437d0f27534ecc9ec7e5d441c082b81c
af94a2ea5b6eb5ead8c016a196311449e0e145ac:
title: 'powerpc/64: Set _IO_BASE to POISON_POINTER_DELTA not 0 for CONFIG_PCI=n'
mainline: be140f1732b523947425aaafbe2e37b41b622d96
upstream: 85cc3ecb0b1256d539bb6a58a5f995c802a331c4
b490b0a094cb6b1e6dc7c79ef9c76213480e03e8:
title: 'orangefs: fix out-of-bounds fsid access'
mainline: 53e4efa470d5fc6a96662d2d3322cfc925818517
upstream: b90176a9553775e23966650e445b1866e62e4924
48d99fb324e4d263c533ae24712372138c5cb664:
title: 'powerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#"'
mainline: 8873aab8646194a4446117bb617cc71bddda2dee
upstream: 04b90b8d0b6929d7427551215b71901959c8e098
7523a69d10eba34a5bf215bbbf73b02932303c2b:
title: 'jffs2: Fix potential illegal address access in jffs2_free_inode'
mainline: af9a8730ddb6a4b2edd779ccc0aceb994d616830
upstream: b6c8b3e31eb88c85094d848a0bd8b4bafe67e4d8
d232297f0376ff857296774d047ced0731895562:
title: 's390/pkey: Wipe sensitive data on failure'
mainline: 1d8c270de5eb74245d72325d285894a577a945d9
upstream: 6e2e374403bf73140d0efc9541cb1b3bea55ac02
f1bac5dbfa7aaf5cee717a604ed1c94b363a9883:
title: 'UPSTREAM: tcp: fix DSACK undo in fast recovery to call tcp_try_to_open()'
mainline: a6458ab7fd4f427d4f6f54380453ad255b7fde83
upstream: 8b5fd51b3040ce2596d22a72767c66d7435853b6
f8f32610dabb5c07608475f3cfe4915aa4cd15e5:
title: 'tcp_metrics: validate source addr length'
mainline: 66be40e622e177316ae81717aa30057ba9e61dff
upstream: 19d997b59fa1fd7a02e770ee0881c0652b9c32c9
ea462f7627ecabdd4263965f5a8864f0ab86d08b:
title: 'bonding: Fix out-of-bounds read in bond_option_arp_ip_targets_set()'
mainline: e271ff53807e8f2c628758290f0e499dbe51cb3d
upstream: 6a8a4fd082c439e19fede027e80c79bc4c84bb8e
a8987b87ffb8455fddf7b29734f043256d589a34:
title: 'selftests/net: reap zerocopy completions passed up as ancillary data.'
c75d2712b73df3ce9a145395882cee0d56f8916f:
title: 'selftests: fix OOM in msg_zerocopy selftest'
mainline: af2b7e5b741aaae9ffbba2c660def434e07aa241
upstream: d6ab0198fb470e1a9948d08c610a94601a1fdb2c
3688bfa238e9ea94bff46c0dc030f412f239a08c:
title: 'selftests: make order checking verbose in msg_zerocopy selftest'
mainline: 7d6d8f0c8b700c9493f2839abccb6d29028b4219
upstream: b1cb48187a6edc2ab72f5b3e6b4af7a232730d64
600edf70c16cb29b82c9fd1e830398168eea7bca:
title: 'inet_diag: Initialize pad field in struct inet_diag_req_v2'
mainline: 61cf1c739f08190a4cbf047b9fbb192a94d87e3f
upstream: 7094a5fd20ab66028f1da7f06e0f2692d70346f9
72ae23ea4ee2e943e8d58ad302c6a843dbf80ad0:
title: 'nilfs2: fix inode number range checks'
mainline: e2fec219a36e0993642844be0f345513507031f4
upstream: 57235c3c88bb430043728d0d02f44a4efe386476
ba6206b639aa6f1d9ade9cb55831ebc1f7268594:
title: 'nilfs2: add missing check for inode numbers on directory entries'
mainline: bb76c6c274683c8570ad788f79d4b875bde0e458
upstream: c33c2b0d92aa1c2262d999b2598ad6fbd53bd479
34096341954fed86e3b510d1c0617470f21bb41d:
title: 'mm: optimize the redundant loop of mm_update_owner_next()'
mainline: cf3f9a593dab87a032d2b6a6fb205e7f3de4f0a1
upstream: 2890a7faf552dd3e4e40e343610ba3e0ba5b788e
1cbdc455dc33b76a9efdf4694308b2b1c8ea5a21:
title: 'Bluetooth: Fix incorrect pointer arithmatic in ext_adv_report_evt'
mainline: cd9151b618da4723877bd94eae952f2e50acbc0e
upstream: b162f19e6603571061b19dbb604a9883f0fa4ecc
73f492747cfcd09e43ef25970d26c8943ab830ec:
title: 'fsnotify: Do not generate events for O_PATH file descriptors'
mainline: 702eb71fd6501b3566283f8c96d7ccc6ddd662e9
upstream: b7421cad1d8725831a98b339d7ecbb284dd1c5de
6949c5283758b9d0847b1ce1d461e9c7d2730fa1:
title: 'Revert "mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again"'
mainline: 30139c702048f1097342a31302cbd3d478f50c63
upstream: 253f9ea7e8e53a5176bd80ceb174907b10724c1a
c300d28e4079a0046e79ff18bdffb48c7dee3861:
title: 'drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes'
mainline: 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4
upstream: 9baf60323efa992b7c915094529f0a1882c34e7e
27967cf8362a84f47938fe7ff0ff57c991c858cc:
title: 'drm/amdgpu/atomfirmware: silence UBSAN warning'
mainline: d0417264437a8fa05f894cabba5a26715b32d78e
upstream: 385b615c95df14df68ca8322245c13a9389392f6
a64eeaefb325e45890fca958151be84cfa53b633:
title: 'bnx2x: Fix multiple UBSAN array-index-out-of-bounds'
mainline: 134061163ee5ca4759de5c24ca3bd71608891ba7
upstream: cfb04472ce33bee2579caf4dc9f4242522f6e26e
9c6553444512bcd2fdaf2b4153835f19f684f2c4:
title: 'media: dw2102: fix a potential buffer overflow'
mainline: 1c73d0b29d04bf4082e7beb6a508895e118ee30d
upstream: 39fb2a0c2e78d9b2de726be119e6d06e38aa4ed4
900ede664c5f6c4194cc6a86558c291918c285dd:
title: 'i2c: pnx: move header into the driver'
82043a1a1450176d4a5c5664b05ab1e7bfeed0ee:
title: 'i2c/busses: Convert timers to use timer_setup()'
1921a68ba39c00e508c2b6fdd571d6fdeb6268e4:
title: 'i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr'
mainline: f63b94be6942ba82c55343e196bd09b53227618e
upstream: a349e5ab4dc9954746e836cd10b407ce48f9b2f6
75fb795f98517dbdb2973414465cffa685d9cd8a:
title: 'nilfs2: fix incorrect inode allocation from reserved inodes'
mainline: 93aef9eda1cea9e84ab2453fcceb8addad0e46f1
upstream: de9d81daaca2b7b3c853bf2ff729353e84f06b18
852460760459aec08d18bc7780f254f6f256606d:
title: 'tcp: fix incorrect undo caused by DSACK of TLP retransmit'
mainline: 0ec986ed7bab6801faed1440e8839dcc710331ff
upstream: 83f5eb01c4beb9741bc1600bcd8b6e94a1774abe
95139b5d59c4b6d6c56f39c2b4b4f26e22330000:
title: 'net: lantiq_etop: add blank line after declaration'
mainline: 4c46625bb586a741b8d0e6bdbddbcb2549fa1d36
upstream: 12d204b835dd85c7fe6501be6ee1aaa1e5315ff9
ae3b644b836cdcca258294db2569189af4ef7ff3:
title: 'net: ethernet: lantiq_etop: fix double free in detach'
mainline: e1533b6319ab9c3a97dad314dd88b3783bc41b69
upstream: 1a2db00a554cfda57c397cce79b2804bf9633fec
84f3c0bb96cd91096079828b24b51af408265abe:
title: 'ppp: reject claimed-as-LCP but actually malformed packets'
mainline: f2aeb7306a898e1cbd03963d376f4b6656ca2b55
upstream: 97d1efd8be26615ff680cdde86937d5943138f37
4e591539244c71973243bd4315024d601991ee3a:
title: 'ARM: davinci: Convert comma to semicolon'
mainline: acc3815db1a02d654fbc19726ceaadca0d7dd81c
upstream: f9ace6a3278a613d22abbd7d69e13d481b800622
400d7f0eceb6a1993c04f36ee766abff02f975b8:
title: 'USB: serial: option: add Telit generic core-dump composition'
mainline: 4298e400dbdbf259549d69c349e060652ad53611
upstream: a88697c3871ade2c9d03437d170af77ec92d2982
4094a8160b0626b4fc428b2770adcd99652a9117:
title: 'USB: serial: option: add Telit FN912 rmnet compositions'
mainline: 9a590ff283421b71560deded2110dbdcbe1f7d1d
upstream: 908bc2cb55f8affc7a90bb8d17fd4323088e2a19
01b762bc1225b0a0ffb18638161627cb185ce408:
title: 'USB: serial: option: add Fibocom FM350-GL'
mainline: 2604e08ff251dba330e16b65e80074c9c540aad7
upstream: de307ab87774c96700fa1831f78f5085255c35f8
4dd077fc35bd45cb3763b56b29397495aa60e832:
title: 'USB: serial: option: add support for Foxconn T99W651'
mainline: 3c841d54b63e4446383de3238399a3910e47d8e2
upstream: 9fde2ddfed4787728a20aefea6a625c6b2b32fc4
e8c421c3e622eec18fb2a723b3801e041094e76b:
title: 'USB: serial: option: add Netprisma LCUK54 series modules'
mainline: dc6dbe3ed28795b01c712ad8f567728f9c14b01d
upstream: 038d9a89fac14fd9855383b2ae990ee755e36bd0
bb8ef9c34dbad9828e35221d9b93887f81fedf61:
title: 'USB: serial: option: add Rolling RW350-GL variants'
mainline: ae420771551bd9f04347c59744dd062332bdec3e
upstream: 5bc1f4bee4d84245a3479f53aef38f82b99a19f0
af79b0b19953f31e510d5330cb6d3bb246b096a2:
title: 'USB: Add USB_QUIRK_NO_SET_INTF quirk for START BP-850k'
mainline: 3859e85de30815a20bce7db712ce3d94d40a682d
upstream: 1d1f3d602971bbb8de654e7bbe78bf6c2ebd06c1
4a1cba1a65533b8f9ece63c774c0bd1d265e14bf:
title: 'usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()'
mainline: 6d3c721e686ea6c59e18289b400cc95c76e927e0
upstream: a444c3fc264119801575ab086e03fb4952f23fd0
d60eb2fd2445dd07125d1e450aa4c310d5baf190:
title: 'USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor'
mainline: a368ecde8a5055b627749b09c6218ef793043e47
upstream: d8418fd083d1b90a6c007cf8dcf81aeae274727b
a43cf7b341011779151d27dd5bc52387d5f5f835:
title: 'hpet: Support 32-bit userspace'
mainline: 4e60131d0d36af65ab9c9144f4f163fe97ae36e8
upstream: e2cb94465de92f6a840bc7eface420b30cc64aa0
c618a1f6d3ecaa97aaf0283d9b89824e651bc013:
title: 'libceph: fix race between delayed_work() and ceph_monc_stop()'
mainline: 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883
upstream: 1177afeca833174ba83504688eec898c6214f4bf
bd19e77de5e3d3c721c8dc55e0d7f1b6a0117279:
title: 'tcp: use signed arithmetic in tcp_rtx_probe0_timed_out()'
mainline: 36534d3c54537bf098224a32dc31397793d4594d
upstream: 0fe6516462392ffe355a45a1ada8d264a783430f
2a8372159bc037d3c15b66659a35ca18a0a61d98:
title: 'nilfs2: fix kernel bug on rename operation of broken directory'
mainline: a9e1ddc09ca55746079cc479aa3eb6411f0d99d4
upstream: ff9767ba2cb949701e45e6e4287f8af82986b703
e0aa415e86deeac3ffde591fc5fd5e4a13e9ff23:
title: 'i2c: rcar: bring hardware to known state when probing'
mainline: 4e36c0f20cb1c74c7bd7ea31ba432c1c4a989031
upstream: a291702b35433e4948476b79c034a21fd2b5ebc8

View File

@@ -1,122 +0,0 @@
c133012a813396eefedf1bfa049efe8015b98812:
title: 'gcc-plugins: Rename last_stmt() for GCC 14+'
mainline: 2e3f65ccfe6b0778b261ad69c9603ae85f210334
upstream: 2d05669ce1f18c1bc51476980a0e8bd107682546
2eb33ecdc2e4a03f4b673a04428924293b58cd7e:
title: 'scsi: qedf: Set qed_slowpath_params to zero before use'
mainline: 6c3bb589debd763dc4b94803ddf3c13b4fcca776
upstream: 9656f9540fa3949dfb65e9f18d263bbd96778831
7af36fe3934a05c3df07dac10732c2f2097fa9eb:
title: 'ACPI: EC: Abort address space access upon error'
mainline: f6f172dc6a6d7775b2df6adfd1350700e9a847ec
upstream: 52a1125633abf465f59d184020add71616b87efa
af32f802de713de4b0a2b4f6e97c8e1ca9dfc758:
title: 'ACPI: EC: Avoid returning AE_OK on errors in address space handler'
mainline: c4bd7f1d78340e63de4d073fd3dbe5391e2996e5
upstream: 286b25bf40251e940756371eae6c7e59fdbd6745
2fac830d7e5b9250a13d556a1d5125a1a2b351b4:
title: 'wifi: mac80211: mesh: init nonpeer_pm to active by default in mesh sdata'
mainline: 6f6291f09a322c1c1578badac8072d049363f4e6
upstream: 46487275e810d1e7c99f36af9fdfae0909c4e200
60882d697cfb5c6868f24649c60b8dd8d2703668:
title: 'wifi: mac80211: fix UBSAN noise in ieee80211_prep_hw_scan()'
mainline: 92ecbb3ac6f3fe8ae9edf3226c76aa17b6800699
upstream: cd3212a9e0209dff7eda30f01ab8590f5e8d92fb
f995731405d60b4b3e3cb2c556625c5c3a786c8f:
title: 'Input: silead - add support for capactive home button found on some x86 tablets'
1501ce3d5bfea3a1e8aaec61b878f20d8a93dfcb:
title: 'Input: silead - Always support 10 fingers'
mainline: 38a38f5a36da9820680d413972cb733349400532
upstream: ce0368a52554d213c5cd447ba786b54390a845e1
6e6d94454bba0055f8d77d3bb42d49c369e80e95:
title: 'ila: block BH in ila_output()'
mainline: cf28ff8e4c02e1ffa850755288ac954b6ff0db8c
upstream: 7435bd2f84a25aba607030237261b3795ba782da
265ba671aaff09b4531db6875d668dfb4efd716a:
title: 'kconfig: gconf: give a proper initial state to the Save button'
mainline: 46edf4372e336ef3a61c3126e49518099d2e2e6d
upstream: b6d6a91b584a022424d99264741bdfa6b336c83b
692c2ebeacc0c82e6c088e5a6f63ff9395a2082e:
title: 'kconfig: remove wrong expr_trans_bool()'
mainline: 77a92660d8fe8d29503fae768d9f5eb529c88b36
upstream: b366d89859fe7b58894b3698844b551fe32f892a
8d3da24eb73289dde20e54b84c848e61ae0138b0:
title: 'fs/file: fix the check in find_next_fd()'
mainline: ed8c7fbdfe117abbef81f65428ba263118ef298a
upstream: 5611e11988535125b3a05305680851ff587702a9
cdb32323efca90437116ce55ba43da736ecad374:
title: 'mei: demote client disconnect warning on suspend to debug'
mainline: 1db5322b7e6b58e1b304ce69a50e9dca798ca95b
upstream: bd2a753fa12cf3d28726a4bf067398514e52d57c
56e8fc1b0ac2a752cba13ccd0e128f7eaadcd8d0:
title: 'wifi: cfg80211: wext: add extra SIOCSIWSCAN data check'
mainline: 6ef09cdc5ba0f93826c09d810c141a8d103a80fc
upstream: b02ba9a0b55b762bd04743a22f3d9f9645005e79
0eafa6b4fdf53fdc8b8924325f994fe4ed0700a7:
title: 'Input: elantech - fix touchpad state on resume for Lenovo N24'
mainline: a69ce592cbe0417664bc5a075205aa75c2ec1273
upstream: 9b6a1cb833dc8ceab3fbc45a261a8dd37c4f8013
2ba3ceb092c9ac54204c7416bfa884d37f59bd1a:
title: 's390/sclp: Fix sclp_init() cleanup on failure'
mainline: 6434b33faaa063df500af355ee6c3942e0f8d982
upstream: a778987afc36d5dc02a1f82d352a81edcaf7eb83
f78b195536a163671b4aa1b85b88e432919c79f9:
title: 'ALSA: dmaengine_pcm: terminate dmaengine before synchronize'
mainline: 6a7db25aad8ce6512b366d2ce1d0e60bac00a09d
upstream: fe0a6e7eb38f9d5396f6ff548186a6cd62c08b1a
c16c01ccdd91f3d7764c0e63da5ba2274eb031a8:
title: 'net: usb: qmi_wwan: add Telit FN912 compositions'
mainline: 77453e2b015b5ced5b3f45364dd5a72dfc3bdecb
upstream: 6f5c552bb803ac30a746addc91b3da9b94b48c4d
eef43c3ccb72817061d1c663129fc04ff09de4a6:
title: 'net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD()'
mainline: b8ec0dc3845f6c9089573cb5c2c4b05f7fc10728
upstream: 77cfeb27b8ded33c3f4023a24a2d1517ad4e4893
43df6e148cb43ad243a345291d8ddc2cea7786ce:
title: 'Bluetooth: hci_core: cancel all works upon hci_unregister_dev()'
mainline: 0d151a103775dd9645c78c97f77d6e2a5298d913
upstream: 48542881997e17b49dc16b93fe910e0cfcf7a9f9
fe34d279afd5186910b42c6ccf419f32552f6eab:
title: 'fs: better handle deep ancestor chains in is_subdir()'
mainline: 391b59b045004d5b985d033263ccba3e941a7740
upstream: a5c4645346b0efb5a10ed28ae281a9af29037608
4e4a79155c2fe74dd5aea4e56b96923d39d50408:
title: 'spi: imx: Don''t expect DMA for i.MX{25,35,50,51,53} cspi devices'
mainline: ce1dac560a74220f2e53845ec0723b562288aed4
upstream: 4f5e56dddabe947cc840ffb2db60d9df6ca9e8b9
010cabb684a2904c698713694a24cb0c99d24f41:
title: 'selftests/vDSO: fix clang build errors and warnings'
mainline: 73810cd45b99c6c418e1c6a487b52c1e74edb20d
upstream: d5e9dddd18fdfe04772bce07d4a34e39e7b1e402
7cc7fff373ff4131e0db0e9f099913b524cd0275:
title: 'hfsplus: fix uninit-value in copy_name'
mainline: 0570730c16307a72f8241df12363f76600baf57d
upstream: 72805debec8f7aa342da194fe0ed7bc8febea335
0092a371ee34e3dc89e46d1267ee614d60026158:
title: 'filelock: Remove locks reliably when fcntl/close race is detected'
mainline: 3cad1bc010416c6dd780643476bc59ed742436b9
upstream: d30ff33040834c3b9eee29740acd92f9c7ba2250
a650c33ed9edba733de822a47397ead4c1ebc2fb:
title: 'ARM: 9324/1: fix get_user() broken with veneer'
mainline: 24d3ba0a7b44c1617c27f5045eecc4f34752ab03
upstream: 41a5c1717bf4ad1b6084e8682de64b178eabc059
f70e0950f817b75ed1f01859f15d9c2b6a37dba2:
title: 'ACPI: processor_idle: Fix invalid comparison with insertion sort for latency'
mainline: 233323f9b9f828cd7cd5145ad811c1990b692542
upstream: c9d6e349f7aad4ab9c557047d357df256c15f25e
aac14d323840fa0e71308002c051ce8174804c77:
title: 'net: relax socket state check at accept time.'
mainline: 26afda78cda3da974fd4c287962c169e9462c495
upstream: 7de00adc9bd035d861ba4177848ca0bfa5ed1e04
3c99e72be6bf85c5e3e19ddf0e1a38a9eebbd4a6:
title: 'ocfs2: add bounds checking to ocfs2_check_dir_entry()'
mainline: 255547c6bb8940a97eea94ef9d464ea5967763fb
upstream: 13d38c00df97289e6fba2e54193959293fd910d2
7f65c3bae2493c58ef7d6ef1bf9ce717c71fb87d:
title: 'jfs: don''t walk off the end of ealist'
mainline: d0fa70aca54c8643248e89061da23752506ec0d4
upstream: 7f91bd0f2941fa36449ce1a15faaa64f840d9746
a429e9177821cfc3fc4b316b64e431ae613319c3:
title: 'filelock: Fix fcntl/close race recovery compat path'
mainline: f8138f2ad2f745b9a1c696a05b749eabe44337ea
upstream: a561145f3ae973ebf3e0aee41624e92a6c5cb38d

View File

@@ -1,661 +0,0 @@
dd6caa8da1ace4e2e4f02eb5284addebf4c5c2bb:
title: 'platform/chrome: cros_ec_debugfs: fix wrong EC message version'
mainline: c2a28647bbb4e0894e8824362410f72b06ac57a4
upstream: c0e53e36452d1b2a3ec71bf0586251245a5686c0
78659ded3dbb7237c1582e91776e86a6b3247515:
title: 'x86/of: Return consistent error type from x86_of_pci_irq_enable()'
mainline: ec0b4c4d45cf7cf9a6c9626a494a89cb1ae7c645
upstream: 56d64c36b2aac95c9c24e303fb746591ecfa096a
5f1342ecebaf8161a43bcc1b8958c280452c8171:
title: 'x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling'
mainline: 724852059e97c48557151b3aa4af424614819752
upstream: 600a520cc4e661aa712415e4a733924e9d22777d
125df213ac935a71782e5c091206853ff9cb5556:
title: 'x86/pci/xen: Fix PCIBIOS_* return code handling'
mainline: e9d7b435dfaec58432f4106aaa632bf39f52ce9f
upstream: 5294b91618250c7719e4c85096cafe8f76a1bc20
21be2282360c7df8b2535f9c2883674234dc7de2:
title: 'x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos'
mainline: 7821fa101eab529521aa4b724bf708149d70820c
upstream: 3f4f08e59ddf359da5bc4226ba865a59177a3a50
1dd63dd3a8a7617a90bc1a9068fedb6adf5f5aac:
title: 'hwmon: (adt7475) Fix default duty on fan is disabled'
mainline: 39b24cced70fdc336dbc0070f8b3bde61d8513a8
upstream: d9c01877d4ba1e39bbdc43faeeceeef2768be8e7
25d404099dccdfe51abb9f810a864ced8b9d912b:
title: 'pwm: stm32: Always do lazy disabling'
mainline: 7346e7a058a2c9aa9ff1cc699c7bf18a402d9f84
upstream: 383729f057245972e13fb0708c5ec7dd985fc50d
42cc04b6ae182a372082afc1c28d67f92fed5c29:
title: 'hwmon: (max6697) Fix underflow when writing limit attributes'
mainline: cbf7467828cd4ec7ceac7a8b5b5ddb2f69f07b0e
upstream: 21998f2c68edd4a7922875f34b39ce2bb78fabc0
625dffc4eaba4191520fb296a0e55743836bab4b:
title: 'hwmon: Introduce SENSOR_DEVICE_ATTR_{RO, RW, WO} and variants'
mainline: a5c47c0d388b939dd578fd466aa804b7f2445390
upstream: eb04482acd9870b84970fe1549203fedc1bbcc79
64785dce17bc282c55ed7f21c3fbc4391cdb1ab0:
title: 'hwmon: (max6697) Auto-convert to use SENSOR_DEVICE_ATTR_{RO, RW, WO}'
mainline: 740c2f2b86a71ad673f329241ac25cfe647aacd4
upstream: 7a72d79eef89ce242e08edb18f64106374117295
cb9e33d36836000d9a79d3b0121beee91c3323b9:
title: 'hwmon: (max6697) Fix swapped temp{1,8} critical alarms'
mainline: 1ea3fd1eb9869fcdcbc9c68f9728bfc47b9503f1
upstream: 6b52603ed8bdcceb9b8c16d2db7abd19e024fbe2
c731a44f2487b720039473b6255fba3ad26d7753:
title: 'arm64: dts: rockchip: Increase VOP clk rate on RK3328'
mainline: 0f2ddb128fa20f8441d903285632f2c69e90fae1
upstream: 513fff3e8574d3c5b54ef71b6514cda12123879e
266d74e904f119b2251094862e9f7d56c3fb74fe:
title: 'm68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages'
mainline: f70065a9fd988983b2c693631b801f25a615fc04
upstream: b6c2b179b6908e439b2385c25d7b3477e4be4dce
0d26a6a5f0bb7e82bfebf44b060294eec5a72b73:
title: 'x86/xen: Convert comma to semicolon'
mainline: 349d271416c61f82b853336509b1d0dc04c1fcbb
upstream: cb9ad82cf270ce5bdcf5e768af48966833cc3caa
8bc40077dd7c321cc45107a639c176d317892413:
title: 'm68k: cmpxchg: Fix return value for default case in __arch_xchg()'
mainline: 21b9e722ad28c19c2bc83f18f540b3dbd89bf762
upstream: 8c43fbd39500ce7bdc779a772752cc2b436a692c
5fa524af8685b00160e9e766bbe196804a007844:
title: 'wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device'
mainline: c636fa85feb450ca414a10010ed05361a73c93a6
upstream: f33757e8db8f33aba783b88120245ec53e5fa88a
1a85ab4b601786019135c37ec3f11927ba4a561d:
title: 'net: fec: Refactor: #define magic constants'
mainline: ff049886671ccd4e624a30ec464cb20e4c39a313
upstream: b072c604d58b1cd1079c4e2f0d22b1f469dda347
c3996b8fae20c268b6c49e70ea078bceb96d0c27:
title: 'net: fec: Fix FEC_ECR_EN1588 being cleared on link-down'
mainline: c32fe1986f27cac329767d3497986e306cad1d5e
upstream: 18074367ad100e129d0dccdaa64af6642363680b
2a3559125bd5fc024c30b1655b626abc0c2fa3eb:
title: 'ipvs: Avoid unnecessary calls to skb_is_gso_sctp'
mainline: 53796b03295cf7ab1fc8600016fa6dfbf4a494a0
upstream: 9340804ea465de0509a9afaeaaccf3fb74b14f9b
6f7bc617b3b66436641dba5329718933aea4b889:
title: 'perf: Fix perf_aux_size() for greater-than 32-bit size'
mainline: 3df94a5b1078dfe2b0c03f027d018800faf44c82
upstream: 542abbf58e88f34dfc659b63476a5976acf52c0e
26864f03cc21aaa1b9f2dbed5c8ad7bf676f2df4:
title: 'perf: Prevent passing zero nr_pages to rb_alloc_aux()'
mainline: dbc48c8f41c208082cfa95e973560134489e3309
upstream: d7b1a76f33e6fc93924725b4410126740c890c44
be35c98c5aa383407f62428c4169a79d5c243c26:
title: 'bna: adjust ''name'' buf size of bna_tcb and bna_ccb structures'
mainline: c9741a03dc8e491e57b95fba0058ab46b7e506da
upstream: f121740f69eda4da2de9a20a6687a13593e72540
ce58b8f17bfc9cfad7fafb57ebb626850d4802ba:
title: 'media: imon: Fix race getting ictx->lock'
mainline: 24147897507cd3a7d63745d1518a638bf4132238
upstream: 01b44d9e50a68ac3c645cc98a474455668dc8e70
e0b07e242c61e819acf0143bb2c23d4859b135db:
title: 'saa7134: Unchecked i2c_transfer function result fixed'
mainline: 9d8683b3fd93f0e378f24dc3d9604e5d7d3e0a17
upstream: 001583ad640c70987efd5af70566a69f146dc99c
0ae6e736f858e4c42ecf27fd1e8ecae18988ad81:
title: 'media: v4l: vsp1: Store pipeline pointer in vsp1_entity'
f0a224ecf4ca80033edee705bd34405dae4ea20a:
title: 'media: renesas: vsp1: Fix _irqsave and _irq mix'
mainline: 57edbbcf5258c378a9b9d0c80d33b03a010b22c8
upstream: ab1325f1074da2cfa1259417fb6c93a0886e74c8
49db8c90eba2da9ddc6f9a203a6d20984d1658a7:
title: 'media: renesas: vsp1: Store RPF partition configuration per RPF instance'
mainline: a213bc09b1025c771ee722ee341af1d84375db8a
upstream: ae16866626ecae26a7317e0372224d5480211ff7
39632d1c383813e9ddb20088f6e9a3b44ee70569:
title: 'perf report: Fix condition in sort__sym_cmp()'
mainline: cb39d05e67dc24985ff9f5150e71040fa4d60ab8
upstream: 2e6abffcb52a36c89c0a70499b86e0a99df15d1e
fa7e07d7ebb21ec8b937faeb3254a608c4d2eea2:
title: 'drm/etnaviv: fix DMA direction handling for cached RW buffers'
mainline: 58979ad6330a70450ed78837be3095107d022ea9
upstream: c7c74c8256206ffc27212ada1f998f5a05b8c54f
5e8bf661518b825696c6ee219e62292e6bc8df93:
title: 'ext4: avoid writing unitialized memory to disk in EA inodes'
mainline: 65121eff3e4c8c90f8126debf3c369228691c591
upstream: 282e8d4e9d33182a5ca25fe6333beafdc5282946
0549d286c615b284448fa4d449c322f3ae2aa55f:
title: 'sparc64: Fix incorrect function signature and add prototype for prom_cif_init'
mainline: a6c3ea1ec96307dbfbb2f16d96c674c5cc80f445
upstream: 6b4f676006a390edffd6a00f2ebc23276dd05031
02a0104454d95405c65536870fdc426e8663512d:
title: 'PCI: Equalize hotplug memory and io for occupied and empty slots'
mainline: de3ffa301142bf8802a7b0de17f9985acde5c223
upstream: 0012438a122c56d727712169df42fd0e297a42b0
0a5d6964e9374945dfef1227972e8cc1a2a6d5ef:
title: 'PCI: Fix resource double counting on remove & rescan'
mainline: 903534fa7d30214d8ba840ab1cd9e917e0c88e41
upstream: 2044071c6e42d041e3656bad105be5879f6b70f1
8e50a9f8175582f34a709024496217f3fca864e5:
title: 'RDMA/mlx4: Fix truncated output warning in mad.c'
mainline: 0d2e6992fc956e3308cd5376c18567def4cb3967
upstream: c4eaaf28068a99d8363bf02a20a32bf207be13e1
e9d4656f8f0c014de2ffcf8d4903c4630c43c72b:
title: 'RDMA/mlx4: Fix truncated output warning in alias_GUID.c'
mainline: 5953e0647cec703ef436ead37fed48943507b433
upstream: 087abc7e244700f741c0431af59b28e910a82dc1
117e5c14bbbb75364fabcb7d2e70e19167efc931:
title: 'RDMA/rxe: Don''t set BTH_ACK_MASK for UC or UD QPs'
mainline: 4adcaf969d77d3d3aa3871bbadc196258a38aec6
upstream: 796c0f32fc956b88c345195472e2d74823be0d03
550d6bbd2dedbc88697932ddbe5f930b20a4d7c1:
title: 'mtd: make mtd_test.c a separate module'
mainline: a5cf054d325e6f362e82fe6d124a1871a4af8174
upstream: 17b016971c27ee1e884da3ce502801cb95f84ff1
e547f41337badd93753b4fe3ae3817ed8400abd6:
title: 'Input: elan_i2c - do not leave interrupt disabled on suspend failure'
mainline: 5f82c1e04721e7cd98e604eb4e58f0724d8e5a65
upstream: 2ee59e846895b6b061defbc6cde83126f91b7abd
fd5b433d1390c5586bc367f3e10fbb226ad9e2ac:
title: 'MIPS: Octeron: remove source file executable bit'
mainline: 89c7f5078935872cf47a713a645affb5037be694
upstream: 12bc3aca7d100a8f749c2a6fcdb6be08ad41c105
971a6101e844da8bcbdd4bd046a826c6cc44d861:
title: 'powerpc/xmon: Fix disassembly CPU feature checks'
mainline: 14196e47c5ffe32af7ed5a51c9e421c5ea5bccce
upstream: 5b84d47a0baee13434fadb3b9506c39f51f9ab98
20b6b7a306d9487bb507af81df8e926b8141d902:
title: 'macintosh/therm_windtunnel: fix module unload.'
mainline: fd748e177194ebcbbaf98df75152a30e08230cc6
upstream: eeb9a0f79d8e4ea27b4f85a73f3765dc0046ab01
4f51eb5763820de8cf9bc32b26b20d19f7ccfc5d:
title: 'bnxt_re: Fix imm_data endianness'
mainline: 95b087f87b780daafad1dbb2c84e81b729d5d33f
upstream: dfb40b2535b298b34b37780fe8eced6d38e28c5c
ccfb620ebf3085fca54472461544c796cbd7db5d:
title: 'netfilter: ctnetlink: use helper function to calculate expect ID'
mainline: 782161895eb4ac45cf7cfa8db375bd4766cb8299
upstream: 66e7650dbbb8e236e781c670b167edc81e771450
ee8bf45248bc530e2dc9a0a7f833febbe89fd2e1:
title: 'pinctrl: core: fix possible memory leak when pinctrl_enable() fails'
mainline: ae1cf4759972c5fe665ee4c5e0c29de66fe3cf4a
upstream: 636f8fe03a14b0994a3dbdc05c8fa8c8296c1357
fbd206c9e544f6e8fbb844534d05817ab6ed637a:
title: 'pinctrl: single: fix possible memory leak when pinctrl_enable() fails'
mainline: 8f773bfbdd428819328a2d185976cfc6ae811cd3
upstream: 9dad82c7c7424c240db65f10ad999266f2967479
9521c0b13c94c6ad389f9a5d7f8213891d8924a7:
title: 'pinctrl: ti: ti-iodelay: Drop if block with always false condition'
mainline: 88b3f108502bc45e6ebd005702add46759f3f45a
upstream: 268b3ff414ae8942af9d6c981b5df8667c2b76b6
78e3f7ec45416b8b0a25ef8fcbf85b653f49d5bb:
title: 'pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails'
mainline: 9b401f4a7170125365160c9af267a41ff6b39001
upstream: 7d720f351714dcbeb578af67bb7e66326504826c
251acaffa0bd813f67f7a92082bdbd101c395f4d:
title: 'pinctrl: freescale: mxs: Fix refcount of child'
mainline: 7f500f2011c0bbb6e1cacab74b4c99222e60248e
upstream: c90d81a6e1f3daab4c06f7f8aba346abc76ae07a
2891e08c6f20e3c7b4b09dac8e949a195b46ff8c:
title: 'fs/nilfs2: remove some unused macros to tame gcc'
mainline: e7920b3e9d9f5470d5ff7d883e72a47addc0a137
upstream: 175ac70d8af52bc0f5b100901702fdb2bc662885
440e5d6b0d782ee0786d780761f57a117c904288:
title: 'nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro'
mainline: 0f3819e8c483771a59cf9d3190cd68a7a990083c
upstream: d2b9bc7dfd6b0fa1a37eb91e68bca3175cb5ef50
3065612975c688a1ea3f759a23856a4b9eefdc12:
title: 'tick/broadcast: Make takeover of broadcast hrtimer reliable'
mainline: f7d43dd206e7e18c182f200e67a8db8c209907fa
upstream: dfe19aa91378972f10530635ad83b2d77f481044
d5744057122276d5d9c9b33a8e567e963897d502:
title: 'net: netconsole: Disable target before netpoll cleanup'
mainline: 97d9fba9a812cada5484667a46e14a4c976ca330
upstream: 608a07143563a2a0d1edd57b2f4e95b0199fb497
6d8fa691e6733006d5c061a297fe601d126d748b:
title: 'af_packet: Handle outgoing VLAN packets without hardware offloading'
mainline: 79eecf631c14e7f4057186570ac20e2cfac3802e
upstream: 3dfd84aa72fa7329ed4a257c8f40e0c9aff4dc8f
f58439a91781f888dce8463243b4d83be380d21c:
title: 'ipv6: take care of scope when choosing the src addr'
mainline: abb9a68d2c64dd9b128ae1f2e635e4d805e7ce64
upstream: b4f67f09287392e0a2f7422199a193e37f2737af
058c66e9aa0cd80581ff06b9294521e05ea1d0dd:
title: 'media: venus: fix use after free in vdec_close'
mainline: a0157b5aa34eb43ec4c5510f9c260bbb03be937e
upstream: ad8cf035baf29467158e0550c7a42b7bb43d1db6
26722f11717342d8f7deeb0c23fa6814bc31a48c:
title: 'hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()'
mainline: 26a2ed107929a855155429b11e1293b83e6b2a8b
upstream: f7316b2b2f11cf0c6de917beee8d3de728be24db
d92238c8b1116bff1babca839d923d345128c202:
title: 'drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes'
mainline: cb520c3f366c77e8d69e4e2e2781a8ce48d98e79
upstream: f392c36cebf4c1d6997a4cc2c0f205254acef42a
2c7d6f35aea17924ebb60002a151c8e4909cb226:
title: 'drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes'
mainline: 2df7aac81070987b0f052985856aa325a38debf6
upstream: 13b5f3ee94bdbdc4b5f40582aab62977905aedee
1ac49c559cf87bd78734f326ef6db4c2d876d804:
title: 'm68k: amiga: Turn off Warp1260 interrupts during boot'
mainline: 1d8491d3e726984343dd8c3cdbe2f2b47cfdd928
upstream: 296185ef87e6184e364bd9e7c983089b8e606a55
4ed99f550b6316ae9cfa1ffdb6c4f053631117e6:
title: 'ext4: check dot and dotdot of dx_root before making dir indexed'
mainline: 50ea741def587a64e08879ce6c6a30131f7111e7
upstream: b80575ffa98b5bb3a5d4d392bfe4c2e03e9557db
839f30000100e2b3fb252f1755c4434cad12da0c:
title: 'ext4: make sure the first directory block is not a hole'
mainline: f9ca51596bbfd0f9c386dd1c613c394c78d9e5e6
upstream: d81d7e347d1f1f48a5634607d39eb90c161c8afe
b9bb3e4e90d4b44dc0667e7e5e24a8c4cd9eb9f5:
title: 'wifi: mwifiex: Fix interface type change'
mainline: a17b9f590f6ec2b9f1b12b1db3bf1d181de6b272
upstream: 98cf9959a20dc374b7bba4b9357203e54484be58
4e71b875b885df71c21f8f1fa380064b59fdd414:
title: 'leds: ss4200: Convert PCIBIOS_* return codes to errnos'
mainline: ce068e83976140badb19c7f1307926b4b562fac4
upstream: db1871789f3018c5b0788318d3b1c685f2decceb
63576e19060aa3b515c02583870bde5d75260ed8:
title: 'hwrng: amd - Convert PCIBIOS_* return codes to errnos'
mainline: 14cba6ace79627a57fb9058582b03f0ed3832390
upstream: d48e11483e3eb8ade86c57f4145644725cd33eed
31754844f0fd1fbfd0a6fd857ec7021240b6d3a3:
title: 'PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN'
mainline: fea93a3e5d5e6a09eb153866d2ce60ea3287a70d
upstream: e9cafb31aa498558d6ff7b28baed894db7d801f3
080400d0031e6b30ae84fa1722d55cb6a3376f8c:
title: 'binder: fix hang of unregistered readers'
mainline: 31643d84b8c3d9c846aa0e20bc033e46c68c7e7d
upstream: 229670361c29381b0e1677763590e4dbc209ecbe
0900cd07eb9119e80a55a97784e8cc1ca6390402:
title: 'scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds'
mainline: ce2065c4cc4f05635413f63f6dc038d7d4842e31
upstream: 5c9d1ac649469feaab4240c0c1b5920ea8649b50
24eb54283c4effe2b0c2d94401d19e0ff004e357:
title: 'f2fs: prevent newly created inode from being dirtied incorrectly'
27f9505abcdef5527ce43c5c21ecf89bc76f2278:
title: 'f2fs: fix to don''t dirty inode for readonly filesystem'
mainline: 192b8fb8d1c8ca3c87366ebbef599fa80bb626b8
upstream: 2d2916516577f2239b3377d9e8d12da5e6ccdfcf
e38af31723db1861d58b71410895872b72abc272:
title: 'ubi: eba: properly rollback inside self_check_eba'
mainline: 745d9f4a31defec731119ee8aad8ba9f2536dd9a
upstream: 29f2c831822fde87b78c73e5db6ecfb106473cff
a01900bb7d4f831a50f19c58b1b9e3c9aa9dd9d9:
title: 'decompress_bunzip2: fix rare decompression failure'
mainline: bf6acd5d16057d7accbbb1bf7dc6d8c56eeb4ecc
upstream: 16b92b031b4da174342bd909130731c55f20c7ea
930865dbd92b29bc57364695d561c289d693f72d:
title: 'scsi: qla2xxx: During vport delete send async logout explicitly'
mainline: 76f480d7c717368f29a3870f7d64471ce0ff8fb2
upstream: 086489256696eb774654a5410e86381c346356fe
b212bfa809f6d1235bbbb6c491621ce314b073a6:
title: 'perf/x86/intel/pt: Fix topa_entry base length'
mainline: 5638bd722a44bbe97c1a7b3fae5b9efddb3e70ff
upstream: b4030b619066aa1c20e075ce9382f103e0168145
dbffea43e8b704e5cb23e776be21c12a3e0f0b65:
title: 'watchdog/perf: properly initialize the turbo mode timestamp and rearm counter'
mainline: f944ffcbc2e1c759764850261670586ddf3bdabb
upstream: 6d94ca5d571dfdb34f12dc3f63273ea275e8f40c
8e28810fed0aaf5624155ae6974d1cc95623edf2:
title: 'platform: mips: cpu_hwmon: Disable driver on unsupported hardware'
mainline: f4d430db17b4ef4e9c3c352a04b2fe3c93011978
upstream: 0818a768c96a10343d08a622906adab54da6e014
4a7a97d0ef008b684e246ead6e1474949cb0b579:
title: 'RDMA/iwcm: Remove a set-but-not-used variable'
b4099074459a9baa637aba3a5fa6d814f32e5eb2:
title: 'RDMA/iwcm: Fix a use-after-free related to destroying CM IDs'
mainline: aee2424246f9f1dadc33faa78990c1e2eb7826e4
upstream: d91d253c87fd1efece521ff2612078a35af673c6
0a35556f0aa6435749d819919639e400943a3430:
title: 'selftests/sigaltstack: Fix ppc64 GCC build'
mainline: 17c743b9da9e0d073ff19fd5313f521744514939
upstream: 8010e0748cca059187021d194bb6d883d159e172
0e318baa084d870466c8cefaab8d2689e56d21e7:
title: 'nilfs2: handle inconsistent state in nilfs_btnode_create_block()'
mainline: 4811f7af6090e8f5a398fbdd766f903ef6c0d787
upstream: 19cce46238ffe3546e44b9c74057103ff8b24c62
2527458f09eb86ba89b673081c8a408c8a3f7591:
title: 'kdb: Fix bound check compiler warning'
mainline: ca976bfb3154c7bc67c4651ecd144fdf67ccaee7
upstream: b15593e2904d2ff0094b7170f806dba0eeefac75
fbcf6bbfac542e249d92ce80277a03dde0699305:
title: 'kdb: address -Wformat-security warnings'
mainline: 70867efacf4370b6c7cdfc7a5b11300e9ef7de64
upstream: 22a100556ceab8b906ad180788bd6bdc07390f50
4925aa995a5cf9f49c04fdd1257b1d8f341dd4f5:
title: 'kdb: Use the passed prompt in kdb_position_cursor()'
mainline: e2e821095949cde46256034975a90f88626a2a73
upstream: 90f2409c1d552f27a2b2bf8dc598d147c4173128
4c2dc9502e8728f3a9ba9029aeaa08fc01e420d1:
title: 'jfs: Fix array-index-out-of-bounds in diFree'
mainline: f73f969b2eb39ad8056f6c7f3a295fa2f85e313a
upstream: 55b732c8b09b41148eaab2fa8e31b0af47671e00
5a9dbd8f70793aba9e12d6d5216ce45cd9597a78:
title: 'dma: fix call order in dmam_free_coherent'
mainline: 28e8b7406d3a1f5329a03aa25a43aa28e087cb20
upstream: fe2d246080f035e0af5793cb79067ba125e4fb63
1184f039bc84987937ac8144df7a5daaffb0795c:
title: 'MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later'
mainline: a263e5f309f32301e1f3ad113293f4e68a82a646
upstream: 3213ac4e85945c54350ac06c09902d1c82211100
5b3e5dc382a0cab89cea2c533a0e5b65ae4d686e:
title: 'net: ip_rt_get_source() - use new style struct initializer instead of memset'
mainline: e351bb6227fbe2bb5da6f38a4cf5bd18810b0557
upstream: 0e8712254b48a7c6ebb76dce414a9539e772d406
ef5a6f1d6d270c55e210ed3775352ff75e2aa48e:
title: 'ipv4: Fix incorrect source address in Record Route option'
mainline: cc73bbab4b1fb8a4f53a24645871dafa5f81266a
upstream: 5c65e55e41e1300c4ebf4dda22a704b2beed2423
f204855673caa3a17b49c8b9642edcd269a4fac7:
title: 'net: bonding: correctly annotate RCU in bond_should_notify_peers()'
mainline: 3ba359c0cd6eb5ea772125a7aededb4a2d516684
upstream: 6c9261a2bdf614b376dbefa01e0c6bb32d14e019
1ae654c0cdf7bfcd142367568d3a1afbed7d54e8:
title: 'tipc: Return non-zero value from tipc_udp_addr2str() on error'
mainline: fa96c6baef1b5385e2f0c0677b32b3839e716076
upstream: 7ec3335dd89c8d169e9650e4bac64fde71fdf15b
70609fe847bf6600554b6f511b10015f76834d58:
title: 'mISDN: Fix a use after free in hfcmulti_tx()'
mainline: 61ab751451f5ebd0b98e02276a44e23a10110402
upstream: 70db2c84631f50e02e6b32b543700699dd395803
1967ea8b282b3b05c9da41c1e2426c3bfb04bf54:
title: 'mm: avoid overflows in dirty throttling logic'
mainline: 385d838df280eba6c8680f9777bfa0d0bfe7e8b2
upstream: 2b2d2b8766db028bd827af34075f221ae9e9efff
aff1d3ed73ce5882235d9f42c4510c642b9e1dac:
title: 'PCI: rockchip: Make ''ep-gpios'' DT property optional'
mainline: 58adbfb3ebec460e8b58875c682bafd866808e80
upstream: 11f71f0c562dbfbc3f3e2c56053bca42f7e8d71c
5a659bbb75dd76c32388a8b4c8ea8dff2aa79c12:
title: 'PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio'
mainline: 840b7a5edf88fe678c60dee88a135647c0ea4375
upstream: 8de378d17e5b737907c04acc2fab6d966a129f70
d34a87ca6e4c611b125d238c3a56b712a612acd6:
title: 'parport: parport_pc: Mark expected switch fall-through'
mainline: aa1f0fa374ed23528b915a693a11b0f275a299c0
upstream: f1af18ba5925abb275de8bf387fceb9fbf93a096
af0192bb58b539ec732125a76fe4d69660147cca:
title: 'parport: Convert printk(KERN_<LEVEL> to pr_<level>('
mainline: decf26f6ec25dac868782dc1751623a87d147831
upstream: cb2a998b88d173ec23423fa13ae2da463449728a
4582fe6f2d5fddcf7a63b59b666e8837f2cecf9a:
title: 'parport: Standardize use of printmode'
mainline: a6abfdff4fe5dd19d1f1b37d72ba34cd4492fd4d
upstream: 884ab25dbf115938facb91be85ffed9266e26f8b
598e7acd167941653c0a54d5732bad40db488504:
title: 'dev/parport: fix the array out-of-bounds risk'
mainline: ab11dac93d2d568d151b1918d7b84c2d02bacbd5
upstream: 166a0bddcc27de41fe13f861c8348e8e53e988c8
bdec7b3d4ccbcbd78fd4b6a2c6fe7a849754af52:
title: 'driver core: Cast to (void *) with __force for __percpu pointer'
mainline: d7aa44f5a1f86cb40659eef06035d8d92604b9d5
upstream: b9c258b2a02ba8d6d004f45a1eafa23fd810746b
9b6f7f34aae733309a35d9990d4a0cdf2d2eea3b:
title: 'devres: Fix memory leakage caused by driver API devm_free_percpu()'
mainline: bd50a974097bb82d52a458bd3ee39fb723129a0c
upstream: 700e8abd65b10792b2f179ce4e858f2ca2880f85
9ce7856eccc159df29f62b1e5ff0c6239422bf63:
title: 'perf/x86/intel/pt: Export pt_cap_get()'
mainline: f6d079ce867d679e4dffef5b3112c7634215fd88
upstream: bea2d4588e90f56da62b0dd9099484a42498b08a
2de7be6b1893e070e92da91bbaa35ce22950b189:
title: 'perf/x86/intel/pt: Use helpers to obtain ToPA entry size'
mainline: fffec50f541ace292383c0cbe9a2a97d16d201c6
upstream: e3fb71f7ecbf87228148c3287eac965927ef49be
ab03429ae696126f00509dac54b632bfb2282240:
title: 'perf/x86/intel/pt: Use pointer arithmetics instead in ToPA entry calculation'
mainline: 539f7c26b41d4ed7d88dd9756de3966ae7ca07b4
upstream: 67968b8c7603007751f140f3f9f8aa8e64fc26b2
a87ac310cc99adff1aa8315d829ce984dfc0cda6:
title: 'perf/x86/intel/pt: Split ToPA metadata and page layout'
mainline: 38bb8d77d0b932a0773b5de2ef42479409314f96
upstream: e9d9ec1019a90aafdb54765a3b46f36f402b481a
d6c356954a61ce5a5f851b9aa858f9d906e4228d:
title: 'perf/x86/intel/pt: Fix a topa_entry base address calculation'
mainline: ad97196379d0b8cb24ef3d5006978a6554e6467f
upstream: 418f7db13405953c2d9223275d365d9828169076
5d99fd6160cb1a1ecd0163220164b8d1fe2cecf6:
title: 'remoteproc: imx_rproc: ignore mapping vdev regions'
mainline: 8f2d8961640f0346cbe892273c3260a0d30c1931
upstream: 35df377f38fb516111933f132b51a386b4d4892f
c1239a005bbf4c6b43aec1155ac3d8466b640051:
title: 'remoteproc: imx_rproc: Fix ignoring mapping vdev regions'
mainline: afe670e23af91d8a74a8d7049f6e0984bbf6ea11
upstream: a80423f6566bc5085d6bbdd2acdb80aa20c0e915
3e1715ba7291483690f92608e08aba0d12c5ef70:
title: 'remoteproc: imx_rproc: Skip over memory region when node value is NULL'
mainline: 2fa26ca8b786888673689ccc9da6094150939982
upstream: 6884fd0283e0831be153fb8d82d9eda8a55acaaa
4aff76137ef2fa40ec1f424eb8e743673ffe5434:
title: 'drm/vmwgfx: Fix overlay when using Screen Targets'
mainline: cb372a505a994cb39aa75acfb8b3bcf94787cf94
upstream: 6f4bc8b021d3436e5dda88350d8e0ac3c8df400f
582d87d965d3600b178bbaf8947523e5478da1d1:
title: 'net/iucv: fix use after free in iucv_sock_close()'
mainline: f558120cd709682b739207b48cf7479fd9568431
upstream: 84f40b46787ecb67c7ad08a5bb1376141fa10c01
c04add3c9adf1402f47ff8f51dd2ee533e863a00:
title: 'ipv6: fix ndisc_is_useropt() handling for PIO'
mainline: a46c68debf3be3a477a69ccbf0a1d050df841676
upstream: 97a4f78feadc431a050cc26355f95ac3d73a4d4c
f4c005cc381764f082f66825073bb6c43f54fe14:
title: protect the fetch of ->fd[fd] in do_dup2() from mispredictions
mainline: 8aa37bde1a7b645816cda8b80df4753ecf172bf1
upstream: ed42e8ff509d2a61c6642d1825032072dab79f26
71a0712ba842211e6dc1a4f7e91dd6c7502eebe5:
title: 'ALSA: usb-audio: Correct surround channels in UAC1 channel map'
mainline: b7b7e1ab7619deb3b299b5e5c619c3e6f183a12d
upstream: f4eb853103674698416ba66d41317b1d869d4bdc
3f465b02b4b919181c45ef14fe5ca3638b87ac5c:
title: 'net: usb: sr9700: fix uninitialized variable use in sr_mdio_read'
mainline: 08f3a5c38087d1569e982a121aad1e6acbf145ce
upstream: 9f04dbd139aa1988fc8b7984ffbce7849be73f21
6f4e6f1f7e5d27fa977d9900aba67c9cc3c15d4e:
title: 'irqchip/mbigen: Fix mbigen node address layout'
mainline: 6be6cba9c4371d27f78d900ccfe34bb880d9ee20
upstream: 2f61f0c6b7411212acd6490c5629b0049e8eaefa
193653bb5bb78ddaa2698760912db0248833cccc:
title: 'net: usb: qmi_wwan: fix memory leak for not ip packets'
mainline: 7ab107544b777c3bd7feb9fe447367d8edd5b202
upstream: 3c90a69533b5bba73401ef884d033ea49ee99662
928a0513e3f0353f456c9734695c47a94f423c54:
title: 'net: linkwatch: use system_unbound_wq'
mainline: 3e7917c0cdad835a5121520fc5686d954b7a61ab
upstream: 3840189e4619af11f558e6faff80813f008246a6
0c7df8f6eff3aa1044d3f97dd249112dc4301778:
title: 'Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()'
mainline: c531e63871c0b50c8c4e62c048535a08886fba3e
upstream: 64f4938368f4be563b7652d6b18d37b317913b47
20cb64898909ba7ccad47d1e52e980ba859c29c0:
title: 'net: fec: Stop PPS on driver remove'
mainline: 8fee6d5ad5fa18c270eedb2a2cdf58dbadefb94b
upstream: 7762f5317db83b70099ed1b2c100df54abddaec1
a10b1779aca24535b14edba941cb59fbd35ce7c9:
title: 'md/raid5: avoid BUG_ON() while continue reshape after reassembling'
mainline: 305a5170dc5cf3d395bb4c4e9239bca6d0b54b49
upstream: 2c92f8c1c456d556f15cbf51667b385026b2e6a0
f9ec6971715991696e49430547551697f1153be6:
title: 'clocksource/drivers/sh_cmt: Address race condition for clock events'
mainline: db19d3aa77612983a02bd223b3f273f896b243cf
upstream: 026befb502ce41384e5119df12c9f2d4067cb23c
ca0a3431163788b838bdccff1eac2b84a30bee91:
title: 'PCI: Add Edimax Vendor ID to pci_ids.h'
mainline: eee5528890d54b22b46f833002355a5ee94c3bb4
upstream: a35a163cd56b583ef698eadef9b856b0fe6e2727
ed09bb9292ca0c02ada12cd5f17ef9e976cb5f8c:
title: 'udf: Fix signed/unsigned format specifiers'
12ce9c96b15650623040f0d999b91b5d12f9936f:
title: 'udf: prevent integer overflow in udf_bitmap_free_blocks()'
mainline: 56e69e59751d20993f243fb7dd6991c4e522424c
upstream: 097420e48e30f51e8f4f650b5c946f5af63ec1a3
a253db7576fd90aaa15b1dabec335f2f9df7c21e:
title: 'wifi: nl80211: don''t give key data to userspace'
mainline: a7e5793035792cc46a1a4b0a783655ffa897dfe9
upstream: f4d99b55dca90ca703bdd57ee8d557cd8d6c1639
dd102bb94b5dba7e5376f09504503f3bc2cf16da:
title: 'btrfs: fix bitmap leak when loading free space cache on duplicate entry'
mainline: 320d8dc612660da84c3b70a28658bb38069e5a9a
upstream: fad0bb34cfcea693903409356693988f04715b8e
feddc92ee4859f5e6c5a69135f94547740b292a9:
title: 'media: uvcvideo: Ignore empty TS packets'
mainline: 5cd7c25f6f0576073b3d03bc4cfb1e8ca63a1195
upstream: 019f538f9fe0b48bb436135edba69aa3a5156cdb
00a39f4e0adbb1b194e0a1ba2219e26c57042dc7:
title: 'media: uvcvideo: Fix the bandwdith quirk on USB 3.x'
mainline: 9e3d55fbd160b3ca376599a68b4cddfdc67d4153
upstream: eada6212c055089962ca3ee7b8ab11d8f4d0e4f5
82f1f40db08d606f0538e4a88e06a919b8656645:
title: 'jbd2: avoid memleak in jbd2_journal_write_metadata_buffer'
mainline: cc102aa24638b90e04364d64e4f58a1fa91a1976
upstream: 831db95409cc12589c14a71b9bf6c3e7f70bf5a0
6062fd1ee48c6cb081cbc525e31fd43fa9632dbc:
title: 'SUNRPC: Fix a race to wake a sync task'
mainline: ed0172af5d6fc07d1b40ca82f5ca3979300369f7
upstream: 06d281f0ad7504e9f250c6a9ef78d9e48cea5717
fb37e57b6e2f8217b201737f10af809289674469:
title: 'ext4: fix wrong unit use in ext4_mb_find_by_goal'
mainline: 99c515e3a860576ba90c11acbc1d6488dfca6463
upstream: 585b8d86c39882425f737b800e7552fb42a4785f
7a346f1ce3ab37134f2365ab6a74422747285fdb:
title: 'i2c: smbus: Don''t filter out duplicate alerts'
mainline: dca0dd28fa5e0a1ec41a623dbaf667601fc62331
upstream: 6adca954fc039151ef4f9c1ea1f201e12a24593d
c364d250ada36665ea06f204449d1162cb5e1432:
title: 'i2c: smbus: Improve handling of stuck alerts'
mainline: 37c526f00bc1c4f847fc800085f8f009d2e11be6
upstream: 9540badee607a99cc07bddbd0a7d4a01fd3b9661
a0bb631d7d0a1773ebbb427ac8564ae8818b4dfe:
title: 'i2c: smbus: Send alert notifications to all devices if source not found'
mainline: f6c29f710c1ff2590109f83be3e212b86c01e0f3
upstream: 3b20631d0704fe4f6bf4cf9a49fd19871ebaeffb
5ec8022d2f6ecf35ce105eafaf28b73c46619207:
title: 'spi: lpspi: Switch to SPDX identifier'
0ef61696a9fff3915fb5aa6f7bb9f89682d10ad9:
title: 'spi: lpspi: Replace all "master" with "controller"'
mainline: 07d71557494c05b0651def1651bf6d7e7f47bbbb
upstream: bebc69b574d6a3c54e8951dd891e78a20e2a3f54
12bfab716ae4cd47449d7636a25326099daa10a9:
title: 'spi: lpspi: Add slave mode support'
mainline: bcd87317aae26b9ac497cbc1232783aaea1aeed4
upstream: b1b5a04eadd9b786dcd4bc82e726498a8f6fd50a
6a6c19da1d3917fc8c51d2fd69b667a5e7b192ec:
title: 'spi: lpspi: Let watermark change with send data length'
mainline: cf86874bb9bdb99ba3620428b59b0408fbc703d0
upstream: 8f8b12339ef7cc8e15989f6445aad5a9bf8c00f5
dc2d2de15c66a8e41275b4d59e6082955e477991:
title: 'spi: lpspi: Add i.MX8 boards support for lpspi'
mainline: f5e5afdb0e56e81123e02b6a64dd32adc19a90d4
upstream: 0b536d6c52a88b6a5a7f40d1ac91ffe170b8df87
030b58b3539d0fdccf6284113c29f60c76b60916:
title: 'spi: lpspi: add the error info of transfer speed setting'
mainline: 77736a98b859e2c64aebbd0f90b2ce4b17682396
upstream: 3bb46e26783c3c86e67172f695908a066be69e12
d859e0255cb169a2d7aa96b42defafd7c515df0c:
title: 'spi: fsl-lpspi: remove unneeded array'
mainline: 2fa98705a9289c758b6154a22174aa8d4041a285
upstream: da6cc32c245500f417e4b96d67722b8a0a07fd94
dcde078eb1be234c810305963c845eaa63f20813:
title: 'spi: spi-fsl-lpspi: Fix scldiv calculation'
mainline: 730bbfaf7d4890bd99e637db7767dc68cfeb24e7
upstream: 81964823116357a636201afa4010fa30f050446e
9ab8902f51b8ac3c51666922a9719c1e4d81f105:
title: 'ALSA: line6: Fix racy access to midibuf'
mainline: 15b7a03205b31bc5623378c190d22b7ff60026f1
upstream: 643293b68fbb6c03f5e907736498da17d43f0d81
d41cf1c7bc4e9706d684d3fb2c24046f673ffb78:
title: 'usb: vhci-hcd: Do not drop references before new references are gained'
mainline: afdcfd3d6fcdeca2735ca8d994c5f2d24a368f0a
upstream: 5a3c473b28ae1c1f7c4dc129e30cb19ae6e96f89
95314b1272d1d96f5737c5b1e208fabd1128db3c:
title: 'USB: serial: debug: do not echo input by default'
mainline: 00af4f3dda1461ec90d892edc10bec6d3c50c554
upstream: 1907ed1be026c771086e6adc560f38dc50e82382
551fbbddb6f5ff52bdb1c0cdb3d096e359e088da:
title: 'usb: gadget: core: Check for unset descriptor'
mainline: 973a57891608a98e894db2887f278777f564de18
upstream: ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a
b41af170f9ad55d4780688b92c032579655218fe:
title: 'scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic'
mainline: ab9fd06cb8f0db0854291833fc40c789e43a361f
upstream: c4da5b5deb343346909920c41645ad85adff4c6c
6fad54cc7a6c8c4750209bfcff1b54dd60b086db:
title: 'tick/broadcast: Move per CPU pointer access into the atomic section'
mainline: 6881e75237a84093d0986f56223db3724619f26e
upstream: f54abf332a2bc0413cfa8bd6a8511f7aa99faea0
07f7f40df90538c4bacb06d64ededc68b6d6e9bf:
title: 'ntp: Clamp maxerror and esterror to operating range'
mainline: 87d571d6fb77ec342a985afa8744bb9bb75b3622
upstream: 9dfe2eef1ecfbb1f29e678700247de6010784eb9
c72f8e96b8386d50894df2faed9718d7cbfc312d:
title: 'driver core: Fix uevent_show() vs driver detach race'
mainline: 15fffc6a5624b13b428bb1c6e9088e32a55eb82c
upstream: 49ea4e0d862632d51667da5e7a9c88a560e9c5a1
53390d85b1f4fca100eca68612fe9ae736ef5caf:
title: 'ntp: Safeguard against time_constant overflow'
mainline: 06c03c8edce333b9ad9c6b207d93d3a5ae7c10c0
upstream: a13f8b269b6f4c9371ab149ecb65d2edb52e9669
1d33b86b2b99774eae26926b2f5f4900f826638f:
title: 'serial: core: check uartclk for zero to avoid divide by zero'
mainline: 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193
upstream: 3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba
d9b1fa9a24e5ba3115a289421d535abf954efd7a:
title: 'power: supply: axp288_charger: Fix constant_charge_voltage writes'
mainline: b34ce4a59cfe9cd0d6f870e6408e8ec88a964585
upstream: f1aa9f19da35f72ce8ec3196f0a7bc06e296aaeb
bd9bfbcc05c1c7af22dfa9ca8b2ff1d6395db661:
title: 'power: supply: axp288_charger: Round constant_charge_voltage writes down'
mainline: 81af7f2342d162e24ac820c10e68684d9f927663
upstream: e3cb8400a72a9e5e25365d380b290cdd50ccdb5c
b28271a4428daf3c20b71a8e7cf218a4c38c698b:
title: 'tracing: Fix overflow in get_free_elt()'
mainline: bcf86c01ca4676316557dd482c8416ece8c2e143
upstream: 302ceb625d7b990db205a15e371f9a71238de91c
4f0b886693fe2a82d8896cd431eb529777e1bbdc:
title: 'x86/mtrr: Check if fixed MTRRs exist before saving them'
mainline: 919f18f961c03d6694aa726c514184f2311a4614
upstream: 34f36e6ee5bd7eff8b2adcd9fcaef369f752d82e
d5775da332c5377cc22a6e497a9b324c1f2fe2a1:
title: 'drm/bridge: analogix_dp: Check AUX_EN status when doing AUX transfer'
a413584fad9b551cb6e15f5e8a05f94d16871585:
title: 'drm/bridge: analogix_dp: Reset aux channel if an error occurred'
9f77a8ee77d6ec538dbccfc03c463586323300d0:
title: 'drm/bridge: analogix_dp: Properly log AUX CH errors'
5dfe0cc24eab4d1e640e3cfc7ef155216fb29f2a:
title: 'drm/bridge: analogix_dp: properly handle zero sized AUX transactions'
mainline: e82290a2e0e8ec5e836ecad1ca025021b3855c2d
upstream: 52f05898629b25fc382754d837be624205ce67f8
e391c9f51faaf4a35bb29343af0d29164938363a:
title: 'drm/mgag200: Set DDC timeout in milliseconds'
mainline: ecde5db1598aecab54cc392282c15114f526f05f
upstream: 7db72e8e538e10afefe589d6203ffb4f5a1cbd9a
6bd6cf1374f27ba771760e53caf8c276e794b638:
title: 'kbuild: Fix ''-S -c'' in x86 stack protector scripts'
mainline: 3415b10a03945b0da4a635e146750dfe5ce0f448
upstream: 9dd6e5296c8ad1bbb88933b8150383bc0eba9488
9aee9974b20b6907210221aba005ec36135348a4:
title: 'netfilter: nf_tables: set element extended ACK reporting support'
mainline: b53c116642502b0c85ecef78bff4f826a7dd4145
upstream: 61fbbac22c8ce73d0c492caf45a286c3f021c0fd
827a69923a6dddeb669678005299af5144147452:
title: 'drm/i915: Try GGTT mmapping whole object as partial'
3ccfe379cab98c308e84733885655b1c7c956b80:
title: 'drm/i915/gem: Fix Virtual Memory mapping boundaries calculation'
mainline: 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3
upstream: 3e06073d24807f04b4694108a8474decb7b99e60
02acb3b20db4e8372b854be6ce9846446def401c:
title: 'exec: Fix ToCToU between perm check and set-uid/gid usage'
mainline: f50733b45d865f91db90919f8311e2127ce5a0cb
upstream: d5c3c7e26275a2d83b894d30f7582a42853a958f
92af3424a5a42e8014f39c82996fe01a8ba6aaf0:
title: 'nvme/pci: Add APST quirk for Lenovo N60z laptop'
mainline: ab091ec536cb7b271983c0c063b17f62f3591583
upstream: 9cc0878c7d7f12c10b3cc40197668816c918b465
af183b69eaca031e9e4833d356ba1ef6c2adbaba:
title: 'Revert "selftests: make order checking verbose in msg_zerocopy selftest"'
2cb49c145133dc3d8b38832afe4be57ffc94836a:
title: 'Revert "selftests: fix OOM in msg_zerocopy selftest"'
d110d6dd927f5a2911fc5e697a14026eacc5da69:
title: 'Revert "selftests/net: reap zerocopy completions passed up as ancillary data."'
2d49c59f9120bc00d0cf6f055311d8f9ab7bb90d:
title: 'selftests: fix OOM in msg_zerocopy selftest'
mainline: af2b7e5b741aaae9ffbba2c660def434e07aa241
144aa689351646efa81ec2ad9f0ba41599d9ffc8:
title: 'selftests: make order checking verbose in msg_zerocopy selftest'
mainline: 7d6d8f0c8b700c9493f2839abccb6d29028b4219
795faf9727a66039c7c80e011fe0bad5bd88dd83:
title: 'net: fix __dst_negative_advice() race'
mainline: 92f1655aa2b2294d0b49925f3b875a634bd3b59e

View File

@@ -1,348 +0,0 @@
fcb5aec66ce07e8329a51583b152150aa659236a:
title: 'fuse: Initialize beyond-EOF page contents before setting uptodate'
mainline: 3c0da3d163eb32f1f91891efaade027fa9b245b9
upstream: 49934861514d36d0995be8e81bb3312a499d8d9a
3d810347c95892c8f2ad7524a9dfac7643a838d2:
title: 'ALSA: usb-audio: Support Yamaha P-125 quirk entry'
mainline: c286f204ce6ba7b48e3dcba53eda7df8eaa64dd9
upstream: 05c60b306979935e5e4f2339a0ceece783893813
ceb3e3f9e1dc2aabfbe3ad010e400a085270ea3b:
title: 'dm resume: don''t return EINVAL when signalled'
mainline: 7a636b4f03af9d541205f69e373672e7b2b60a8a
upstream: a809f6d8b10ce6d42e205a49c8855def77e1d452
058be20653b9ce45b758e8e9f41c91f4fd51eebc:
title: 'dm persistent data: fix memory allocation failure'
mainline: faada2174c08662ae98b439c69efe3e79382c538
upstream: 90a6b797e95d0f4bef30fbab423759f4e9999506
90707a9e8cb97a896468af8280e33c377c001ed2:
title: 'include/linux/bitmap.h: make bitmap_fill() and bitmap_zero() consistent'
e12d520dc158be6dc4177147186a5ae53ebc2aaa:
title: 'selinux: fix potential counting error in avc_add_xperms_decision()'
mainline: 379d9af3f3da2da1bbfa67baf1820c72a080d1f1
upstream: 5d93f05ed258c92a8925b74bc36101af36c22732
854d4d53234aa5ebf5ec8dc947cb5a8e3288bf9d:
title: 'drm/amdgpu: Actually check flags for all context ops.'
mainline: 0573a1e2ea7e35bff08944a40f1adf2bb35cea61
upstream: c5e2c86aef97d4b17ccb52879ab524a36a93566d
6f2b82ee5ceb2de5411a2742b352030f08ae183b:
title: 'memcg_write_event_control(): fix a user-triggerable oops'
mainline: 046667c4d3196938e992fba0dfcde570aa85cd0e
upstream: fa5bfdf6cb5846a00e712d630a43e3cf55ccb411
0671b47894f55a65eee7907574ae9a4e6a681be8:
title: 's390/cio: rename bitmap_size() -> idset_bitmap_size()'
mainline: c1023f5634b9bfcbfff0dc200245309e3cde9b54
upstream: 537201a9c9d82d3809de8e692465671b98d7cf77
ebb9622683941bdd58ebee5b744d9dd27d2cbe92:
title: 'overflow.h: Add flex_array_size() helper'
mainline: b19d57d0f3cc6f1022edf94daf1d70506a09e3c2
upstream: 81bec94f5d864318fa4fccfd06e5449c501885b7
c698c6c7ce9f267ce483b4276c10daedfae14295:
title: 'overflow: Implement size_t saturating arithmetic helpers'
mainline: e1be43d9b5d0d1310dbd90185a8e5c7145dde40f
upstream: 1f5cbd78177975aece64bb132948f611af2359c0
5e78e68997f6e81f5ea7b7d7adcb0299f6cbe0eb:
title: 'btrfs: rename bitmap_set_bits() -> btrfs_bitmap_set_bits()'
mainline: 4ca532d64648d4776d15512caed3efea05ca7195
upstream: eeca0881c04b07e053cd24b455012b6abd164328
9c791f3833511ef47bd93f0069b3f216dc800843:
title: 'atm: idt77252: prevent use after free in dequeue_rx()'
mainline: a9a18e8f770c9b0703dab93580d0b02e199a4c79
upstream: 628ea82190a678a56d2ec38cda3addf3b3a6248d
cb51898f8eec5dd8524115da29d9414c6a117f67:
title: 'ssb: Fix division by zero issue in ssb_calc_clock_rate'
mainline: e0b5127fa134fe0284d58877b6b3133939c8b3ce
upstream: b0862789cc11a214d31b6ff9c74bfede90dfb68d
f4d17cd8acb0d59a0c6e16c00d411e4047ce4af9:
title: 'wifi: cw1200: Avoid processing an invalid TIM IE'
mainline: b7bcea9c27b3d87b54075735c870500123582145
upstream: 2d109cefa3a51a6d826914f441a40d9efb1143b6
f22c4b1e57a22b1e5b6a0754286c8136ed290c14:
title: 'staging: ks7010: disable bh on tx_dev_lock'
mainline: 058cbee52ccd7be77e373d31a4f14670cfd32018
upstream: 936a24249747e0d995fc2d66524b043a3d158705
0f4437492406977e2f14c77e67956facd888765d:
title: 'binfmt_misc: cleanup on filesystem umount'
mainline: 1c5976ef0f7ad76319df748ccb99a4c7ba2ba464
upstream: 263bcebf5c2ab1fe949517225157f34015124620
5e532c67718aa680857ff1bf76bf470f93dbf92d:
title: 'scsi: spi: Fix sshdr use'
mainline: 0b149cee836aa53989ea089af1cb9d90d7c6ac9e
upstream: 5fe4af45db7988a0df3533d45aba085771654811
431cbbd124292f497b4862a88ac60015765adb49:
title: 'gfs2: setattr_chown: Add missing initialization'
mainline: 2d8d7990619878a848b1d916c2f936d3012ee17d
upstream: 686ef69ca191dcba8d325334c65a04a2589383e6
e0961317d13c9d29d8901ab4053bf102b9595b6e:
title: 'wifi: iwlwifi: abort scan when rfkill on but device enabled'
mainline: 3c6a0b1f0add72e7f522bc9145222b86d0a7712a
upstream: 6b344eb86f3b47e18d8fc2b0ae3e8e927f098994
4297287b1132064e10b140991aa9d465d1926c24:
title: 'powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu'
mainline: 45b1ba7e5d1f6881050d558baf9bc74a2ae13930
upstream: 479a0cffcca7e3672a7db5f9e23b147fb6cfba39
0c2fd9f775685c502a30310255f91b826b979cbf:
title: 'ext4: do not trim the group with corrupted block bitmap'
mainline: 172202152a125955367393956acf5f4ffd092e0d
upstream: cac7c9fcd15e92184c8e621b1f33d97d99505366
df321d5b02416398d284e7af74bf4dfce4879e83:
title: 'quota: Remove BUG_ON from dqget()'
mainline: 249f374eb9b6b969c64212dd860cc1439674c4a8
upstream: c08d02053b9e98dffea9b9b378dc90547e4621e8
4e2660eb12ff478bc6604d3b6d34d5052a2e5a3e:
title: 'media: pci: cx23885: check cx23885_vdev_init() return'
mainline: 15126b916e39b0cb67026b0af3c014bfeb1f76b3
upstream: 8e31b096e2e1949bc8f0be019c9ae70d414404c6
eba1af4c431230bd41b1018f1000f95e02f2ef92:
title: 'fs: binfmt_elf_efpic: don''t use missing interpreter''s properties'
mainline: 15fd1dc3dadb4268207fa6797e753541aca09a2a
upstream: 8ca5b21fa9b2c13aad93a97992b92f9360988fe9
7cb20343fea9c616687a8ba6feb41a543f94e57e:
title: 'scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list()'
mainline: 3d0f9342ae200aa1ddc4d6e7a573c6f8f068d994
upstream: 50568ec1402e601125845835c326310031c65c81
8ab663cd2711e234d222565fc86632a09319263a:
title: 'net/sun3_82586: Avoid reading past buffer in debug output'
mainline: 4bea747f3fbec33c16d369b2f51e55981d7c78d0
upstream: 7783533f788e59691102bae6e2df03f2109624de
7ce64ccc2ff813b5cccd19298f889c464cab3f4d:
title: 'md: clean up invalid BUG_ON in md_ioctl'
mainline: 9dd8702e7cd28ebf076ff838933f29cf671165ec
upstream: 5c11581df1f58c43ce8b2e9c14184ab1f75c883f
172e698211ff81d1c66161b4591efc8c21c350dc:
title: 'parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367'
mainline: 73cb4a2d8d7e0259f94046116727084f21e4599f
upstream: fea29d479eb470102cd025d9279503a2bfd28c60
d8893f4de9af18d7878cef063d94387d122e9901:
title: 'powerpc/boot: Handle allocation failure in simple_realloc()'
mainline: 69b0194ccec033c208b071e019032c1919c2822d
upstream: cd146e31691187ec22b404a2771db199d370d59d
8d63c5821851b1b13fe34eb0d41189cc05b498a9:
title: 'powerpc/boot: Only free if realloc() succeeds'
mainline: f2d5bccaca3e8c09c9b9c8485375f7bdbb2631d2
upstream: 1180feef209487d2a95ba8fede71ec6add2e8e52
b52a80ebbf8e6be987ee8e40a7a1d7e550cafe3f:
title: 'btrfs: change BUG_ON to assertion when checking for delayed_node root'
mainline: be73f4448b607e6b7ce41cd8ef2214fdf6e7986f
upstream: be9ce497c7cb293f93cf98ef563b6456bac75686
4ae1ece59eff262456026a20164702f8ecfa2875:
title: 'btrfs: handle invalid root reference found in may_destroy_subvol()'
mainline: 6fbc6f4ac1f4907da4fc674251527e7dc79ffbf6
upstream: ebce7d482d1a08392362ddf936ffdd9244fb1ece
b1410389811d63127bd09bd1f21adba03e686b23:
title: 'btrfs: send: handle unexpected data in header buffer in begin_cmd()'
mainline: e80e3f732cf53c64b0d811e1581470d67f6c3228
upstream: f0b54836bf2ff59b866a6db481f9ad46fa30b642
0a7ed5945f5b2fb92877188e2ebc78067937f7cc:
title: 'btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_account_extent()'
mainline: f40a3ea94881f668084f68f6b9931486b1606db0
upstream: 5ae1493c5eac1a7a7ced34970a24cb3a5680a63b
00705650825973da3c2fceae82def9e4eda121e4:
title: 'f2fs: fix to do sanity check in update_sit_entry'
mainline: 36959d18c3cf09b3c12157c6950e18652067de77
upstream: 3c2c864f19490da6e892290441ba7dcc7bae2576
7bc6f5f8bbb72993c108fa3f26283bd9c1406cc0:
title: 'usb: gadget: fsl: Increase size of name buffer for endpoints'
mainline: 87850f6cc20911e35eafcbc1d56b0d649ae9162d
upstream: 29d8f0e05a33200db97d4b38c995c843a70f71e5
4eb6b4890ed3c23303144f9a5cd341b7b22a1612:
title: 'Bluetooth: bnep: Fix out-of-bound access'
mainline: 0f0639b4d6f649338ce29c62da3ec0787fa08cd1
upstream: 01ed379cb5ddc0049a348786b971fe53a31e6255
cfe972295c3312e0a91aa910d94770ecd44179ac:
title: 'NFS: avoid infinite loop in pnfs_update_layout.'
mainline: 2fdbc20036acda9e5694db74a032d3c605323005
upstream: 4980d45cca2b1135a1ab3dea101425cf44da72cd
ca6e68d71ece21decaa46ff8b3694570e712b738:
title: 'openrisc: Call setup_memory() earlier in the init sequence'
mainline: 7b432bf376c9c198a7ff48f1ed14a14c0ffbe1fe
upstream: 3979298b8033989f86d74ab47745e5fbe84a4ebb
4832811162db2d2312cb89ee37849338312e6590:
title: 's390/iucv: fix receive buffer virtual vs physical address confusion'
mainline: 4e8477aeb46dfe74e829c06ea588dd00ba20c8cc
upstream: da6cc71ff6c8e6b5076e80550b4e79a3d8f111be
a4dc7b3a5f855afff980b9dcb0e2ceb24f7868d2:
title: 'usb: dwc3: core: Skip setting event buffers for host only controllers'
mainline: 89d7f962994604a3e3d480832788d06179abefc5
upstream: 320bb9a5a6b79ba123d1e1f746edb52b41c7c1fb
2236d13af575a3658cee60e8db880740509d5b66:
title: 'irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc'
mainline: 382d2ffe86efb1e2fa803d2cf17e5bfc34e574f3
upstream: 139510ec274c7cc8739bb8f63aed70e425c2f0d8
90ef0457118eaeab238228f223059b1f93389d73:
title: 'ext4: set the type of max_zeroout to unsigned int to avoid overflow'
mainline: 261341a932d9244cbcd372a3659428c8723e5a49
upstream: 2f64ae32831e5a2bfd0e404c6e63b399eb180a0a
2e31c2b032e1c2868c06b57b319907c83004eddc:
title: 'nvmet-rdma: fix possible bad dereference when freeing rsps'
mainline: 73964c1d07c054376f1b32a62548571795159148
upstream: 66fce1c83e2def702dd6a7fb77e986c062b20972
b02d82c6edb6abc9c87d281af2b3050e618f2fa1:
title: 'hrtimer: Prevent queuing of hrtimer without a function callback'
mainline: 5a830bbce3af16833fe0092dec47b6dd30279825
upstream: ccef3adcb84816a30b8e535c8c4fcb167904e7b1
8e448b4536e8b8cc387052bdb058ca595627bf1f:
title: 'gtp: pull network headers in gtp_dev_xmit()'
mainline: 3a3be7ff9224f424e485287b54be00d2c6bd9c40
upstream: 3d89d0c4a1c6d4d2a755e826351b0a101dbc86f3
30a1325eab21676ba9c453de44e70fe598a6b8e0:
title: 'block: use "unsigned long" for blk_validate_block_size().'
mainline: 37ae5a0f5287a52cf51242e76ccf198d02ffe495
upstream: ee12aa483f6c8cecbd5a4c794867fee0e068b822
52e5665bbc50c235e1498d2f40d1004c817a7895:
title: 'Bluetooth: Make use of __check_timeout on hci_sched_le'
mainline: 1b1d29e5149990e44634b2e681de71effd463591
upstream: 67cddb2a1b256941952ebf501f8fc4936b704c8b
874a31d69b75d57b7e017d7418a5e4ab4e537dc0:
title: 'Bluetooth: hci_core: Fix not handling link timeouts propertly'
mainline: 116523c8fac05d1d26f748fee7919a4ec5df67ea
upstream: edb7dbcf8c1e95dc18ada839526ff86df3258d11
ac7a5e553fe290082863eac89a4c79ec941a947c:
title: 'Bluetooth: hci_core: Fix LE quote calculation'
mainline: 932021a11805b9da4bd6abf66fe233cccd59fe0e
upstream: 08829a8ff1303b1a903d1417dc0a06ffc7d17044
6bff278ca0373109466e5e16c2b5b7feb2d275cc:
title: 'kcm: Serialise kcm_sendmsg() for the same socket.'
mainline: 807067bf014d4a3ae2cc55bd3de16f22a01eb580
upstream: 8c9cdbf600143bd6835c8b8351e5ac956da79aec
7308cdf114aa3e10b931d967f9c6224bea4da005:
title: 'netfilter: nft_counter: Synchronize nft_counter_reset() against reader.'
mainline: a0b39e2dc7017ac667b70bdeee5293e410fab2fb
upstream: 31c28919a99f5c491e3cce4fa7293b12e330e247
9011fa8f8e5bc75aa260d56c3c0f6fbfbd4f55d1:
title: 'ipv6: prevent UAF in ip6_send_skb()'
mainline: faa389b2fbaaec7fd27a390b4896139f9da662e3
upstream: 571567e0277008459750f0728f246086b2659429
019fc01257a13f075f7bd93a6fa8e02d822dacbd:
title: 'net: xilinx: axienet: Always disable promiscuous mode'
mainline: 4ae738dfef2c0323752ab81786e2d298c9939321
upstream: e15ae5f903e1e54594a55146973d1e615519ae97
a2b9cfe9687c3389a4cbc8b8e665baad4ef6087f:
title: 'mmc: mmc_test: Fix NULL dereference on allocation failure'
mainline: a1e627af32ed60713941cbfc8075d44cad07f6dd
upstream: e97be13a9f51284da450dd2a592e3fa87b49cdc9
ff165baf4bce33ecf7d628676ff606401ceb317f:
title: 'Bluetooth: MGMT: Add error handling to pair_device()'
mainline: 538fd3921afac97158d4177139a0ad39f056dbb2
upstream: 11b4b0e63f2621b33b2e107407a7d67a65994ca1
0ab5b59ccee3b6a0b46021458d60a8a7d3497bcc:
title: 'HID: wacom: Defer calculation of resolution until resolution_code is known'
mainline: 1b8f9c1fb464968a5b18d3acc1da8c00bad24fad
upstream: 10ddadfab0272f37c9c73095c089970e65b38824
9d1b2b527ab3dd13c18c3460b50f474ede01cacf:
title: 'mmc: dw_mmc: allow biu and ciu clocks to defer'
mainline: 6275c7bc8dd07644ea8142a1773d826800f0f3f7
upstream: 714ac96c0d6e594b50d89d79e07ae76d22040b73
408390db2ed1d018b5f958bec4dc86cf1d27fe77:
title: 'ALSA: timer: Relax start tick time check for slave timer elements'
mainline: ccbfcac05866ebe6eb3bc6d07b51d4ed4fcde436
upstream: bfe0ba951567d9e4a2c60424d12067000ee27158
2ec8267b2741c4c576ec568dbfb4802d2880345f:
title: 'Bluetooth: hci_ldisc: check HCI_UART_PROTO_READY flag in HCIUARTGETPROTO'
mainline: 9c33663af9ad115f90c076a1828129a3fbadea98
upstream: aea24ef5e9b2bbc5d5d05e39b10573971b91241c
f0ca8ebc5b58f920ed33dd6bd7d7e515744eb362:
title: 'Input: MT - limit max slots'
mainline: 99d3bf5f7377d42f8be60a6b9cb60fb0be34dceb
upstream: 2829c80614890624456337e47320289112785f3e
c3429e72b0b782a2bbaafb19d69018b65d0bd26f:
title: 'drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc'
mainline: 88a9a467c548d0b3c7761b4fd54a68e70f9c0944
upstream: d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8
88f275a1e9972573add8003dc920818f17e8750a:
title: 'pinctrl: single: fix potential NULL dereference in pcs_get_function()'
mainline: 1c38a62f15e595346a1106025722869e87ffe044
upstream: 0a2bab5ed161318f57134716accba0a30f3af191
202eaab237a3cc7da4b688a77234744f62f31ccf:
title: 'wifi: mwifiex: duplicate static structs used in driver instances'
mainline: 27ec3c57fcadb43c79ed05b2ea31bc18c72d798a
upstream: 42a15750b777edcb9be4eeea16ea04c0c4869cdc
17fc0471635d9dca0781f8c90dbbd4161950b9fc:
title: 'dm suspend: return -ERESTARTSYS instead of -EINTR'
mainline: 1e1fd567d32fcf7544c6e09e0e5bc6c650da6e23
upstream: ac7f3b1e424f2f38e81d27d7e1ecb30dcd9dd651
2df5bdcc5b24b465d66f322073a523ba9ed852f3:
title: 'scsi: mpt3sas: Avoid IOMMU page faults on REPORT ZONES'
mainline: 82dbb57ac8d06dfe8227ba9ab11a49de2b475ae5
upstream: 868e60c28c2e838a005b41d2f69e923a07080a48
3ae8e605510b7e72f71d9537919b3d83f01d5e07:
title: 'filelock: Correct the filelock owner in fcntl_setlk/fcntl_setlk64'
63dc7ea2f1a4d9560772db5ce062b11574c6a7b0:
title: 'media: uvcvideo: Use ktime_t for timestamps'
16913ef7e6317548e59036f4ee331d6f2f7f8913:
title: 'media: uvcvideo: Fix integer overflow calculating timestamp'
mainline: 8676a5e796fa18f55897ca36a94b2adf7f73ebd1
upstream: 34666cab862a8154013713aaee0cc5da1241dd75
4284ad6ee12894faa3fdfcc584a32aa4ce2a4fbc:
title: 'cgroup/cpuset: Prevent UAF in proc_cpuset_show()'
mainline: 1be59c97c83ccd67a519d8a49486b3a8a73ca28a
upstream: 27d6dbdc6485d68075a0ebf8544d6425c1ed84bb
f477af54dbe386b3ab323b5b765910e0e7851180:
title: 'memcg: enable accounting of ipc resources'
mainline: 18319498fdd4cdf8c1c2c48cd432863b1f915d6f
upstream: 9e235ce6facfef2cbde3e2a5f1ccce28d341880f
38d216ce7ac318b8dfaef24bb378c51c7a1aa151:
title: 'printk: Export is_console_locked'
cb4213b43b1c11a9c6a01ab412a48a78f372ec69:
title: 'fbcon: Prevent that screen size is smaller than font size'
mainline: e64242caef18b4a5840b0e7a9bff37abd4f4f933
upstream: 54eaaac622d4547b4abae7e44763b29fa0687132
fc15b7d69dd3b6418c8de3a3ff52a2d380d76d92:
title: 'fbmem: Check virtual screen sizes in fb_set_var()'
mainline: 6c11df58fd1ac0aefcb3b227f72769272b939e56
upstream: f453f32f13320137f2317c0ad7ae1c20508effca
ae877b9999278eedaf73d6e0e2797d3ed613d802:
title: 'net:rds: Fix possible deadlock in rds_message_put'
mainline: f1acf1ac84d2ae97b7889b87223c1064df850069
upstream: 6a967835748472229da405bdb7780f98084c6ebc
2cd2e32fc40226fe651a178ec13c343b18a58ba5:
title: 'ida: Fix crash in ida_free when the bitmap is empty'
mainline: af73483f4e8b6f5c68c9aa63257bdd929a9c194a
upstream: 89db5346acb5a15e670c4fb3b8f3c30fa30ebc15
b9b5914ae919e100f936acf89c40564438eea7ca:
title: 'net: prevent mss overflow in skb_segment()'
mainline: 23d05d563b7e7b0314e65c8e882bc27eac2da8e7
upstream: 0d3ffbbf8631d6db0552f46250015648991c856f
05748e7d5793a9b4006096221f8c991a7eaf3849:
title: 'gtp: fix a potential NULL pointer dereference'
mainline: defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda
upstream: 620fe9809752fae91b4190e897b81ed9976dfb39
843fa098a51e412907dcd804d8e7cc3c28945edd:
title: 'net: busy-poll: use ktime_get_ns() instead of local_clock()'
mainline: 0870b0d8b393dde53106678a1e2cec9dfa52f9b7
upstream: 1b1f0890fb51fc50bf990a800106a133f9036f32
0089d92552aa7a94e2edb2441fe9017e20c4f63d:
title: 'cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller'
mainline: 0b00583ecacb0b51712a5ecd34cf7e6684307c67
upstream: 43f8d47eaa36c16eb0beafdedbfba51220b4fe69
f44a24bcd5833a5b5d32a0bab95bed37a86cbf55:
title: 'USB: serial: option: add MeiG Smart SRM825L'
mainline: 9a471de516c35219d1722c13367191ce1f120fe9
upstream: 50f98b68051d01216bd59df5d0673d7a442d17cd
c180e1013eb6b4db7ddf220491a2e325b7fcf06e:
title: 'usb: dwc3: omap: add missing depopulate in probe error path'
mainline: 2aa765a43817ec8add990f83c8e54a9a5d87aa9c
upstream: 9c80a94d388528add073955108a1eeeed4c1c5ea
347ecd5288aaff7fcc0828d8e2bbd122cce42a43:
title: 'usb: dwc3: core: Prevent USB core invalid event buffer address access'
mainline: 14e497183df28c006603cc67fd3797a537eef7b9
upstream: eca3f543f817da87c00d1a5697b473efb548204f
f86e58bf1c74fcdfcfb78baecf156127409442be:
title: 'usb: dwc3: st: fix probed platform device ref count on probe error path'
mainline: ddfcfeba891064b88bb844208b43bef2ef970f0c
upstream: b0979a885b9d4df2a25b88e9d444ccaa5f9f495c
2a00c7c9045d6b359ab6b51e71ab4be6f4dac461:
title: 'usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes()'
mainline: 3a8839bbb86da7968a792123ed2296d063871a52
upstream: 0e9d60d0da23b5c344aaad9cb2088684f8548f9f
caebf7249fb7bd0cb68e7b6f8a88f033d82ac221:
title: 'scsi: aacraid: Fix double-free on probe failure'
mainline: 919ddf8336f0b84c0453bac583808c9f165a85c2
upstream: d237c7d06ffddcdb5d36948c527dc01284388218
30eb6ce857111743822a317414a1f183319a105a:
title: 'ipc: remove memcg accounting for sops objects in do_semtimedop()'
mainline: 6a4746ba06191e23d30230738e94334b26590a8a
upstream: 72793f5cc9e41f9ee33353d4594036817529b766
6c3aa8fda82fedf05e697ef8c57d92c3b9d838b8:
title: 'drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var'
mainline: 1935f0deb6116dd785ea64d8035eab0ff441255b
upstream: 0975670c14287183571d01858e8020114a14d76a

View File

@@ -1,304 +0,0 @@
a1474ea9b7ab89dba81a2449bf4a4173115b06a7:
title: 'net: usb: qmi_wwan: add MeiG Smart SRM825L'
mainline: 1ca645a2f74a4290527ae27130c8611391b07dbf
upstream: 226a6773a78d4fd27c03cfdf1f811dbf278fb3d0
107fdbcb323ac570bf914e6f547a8d923b82c087:
title: 'usb: dwc3: st: Add of_node_put() before return in probe function'
mainline: e36721b90144bb46e1b6477be3ab63439c7fb79b
upstream: 82dde26c330f14cee56ea30bb1044f4b514c67b5
1dfc1828c8cfae2b2e8023a4a4eab6734214d2f9:
title: 'usb: dwc3: st: add missing depopulate in probe error path'
mainline: cd4897bfd14f6a5388b21ba45a066541a0425199
upstream: a3718c676adb9dbc24dc7b9b293020c9a20f3fdb
a1a53372278da6b1ddd71cdbfdae497c4dba7140:
title: 'drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr'
mainline: c0d6bd3cd209419cc46ac49562bef1db65d90e70
upstream: f00ce6b3344b744af491d1edda9905b188f590a7
f8501ae9f302ddb01fd9011ac99b01c2c0f3a8b9:
title: 'drm/amdgpu: fix overflowed array index read warning'
mainline: ebbc2ada5c636a6a63d8316a3408753768f5aa9f
upstream: d1ab22df511cbe4a358421876153f4e1212132e2
4012cee5397a8c2a5f2caf45957ab78b2309f300:
title: 'drm/amdgpu: fix ucode out-of-bounds read warning'
mainline: 8944acd0f9db33e17f387fdc75d33bb473d7936f
upstream: 82ac8f1d02886b5d8aeb9e058989d3bd6fc581e2
ff8f82a22c6faf27e9feb0c9b241d2fdd8c02584:
title: 'drm/amdgpu: fix mc_data out-of-bounds read warning'
mainline: 51dfc0a4d609fe700750a62f41447f01b8c9ea50
upstream: 5fa4df25ecfc7b6c9006f5b871c46cfe25ea8826
2b98e85d650c2c302dd61cf66485f99db7cfd9d9:
title: 'apparmor: fix possible NULL pointer dereference'
mainline: 3dd384108d53834002be5630132ad5c3f32166ad
upstream: 8d9da10a392a32368392f7a16775e1f36e2a5346
570892930fbd745b1d6cf987586c4eddbe200732:
title: 'usbip: Don''t submit special requests twice'
mainline: 8b6b386f9aa936ed0c190446c71cf59d4a507690
upstream: ebc88484fc780068bce82e9a593513f7f9ed947c
4a9d23f110f9514fc28a67c5614565252b52965d:
title: 'smack: tcp: ipv4, fix incorrect labeling'
mainline: 2fe209d0ad2e2729f7e22b9b31a86cc3ff0db550
upstream: d3f56c653c65f170b172d3c23120bc64ada645d8
b0fb4622839090361ca56ed8b7d38780aca24f55:
title: 'media: uvcvideo: Enforce alignment of frame and interval'
mainline: c8931ef55bd325052ec496f242aea7f6de47dc9c
upstream: d1a4c613dd3ef57978fc366b4e3d72cd5083a1f9
18c1fde63128e9b0344b428cb18d2fb4b96b1399:
title: 'block: initialize integrity buffer to zero before writing it to media'
mainline: 899ee2c3829c5ac14bfc7d3c4a5846c0b709b78f
upstream: 9f4af4cf08f9a0329ade3d938f55d2220c40d0a6
a47099495b459b9993552d22ae3f76829108947b:
title: 'udf: Limit file size to 4TB'
mainline: c2efd13a2ed4f29bf9ef14ac2fbb7474084655f8
upstream: a6211d4d3df3a5f90d8bcd11acd91baf7a3c2b5d
a4a8eb20e62affb4b4ca51bcf8ea0861546acf22:
title: 'ALSA: usb-audio: add boot quirk for Axe-Fx III'
52e9edf6bcb1f0423742ad0ddf4baa5c2ffdf4db:
title: 'ALSA: usb-audio: Sanity checks for each pipe and EP types'
mainline: 801ebf1043ae7b182588554cc9b9ad3c14bc2ab5
upstream: 218f0478064e246c557d0319623eeb56f0827a8e
787a4aa45f59ee42152a1775f54050dbc6b13a06:
title: 'ALSA: usb-audio: Fix gpf in snd_usb_pipe_sanity_check'
mainline: 5d78e1c2b7f4be00bbe62141603a631dc7812f35
upstream: 5c4b0a778419d9deab8557265f4b3fd6f0e97e11
458dd5f94d634c30594a935563c1e2c8accd0656:
title: 'sch/netem: fix use after free in netem_dequeue'
mainline: 3b3a2a9c6349e25a025d2330f479bc33a6ccb54a
upstream: f0bddb4de043399f16d1969dad5ee5b984a64e7b
140cbd4f60beb751e66e7414f08df77f7f0d645b:
title: 'ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices'
mainline: 4178d78cd7a86510ba68d203f26fc01113c7f126
upstream: 94e0cace44fe2b888cffc1c6905d1a9bfcf57c7a
196ea167c8411ea8dbd90668b9fe48bf953bd474:
title: 'mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K'
mainline: 8396c793ffdf28bb8aee7cfe0891080f8cab7890
upstream: 32bd402f6760d57127d58a9888553b2db574bba6
a5a11287ead5951b4549f86b5d2abcc44a5efd6b:
title: 'fuse: use unsigned type for getxattr/listxattr size truncation'
mainline: b18915248a15eae7d901262f108d6ff0ffb4ffc1
upstream: 13d787bb4f21b6dbc8d8291bf179d36568893c25
812eaaab959885afdf5739337e7180e633b26734:
title: 'nilfs2: fix missing cleanup on rollforward recovery error'
mainline: 5787fcaab9eb5930f5378d6a1dd03d916d146622
upstream: 35a9a7a7d94662146396199b0cfd95f9517cdd14
faf0987376cc48fb3896f0f3298ebfeda8f1a515:
title: 'nilfs2: fix state management in error path of log writing function'
mainline: 6576dd6695f2afca3f4954029ac4a64f82ba60ab
upstream: 40a2757de2c376ef8a08d9ee9c81e77f3c750adf
19ece5b382d38b440e13d24e951cf79ec593ae68:
title: 'ALSA: hda: Add input value sanity checks to HDMI channel map controls'
mainline: 6278056e42d953e207e2afd416be39d09ed2d496
upstream: c6d593c2c931762848389d621e8e657367f62190
d92a8bb1955ce159fbbe0c309a1d17ffea5c043a:
title: 'smack: unix sockets: fix accept()ed socket label'
mainline: e86cac0acdb1a74f608bacefe702f2034133a047
upstream: 81e45ff912bbc43526d6f21c7a79cc5a7159a5f5
90e83f2f8444a176d359ff9bc4a40590427a3bc4:
title: 'irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1'
mainline: 3cef738208e5c3cb7084e208caf9bbf684f24feb
upstream: 1d755d4fb238315c3b3e50e6f3117a0d79f72c29
3652428ca171b8aed1217a4162dedccd3dde1b5a:
title: 'af_unix: Remove put_pid()/put_cred() in copy_peercred().'
mainline: e4bd881d987121dbf1a288641491955a53d9f8f7
upstream: 406fb2bc6548bbd61489637d1443606feaa7037a
26e28ffe556d6cd2f2fd43a8707e6b3d8dca24f3:
title: 'wifi: brcmsmac: advertise MFP_CAPABLE to enable WPA3'
mainline: dbb5265a5d7cca1cdba7736dba313ab7d07bc19d
upstream: c7167cbb59f0525f6726a621b37f2596ee1bbf83
e0cb5088960d975715d2731a706914498e7cb018:
title: 'media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse'
mainline: 4caf6d93d9f2c11d6441c64e1c549c445fa322ed
upstream: 75f8136cd4e74fca5d115c35954ed598fc771a8f
b9fb4137c73f884e41edb16dfbec9ec490efb4d6:
title: 'pcmcia: Use resource_size function on resource object'
mainline: 24a025497e7e883bd2adef5d0ece1e9b9268009f
upstream: d51b471ec7bd3dd9649dea1d77635512e61eaad5
f9ab8f03569d4406fc0adf3c667bc0c450280181:
title: 'can: bcm: Remove proc entry when dev is unregistered.'
mainline: 76fe372ccb81b0c89b6cd2fec26e2f38c958be85
upstream: 5c680022c4e28ba18ea500f3e29f0428271afa92
7e95e0c1c4750d584a8dacaefa62f506af3e510d:
title: 'igb: Fix not clearing TimeSync interrupts for 82580'
mainline: ba8cf80724dbc09825b52498e4efacb563935408
upstream: 79c460784fc55ccf272fbe89290ff84d3e17341c
3f63ef4d3a6164cf90d31f26cb37976cbc32b5a9:
title: 'cx82310_eth: re-enable ethernet mode after router reboot'
mainline: ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808
upstream: 5adf7fbdfa3e9e425b04771e1d64c4e184ad8fdb
ef1cdbe7efb9d4f237238f3a58b115ccae662a8f:
title: 'drivers/net/usb: Remove all strcpy() uses'
mainline: 493c3ca6bd754d8587604496eb814f72e933075d
upstream: 3f255eda1818c6f2b4fb446c488339c66173dc6d
70135ce17759946d0f4ccdbed51c21caccf22445:
title: 'net: usb: don''t write directly to netdev->dev_addr'
mainline: 2674e7ea22ba0e22a2d1603bd51e0b8f6442a267
upstream: 40373e2bdf967ba982309ff06e3b8c7c79c4de0e
5fb805c245cf8daf1568247ba755e3164c361d96:
title: 'usbnet: modern method to get random MAC'
mainline: bab8eb0dd4cb995caa4a0529d5655531c2ec5e8e
upstream: c9c76962b49ff37ed8dcf880eabeb74df3e0686e
1c1073bf747c47629304662bd4e4acc3c347d499:
title: 'rfkill: fix spelling mistake contidion to condition'
mainline: f404c3ecc401b3617c454c06a3d36a43a01f1aaf
upstream: 2579dc71bfa05f908c13decb27989c18be775e2d
b3774dcec0995f6d31fa86bbfaeb74a5c6cda069:
title: 'iommu/vt-d: Handle volatile descriptor status read'
mainline: b5e86a95541cea737394a1da967df4cd4d8f7182
upstream: 75a34515eb1be431819ec00cd09fe3a3eb369cdb
9d86ad71865dd3a67f27923da2d87891801d26f2:
title: 'cgroup: Protect css->cgroup write under css_set_lock'
mainline: 57b56d16800e8961278ecff0dc755d46c4575092
upstream: 6760357063f593a17613e015aed2051cfd4197c6
def0afb4a7e7e30bc08b1b4699dfe6802b2cbde1:
title: 'um: line: always fill *error_out in setup_one_line()'
mainline: 824ac4a5edd3f7494ab1996826c4f47f8ef0f63d
upstream: 3bedb7ce080690d0d6172db790790c1219bcbdd5
463af1bdfe4037d2d5c274ae3df6a1bda26cd3aa:
title: 'devres: Initialize an uninitialized struct member'
mainline: 56a20ad349b5c51909cf8810f7c79b288864ad33
upstream: c57834f37dc73410ed2eb11e1cc3fecad169b065
33259e025b9efd8c18acbeaf5db24ff06db58459:
title: 'pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv'
mainline: 335e35b748527f0c06ded9eebb65387f60647fda
upstream: 4eb4085c1346d19d4a05c55246eb93e74e671048
c0cc4bee13a524d7aceb27690ac6be7ed8e61b70:
title: 'hwmon: (adc128d818) Fix underflows seen when writing limit attributes'
mainline: 8cad724c8537fe3e0da8004646abc00290adae40
upstream: 05419d0056dcf7088687e561bb583cc06deba777
d93e9ac35391aef72db4a0aa274d27944dd0d673:
title: 'hwmon: (lm95234) Fix underflows seen when writing limit attributes'
mainline: af64e3e1537896337405f880c1e9ac1f8c0c6198
upstream: 93f0f5721d0cca45dac50af1ae6f9a9826c699fd
676ca195a7e32432c84de0516609c98560dcf66f:
title: 'hwmon: (nct6775-core) Fix underflows seen when writing limit attributes'
mainline: 0403e10bf0824bf0ec2bb135d4cf1c0cc3bf4bf0
upstream: 298a55f11edd811f2189b74eb8f53dee34d4f14c
9c01d650e13a9098fd147c080994be18cb0689c9:
title: 'hwmon: (w83627ehf) Fix underflows seen when writing limit attributes'
mainline: 5c1de37969b7bc0abcb20b86e91e70caebbd4f89
upstream: 93cf73a7bfdce683bde3a7bb65f270d3bd24497b
6d47528d1743bbefff3fc7928d1e45e3faf03cd8:
title: 'wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()'
mainline: c145eea2f75ff7949392aebecf7ef0a81c1f6c14
upstream: a12cf97cbefa139ef8d95081f2ea047cbbd74b7a
86ed63497a70309bcc68c61bf706e65e305318e9:
title: 'smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()'
mainline: 77aeb1b685f9db73d276bad4bb30d48505a6fd23
upstream: 2d6a7a1ee3862d129c0e0fbd3cc147e185a379dc
8f9488fe41599c4aed2820b66097ab09f2bcfec8:
title: 'btrfs: replace BUG_ON with ASSERT in walk_down_proc()'
mainline: 1f9d44c0a12730a24f8bb75c5e1102207413cc9b
upstream: 2df0e48615f438cdf93f1469ed9f289f71440d2d
b6a6c52de6de81961175e7d2814f6d0193697a4c:
title: 'btrfs: clean up our handling of refs == 0 in snapshot delete'
mainline: b8ccef048354074a548f108e51d0557d6adfd3a3
upstream: c847b28a799733b04574060ab9d00f215970627d
dc087747546322a6d53d450c92456fcd0055a257:
title: 'PCI: Add missing bridge lock to pci_bus_lock()'
mainline: a4e772898f8bf2e7e1cf661a12c60a5612c4afab
upstream: 0790b89c7e911003b8c50ae50e3ac7645de1fae9
8f68d6f65ec245d7f7641b540ef6ffed262df9cf:
title: 'btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()'
mainline: b8e947e9f64cac9df85a07672b658df5b2bcff07
upstream: d09f1bf3d7f029558704f077097dbcd4dc5db8da
f406ab8753404479a45b87c930fed326b4db0f04:
title: 'Input: uinput - reject requests with unreasonable number of slots'
mainline: 206f533a0a7c683982af473079c4111f4a0f9f5e
upstream: 9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b
b1981479ebd7e8d67c23753437a4282ef363b0a0:
title: 'usbnet: ipheth: race between ipheth_close and error handling'
mainline: e5876b088ba03a62124266fa20d00e65533c7269
upstream: 487f140d366f9b12edb11b97819c135676090bd2
a909f13b25b358d7f4683648b5166214c609668f:
title: 'Squashfs: sanity check symbolic link size'
mainline: 810ee43d9cd245d138a2733d87a24858a23f577d
upstream: f82cb7f24032ed023fc67d26ea9bf322d8431a90
8b67befd1d8e89bce21196d288327ef375731328:
title: 'of/irq: Prevent device address out-of-bounds read in interrupt map walk'
mainline: b739dffa5d570b411d4bdf4bb9b8dfd6b7d72305
upstream: d2a79494d8a5262949736fb2c3ac44d20a51b0d8
265da992cd6d9a6ae82917b3f0bd343f5754b4b9:
title: 'ata: pata_macio: Use WARN instead of BUG'
mainline: d4bc0a264fb482b019c84fbc7202dd3cab059087
upstream: cff08d637389f4bf4a49a08ff0474bd6c2b27b97
1753cb7f5cd1bf2bdecd6126d4670ae4c5ea31d5:
title: 'iio: buffer-dmaengine: fix releasing dma channel on error'
mainline: 84c65d8008764a8fb4e627ff02de01ec4245f2c4
upstream: 0edd1eac01afe0c2104bddd7d1cae985b0a4552c
0c91f6e9cee80725ead1a4db722a1b7a0b575162:
title: 'iio: fix scale application in iio_convert_raw_to_processed_unlocked'
mainline: 8a3dcc970dc57b358c8db2702447bf0af4e0d83a
upstream: a1cad4f0340c50037bd3211bd43deff662d5287e
1c8fea7bc7b888039874f237abf53f28264f3d42:
title: 'nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc'
mainline: c69f37f6559a8948d70badd2b179db7714dedd62
upstream: 5e0a746e798cd962e478b54f50f6f39384f735bc
12663f3dcfaa591275c2b086a840edc9e86dc736:
title: 'VMCI: Fix use-after-free when removing resource in vmci_resource_remove()'
mainline: 48b9a8dabcc3cf5f961b2ebcd8933bf9204babb7
upstream: f6365931bf7c07b2b397dbb06a4f6573cc9fae73
3ed0ce0836c07ea1c3e635370ce04f5ab065ee90:
title: 'clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX'
mainline: 5b8843fcd49827813da80c0f590a17ae4ce93c5d
upstream: eeec87f317abb8b1ebb04b5d6823e941649d8293
79b3fd21dd528f14d3d7f4f380db5a742f5903d4:
title: 'clocksource/drivers/imx-tpm: Fix next event not taking effect sometime'
mainline: 3d5c2f8e75a55cfb11a85086c71996af0354a1fb
upstream: 143674856ebffeb785759892b1a11a7f5ecbd1f5
967a7ce0d7d61c1256391a197e81ba2a400ecf07:
title: 'uprobes: Use kzalloc to allocate xol area'
mainline: e240b0fde52f33670d1336697c22d90a4fe33c84
upstream: 32bb3588ccf08406931c7f061f0ef7a37cd38414
ae2112e6a08779c541bc4b9b88ff58914f4ecf32:
title: 'ring-buffer: Rename ring_buffer_read() to read_buffer_iter_advance()'
mainline: bc1a72afdc4a91844928831cac85731566e03bc6
upstream: ac8ffa21dde0c1edcd9dd98b5555a0aa4eea3b1f
fdfd1ef491f5e5445d130169394ae68a45d1adcf:
title: 'tracing: Avoid possible softlockup in tracing_iter_reset()'
mainline: 49aa8a1f4d6800721c7971ed383078257f12e8f9
upstream: 84bd537aaefb210218b5e1d982411fa6ae8429a1
3b10ade515f59695e110647a1c4046df1f2ae228:
title: 'nilfs2: use time64_t internally'
c77787e1b99270f880dae53e1c8e9f7d8ec8f5a1:
title: 'nilfs2: replace snprintf in show functions with sysfs_emit'
mainline: 3bcd6c5bd483287f4a09d3d59a012d47677b6edc
upstream: 51af9b589ab68a94485ee55811d1243c6bf665b4
2d65330b265ca1170d35cd861a82b35536f57c4e:
title: 'nilfs2: protect references to superblock parameters exposed in sysfs'
mainline: 683408258917541bdb294cd717c210a04381931e
upstream: b90beafac05931cbfcb6b1bd4f67c1923f47040e
9e0063de11fca0d749169844cd3cd8cbe9061466:
title: 'net: Add comment about pernet_operations methods and synchronization'
9541fb132b07ee39fa0c6d07655684f7d961c171:
title: 'netns: add pre_exit method to struct pernet_operations'
mainline: d7d99872c144a2c2f5d9c9d83627fa833836cba5
upstream: bc596c2026c7f52dc12a784403ccfc3b152844e6
9e65e5135c7d8451ee68b36d44f674429df4271a:
title: 'ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()'
mainline: fadf231f0a06a6748a7fc4a2c29ac9ef7bca6bfd
upstream: a30476afbaac69face9537cd8d0694d46d5d1ef5
89bbd019927a862339cb11beeb98a95c0269b25c:
title: 'ACPI: processor: Fix memory leaks in error paths of processor_add()'
mainline: 47ec9b417ed9b6b8ec2a941cd84d9de62adc358a
upstream: 00259ae5206a713234e3ac12a8a0f731e86b754b
c292e581abf5c0dfaf783e3ad2bda3502b5ab4be:
title: 'drm/i915/fence: Mark debug_fence_free() with __maybe_unused'
mainline: f99999536128b14b5d765a9982763b5134efdd79
upstream: 76b1dda1598fc151610d3f372e24be1fcc8b396e
5635c800bb018568edf984a2bc3df894c7f1d8b4:
title: 'locking/rtmutex: Handle non enqueued waiters gracefully in remove_waiter()'
11ae525157eb075f44f3c6460fdd9a5642ada728:
title: 'rtmutex: Drop rt_mutex::wait_lock before scheduling'
mainline: d33d26036a0274b472299d7dcdaa5fb34329f91b
upstream: 432efdbe7da5ecfcbc0c2180cfdbab1441752a38
8b8a84237a675ff0a73827b2ba05745765a97f13:
title: 'cx82310_eth: fix error return code in cx82310_bind()'
mainline: cfbaa8b33e022aca62a3f2815ffbc02874d4cb8b
upstream: e70c0b7e280415e1511fb258f4b72733d765b80e
61da5c1d99b77bb28d2579a64a05bfbf9447e43d:
title: 'netns: restore ops before calling ops_exit_list'
mainline: b272a0ad730103e84fb735fd0a8cc050cdf7f77c
upstream: 15605b333ddaa3e5e21dfebb65546c70bb167925
a66198e30ea76c75761c3f0323b31ba6be641824:
title: 'Revert "parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367"'
mainline: 73cb4a2d8d7e0259f94046116727084f21e4599f
upstream: 324954a057b3ab21a7be5c91e148c15c401332f0

View File

@@ -1,100 +0,0 @@
df02150025a3ac134a29c3a847b334f53d4b0c4a:
title: 'nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local'
mainline: c95f919567d6f1914f13350af61a1b044ac85014
skipped: commit is already present in branch
e4f367ae64ff2ab90407e21ce0928b749a0c0c50:
title: 'i40e: Fix filter input checks to prevent config with invalid values'
mainline: 3e48041d9820c17e0a51599d12e66c6e12a8d08d
skipped: missing prerequisite
67188c52c06ad8bf3890d9a2dc8cedc9a707cb61:
title: 'net: sched: em_text: fix possible memory leak in em_text_destroy()'
mainline: 8fcb0382af6f1ef50936f1be05b8149eb2f88496
skipped: commit is already present in branch
ee49874f862ffa7d155fa4b2ef12a4ad1504c184:
title: 'ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init'
mainline: 72ad3b772b6d393701df58ba1359b0bb346a19ed
skipped: missing prerequisite
fe7f1685f44bf8c24e3d9d9bb5196c668513aedb:
title: 'net: bcmgenet: Fix FCS generation for fragmented skbuffs'
mainline: e584f2ff1e6cc9b1d99e8a6b0f3415940d1b3eb3
skipped: commit is already present in branch
0c220aefdb064f4fff02732ecd302f0901b15dc0:
title: 'net: Save and restore msg_namelen in sock_sendmsg'
mainline: 01b2885d9415152bcb12ff1f7788f500a74ea0ed
skipped: missing prerequisite
af9ec305b68635ae6d8eb957e91e723bfee0d336:
title: 'i40e: fix use-after-free in i40e_aqc_add_filters()'
mainline: 6a15584e99db8918b60e507539c7446375dcf366
skipped: commit is already present in branch
d94b35454b1ff91f3d1cb12198b00b71ec3341aa:
title: 'i40e: Restore VF MSI-X state during PCI reset'
mainline: 371e576ff3e8580d91d49026e5d5faebf5565558
skipped: missing prerequisite
4c731d37cdd8bb66e4a6cff0ce69eb6ecf4e7620:
title: 'net/qla3xxx: switch from ''pci_'' to ''dma_'' API'
mainline: 41fb4c1ba7478fe34c7e094e124e4ee4513b9763
backport: ced7e0c8ca4be414095ad46b6363eaf8fb227d07
39437c89a3074b3e869dab2d0e65148923e327a5:
title: 'net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues'
mainline: 89f45c30172c80e55c887f32f1af8e184124577b
backport: fda9db2ddde56d0a4fa6e08604c5c02ed4656190
1d267835dadc8cec3bd3da252171bb335f507cd3:
title: 'asix: Add check for usbnet_get_endpoints'
mainline: eaac6a2d26b65511e164772bec6918fcbc61938e
backport: 1aa3bd40236223e2a8404b76d65e0e3c31ab91ba
b39d97468acf9651ff68e44f0e0c7ebac4ecdca7:
title: 'bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()'
mainline: e009b2efb7a8850498796b360043ac25c8d3d28f
backport: 73a7f8a478ab010be26db513967aacc263263b85
c6f50413f2aacc919b5de443aa080b94f5ebb21d:
title: 'mm/memory-failure: check the mapcount of the precise page'
mainline: c79c5a0a00a9457718056b588f312baadf44e471
backport: ff510bc907debb02a00d5be80c678fb54042eb01
50f8b0a96c88f78c2e40cdb93557385c2ce5f5e8:
title: 'firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards'
mainline: ac9184fbb8478dab4a0724b279f94956b69be827
skipped: commit is already present in branch
2db1c46c3913b8bc92fed235a344de2671fe9d8d:
title: 'mm: fix unmap_mapping_range high bits shift bug'
mainline: 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d
backport: e5e8870a91aa5d8eeae9dfd3d6ab6cc6932a3f2b
4a2d650b8fb83b0ceb37279dcc7ceafd10b578a3:
title: 'mmc: rpmb: fixes pause retune on all RPMB partitions.'
mainline: e7794c14fd73e5eb4a3e0ecaa5334d5a17377c50
skipped: commit is already present in branch
74f6bca1532e013ff5745414288088486b4e9251:
title: 'mmc: core: Cancel delayed work before releasing host'
mainline: 1036f69e251380573e256568cf814506e3fb9988
skipped: commit is already present in branch
437d8898fbf40b92516aef697b5638acccb7a6f9:
title: 'fuse: nlookup missing decrement in fuse_direntplus_link'
mainline: b8bd342d50cbf606666488488f9fea374aceb2d5
backport: 8d576e5e8705890e3f9f2bd0f5fe0de0832ac61f
087d38ae0fd5a9a41b949e97601b4b0d09336f19:
title: 'netfilter: nf_tables: Reject tables of unsupported family'
mainline: f1082dd31fe461d482d69da2a8eccfeb7bf07ac2
backport: 24f1cf2efb69d6cc0cb5d50291f9eb4c95e6f29c
5e2cf4c8777cb3fdafecdbce263ba5d975910f03:
title: 'PCI: Extract ATS disabling to a helper function'
mainline: f18b1137d38c091cc8c16365219f0a1d4a30b3d1
skipped: depends on missing commit b48fea52b951f0652c39ea8b3362338d909fca79
610003d742341dddca03a83beb7c61f1f079b8c5:
title: 'PCI: Disable ATS for specific Intel IPU E2000 devices'
mainline: a18615b1cfc04f00548c60eb9a77e0ce56e848fd
skipped: depends on missing commit b48fea52b951f0652c39ea8b3362338d909fca79
47468fae2704151503214f4d4327c164118247fd:
title: 'net: add a route cache full diagnostic message'
mainline: 22c2ad616b74f3de2256b242572ab449d031d941
backport: 895547de81e54a04152a30c1dc1de41be55245e5
9635bd0a5296e2e725c6b33e530d0ef582e2f64e:
title: 'net/dst: use a smaller percpu_counter batch for dst entries accounting'
mainline: cf86a086a18095e33e0637cb78cda1fcf5280852
backport: 2ee1663e55e8977ff4e86354691f47a45ab20acc
b4cfbeaebeb355dbaefb218470055de2e8a73020:
title: 'ipv6: make ip6_rt_gc_expire an atomic_t'
mainline: 9cb7c013420f98fa6fd12fc6a5dc055170c108db
backport: e0411760af63f47a43cf1971cd2328ec449645cf
95372b040ae689293c6863b90049f1af68410c8b:
title: 'ipv6: remove max_size check inline with ipv4'
mainline: af6d10345ca76670c1b7c37799f0d5576ccef277
backport: 12cda1d5779e05665140a7e8fc88297e4ef9b418

View File

@@ -1,592 +0,0 @@
16ae3132ff7746894894927c1892493693b89135:
title: 'f2fs: explicitly null-terminate the xattr list'
mainline: e26b6d39270f5eab0087453d9b544189a38c8564
backport: 634e7f82e8c70e7f17de0b0c48fd13f35e569043
e22bd1d94dccae517c99fcd8b76470733ad45317:
title: 'ASoC: Intel: Skylake: mem leak in skl register function'
mainline: f8ba14b780273fd290ddf7ee0d7d7decb44cc365
skipped: commit did not cherry-pick cleanly
f35d77a3c58a9be14531185ff47c3f0d867382ad:
title: 'ASoC: cs43130: Fix the position of const qualifier'
mainline: e7f289a59e76a5890a57bc27b198f69f175f75d9
backport: 0e4e1621037f71e6ce79cc4f1c0d76150de207a4
1e8f3203c494cd382088eb64defed2d116a99c65:
title: 'ASoC: cs43130: Fix incorrect frame delay configuration'
mainline: aa7e8e5e4011571022dc06e4d7a2f108feb53d1a
backport: 92937c54dad3773d96442d1e36bec981fb8d2c7d
48ce529c83522944f116f03884819051f44f0fb6:
title: 'ASoC: rt5650: add mutex to avoid the jack detection failure'
mainline: cdba4301adda7c60a2064bf808e48fccd352aaa9
backport: e0d5e7495b1562301f7d8afcfb109125d4e39e3e
dc52503ad3ca93f3bc200b259f8ac56cef05a488:
title: 'net/tg3: fix race condition in tg3_reset_task()'
mainline: 16b55b1f2269962fb6b5154b8bf43f37c9a96637
backport: b2007da41920e3e1506bcae0ea5d67d82deaa1b4
5324775cab629021225667b4fe0fe9b28cb4b200:
title: 'ASoC: da7219: Support low DC impedance headset'
mainline: 5f44de697383fcc9a9a1a78f99e09d1838704b90
backport: 6a04e427ce1ced4962a1cb607c3beae5639787f9
edfa0e9b334c3e88953297073835dfa576e1d564:
title: 'drm/exynos: fix a potential error pointer dereference'
mainline: 73bf1c9ae6c054c53b8e84452c5e46f86dd28246
backport: dee75f1cda40e535bb660f6c342ec1a7c3b4b3e1
9e35336aecd6b82ed29c30d057bd07795ca9876f:
title: 'clk: rockchip: rk3128: Fix HCLK_OTG gate register'
mainline: c6c5a5580dcb6631aa6369dabe12ef3ce784d1d2
backport: fd2a03c0a010e92c62e5a242c8d1ef86cbe5e6b9
1574191683ca491a382eb120475df573b8a69efe:
title: 'jbd2: correct the printing of write_flags in jbd2_write_superblock()'
mainline: 85559227211020b270728104c3b89918f7af27ac
backport: 9111572de29071a25887bc3ceb20ca794815fca5
3df929b0b60fd82c58ba5b807bc9bdc77d1550c6:
title: 'drm/crtc: Fix uninit-value bug in drm_mode_setcrtc'
mainline: 3823119b9c2b5f9e9b760336f75bc989b805cde6
backport: ebbce42e84a5b6dd1c08203b22f947e12b5838c5
fcd96231c7d79c5c03ac2fc73345e552caf7d7b5:
title: 'tracing: Have large events show up as ''[LINE TOO BIG]'' instead of nothing'
mainline: b55b0a0d7c4aa2dac3579aa7e6802d1f57445096
backport: 1e00941f86357671797d8cdaf7a9f96a74e9ee3b
9a9d6a726688a0ed9fb16458d6918e51aadce9b5:
title: 'tracing: Add size check when printing trace_marker output'
mainline: 60be76eeabb3d83858cc6577fc65c7d0f36ffd42
backport: f4848e88a912d30601968682a2cf7483637b1477
70887567dd96c2f5b46d853b603de30ea22741a2:
title: 'ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI'
mainline: 712292308af2265cd9b126aedfa987f10f452a33
backport: 76ea9993683668623fbe34e433e64b176941ad11
8155a089c4a5d9afe6506463537944492b9b2839:
title: 'reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning'
mainline: b5ec294472794ed9ecba0cb4b8208372842e7e0d
backport: 92125c979c109cf2e1c5747b6967e2ea9f82b2bc
eb59410d1cca3f1223b65e7562dc0d9acae26b39:
title: 'Input: atkbd - skip ATKBD_CMD_GETID in translated mode'
mainline: 936e4d49ecbc8c404790504386e1422b599dec39
backport: f56eab3175dcce9f9a198db019a2460d37bd8e65
eb9bae96ee0051f21096d02dd765542139a969e9:
title: 'Input: i8042 - add nomux quirk for Acer P459-G2-M'
mainline: 335fe00319e030d481a54d5e0e68d50c5e672c0e
skipped: missing prerequisite 6f9919a8abc8bc5e9f60a8a137d5e910318db6b0
e695700535c286e4f4f5a7c19e36ff6d61a25a4a:
title: 's390/scm: fix virtual vs physical address confusion'
mainline: b1a6a1a77f0666a5a6dc0893ab6ec8fcae46f24c
backport: 83363b85a42a78939fead3717f1e5e9c2d088400
c536440b603111f5fcafa36050d2481f29f23e92:
title: 'ARC: fix spare error'
mainline: aca02d933f63ba8bc84258bf35f9ffaf6b664336
backport: 2fe8f0179e36aab4ec1b75016b1d014476d69c04
01a92b3c981219d22f16bdc612e9a2afa515a5dd:
title: 'Input: xpad - add Razer Wolverine V2 support'
mainline: c3d1610345b79cbe29ef6ca04a4780eff0d360c7
backport: b2c25c249b8c3bc24dc867b5a0bcd88171eca56b
54893a9cc2b8a396385799b0c7a4a558db0db9b6:
title: 'ARM: sun9i: smp: fix return code check of of_property_match_string'
mainline: 643fe70e7bcdcc9e2d96952f7fc2bab56385cce5
skipped: missing prerequisite 745373e3d6ee3e398494d3aebe923b57a90ebadf
c39fa3fb4a7d22b915dfd86fc7e94bfeb03def3e:
title: 'drm/crtc: fix uninitialized variable use'
mainline: 6e455f5dcdd15fa28edf0ffb5b44d3508512dccf
backport: de80986229942606e6c9f0f2d27b0a9697c8ad3a
6b3996be13ad67e2ea8aeb8810a807dc394b3055:
title: 'binder: use EPOLLERR from eventpoll.h'
mainline: 6ac061db9c58ca5b9270b1b3940d2464fb3ff183
skipped: missing prerequisite 65aaf87b3aa2d049c6b9fd85221858a895df3393
10cfdc51c399890e535ccc16ed3f58b7c5e8f93e:
title: 'binder: fix comment on binder_alloc_new_buf() return value'
mainline: e1090371e02b601cbfcea175c2a6cc7c955fa830
backport: 40db091e8d96c76059905bd7398ee00f2eb8c042
3174e0f7de1ba392dc191625da83df02d695b60c:
title: 'uio: Fix use-after-free in uio_open'
mainline: 0c9ae0b8605078eafc3bea053cc78791e97ba2e2
backport: 572879a25b2217fba182dc8504abc783af98217e
d3408053bdfcb5992fe7ff01627a96e4293ffd21:
title: 'coresight: etm4x: Fix width of CCITMIN field'
mainline: cc0271a339cc70cae914c3ec20edc2a8058407da
backport: 4de569f9413900bfb66722ef06849c6dd08ec042
cd6382e261952a7c2f1b8326bb9c11b074168d6c:
title: 'x86/lib: Fix overflow when counting digits'
mainline: a24d61c609813963aacc9f6ec8343f4fcaac7243
backport: 08c21102abea6d209abc265063459da3d4ee4750
71c17ee02538802ceafc830f0736aa35b564e601:
title: 'EDAC/thunderx: Fix possible out-of-bounds string access'
mainline: 475c58e1a471e9b873e3e39958c64a2d278275c8
backport: 34d8bcffbe7c87b98ba9697a0a2b0c82e76ad325
b7b85ec5ec15d5a3bc72ee1af35919caa91de9cb:
title: 'powerpc: add crtsavres.o to always-y instead of extra-y'
mainline: 1b1e38002648819c04773647d5242990e2824264
backport: 4e40d13cc6bf0a594558125658cd54d7938c0160
de07ea70ce6f257b8647895b98f4ddc4fee764b0:
title: 'powerpc: remove redundant ''default n'' from Kconfig-s'
mainline: 719736e1cc12b2fc28eba2122893a449eee66d08
backport: a62184e669bcf638ece2811aea8549cff21f1ee6
cce02fde090c5a828fd487c84433d8abcc36c14e:
title: 'powerpc/44x: select I2C for CURRITUCK'
mainline: 4a74197b65e69c46fe6e53f7df2f4d6ce9ffe012
backport: a75255720ea11b327ceaeaea9cd998bf76f0443c
fddcaa763b053c5c983907ed6c1a4a141e54f060:
title: 'powerpc/pseries/memhotplug: Quieten some DLPAR operations'
mainline: 20e9de85edae3a5866f29b6cce87c9ec66d62a1b
backport: 4476a80ea1038fb3b93f62b209d0b71657e5669c
bb79613a9a704469ddb8d6c6029d532a5cea384c:
title: 'powerpc/pseries/memhp: Fix access beyond end of drmem array'
mainline: bd68ffce69f6cf8ddd3a3c32549d1d2275e49fc5
backport: 0fe15f7b9cb118f8e1f1e0fbf54a29f812b15605
ee23d012aea27e6ae6408803c4dd4a7b228667a0:
title: 'selftests/powerpc: Fix error handling in FPU/VMX preemption tests'
mainline: 9dbd5927408c4a0707de73ae9dd9306b184e8fee
backport: 5007064eca0329d3b10635e6e79682ffee1a7ecf
8422d179cf46889c15ceff9ede48c5bfa4e7f0b4:
title: 'powerpc/powernv: Add a null pointer check in opal_event_init()'
mainline: 8649829a1dd25199bbf557b2621cedb4bf9b3050
backport: 78080fd925adc07e20d346105ae760ebe0565764
75fc599bcdcb1de093c9ced2e3cccc832f3787f3:
title: 'powerpc/imc-pmu: Add a null pointer check in update_events_in_group()'
mainline: 0a233867a39078ebb0f575e2948593bbff5826b3
backport: 228d1909628f30b8d08476e5d95cc42299106eca
238f46e6bbe689fb70d3933ffc2b9b7b0caf38b9:
title: 'mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response'
mainline: 923fb6238cb3ac529aa2bf13b3b1e53762186a8b
backport: e18751caa633cdd72d12c0cc18b0ff031164ba8b
556f02699d33c1f40b1b31bd25828ce08fa165d8:
title: 'ACPI: video: check for error while searching for backlight device parent'
mainline: ccd45faf4973746c4f30ea41eec864e5cf191099
backport: 607acc13f86bf0acb33fef6aa25b3d5a02964566
647d1d50c31e60ef9ccb9756a8fdf863329f7aee:
title: 'ACPI: LPIT: Avoid u32 multiplication overflow'
mainline: 56d2eeda87995245300836ee4dbd13b002311782
skipped: missing prerequisite
d717dc44f3ae18cb8524c6fd727836efe53ec8ad:
title: 'net: netlabel: Fix kerneldoc warnings'
mainline: 294ea29113104487a905d0f81c00dfd64121b3d9
backport: 96a4f056a48e452dd59358613be23937b3fa60e1
eb9743bdb23da4136fe3a39b61f3c2fa7f8276d8:
title: 'netlabel: remove unused parameter in netlbl_netlink_auditinfo()'
mainline: f7e0318a314f9271b0f0cdd4bfdc691976976d8c
backport: c3eb5ab095b46e82564541f4b5bfcc28786a9aec
9a8f811a146aa2a0230f8edb2e9f4b6609aab8da:
title: 'calipso: fix memory leak in netlbl_calipso_add_pass()'
mainline: ec4e9d630a64df500641892f4e259e8149594a99
backport: 1456753483efd25769fdac097c4d4cf3c0deb949
aeba358bcc8ffddf9b4a9bd0e5ec9eb338d46022:
title: 'mtd: Fix gluebi NULL pointer dereference caused by ftl notifier'
mainline: a43bdc376deab5fff1ceb93dca55bcab8dbdc1d6
backport: 27f0c87acc3e816ba6f969888334c8c72f491b25
993fc7a5b3119d82e5ae048b8b776c044540d8f4:
title: 'selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket'
mainline: bbf5a1d0e5d0fb3bdf90205aa872636122692a50
skipped: missing prerequisite
96be18c8fff9d57e29621386e2fa17268383ea27:
title: 'crypto: virtio - Handle dataq logic with tasklet'
mainline: fed93fb62e05c38152b0fc1dc9609639e63eed76
backport: bd4fe044189e5e33e38f681a7eba5e862160e3f7
063f6c37b06c115b1d8336d5dac7ea4f7c9ffe53:
title: 'crypto: ccp - fix memleak in ccp_init_dm_workarea'
mainline: a1c95dd5bc1d6a5d7a75a376c2107421b7d6240d
backport: 3d1343b49d7b745740609c97bbd1459fb05a2db8
19af0310c8767c993f2a5d5261e4df3f9f465ce1:
title: 'crypto: af_alg - Disallow multiple in-flight AIO requests'
mainline: 67b164a871af1d736f131fd6fe78a610909f06f3
backport: 1371d1aac1d6b88b0aff31013be162b0caf13d26
6ccb0052254f97e5f4c4b98befdb15de7efcde8d:
title: 'crypto: sahara - remove FLAGS_NEW_KEY logic'
mainline: 8fd183435728b139248a77978ea3732039341779
backport: cb2e4d4c3197d8f2ab3e295bee5273bdb0f50bd3
9c241bed6d321355b41dce62e2c527fc1788c403:
title: 'crypto: sahara - fix ahash selftest failure'
mainline: afffcf3db98b9495114b79d5381f8cc3f69476fb
backport: 726ac2c4fa83c53364a57d7479b0ac42f9057aa6
6aff781a57751247c3bc51dce2a3038ca0d31c36:
title: 'crypto: sahara - fix processing requests with cryptlen < sg->length'
mainline: 5b8668ce3452827d27f8c34ff6ba080a8f983ed0
backport: e7d1a334957ed6f85ff14bc20124a0f7472c656e
71ba0d44a741640a962d4a6092afc84e976379bc:
title: 'crypto: sahara - fix error handling in sahara_hw_descriptor_create()'
mainline: ee6e6f0a7f5b39d50a5ef5fcc006f4f693db18a7
backport: e4adbef4abb98a739765ed95a33453bf10f7c1c8
3b333cded94fbe5ce30d699b316c4715151268ae:
title: 'pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()'
mainline: 86222a8fc16ec517de8da2604d904c9df3a08e5d
backport: 6e45fa30b4b1a531d8867ee85baec327dd6602d6
9cef719eefbc3956016f701cc026d7eb9834ffcb:
title: 'crypto: virtio - Wait for tasklet to complete on device remove'
mainline: 67cc511e8d436456cc98033e6d4ba83ebfc8e672
backport: 120738293f95e68c8eca2ab81c768b7f45389929
dff90a1b4c980b6ddf4ec6cb5167eb08e5026e82:
title: 'crypto: sahara - fix ahash reqsize'
mainline: efcb50f41740ac55e6ccc4986c1a7740e21c62b4
backport: e62a797c5d8d58f318c17ec81c0ecbc6dec2f6f0
882eba76746aa86d3295112fbb140829bd1145db:
title: 'crypto: sahara - fix wait_for_completion_timeout() error handling'
mainline: 2dba8e1d1a7957dcbe7888846268538847b471d1
backport: 49816cb9a0a59fd5293841ec0fb43cd795882133
4532bf0aaedae56a9a0313f6a8e19f1536a076ae:
title: 'crypto: sahara - improve error handling in sahara_sha_process()'
mainline: 5deff027fca49a1eb3b20359333cf2ae562a2343
backport: 3f01b32b887839e9884e6c73137383647578d491
8bb4be72f74b13d51e5e460441b97618252ce481:
title: 'crypto: sahara - fix processing hash requests with req->nbytes < sg->length'
mainline: 7bafa74d1ba35dcc173e1ce915e983d65905f77e
backport: 81a7245bbae96e94e99775f9ed7816c56d44ec62
28076a1a44407a15442589780b1d06579504adc3:
title: 'crypto: sahara - do not resize req->src when doing hash operations'
mainline: a3c6f4f4d249cecaf2f34471aadbfb4f4ef57298
backport: ab2940679b406a2cd07178e5e0178cf9a6546e39
1915874d67287ba1ab71825ae6a4efbb2a0e2b11:
title: 'crypto: scompress - return proper error code for allocation failure'
mainline: 6a4d1b18ef00a7b182740b7b4d8a0fcd317368f8
backport: fb0e9e3f0e7837698efe7070fc875db673901c05
f8f261f9ade28894f5b547d1ec2a905308990f28:
title: 'crypto: scompress - Use per-CPU struct instead multiple variables'
mainline: 71052dcf4be70be4077817297dcde7b155e745f2
backport: 8b5ecff755cbfa45a1215921bf4e5782547f2f0b
1142d65c5b881590962ad763f94505b6dd67d2fe:
title: 'crypto: scomp - fix req->dst buffer overflow'
mainline: 744e1885922a9943458954cfea917b31064b4131
backport: 17c8b716fd42226a901eeb0dfb1ff00347e9f588
62a70167bf88dc6dff160a9d222356a68daab916:
title: 'blocklayoutdriver: Fix reference leak of pnfs_device_node'
mainline: 1530827b90025cdf80c9b0d07a166d045a0a7b81
skipped: missing prerequisite
1b297c8879954e09b1b8fbdd77a58f01fc4618a1:
title: 'NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT'
mainline: 037e56a22ff37f9a9c2330b66cff55d3d1ff9b90
backport: 72daedd6e82587cc8988ddea958dea2838b01cb4
1b653d866e0fe86e424fe4b8fa743d716eee71b6:
title: 'bpf, lpm: Fix check prefixlen before walking trie'
mainline: 9b75dbeb36fcd9fc7ed51d370310d0518a387769
backport: 26459b2b58fa2eba9f12275d7e2d8d1dc9794677
a4087ece661fe2d4f95c2625a0b7d5dd0080229b:
title: 'wifi: libertas: stop selecting wext'
mainline: 8170b04c2c92eee52ea50b96db4c54662197e512
backport: bd06c9590761e3ff8827d9a1c8581625be0b9c79
654d53e853e01f41d35156c956923dc5b6f3d21f:
title: 'ARM: dts: qcom: apq8064: correct XOADC register address'
mainline: 554557542e709e190eff8a598f0cde02647d533a
skipped: missing prerequisite
3cb8ac9da29fac5ee4e6813f2c3e12690ee84a98:
title: 'ncsi: internal.h: Fix a spello'
mainline: 195a8ec4033b4124f6864892e71dcef24ba74a5a
backport: fdf6985a539e1435a5ef7b4de9cf15a2c1c8406d
80a3ca0918eed409291a816fbed6b44678d01641:
title: 'net/ncsi: Fix netlink major/minor version numbers'
mainline: 3084b58bfd0b9e4b5e034f31f31b42977db35f12
backport: 05fd39a024db3af5ea78291dcf24af261e8a68d1
fbdc266ebf438e711ebd48d9b1370e30f4e31096:
title: 'firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create()'
mainline: 964946b88887089f447a9b6a28c39ee97dc76360
backport: c2b0d1feb5b926fc9ba0c386454570de69dde649
a9386c2f247611bfad7510b64eb2932e2c555a5a:
title: 'rtlwifi: Use ffs in <foo>_phy_calculate_bit_shift'
mainline: 6c1d61913570d4255548ac598cfbef6f1e3c3eee
backport: 897f298f90efb10cf81393cd7e0190b37c2ebbc9
6b08b1e6d85f67f5782a49daf4725dc281ed9be7:
title: 'wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior'
mainline: bc8263083af60e7e57c6120edbc1f75d6c909a35
backport: bd03ed76b048543b7401018196dc0526caa00ec9
637ba33605a51112aa46804f02548d78ed6f083e:
title: 'scsi: hisi_sas: Replace with standard error code return value'
mainline: d34ee535705eb43885bc0f561c63046f697355ad
skipped: missing prerequisite
5ef6f81c326a1c0c7799a823a5510b74f958ac32:
title: 'dma-mapping: clear dev->dma_mem to NULL after freeing it'
mainline: b07bc2347672cc8c7293c64499f1488278c5ca3d
skipped: missing prerequisite
09ceb7f1710717628488f5686cc083314c693e54:
title: 'wifi: rtlwifi: add calculate_bit_shift()'
mainline: 52221dfddbbfb5b4e029bb2efe9bb7da33ec1e46
backport: 88d5a3786e5cb6a10065d7e26c250bb8c848a2a2
ad3d745248c04faa6e60abb9d2dee9555faa470c:
title: 'wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift()'
mainline: 969bc926f04b438676768aeffffffb050e480b62
backport: 2128cf6809ee76d13a74481b5985e30ec5485a45
29e2ecd3fdeb952696f9267d49257e93dca32321:
title: 'wifi: rtlwifi: rtl8192c: using calculate_bit_shift()'
mainline: 1dedc3a6699d827d345019e921b8d8f37f694333
backport: e393571a6bd85fd5ffec367d11483d52b0c80718
1d5fd854141a1a073381f3356109ebba8709b4c6:
title: 'wifi: rtlwifi: rtl8192cu: using calculate_bit_shift()'
mainline: f4088c8fcbabadad9dd17d17ae9ba24e9e3221ec
backport: 4d6a0f73aba3e60b208083788b48f92c13608888
8f79e8a983010ac6e31e2ce6bde6d00e2c9a4e4e:
title: 'wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()'
mainline: 3d03e8231031bcc65a48cd88ef9c71b6524ce70b
backport: 60ca01685d4eb09fd2705165e9def96b64dc7da5
86cd6555b79b22b64bf49a031bc056c4d4c447bd:
title: 'rtlwifi: rtl8192de: make arrays static const, makes object smaller'
mainline: b05897ca8c821a16ac03850c4704fe460b3f21a0
backport: 915183b8e7402ad215ba4a3d7b034ca1b25bd70f
9f1500e8c3a50be139e87d71394d5109e46e3dad:
title: 'wifi: rtlwifi: rtl8192de: using calculate_bit_shift()'
mainline: b8b2baad2e652042cf8b6339939ac2f4e6f53de4
backport: 08b7dd75bc7b17d784e8e765225d24d7158f5aeb
6642a375aa95f4344ab1fc7332f2d45c20ea2d63:
title: 'wifi: rtlwifi: rtl8192ee: using calculate_bit_shift()'
mainline: 63526897fc0d086069bcab67c3a112caaec751cb
backport: 3ab28359e0eb80b57a58893db84412b5e85d7777
9e50da7d71796c662bb39dada2d3ca44c2bf2362:
title: 'wifi: rtlwifi: rtl8192se: using calculate_bit_shift()'
mainline: ac32b9317063b101a8ff3d3e885f76f87a280419
backport: a25a56719d96f567cb73dba6bddc2f4b5e7ef420
f7f627ac761b2fb0c487e5aaff1585f1014ab9a6:
title: 'Bluetooth: Fix bogus check for re-auth no supported with non-ssp'
mainline: d03376c185926098cb4d668d6458801eb785c0a5
backport: 6ba5a14ad6f87a7d610a96c08cf1100b11583c7e
8b47d12e350ea5a8c1cbe94094a9319c4bc9b9bf:
title: 'Bluetooth: btmtkuart: fix recv_buf() return value'
mainline: 64057f051f20c2a2184b9db7f8037d928d68a4f4
skipped: missing prerequisite
135414f300c5db995e2a2f3bf0f455de9d014aee:
title: 'ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()'
mainline: d375b98e0248980681e5e56b712026174d617198
backport: 6d5e17b3543373963fda337744203edf8e4f5c40
ef87ffe5e8093ea540803811b1496238d778069c:
title: 'RDMA/usnic: Silence uninitialized symbol smatch warnings'
mainline: b9a85e5eec126d6ae6c362f94b447c223e8fe6e4
backport: 8f07604e4630933aeb436be46c38b7240725a2eb
ec36c134dd020d28e312c2f1766f85525e747aab:
title: 'media: pvrusb2: fix use after free on context disconnection'
mainline: ded85b0c0edd8f45fec88783d7555a5b982449c1
backport: faf2ca73bc2b927d4ba2f830d57de1662ce77852
d1992dd1ba7a9b4353cc2c673233be297c8d5c96:
title: 'drm/bridge: Fix typo in post_disable() description'
mainline: 288b039db225676e0c520c981a1b5a2562d893a3
backport: 27d74baf1b5b0f7fe7659b1359c29efdf1915982
02160112e6d45c2610b049df6eb693d7a2e57b46:
title: 'f2fs: fix to avoid dirent corruption'
mainline: 53edb549565f55ccd0bdf43be3d66ce4c2d48b28
backport: bbf60e5c55914a70605910a108192c9eaf502907
f55536f3377690f9e1b8f7fba5d19e371b73d20f:
title: 'drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()'
mainline: 39c960bbf9d9ea862398759e75736cfb68c3446f
backport: 2a37830abde108247bac114a185b5661ad69eb82
98d47b927d85a4151d048a41b950d92e1b01e88f:
title: 'drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()'
mainline: b5c5baa458faa5430c445acd9a17481274d77ccf
backport: c465f32956eead2b3a38259c31d0e811d2b96f40
4d8d372eb7e865053b954f04ee34eeb1fed1da39:
title: 'drm/radeon: check return value of radeon_ring_lock()'
mainline: 71225e1c930942cb1e042fc08c5cc0c4ef30e95e
backport: 31655ae29f5b0ad9fc6bf1b0d79032bb7f08dbae
c03156a046ae69f1abc2d93b57d6f410729d2c84:
title: 'ASoC: cs35l33: Fix GPIO name and drop legacy include'
mainline: 50678d339d670a92658e5538ebee30447c88ccb3
backport: 5eeba65918540f2e0cd6b8c09ffafd49436ecf0a
b02d4b488da9830762611dd07d206fd49cfd72cb:
title: 'ASoC: cs35l34: Fix GPIO name and drop legacy include'
mainline: a6122b0b4211d132934ef99e7b737910e6d54d2f
backport: ec3ed7b8f8f728621c66e1e29b6b281b3a76ed39
f7133b078dbe8e5973d5b569b9fd58b5ff068f2c:
title: 'drm/msm/mdp4: flush vblank event on disable'
mainline: c6721b3c6423d8a348ae885a0f4c85e14f9bf85c
backport: 6af25088ade37074893cb9dbb9d515e4807739d6
f6f65dac6c1b18f3a4fff214f80e08f92f873fed:
title: 'drm/drv: propagate errors from drm_modeset_register_all()'
mainline: 5f8dec200923a76dc57187965fd59c1136f5d085
backport: d25d4a3bbb225f6f6a5e13396b33d8f51d736d10
21b1645660717d6126dd4866c850fcc5c4703a41:
title: 'drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()'
mainline: 7a2464fac80d42f6f8819fed97a553e9c2f43310
backport: b7e655dc8c70d3267aabf18fef0214a17fd10403
a8b530d665fb6a0af23f94f7cca175a2122b3ed2:
title: 'drm/radeon/dpm: fix a memleak in sumo_parse_power_table'
mainline: 0737df9ed0997f5b8addd6e2b9699a8c6edba2e4
backport: e7d18b4f0386f969ea7962389c04afeb3ff6feb1
afb2be8f4279799aee6f2451287bd6f594b2e1cd:
title: 'drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table'
mainline: 28c28d7f77c06ac2c0b8f9c82bc04eba22912b3b
backport: 1bfe8303ba10f5bedc81d22675d4449e16ca0cba
68d7d5923f8a2f03193b27297252d0e7cc7045fc:
title: 'media: cx231xx: fix a memleak in cx231xx_init_isoc'
mainline: 5d3c8990e2bbf929cb211563dadd70708f42e4e6
backport: 1755d5eb6e59ad98a24166819c2495a376aa42ae
782a58a14de9f6551dc0e82c19e0caa6f7cc419c:
title: 'media: dvbdev: drop refcount on error path in dvb_device_open()'
mainline: a2dd235df435a05d389240be748909ada91201d2
backport: d4030a0f227463e56c947b32329c9921f6540e71
94dae1e058fba76a01989ef07d1d4aab2f8f62a3:
title: 'drm/amdgpu/debugfs: fix error code when smc register accessors are NULL'
mainline: afe58346d5d3887b3e49ff623d2f2e471f232a8d
skipped: missing prerequisite
afe9f5b871f86d58ecdc45b217b662227d7890d0:
title: 'drm/amd/pm: fix a double-free in si_dpm_init'
mainline: ac16667237a82e2597e329eb9bc520d1cf9dff30
backport: 792d62725c643e5f7638ea7b515c99a14c8e3737
8a27d9d9fc9b5564b8904c3a77a7dea482bfa34e:
title: 'drivers/amd/pm: fix a use-after-free in kv_parse_power_table'
mainline: 28dd788382c43b330480f57cd34cde0840896743
backport: a6e7ea708763a4cbe3d71042c9d3f3c595f379d7
aa2bcb8cddd990e37a0c750a04a8bc3fbc1e0710:
title: 'gpu/drm/radeon: fix two memleaks in radeon_vm_init'
mainline: c2709b2d6a537ca0fa0f1da36fdaf07e48ef447d
backport: 99afdfa5464efb18504ec34b1770ea1a3f45cde9
c0a529ab2af0bbe06dc278655d2ad67725ee04bc:
title: 'watchdog: set cdev owner before adding'
mainline: 38d75297745f04206db9c29bdd75557f0344c7cc
backport: 5b38ec02c46daabc1e4c2437a97b01ced82fc186
0bbeb932bd0a44abebc8c0e137d2eac98f1ff32d:
title: 'watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO'
mainline: dced0b3e51dd2af3730efe14dd86b5e3173f0a65
skipped: missing prerequisite
3f30085bd96cbb0a6d9a7c70989d6fcae7b9b651:
title: 'watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling'
mainline: f33f5b1fd1be5f5106d16f831309648cb0f1c31d
backport: 070a50e21971a395ea35e22ba5145c90bf6aca7b
4d42d3bf480113fe463044a0f675979f8bb0fbb7:
title: 'mmc: sdhci_omap: Fix TI SoC dependencies'
mainline: 09f164d393a6671e5ff8342ba6b3cb7fe3f20208
skipped: missing prerequisite
26b4d702c44f9e5cf3c5c001ae619a4a001889db:
title: 'of: Fix double free in of_parse_phandle_with_args_map'
mainline: 4dde83569832f9377362e50f7748463340c5db6b
skipped: missing prerequisite
d35bdf57d4c1ea706d0a23712611ab97a556611d:
title: 'of: unittest: Fix of_count_phandle_with_args() expected value message'
mainline: 716089b417cf98d01f0dc1b39f9c47e1d7b4c965
skipped: missing prerequisite
05088b886fea59cc827e5b5cedb66165cf532f72:
title: 'binder: fix async space check for 0-sized buffers'
mainline: 3091c21d3e9322428691ce0b7a0cfa9c0b239eeb
backport: d0bbd4afe43cd08a408c737ad9d3d826deeb09ea
6c42ba1fc7d39b1d72c1adc43ea2e519f5450b3c:
title: 'Input: atkbd - use ab83 as id when skipping the getid command'
mainline: 58f65f9db7e0de366a5a115c2e2c0703858bba69
backport: 8f95561662745f6212e830179c4dcf3e8f90e232
c2d22841d5f7a2010f7848b10d8158cfffef1a1f:
title: 'Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek"'
mainline: c775cbf62ed4911e4f0f23880f01815753123690
skipped: missing prerequisite
5bb8270789c88c0e4ad78c0de2f274f2275c7f6c:
title: 'xen-netback: don''t produce zero-size SKB frags'
mainline: c7ec4f2d684e17d69bbdd7c4324db0ef5daac26a
backport: 98b497bbb72b5c745556a05985241d55ecf93df6
95b1d336b0642198b56836b89908d07b9a0c9608:
title: 'binder: fix race between mmput() and do_exit()'
mainline: 9a9ab0d963621d9d12199df9817e66982582d5a5
backport: 553b9fbf5d0dc52038c1845033e0d0919cdc72ec
e2425a67b5ed67496959d0dfb99816f5757164b0:
title: 'binder: fix unused alloc->free_async_space'
mainline: c6d05e0762ab276102246d24affd1e116a46aa0c
backport: 09f65d968ecc015e036d03f6edc697ed6d317855
98654bc44cfe00f1dfc8caf48079c504c473fdc3:
title: 'tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug'
mainline: 71fee48fb772ac4f6cfa63dbebc5629de8b4cc09
backport: e3ff741c08a574f4a541ca15781a76c8faacc15a
21ee23b1b0c36b032eb44f3492151e924832f33d:
title: 'usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()'
mainline: ff2b89de471da942a4d853443688113a44fd35ed
backport: 848d134a5b0b0139ae89155936f6f0009f418aac
35efd8f23709cda8cf17cdf607645c1e92362150:
title: 'usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart'
mainline: e9d40b215e38480fd94c66b06d79045717a59e9c
backport: 3b3fc47ec4e2ab45ad6193fa5f768af07a3aed39
4e3fc0e8aa6dcd01dd3130640ee2bc184de8c3cb:
title: 'Revert "usb: dwc3: Soft reset phy on probe for host"'
mainline: 7059fbebcb00554c3f31e5b5d93ef6d2d96dc7b4
skipped: missing prerequisite
b19938dc9188f8505296a45e34114b626d23d6b7:
title: 'Revert "usb: dwc3: don''t reset device side if dwc3 was configured as host-only"'
mainline: afe28cd686aeb77e8d9140d50fb1cf06a7ecb731
skipped: missing prerequisite
744c753fe43a01c4ba74441f3367ce56e7c24dbb:
title: 'usb: chipidea: wait controller resume finished for wakeup irq'
mainline: 128d849074d05545becf86e713715ce7676fc074
backport: f2860da15f7c3d6fbb7d7736bc6f9e5401328661
f4e842c40582bf801ba827818e09470919e7cb59:
title: 'Revert "usb: typec: class: fix typec_altmode_put_partner to put plugs"'
mainline: 9c6b789e954fae73c548f39332bcc56bdf0d4373
skipped: missing prerequisite
de099c9a3011451b5d0562f31f47aa29a38d0a44:
title: 'usb: typec: class: fix typec_altmode_put_partner to put plugs'
mainline: 5962ded777d689cd8bf04454273e32228d7fb71f
skipped: missing prerequisite
c9fe83c03d64e60e3bdf4ec118dd391ced800125:
title: 'usb: mon: Fix atomicity violation in mon_bin_vma_fault'
mainline: 2dd23cc4d0e6aa55cf9fb3b05f2f4165b01de81c
backport: f68f3eb091d0f045aa79a6101593eb8d81eaeea5
2d412772b60b435611f2bdf9ae66d284b1e4581c:
title: 'ALSA: oxygen: Fix right channel of capture volume mixer'
mainline: a03cfad512ac24a35184d7d87ec0d5489e1cb763
backport: af21cdde8b15d3432699c214e0970ddac152f539
14b84d9a230b69084dc967a2e837e8f77f16e239:
title: 'fbdev: flush deferred work in fb_deferred_io_fsync()'
mainline: 15e4c1f462279b4e128f27de48133e0debe9e0df
backport: e9dc3538ec3195a260e630bb807dcd1c59141b3c
fef91b68a7a1ce6fe250c823f9eac0a8a4b86d67:
title: 'wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code'
mainline: b3943b3c2971444364e03224cfc828c5789deada
backport: 72900b18da7e387b139b435d58968f2fbf1922df
a0aa5c8bacad6f5a6f5cd0aeba459b54f4f01c0f:
title: 'wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors'
mainline: 5894d0089cbc146063dcc0239a78ede0a8142efb
backport: e68bf9e612fc65950931a48e191d5bbdf3321db8
99f3aa8c515deb19b25056a2e9f589ba43098260:
title: 'wifi: mwifiex: configure BSSID consistently when starting AP'
mainline: f0dd488e11e71ac095df7638d892209c629d9af2
backport: d1a47b4a12ca2b93fda76fea730b12b677ad2cf1
9fb6c2fd168add72754c8633e9d857f109d26c79:
title: 'HID: wacom: Correct behavior when processing some confidence == false touches'
mainline: 502296030ec6b0329e00f9fb15018e170cc63037
backport: 5ce237ebadbd8ba81f08f349159a0e7d14aaa853
c6d7d05b5180b508b589c37820aafa76698f9c2c:
title: 'MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()'
mainline: 89c4b588d11e9acf01d604de4b0c715884f59213
backport: e890afc067e68597bca534724a9c034c406a679d
8e16eb8d75597a2bc1747e4fe4bd48cd219e0c08:
title: 'MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()'
mainline: 3c1e5abcda64bed0c7bffa65af2316995f269a61
backport: e46223e9fa8f7dc8beb87d13cab9117150e4c7d0
d60ab2f871564fa4cfe721e321002d490e885cdc:
title: 'acpi: property: Let args be NULL in __acpi_node_get_property_reference'
mainline: bef52aa0f3de1b7d8c258c13b16e577361dabf3a
skipped: missing prerequisite
8b55ba542da96c9eb28f97c2aaa7b5f6f3cac1ab:
title: 'perf genelf: Set ELF program header addresses properly'
mainline: 1af478903fc48c1409a8dd6b698383b62387adf1
skipped: missing prerequisite
9286ee97aa4803d99185768735011d0d65827c9e:
title: 'apparmor: avoid crash when parsed profile name is empty'
mainline: 55a8210c9e7d21ff2644809699765796d4bfb200
backport: 9f63fb12c2ed40fbec3472326ccaa66f842f895e
e6e09a88789b818f970ab9eba427dee23f82f007:
title: 'serial: imx: Correct clock error message in function probe()'
mainline: 3e189470cad27d41a3a9dc02649f965b7ed1c90f
backport: 2690f9764726feaa9616353bf3c44689d5743c88
093dab655808207f7a9f54cf156240aeafc70590:
title: 'net: qualcomm: rmnet: fix global oob in rmnet_policy'
mainline: b33fb5b801c6db408b774a68e7c8722796b59ecc
skipped: missing prerequisite
83fabba372ea78f9d0caaf15fe0b10b1704d84e0:
title: 'net: ravb: Fix dma_addr_t truncation in error case'
mainline: e327b2372bc0f18c30433ac40be07741b59231c5
backport: df281fb15750e6711a272493cfe73b175e74ff7f
368770bfd05fcb16e5f3ee0857176ccea00e462b:
title: 'net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe'
mainline: 776dac5a662774f07a876b650ba578d0a62d20db
skipped: missing prerequisite
614235859d46cae23af6120f48bca9c4250a5392:
title: 'ipvs: avoid stat macros calls from preemptible context'
mainline: d6938c1c76c64f42363d0d1f051e1b4641c2ad40
backport: 4dcf29c0ff8acca60293aee99bc256e4f5215fe1
b06507c19c19199534c14e73a85c3a2c1cef0a36:
title: 'kdb: Censor attempts to set PROMPT without ENABLE_MEM_READ'
mainline: ad99b5105c0823ff02126497f4366e6a8009453e
backport: dd39912acd0b28dec249a9466db430d2b32f53c7
e7c31af67b6c8afa5e917520a61bc0d79d86db68:
title: 'kdb: Fix a potential buffer overflow in kdb_local()'
mainline: 4f41d30cd6dc865c3cbc1a852372321eba6d4e4c
backport: 5b7a52eb9c1d0dfa92d90e668646565c6293904f
47028cccbd01b6f540b0ab289c37dc0b8b46c561:
title: 'i2c: s3c24xx: fix read transfers in polling mode'
mainline: 0d9cf23ed55d7ba3ab26d617a3ae507863674c8f
backport: fcbf91b1a3630d288b639ac39b1ab10529ea1c4e
0646c260c4b4b827b3e73ebe146cd06a4c11b09d:
title: 'i2c: s3c24xx: fix transferring more than one message in polling mode'
mainline: 990489e1042c6c5d6bccf56deca68f8dbeed8180
backport: ce27684d192649d7048f579ebf7d641095503f72
10d75984495f7fe62152c3b0dbfa3f0a6b739c9b:
title: 'Revert "NFSD: Fix possible sleep during nfsd4_release_lockowner()"'
mainline: ce3c4ad7f4ce5db7b4f08a1e237d8dd94b39180b
backport: 1b29cdadfd7b1c8199fb02f4308cf4ae3dd166b7
a132ff91717c28498c602e62824f0684a02c8832:
title: 'crypto: scompress - initialize per-CPU variables on each CPU'
mainline: 8c3fffe3993b06dd1955a79bd2f0f3b143d259b3
backport: be892379d02565cc7ee9c36a4efce9e19f2bf349

View File

@@ -1,792 +0,0 @@
fd110f42e3679af082c427b7a2eeb942d5af470f:
title: 'PCI: mediatek: Clear interrupt status before dispatching handler'
mainline: 4e11c29873a8a296a20f99b3e03095e65ebf897d
backport: 7641f759ca67017f4c30a592499e57880eaff71f
cde2b87517dcf1e2aa887ad8a327b022e663dcea:
title: 'include/linux/units.h: add helpers for kelvin to/from Celsius conversion'
mainline: 23331e4893614deb555c65cdf115c8a28ed32471
backport: efb9a9043e383cc61ee11c500879b095c0ac69b4
0e7f574162e2f15f4b63f9892906f6a9afe4429f:
title: 'units: Add Watt units'
mainline: 2ee5f8f05949735fa2f4c463a5e13fcb3660c719
backport: 7fa3ad8fce867983af62f56e43a3a2e9d3b6b3ed
08333e4c4f3ffe6f9d916cc111d9f3429a6aa6c2:
title: 'units: change from ''L'' to ''UL'''
mainline: c9221919a2d2df5741ab074dfec5bdfc6f1e043b
backport: c87d7d3960d2b5393160f7cff6d2044bb092f3aa
fe79b37c6a59c623c9e64e53d5d9a0fffcfe977f:
title: 'units: add the HZ macros'
mainline: e2c77032fcbe515194107994d12cd72ddb77b022
backport: a86917709d63eed8549377e273ed49aaf6f0fe85
5733959d6770324020e30dd9313cbeac0aec07ef:
title: 'serial: sc16is7xx: set safe default SPI clock frequency'
mainline: 3ef79cd1412236d884ab0c46b4d1921380807b48
backport: 43f2c1d0c3164fa36be2176c14471487612cc7d4
b0465a4897047ece1e4275fefc88a66ee41c5379:
title: 'driver core: add device probe log helper'
mainline: a787e5400a1ceeb0ef92d71ec43aeb35b1fa1334
backport: baa039a424b919c35e14d292209e6eb1c75a56ae
93d63ccd20b55ae704d2c89664375e6f98552ee6:
title: 'spi: introduce SPI_MODE_X_MASK macro'
mainline: 029b42d8519cef70c4fb5fcaccd08f1053ed2bf0
backport: 5691ddf6d4ceb137c3411a02d3c1e8ec04dd63f3
cccdd04643a7d21d0ca5d8205b15ec0ea1be1c6b:
title: 'serial: sc16is7xx: add check for unsupported SPI modes during probe'
mainline: 6d710b769c1f5f0d55c9ad9bb49b7dce009ec103
backport: 6b48b4b203794e7f13aa0f97451bad4acbae2cae
5b6a7f323b533e5ab07e93633ad9644b41b6df42:
title: 'ext4: allow for the last group to be marked as trimmed'
mainline: 7c784d624819acbeefb0018bac89e632467cca5a
skipped: missing prerequisite
15a67115d487ea5cb8213915a4f75f58adb87cbc:
title: 'crypto: api - Disallow identical driver names'
mainline: 27016f75f5ed47e2d8e0ca75a8ff1f40bc1a5e27
backport: 545e2955bf5596fac2adf3a7857fa459c544c148
489506a2a0cbbfc7065d4d18ec6bb9baa3818c62:
title: 'PM: hibernate: Enforce ordering during image compression/decompression'
mainline: 71cd7e80cfde548959952eac7063aeaea1f2e1c6
backport: ea24848bab92c13dbf6ab1b2174f9d036487d253
eafd83b92f6c044007a3591cbd476bcf90455990:
title: 'hwrng: core - Fix page fault dead lock on mmap-ed hwrng'
mainline: 78aafb3884f6bc6636efcc1760c891c8500b9922
backport: 581445afd04cac92963d8b56b3eea08b320d6330
229ce47cbfdc7d3a9415eb676abbfb77d676cb08:
title: 'rpmsg: virtio: Free driver_override when rpmsg_remove()'
mainline: d5362c37e1f8a40096452fc201c30e705750e687
backport: 669cd9318ec5d236f24973f8ca3faad5f31d4b6d
63cc5eb9b4102474423c4d6563fdf2ebbedf437f:
title: 'parisc/firmware: Fix F-extend for PDC addresses'
mainline: 735ae74f73e55c191d48689bd11ff4a06ea0508f
backport: ea4d137035293e76e164c462a2fedfb4287924cf
98fcd3b663835bc7518d65d053419c640f3515a3:
title: 'nouveau/vmm: don''t set addr on the fail path to avoid warning'
mainline: cacea81390fd8c8c85404e5eb2adeb83d87a912e
skipped: missing prerequisite 24e8375b1bfdf7f6014b9e3d7903d6a8f81aa249
d2d0b95ca1b5fefa3deed444a803c9f809db66cf:
title: 'block: Remove special-casing of compound pages'
mainline: 1b151e2435fc3a9b10c8946c6aebe9f3e1938c55
backport: c0ec35dc112eab077896d9f5b4c0a290b778c38a
4ce844d0f50f789cc70de7bd02511df0f40c64b6:
title: 'powerpc: Use always instead of always-y in for crtsavres.o'
771df0145297a1a9f1e7f799da43f8b0f8850e7c:
title: 'x86/CPU/AMD: Fix disabling XSAVES on AMD family 0x17 due to erratum'
d31978bfec1d251a75d4a038e564ef2ff9d8be40:
title: 'driver core: Annotate dev_err_probe() with __must_check'
mainline: e1f82a0dcf388d98bcc7ad195c03bd812405e6b2
backport: 72a6d97e54e06db480e8cdbdab3cd0110295251b
b715d543d42e8e4ddd645193410cd4511fc46d6c:
title: 'Revert "driver core: Annotate dev_err_probe() with __must_check"'
mainline: f601e8f37c2c1c52f2923fffc48204a7f7dc023d
backport: 8a65f3d70ff92f689506357203bfa8fef42ed031
cf07cb793264fd3c459918dda7e839d6a279493c:
title: 'driver code: print symbolic error code'
mainline: 693a8e936590f93451e6f5a3d748616f5a59c80b
backport: 4fa22d4f07a2ab952ca8005d816b1eb7b4ae7bb8
4d61ff79b439fe9cd5eaa3363a25853f230e2026:
title: 'drivers: core: fix kernel-doc markup for dev_err_probe()'
mainline: 074b3aad307de6126fbac1fff4996d1034b48fee
backport: 7fa4477471e885e41d5272987d399084f8a90d72
27aea64838914c6122db5b8bd4bed865c9736f22:
title: 'net/smc: fix illegal rmb_desc access in SMC-D connection dump'
mainline: dbc153fd3c142909e564bb256da087e13fbf239c
skipped: missing prerequisite
91759822dd336c20f817e6fd59cccee3952599f7:
title: 'vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING'
mainline: 6c21660fe221a15c789dee2bc2fd95516bc5aeaf
backport: b2d336bd83e5129931108606348fe6d64b2ea95d
84e9d10419f6f4f3f3cd8f9aaf44a48719aa4b1b:
title: 'llc: make llc_ui_sendmsg() more robust against bonding changes'
mainline: dad555c816a50c6a6a8a86be1f9177673918c647
backport: f99b9736c1b4642c7694718ff2e559060e102460
165ad1e22779685c3ed3dd349c6c4c632309cc62:
title: 'llc: Drop support for ETH_P_TR_802_2.'
mainline: e3f9bed9bee261e3347131764e42aeedf1ffea61
backport: dc5870e21f3001b3ec8576e6f54031a8cba164f5
344350bfa3b4b37d7c3d5a00536e6fbf0e953fbf:
title: 'net/rds: Fix UBSAN: array-index-out-of-bounds in rds_cmsg_recv'
mainline: 13e788deb7348cc88df34bed736c3b3b9927ea52
backport: e5ac391f7644fa947a50c342ea44829eaecddedd
5022b331c041e8c54b9a6a3251579bd1e8c0fc0b:
title: 'tracing: Ensure visibility when inserting an element into tracing_map'
mainline: 2b44760609e9eaafc9d234a6883d042fc21132a7
skipped: missing prerequisite
52c46caf283bfa3016a5e41363df93c02037f788:
title: 'tcp: Add memory barrier to tcp_push()'
mainline: 7267e8dcad6b2f9fce05a6a06335d7040acbc2b6
backport: 6a3e1d9862f94de4bee1e33e16f05038f5389a2b
d53a2b227d0fd0ca1404cddec607d32154a7259f:
title: 'netlink: fix potential sleeping issue in mqueue_flush_file'
mainline: 234ec0b6034b16869d45128b8cd2dc6ffe596f04
backport: ef58e1caae5c94a09529c65681dad1fd4e8fb0ee
af3bf8e9a72fbd173e06b688039c3f6fbde45315:
title: 'net/mlx5: Use kfree(ft->g) in arfs_create_groups()'
mainline: 360000b26e37a75b3000bf0585b263809d96ffd3
backport: 43a2aef972f44aa2b326fa198bdf8dfabb943956
e3d3ed8c152971dbe64c92c9ecb98fdb52abb629:
title: 'net/mlx5e: fix a double-free in arfs_create_groups'
mainline: 3c6d5189246f590e4e1f167991558bdb72a4738b
backport: c68c6c612420fbc4d139aae2815f9cb4b4477ee0
de19690509d3fe9374922b36bb5f2de25d76f75c:
title: 'netfilter: nf_tables: restrict anonymous set and map names to 16 bytes'
mainline: b462579b2b86a8f5230543cadd3a4836be27baf7
backport: aa81ef3caf4be77e37974492532e649a2fcb19f8
3dfd95c03c387368f519339499b27e2de5aeb998:
title: 'fjes: fix memleaks in fjes_hw_setup'
mainline: f6cc4b6a3ae53df425771000e9c9540cce9b7bb1
backport: c655c5bcecd961e52b149f6ca3931ccb3fea68c4
ba33e0ab29dab25e63b1e2d0c8200798729bb759:
title: 'net: fec: fix the unhandled context fault from smmu'
mainline: 5e344807735023cd3a67c37a1852b849caa42620
backport: 6fa5ff53b288d8a31412cbf775292e5355d2aa62
e50c68c5202041af6e5e8f6917f9b9bb8dcadbcc:
title: 'btrfs: don''t warn if discard range is not aligned to sector'
mainline: a208b3f132b48e1f94f620024e66fea635925877
backport: 762a825fada9668d550eddd794000c7f2caccdfa
f084057282bc5f45e5f50a4b226244a30666422d:
title: 'btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args'
mainline: 173431b274a9a54fc10b273b46e67f46bcf62d2e
backport: 7b51f7d4004c09506c8b18d952ac742f27a3ef61
8365e9d92b85fda975a5ece7a3a139cb964018c8:
title: 'netfilter: nf_tables: reject QUEUE/DROP verdict parameters'
mainline: f342de4e2f33e0e39165d8639387aa6c19dff660
backport: 0d987a601a2677d5d2632e82dcaa3fd47eda8d5e
c8bd34e256d33bf1ccce1540fbfe3e4dbd3d2c8e:
title: 'gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04'
mainline: 805c74eac8cb306dc69b87b6b066ab4da77ceaf1
backport: 64ae55163661acf809649c0635c6b21e5d028ae6
376e21a9e4c2c63ee5d8d3aa74be5082c3882229:
title: 'drm: Don''t unref the same fb many times by mistake due to deadlock handling'
mainline: cb4daf271302d71a6b9a7c01bd0b6d76febd8f0c
backport: c8c5f7898fcca7d74c44b655d176277efb9fea24
80cb196c51aaf67c29f7fc59ae8d5d77f13d650b:
title: 'drm/bridge: nxp-ptn3460: fix i2c_master_send() error checking'
mainline: 914437992876838662c968cb416f832110fb1093
backport: c08fbf9dc1f387f205d5bcc50e015e63b4c9e0a4
245c7e59073add7c4bec107a7abb5f473fbb6762:
title: 'drm/bridge: nxp-ptn3460: simplify some error checking'
mainline: 28d3d0696688154cc04983f343011d07bf0508e4
backport: a763a5bff50097dc988f3ac6a4e39aba8cfa1c1c
8480240c551f51529f4bfc7447e8177f35b4efc5:
title: 'drm/exynos: gsc: minor fix for loop iteration in gsc_runtime_resume'
mainline: 4050957c7c2c14aa795dbf423b4180d5ac04e113
skipped: missing prerequisite
9bc5b61ea590de57e4c82038b183e634bc4519c9:
title: 'gpio: eic-sprd: Clear interrupt after set the interrupt type'
mainline: 84aef4ed59705585d629e81d633a83b7d416f5fb
skipped: missing prerequisite
4f5ce9429566979ea623f6f3b897d0d1bebd6b46:
title: 'mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan'
mainline: 59be5c35850171e307ca5d3d703ee9ff4096b948
backport: 33922b26c79b28d52cdd80634cef19adfc8af24d
7c0fdf4485c7bb02a1c7d7a4a68c3686d6ac5d53:
title: 'tick/sched: Preserve number of idle sleeps across CPU hotplug events'
mainline: 9a574ea9069be30b835a3da772c039993c43369b
backport: fd36c0072c50e2198c71ffcdf773f3a80efb4d86
d20c05fc2f18651d19ef881d403a0ccf8ce8b8e1:
title: 'x86/entry/ia32: Ensure s32 is sign extended to s64'
mainline: 56062d60f117dccfb5281869e0ab61e090baf864
skipped: missing prerequisite
bbd8e460c478adbc88e2ec4e2414931a59791348:
title: 'net/sched: cbs: Fix not adding cbs instance to list'
mainline: 3e8b9bfa110896f95d602d8c98d5f9d67e41d78c
skipped: missing prerequisite
21e45a7b08d7cd98d6a53c5fc5111879f2d96611:
title: 'powerpc/mm: Fix null-pointer dereference in pgtable_cache_add'
mainline: f46c8a75263f97bda13c739ba1c90aced0d3b071
backport: 3acd7d14ab042ec3180ad82f70f02c1640d70c0b
8dc842cd56b541d8f82daa2dd0d178add07ed384:
title: 'powerpc: Fix build error due to is_valid_bugaddr()'
mainline: f8d3555355653848082c351fa90775214fb8a4fa
backport: 985b459da1516795390094540cd97bbea8263903
d30f1f01acd2a4bcd819c346770ec0344b325bc1:
title: 'powerpc/mm: Fix build failures due to arch_reserved_kernel_pages()'
mainline: d8c3f243d4db24675b653f0568bb65dae34e6455
backport: 74b8b0d494bf916399a7d32153e2234299bce7cb
42084a428a139f1a429f597d44621e3a18f3e414:
title: 'powerpc/lib: Validate size for vector operations'
mainline: 8f9abaa6d7de0a70fc68acaedce290c1f96e2e59
backport: 20d558564e788fe68498849aafc685f7beeaa85d
ee56b48a402f37f239cb0ab94ae0a2fa7dd31eb9:
title: 'audit: Send netlink ACK before setting connection in auditd_set'
mainline: 022732e3d846e197539712e51ecada90ded0572a
backport: 309b71479dd509d167afbf01830396412b280494
a4d8109395c1ab519ac9b421cc4ebe95cb75b64d:
title: 'ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop'
mainline: 143176a46bdd3bfbe9ba2462bf94458e80d65ebf
backport: 15378f86c8f6fd91b5c159500e13bd46a3b15a7e
1f850064aeccaaa45a62285df4c227dcd90c852c:
title: 'PNP: ACPI: fix fortify warning'
mainline: ba3f5058db437d919f8468db50483dd9028ff688
backport: 6137fbdcc97d6e46ab81b911e0dd963423c9ac64
b7b33627be0626b16ca321b982d6a2261ef7f703:
title: 'ACPI: extlog: fix NULL pointer dereference check'
mainline: 72d9b9747e78979510e9aafdd32eb99c7aa30dd1
backport: 93c7bcddd0ab070061059a25c7c776ad0a7c6e19
e3e95c6850661c77e6dab079d9b5374a618ebb15:
title: FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
mainline: 9862ec7ac1cbc6eb5ee4a045b5d5b8edbb2f7e68
backport: dffbd4f7153e15063036c40c39c6f4162cdaacce
e30b52a2ea3d1e0aaee68096957cf90a2f4ec5af:
title: 'UBSAN: array-index-out-of-bounds in dtSplitRoot'
mainline: 27e56f59bab5ddafbcfe69ad7a4a6ea1279c1b16
backport: b55d66744550c1de80b8e7d070f3d0ea112102da
ce8bc22e948634a5c0a3fa58a179177d0e3f3950:
title: 'jfs: fix slab-out-of-bounds Read in dtSearch'
mainline: fa5492ee89463a7590a1449358002ff7ef63529f
backport: 83cbf9397419353ed0c7db735f115cd919f226a3
3d3898b4d72c677d47fe3cb554449f2df5c12555:
title: 'jfs: fix array-index-out-of-bounds in dbAdjTree'
mainline: 74ecdda68242b174920fe7c6133a856fb7d8559b
backport: 90cde898a4c41373b7c416d69815e9d7896b347a
81b4249ef37297fb17ba102a524039a05c6c5d35:
title: 'jfs: fix uaf in jfs_evict_inode'
mainline: e0e1958f4c365e380b17ccb35617345b31ef7bf3
backport: 364aa896131c66f247c842cce51c85f1cdcfe45f
8b69c30f4e8b69131d92096cb296dc1f217101e4:
title: 'pstore/ram: Fix crash when setting number of cpus to an odd number'
mainline: d49270a04623ce3c0afddbf3e984cb245aa48e9c
backport: 8bd89028a322d70b0858c38060c0a5b3084d91f5
0ca44249ad08ff59354cd06a9148cf024f7bbe54:
title: 'crypto: stm32/crc32 - fix parsing list of devices'
mainline: 0eaef675b94c746900dcea7f6c41b9a103ed5d53
skipped: missing prerequisite 06bd7d87ab25e72a5e9314b5009bd19ae4ca21e0
36f1e250b5966adb2536f2b1ee86f8d231fadec7:
title: 'afs: fix the usage of read_seqbegin_or_lock() in afs_find_server*()'
mainline: 1702e0654ca9a7bcd7c7619c8a5004db58945b71
skipped: missing prerequisite 06bd7d87ab25e72a5e9314b5009bd19ae4ca21e0
1ba072b2f552823c3070dde7909f7615b131f956:
title: 'rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()'
mainline: bad1a11c0f061aa073bab785389fe04f19ba02e1
backport: 96c5817c65966bcdcdec5ff419eb31c42ad9046d
f423528488e4f9606cef858eceea210bf1163f41:
title: 'jfs: fix array-index-out-of-bounds in diNewExt'
mainline: 49f9637aafa6e63ba686c13cb8549bf5e6920402
backport: 7e68d5085eb75299c781f7014ef6947822e30686
6ccf904aac0292e1f6b1a1be6c407c414f7cf713:
title: 's390/ptrace: handle setting of fpc register correctly'
mainline: 8b13601d19c541158a6e18b278c00ba69ae37829
backport: 4208eff2d2a4e2fdc740c7e74cb1ed97a955d4ee
3a04410b0bc7e056e0843ac598825dd359246d18:
title: 'KVM: s390: fix setting of fpc register'
mainline: b988b1bb0053c0dcd26187d29ef07566a565cf55
backport: 1f85aac19a14227a6885559b4b4cdd0dcd175fa1
fece80a2a6718ed58487ce397285bb1b83a3e54e:
title: 'SUNRPC: Fix a suspicious RCU usage warning'
mainline: 31b62908693c90d4d07db597e685d9f25a120073
backport: 3d8aee1169f45a8ea3015adafd87b73f603fbdeb
51be5ada42310c9b476965599cb9cffe71a3d102:
title: 'ext4: fix inconsistent between segment fstrim and full fstrim'
mainline: 68da4c44b994aea797eb9821acb3a4a36015293e
skipped: missing prerequisites, risky backports required
17c04def41743d01067a4c347b2d429f847c28c3:
title: 'ext4: unify the type of flexbg_size to unsigned int'
mainline: 658a52344fb139f9531e7543a6e0015b630feb38
backport: 38f20840ac95180eccf512780f7454f85b2bf99e
b92f5db0fb2c8e666dcd1c41be2c38eae5d50898:
title: 'ext4: remove unnecessary check from alloc_flex_gd()'
mainline: b099eb87de105cf07cad731ded6fb40b2675108b
skipped: precondition for patch is not satisfied
cd1f93ca97a9136989f3bd2bf90696732a2ed644:
title: 'ext4: avoid online resizing failures due to oversized flex bg'
mainline: 5d1935ac02ca5aee364a449a35e2977ea84509b0
skipped: missing prerequisites, risky backports required
273700c2b94ffe7da97cee356f826d1d3f525b1d:
title: 'scsi: lpfc: Fix possible file string name overflow when updating firmware'
mainline: f5779b529240b715f0e358489ad0ed933bf77c97
backport: 13df229677abd27615136f5c763c3a476b6ad5fd
07f181ed637a9867712f6a13f536453125b024ad:
title: 'PCI: Add no PM reset quirk for NVIDIA Spectrum devices'
mainline: 3ed48c80b28d8dcd584d6ddaf00c75b7673e1a05
backport: bb52b4b4fc58efa71970b07a27c918d0250cffa8
0fee6850e1b0a032580ef2af3c9eb6f68e57d9d0:
title: 'bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk'
mainline: d6b83f1e3707c4d60acfa58afd3515e17e5d5384
backport: 98bddfaba61e706ba3198d9f791cd66bba6103cb
27e147bd10bdca40b504644b536561fdb46f42e0:
title: 'ARM: dts: imx7s: Fix lcdif compatible'
mainline: 5f55da4cc37051cda600ea870ce8cf29f1297715
backport: 0ac0f96f90a5a03d0f2e4ac73257d5874c9aed24
b90391b6bfd67d81e6126a4d07bf29da7af36eb4:
title: 'ARM: dts: imx7s: Fix nand-controller #size-cells'
mainline: 4aadb841ed49bada1415c48c44d21f5b69e01299
backport: 647e4506427c48a511e3b67b12eef2645bc61301
f44f073c78112ff921a220d01b86d09f2ace59bc:
title: 'wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()'
mainline: 2adc886244dff60f948497b59affb6c6ebb3c348
backport: d64a7edab1b9eb618164ee97ba6ca2e0c2c39410
5aa1e7d3f6d0db96c7139677d9e898bbbd6a7dcf:
title: 'bpf: Add map and need_defer parameters to .map_fd_put_ptr()'
mainline: 20c20bd11a0702ce4dc9300c3da58acf551d9725
backport: 7474abe2c012625b0cc7f08d5089c1510d92a608
debaf1600843a98fe794923781d731c2ccf5a1e8:
title: 'scsi: libfc: Don''t schedule abort twice'
mainline: b57c4db5d23b9df0118a25e2441c9288edd73710
backport: f3402b957fdf478a6f115e958f514e61c64cb846
1cfcd5845f6141ea6580d13fc021fce7de324d3e:
title: 'scsi: libfc: Fix up timeout error in fc_fcp_rec_error()'
mainline: 53122a49f49796beb2c4a1bb702303b66347e29f
backport: d49f575f0871d9008dbc471e24bb06afd954e336
281c16796d60e713cb86c08e09200d290232c6d3:
title: 'ARM: dts: rockchip: fix rk3036 hdmi ports node'
mainline: 27ded76ef0fcfcf939914532aae575cf23c221b4
backport: 2bcbb1bff89713910536e9aec5f42ce8d106a86b
26633c330ad956bf3878057f88395a5aae89240f:
title: 'ARM: dts: imx25/27-eukrea: Fix RTC node name'
mainline: 68c711b882c262e36895547cddea2c2d56ce611d
backport: 131b53e398cd5cdd930d6b5c404953142b0ee046
9c5dc6b0e2d37b8e718cf3ef66c4a2f771dee20e:
title: 'ARM: dts: imx: Use flash@0,0 pattern'
mainline: 1e1d7cc478fb16816de09740e3c323c0c188d58f
backport: 7c4c3abbd88ea0d578de393487684dadd026c0f1
0ab77b773ebcc5aa5087fdd18deb851a7ed6a3a6:
title: 'ARM: dts: imx27: Fix sram node'
mainline: 2fb7b2a2f06bb3f8321cf26c33e4e820c5b238b6
backport: f6bc8318f88aae9883253889f9e36bda8841e891
9d3aeecaac3030a1d95ed0483ecbf16c89e403f0:
title: 'ARM: dts: imx1: Fix sram node'
mainline: c248e535973088ba7071ff6f26ab7951143450af
backport: 9fc574b8c1464071d8319710708885ccc0a431b4
6296b2c41f0bca9e1308d4d7a85800245b486ad9:
title: 'ARM: dts: imx27-apf27dev: Fix LED name'
mainline: dc35e253d032b959d92e12f081db5b00db26ae64
backport: a85363dccc0d0d632635e01c29fe341129125f9f
cf146a95be04e40b317c38b116b2efd4b043c3dd:
title: 'ARM: dts: imx23-sansa: Use preferred i2c-gpios properties'
mainline: e3aa1a82fb20ee97597022f6528823a8ab82bde6
backport: c462fbab07ab0f93ec19d7a6d907685ea1a06d54
3d8e8afe1de475ab4d9470c6d731a1c0cf29deee:
title: 'ARM: dts: imx23/28: Fix the DMA controller node name'
mainline: 858d83ca4b50bbc8693d95cc94310e6d791fb2e6
backport: 7e7a432ac9ea935be11a15fea46457de63f7e112
81ca80caa3c5c2e4e5d1da2dca42cc11964c1e9f:
title: 'md: Whenassemble the array, consult the superblock of the freshest device'
mainline: dc1cc22ed58f11d58d8553c5ec5f11cbfc3e3039
backport: da94a28d1bdc83ef21d12a68ed91787db4fa3b1e
099b8d44c6a0ab899600f6ece6737ce8b527dbc7:
title: 'wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices'
mainline: 4e87ca403e2008b9e182239e1abbf6876a55eb33
backport: d68481e8bff48e47200f68c0f58b20891791c91d
93aab385375ddd03a83f5b8444c665ee2c2b6d88:
title: 'wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift()'
mainline: 5c16618bc06a41ad68fd8499a21d35ef57ca06c2
backport: a1351ac1cf686629cd1eb5b7a1065b3683611007
fc736ef2b3b2e535c2ba46966bd8083365c96a11:
title: 'wifi: cfg80211: free beacon_ies when overridden from hidden BSS'
mainline: 32af9a9e1069e55bc02741fb00ac9d0ca1a2eaef
backport: b656f1f1849b925cd68ab74a777a9cc75f8d774a
bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8:
title: 'f2fs: fix to check return value of f2fs_reserve_new_block()'
mainline: 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd
skipped: missing prerequisites, risky backports required
bbb3342c6343688fb673d7c6b51cbf8d184565d2:
title: 'ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument'
mainline: 67c7666fe808c3a7af3cc6f9d0a3dd3acfd26115
backport: edbe2c53887737af65f496c2265285f74a4768cd
fabeeafdab5e1239e794b8ce72df02503d0ced83:
title: 'fast_dput(): handle underflows gracefully'
mainline: 504e08cebe1d4e1efe25f915234f646e74a364a8
backport: 658d3409acede1f86abdcfa706919570144a0b55
c6d9287ebe4ed77ea34fa450a5d70f4984824181:
title: 'RDMA/IPoIB: Fix error code return in ipoib_mcast_join'
mainline: 753fff78f430704548f45eda52d6d55371a52c0f
backport: 4b7f4e14cc08eacfa5ca86eacc05a8271b28d889
803bd61b474d6dbffc8c5418c61e8da586c94450:
title: 'drm/drm_file: fix use of uninitialized variable'
mainline: 1d3062fad9c7313fff9970a88e0538a24480ffb8
backport: abd23fc2b176740252f577b29693fbae20c1c8f5
081d55ccd15d7edd3786c285866cdd06a28f2c6f:
title: 'drm/framebuffer: Fix use of uninitialized variable'
mainline: f9af8f0c1dc567a5a6a6318ff324c45d80d4a60f
backport: 99467f7e403930a41f8bea2542279956188c128d
9eef5de467f413e14c9b145aa41914334c29f8a7:
title: 'drm/mipi-dsi: Fix detach call without attach'
mainline: 90d50b8d85834e73536fdccd5aa913b30494fef0
backport: d6660003336dbf23b039bcb0601dff7a42f14f0d
3f61c5b5bb53a842d683680c347366b9c431c3b4:
title: 'media: stk1160: Fixed high volume of stk1160_dbg messages'
mainline: b3695e86d25aafbe175dd51f6aaf6f68d341d590
backport: edc53e8e2a27c8774234a5e3b143fdd6c3136644
c72698ef0ff2fbc4baa73fa1030dbe6dd8fd3f48:
title: 'media: rockchip: rga: fix swizzling for RGB formats'
mainline: 9e7dc39260edac180c206bb6149595a40eabae3e
skipped: file/driver does not exist
a6265345461f1580efd7e38ba6b9506dda987d23:
title: 'PCI: add INTEL_HDA_ARL to pci_ids.h'
mainline: 5ec42bf04d72fd6d0a6855810cc779e0ee31dfd7
backport: 3590c7ea1d2a0882c4e8969300159543fda974aa
fa7eb2295f5fb213b4c5583bd1a3be6fdb682185:
title: 'ALSA: hda: Intel: add HDA_ARL PCI ID support'
mainline: a31014ebad617868c246d3985ff80d891f03711e
backport: e3d7a6fbda19cd9d3d62c61f0557b2ddcbc86c4f
8ab9b22151400c549f40f2390f1d101d80ec089e:
title: 'drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time'
mainline: 16ac5b21b31b439f03cdf44c153c5f5af94fb3eb
backport: c5e1693a823b9baaba503fd12531f9b7ae802a8d
4c8922ae8eb8dcc1e4b7d1059d97a8334288d825:
title: 'IB/ipoib: Fix mcast list locking'
mainline: 4f973e211b3b1c6d36f7c6a19239d258856749f9
backport: f1a52361385cf56587f45df0e419270b476fb717
7fe1190951cf4f45ff602250b29c4665c264b78e:
title: 'media: ddbridge: fix an error code problem in ddb_probe'
mainline: 09b4195021be69af1e1936cca995712a6d0f2562
backport: a113f3ea4415f689541d9452c474ae03fc2e38d4
db86a8d0d5ca6a3ca59f00a64ca4293fa9ff3a31:
title: 'drm/msm/dpu: Ratelimit framedone timeout msgs'
mainline: 2b72e50c62de60ad2d6bcd86aa38d4ccbdd633f2
skipped: file/driver does not exist
c807df25c33f1365fda042b11085a4861ec6e4f9:
title: 'clk: hi3620: Fix memory leak in hi3620_mmc_clk_init()'
mainline: bfbea9e5667cfa9552c3d88f023386f017f6c308
backport: 9b68e07d9da7ee0571e1bdd80bf64f631345fedb
15b51ad774214f9bd9a969bf4880ebeb4dbd4868:
title: 'clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()'
mainline: 2fbabea626b6467eb4e6c4cb7a16523da12e43b4
backport: 96bc3d1b305d5d5fe2b95d94b86b46a902bd146b
b5e7f9e6d604f80e93ecc0873f1d2bce56d965a2:
title: 'drm/amdgpu: Let KFD sync with VM fences'
mainline: ec9ba4821fa52b5efdbc4cdf0a77497990655231
skipped: missing prerequisite d8d019ccffb838bb0dd98e583b5c25ccc0bc6ece
7291c4e2f8cf0f9c29a390f6f49fe03c3835c13f:
title: 'drm/amdgpu: Drop ''fence'' check in ''to_amdgpu_amdkfd_fence()'''
mainline: bf2ad4fb8adca89374b54b225d494e0b1956dbea
skipped: missing prerequisite d8d019ccffb838bb0dd98e583b5c25ccc0bc6ece
6c0a90374357d7bc3fde5fc096ae996699e4eb22:
title: 'leds: trigger: panic: Don''t register panic notifier if creating the trigger failed'
mainline: afacb21834bb02785ddb0c3ec197208803b74faa
backport: c33e46a8972e0956bf361ede13f448eaa042181a
7ad082147c5d4e74b06ee5d9fd992fcdc1bf75bb:
title: 'um: Fix naming clash between UML and scheduler'
mainline: 541d4e4d435c8b9bfd29f70a1da4a2db97794e0a
backport: d7d0f5e11bb0b6145733eb2cb28b3639388f84f6
e0fe0da96187d485633cdcfe4ae41ca4d15dd412:
title: 'um: Don''t use vfprintf() for os_info()'
mainline: 236f9fe39b02c15fa5530b53e9cca48354394389
backport: 9b93ed7199417436eb33dc11cd20fc5d4964f693
af95ebc8ed68503602b0490faca91df4a844b223:
title: 'um: net: Fix return type of uml_net_start_xmit()'
mainline: 7d748f60a4b82b50bf25fad1bd42d33f049f76aa
backport: a0b367d347123053abb1b97bc22154dab9ae22f3
bad080a74ac807a1dac93c9db96156a434bb5cb4:
title: 'mfd: ti_am335x_tscadc: Fix TI SoC dependencies'
mainline: 284d16c456e5d4b143f375b8ccc4038ab3f4ee0f
backport: 7a559ea7d22e2523c0c38d7597c79e8f5c663823
a17d6ef61d1615851dbf0111ce1e61af4a897804:
title: 'PCI: Only override AMD USB controller if required'
mainline: e585a37e5061f6d5060517aed1ca4ccb2e56a34c
backport: 79a5e39dee6e10829a945d9f6a5761bdb46c3803
2ba7f86b8703af8ace1a011b041c2bd654409e3d:
title: 'usb: hub: Replace hardcoded quirk value with BIT() macro'
mainline: 6666ea93d2c422ebeb8039d11e642552da682070
backport: 2b84420be156e351f2e9d5975ed7679bdda1ff19
0d143f52174d588228fa73275de701d58b62ea4a:
title: 'libsubcmd: Fix memory leak in uniq()'
mainline: ad30469a841b50dbb541df4d6971d891f703c297
backport: 56552e5cf5d1e10d74d67c2b9a5adc4f258faee5
7840b2e4ba3e9288df84dac1417102a174c71229:
title: "virtio_net: Fix \"\u2018%d\u2019 directive writing between 1 and 11 bytes into a region of size 10\" warnings"
mainline: e3fe8d28c67bf6c291e920c6d04fa22afa14e6e4
backport: 7f727e04636fa507a472cd48c5b7822fd92fa973
9525b38180e2753f0daa1a522b7767a2aa969676:
title: 'blk-mq: fix IO hang from sbitmap wakeup race'
mainline: 5266caaf5660529e3da53004b8b7174cab6374ed
skipped: missing prerequisites, risky backports required
eb55ba8aa7fb7aad54f40fbf4d8dcdfdba0bebf6:
title: 'ceph: fix deadlock or deadcode of misusing dget()'
mainline: b493ad718b1f0357394d2cdecbf00a44a36fa085
backport: 7da16dee92cf04281c2b9ba054ed1277bdef0745
616053201f939cb326836316d8afcd1e3d2df18b:
title: 'drm/amdgpu: Release ''adev->pm.fw'' before return in ''amdgpu_device_need_post()'''
mainline: 8a44fdd3cf91debbd09b43bd2519ad2b2486ccf4
backport: f6292d4326aea4ef58ca1b9e0050d4531b09b656
e01d8d01ba197cac99bef2495fbf5640f0bc5a72:
title: 'wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update'
mainline: 1184950e341c11b6f82bc5b59564411d9537ab27
backport: 4a8a10a1d1379bb73f929d2ff61c91cd50fa76e1
86ca4cb47d8213773044b151e6861784d646ee35:
title: 'scsi: isci: Fix an error code problem in isci_io_request_build()'
mainline: 658365c6b0857e6a306436e315a8633937e3af42
backport: 9b0dce0699b0cff330f26757170390e60beecc2f
b2460d9640b13afd691f35b075d16f7fc179c7cb:
title: 'net: remove unneeded break'
mainline: 7ebb9db011088f9bd357791f49cb7012e66f29e2
backport: 287b49e9dddc421e7cbcf2ce9ded277dcd7bb385
aba0ff77fce0db42a45de1dca5d34aa717d5415c:
title: 'ixgbe: Remove non-inclusive language'
mainline: 93b067f154b3edfd3d75a272fd9433bf787e2e1d
backport: 6c59597adc4da77a4c79730b2d0d2f6bb5103f07
e7e9a533e87d1e545e9ea2bed74037acd430f639:
title: 'ixgbe: Refactor returning internal error codes'
mainline: 5795f533f30a80aa0473652876296ebc9129e33a
skipped: missing prerequisites, risky backports required
d9ffeffbc43250255f087adb55b1a99cd4fe0c43:
title: 'ixgbe: Refactor overtemp event handling'
mainline: 6c1b4af8c1b20c70dde01e58381685d6a4a1d2c8
backport: 12a1e3ffea01766734037b0fe1369d278b669d88
b74c5d0d164efc6a9ebd5e880234987e1e8970d1:
title: 'ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()'
mainline: bbc404d20d1b46d89b461918bc44587620eda200
backport: 0fad6add2e903cf769f5d922a43c6616fce2d590
e6b0f4f7e3b2429d78a54ad5ec705b4119010c32:
title: 'ipv6: Ensure natural alignment of const ipv6 loopback and router addresses'
mainline: 60365049ccbacd101654a66ddcb299abfabd4fc5
backport: e0ffb3925dba851417d00745b2ce9c4b314589c3
6b950c712a9a05cdda4aea7fcb2848766576c11b:
title: 'llc: call sock_orphan() at release time'
mainline: aa2b2eb3934859904c287bf5434647ba72e14c1c
backport: 86c1617a51a7e041f7b3106e796f5dd4177a53e2
b0b2937fda85f1eaf885527518993a035cfa13bc:
title: 'netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger'
mainline: 259eb32971e9eb24d1777a28d82730659f50fdcb
backport: a0373ec83347192d0bc2f3352c074e8b023c42a5
3241813266b623a1153db37f0204cf4225bd6864:
title: 'net: ipv4: fix a memleak in ip_setup_cork'
mainline: 5dee6d6923458e26966717f2a3eae7d09fc10bf6
backport: f4e1df41128d009e3eb57658e1304d2f35109b50
875f31aaa67e306098befa5e798a049075910fa7:
title: 'af_unix: fix lockdep positive in sk_diag_dump_icons()'
mainline: 4d322dce82a1d44f8c83f0f54f95dd1b8dcf46c9
backport: fc4e079263f4dc3afed7beef32f09e11cfdb83ff
3dc7b3ffd5c539124ee8fc42a32a91b5df13717d:
title: 'net: sysfs: Fix /sys/class/net/<iface> path'
mainline: ae3f4b44641dfff969604735a0dcbf931f383285
backport: 17fe0fd15062dc03aedcf4bb6572a4a9592807b6
adfbe479c1b60c4e97734dfbeeb483fe37a9df71:
title: 'HID: apple: Add support for the 2021 Magic Keyboard'
mainline: 0cd3be51733febb4f8acb92bcf55b75fe824dd05
backport: 7412effbe212ef6ccdf8e42b1c40364e6c369a17
f27e9a72c1079449474ab6b4858bd30ec3d9ec89:
title: 'HID: apple: Swap the Fn and Left Control keys on Apple keyboards'
mainline: 346338ef00d35bf8338ded171f9abeb9b10b43df
backport: 985d3a3dd71c81ab2012fd3b8f0a769c71a19237
0802f8e32b0212b3e5f14eb729c96e6d90a47934:
title: 'HID: apple: Add 2021 magic keyboard FN key mapping'
mainline: 531cb56972f2773c941499fcfb639cd5128dfb27
backport: e42213c7c7b015e6b41fb27d9b6264309042a750
9bb3bf598f4b0f5481dbc585db2d5021304ac1b5:
title: 'bonding: remove print in bond_verify_device_path'
mainline: 486058f42a4728053ae69ebbf78e9731d8ce6f8b
backport: e827391d4767cbb6a25f85d1e17c05799f6f81f6
743259cc178aee41626f5929ed9ea6f63bb0c631:
title: 'dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV'
mainline: a22fe1d6dec7e98535b97249fdc95c2be79120bb
backport: 7f0c76f847575a92100f05495514a3464534d593
486218c11e8d1c8f515a3bdd70d62203609d4b6b:
title: 'phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP'
mainline: 7104ba0f1958adb250319e68a15eff89ec4fd36d
backport: 24288c6c65f514b98d7b1c1feb237b51a56ab054
bd70b7541b30213829ca7a2d02e428a4449821ff:
title: 'atm: idt77252: fix a memleak in open_card_ubr0'
mainline: f3616173bf9be9bf39d131b120d6eea4e6324cb5
backport: 56dc4afb9fa67af5b158a6b184216302e793a0b7
52830e218a4d5e38c6a781c7912da777252f8c40:
title: 'hwmon: (aspeed-pwm-tacho) mutex for tach reading'
mainline: 1168491e7f53581ba7b6014a39a49cfbbb722feb
backport: 2214d04c620940a739fa5a5ce070a3c785aa0cd5
93f0f4e846fcb682c3ec436e3b2e30e5a3a8ee6a:
title: 'hwmon: (coretemp) Fix out-of-bounds memory access'
mainline: 4e440abc894585a34c2904a32cd54af1742311b3
skipped: missing prerequisite
8726dfd0ff7e2c595d3ae29bda59099868274cdd:
title: 'hwmon: (coretemp) Fix bogus core_id to attr name mapping'
mainline: fdaf0c8629d4524a168cb9e4ad4231875749b28c
skipped: missing prerequisite
caa064c3c2394d03e289ebd6b0be5102eb8a5b40:
title: 'inet: read sk->sk_family once in inet_recv_error()'
mainline: eef00a82c568944f113f2de738156ac591bbd5cd
backport: 2ac57567eda95eb1a9c39e819eab709767452dfe
16d97ffdca5515fccc7c969b6025d1551e84fe34:
title: 'rxrpc: Fix response to PING RESPONSE ACKs to a dead call'
mainline: 6f769f22822aa4124b556339781b04d810f0e038
backport: 5a9a22f2873e63cd857c7a6659f3d38484ac2e70
24ec8f0da93b8a9fba11600be8a90f0d73fb46f1:
title: 'tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()'
mainline: 3871aa01e1a779d866fa9dfdd5a836f342f4eb87
backport: 96d352f660e2e222dc1bab6b2c4740237dd3b305
4fdb14ba89faff6e6969a4dffdc8e54235d6e5ed:
title: 'ppp_async: limit MRU to 64K'
mainline: cb88cb53badb8aeb3955ad6ce80b07b598e310b8
backport: de3d17a308ceded0363dffa3b2ee69b9fbfbb6cc
56fb2bf4ab8c91a2e078553497b6c5b2f1dac699:
title: 'netfilter: nft_compat: reject unused compat flag'
mainline: 292781c3c5485ce33bd22b2ef1b2bed709b4d672
backport: a057d02cf808c2c042d13aa9ada37a250fe329f2
1d769e2dc5444c3ab3010887d7c3cda76a0310e7:
title: 'netfilter: nft_compat: restrict match/target protocol to u16'
mainline: d694b754894c93fb4d71a7f3699439dec111decc
backport: 990506c3102a4016f10a7b705a3f95a2dba0e567
8811188205406ce59c34fabc18e2421b38c03fdd:
title: 'net/af_iucv: clean up a try_then_request_module()'
mainline: 4eb9eda6ba64114d98827e2870e024d5ab7cd35b
backport: 700f4e9ff1bac4b1bc1780bcc9cf5695e4392028
e3cd866fcbeb03b13f6fc7b6133cb542c8484c4a:
title: 'USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e'
mainline: 129690fb229a20b6e563a77a2c85266acecf20bc
backport: 6716f2f7d44fa8420f77009a11593525ae9255b2
9c83c6116f5dde982e1f33a1b47bde2991ac8ac5:
title: 'USB: serial: option: add Fibocom FM101-GL variant'
mainline: b4a1f4eaf1d798066affc6ad040f76eb1a16e1c9
backport: 39a732c5a779ddbfbc3e662856dfcaa717af4a26
80af54d045296bab4e2fe8704b4b9fc1f533e47b:
title: 'USB: serial: cp210x: add ID for IMST iM871A-USB'
mainline: 12b17b4eb82a41977eb848048137b5908d52845c
backport: b30273541bae7aaec17a09c2780e4a4c395edde1
0be65249b72efb7d6eec6aabbb9901f22b4c9856:
title: 'Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID'
mainline: 683cd8259a9b883a51973511f860976db2550a6e
backport: eebb66beca62cded341b539533c7c7a91da8ac95
95eab1039625d54d1770665756dd34e9fe926638:
title: 'vhost: use kzalloc() instead of kmalloc() followed by memset()'
mainline: 4d8df0f5f79f747d75a7d356d9b9ea40a4e4c8a9
backport: 7d25e28ce6dc61080ffcab293998214b86a14b11
1aa4f696306dfe4f0d453eeb1e90f26cd10d8ed5:
title: 'hrtimer: Report offline hrtimer enqueue'
mainline: dad6a09f3148257ac1773cd90934d721d68ab595
skipped: missing prerequisite
3f50c451215884639659b77ab7f33d98c40fced3:
title: 'btrfs: forbid creating subvol qgroups'
mainline: 0c309d66dacddf8ce939b891d9ead4a8e21ad6f0
skipped: missing prerequisite
be548d984286e2d58c3135aa0cf1cbafa0cad8a7:
title: 'btrfs: send: return EOPNOTSUPP on unknown flags'
mainline: f884a9f9e59206a2d41f265e7e403f080d10b493
backport: 6a49558f890e67f40142f23305b2b6dbffee6931
80a642c11a91fdff66406b52197097d97685e4e1:
title: 'spi: ppc4xx: Drop write-only variable'
mainline: b3aa619a8b4706f35cb62f780c14e68796b37f3f
backport: 39be5d7e52744cac421786024357c1c3d7570597
3dd2d99e2352903d0e0b8769e6c9b8293c7454b2:
title: 'ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()'
mainline: 6ef5d5b92f7117b324efaac72b3db27ae8bb3082
backport: 679ed29719be8e945287b4e87a641900507fe003
b908fdcb6bbc07a3314afb386415b616fa01732f:
title: 'Documentation: net-sysfs: describe missing statistics'
mainline: e528afb72a481977456bb18345d4e7f6b85fa7b1
backport: dee976568a7a732baea9b4547a3a601896a32ec8
e7928873d9ac5a6194f0ffc56549d4262af7e568:
title: 'net: sysfs: Fix /sys/class/net/<iface> path for statistics'
mainline: 5b3fbd61b9d1f4ed2db95aaf03f9adae0373784d
backport: 7a193babedaf498a625c7b82eea463c89589a2a2
54d186fb5128ea95dbacbe350440208220555039:
title: 'MIPS: Add ''memory'' clobber to csum_ipv6_magic() inline assembler'
mainline: d55347bfe4e66dce2e1e7501e5492f4af3e315f8
backport: c3be0bd42d8b5436b4f4fc9e2261b3d2a4c738e1
04b9c13dc116af8ad88b98d6a96765e0fa4a2b23:
title: 'i40e: Fix waiting for queues of all VSIs to be disabled'
mainline: c73729b64bb692186da080602cd13612783f52ac
backport: 1260d580ea28af4201a331f13f5fb5b96da08f94
bcf4a115a5068f3331fafb8c176c1af0da3d8b19:
title: 'tracing/trigger: Fix to return error if failed to alloc snapshot'
mainline: 0958b33ef5a04ed91f61cef4760ac412080c4e08
backport: 44ec3b6a27b2d303dced9d70ed708cc8d8ed3784
c593d26fb5d577ef31b6e49a31e08ae3ebc1bc1e:
title: 'mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again'
mainline: 9319b647902cbd5cc884ac08a8a6d54ce111fc78
backport: deb218b8416f96a7cb91d0ce311dd3418729c827
2303e0b4005c13c0faa6562e32886ebf8ee04f57:
title: 'HID: wacom: generic: Avoid reporting a serial of ''0'' to userspace'
mainline: ab41a31dd5e2681803642b6d08590b61867840ec
backport: 3e0c669b2a6d346166ce0c47d1abf45f69046404
d943536197c1a05e377452af4ec7942e11d018f4:
title: 'HID: wacom: Do not register input devices until after hid_hw_start'
mainline: c1d6708bf0d3dd976460d435373cf5abf21ce258
backport: 7cf7d8509d54a81f1963ce1fb4346ca851f31ff3
67d96ddb269523ba171b0c6f8582a9f32812447b:
title: 'USB: hub: check for alternate port before enabling A_ALT_HNP_SUPPORT'
mainline: f17c34ffc792bbb520e4b61baa16b6cfc7d44b13
backport: 6f2e6123d897f20b9e8ba8e47c2466909dcb5580
68a8f87c9c2e514eb9bded7337044142ff7c1ba0:
title: 'usb: f_mass_storage: forbid async queue when shutdown happen'
mainline: b2d2d7ea0dd09802cf5a0545bf54d8ad8987d20c
backport: b7b8de89e0c14584f675cf1c1e7ceb648ae1d1e1
94a600226b6d0ef065ee84024b450b566c5a87d6:
title: 'scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock"'
mainline: 977fe773dcc7098d8eaf4ee6382cb51e13e784cb
backport: 5b4d630c61084a0afa27b2d6e45335a84d333be3
cc9e5616a31b3054be3852d41f91592cd21f4f83:
title: 'firewire: core: correct documentation of fw_csr_string() kernel API'
mainline: 5f9ab17394f831cb7986ec50900fa37507a127f1
backport: 3d027c0afcebe6338e106257e984a69500b9c1f6
7e9a8498658b398bf11b8e388005fa54e40aed81:
title: 'nfc: nci: free rx_data_reassembly skb on NCI device cleanup'
mainline: bfb007aebe6bff451f7f3a4be19f4f286d0d5d9c
backport: e9ea3b98c3eeb1be14666afce0a52eca86630704
543fc0ea771528b7e2aa793bea1c46952d64d404:
title: 'xen-netback: properly sync TX responses'
mainline: 7b55984c96ffe9e236eb9c82a2196e0b1f84990d
backport: 2f07b4feb7344a12863625df46967a3b6990a791
dd64bb8329ce0ea27bc557e4160c2688835402ac:
title: 'binder: signal epoll threads of self-work'
mainline: 97830f3c3088638ff90b20dfba2eb4d487bf14d7
skipped: missing prerequisites, risky backports required
b4fbb89d722cbb16beaaea234b7230faaaf68c71:
title: 'ext4: fix double-free of blocks due to wrong extents moved_len'
mainline: 55583e899a5357308274601364741a83e78d6ac4
backport: 0b85140d50e49360af625aa8ba84de40b18adbb7
4a0efde7875822485ebfd991874d454d2347e1a0:
title: 'staging: iio: ad5933: fix type mismatch regression'
mainline: 6db053cd949fcd6254cea9f2cd5d39f7bd64379c
backport: d375940a2f5db7ac750a0c16fc7afeff22f09ddf
8eed2abb51082d5363879b1090f5f5de654ee259:
title: 'ring-buffer: Clean ring_buffer_poll_wait() error return'
mainline: 66bbea9ed6446b8471d365a22734dc00556c4785
skipped: missing prerequisite ecf927000ce3265e9871c79d43c10ceed8bd61c9
1b766291dda83cd077f784057c272b7c9cbd5647:
title: 'serial: max310x: set default value when reading clock ready bit'
mainline: 0419373333c2f2024966d36261fd82a453281e80
skipped: missing prerequisite
d34c6d8add30a6d01f312f6ab1ba966828e882b8:
title: 'serial: max310x: improve crystal stable clock detection'
mainline: 93cd256ab224c2519e7c4e5f58bb4f1ac2bf0965
skipped: missing prerequisite
360570fdd7a72b0bfd6dc6d47028a26927dff67f:
title: 'x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6'
mainline: f6a1892585cd19e63c4ef2334e26cd536d5b678d
skipped: missing prerequisite
9149fef02dc1c54d2b4b9a555e11e7482f6ab583:
title: 'x86/mm/ident_map: Use gbpages only where full GB page should be mapped.'
mainline: d794734c9bbfe22f86686dc2909c25f5ffe1a572
backport: 5e09189142b229f4a7b98b105b89548bb1895b3d
e0de24ef5b3efe5636668f5090fa0833c6fb5b77:
title: 'ALSA: hda/conexant: Add quirk for SWS JS201D'
mainline: 4639c5021029d49fd2f97fa8d74731f167f98919
backport: d24322c6c1cb11ee854b27d53e8f57598f58d906
5278c3eb6bf5896417572b52adb6be9d26e92f65:
title: 'nilfs2: fix data corruption in dsync block recovery for small block sizes'
mainline: 67b8bcbaed4777871bb0dcc888fb02a614a98ab1
backport: a53d021d96e27b4e691be9bbf2b0e7e6a971a556
228742b2ddfb99dfd71e5a307e6088ab6836272e:
title: 'nilfs2: fix hang in nilfs_lookup_dirty_data_buffers()'
mainline: 38296afe3c6ee07319e01bb249aa4bb47c07b534
backport: 188292ff815215ff899d45a09e860000e12d53b7
09e5ae88b985524cb4f559c81b684f77cb237893:
title: 'nfp: use correct macro for LengthSelect in BAR config'
mainline: b3d4f7f2288901ed2392695919b3c0e24c1b4084
backport: 59185e887608415f810273b3d66a7c0a82ab145a
edb943366fe91647079b58fa85781006fbfbe34a:
title: 'irqchip/irq-brcmstb-l2: Add write memory barrier before exit'
mainline: b0344d6854d25a8b3b901c778b1728885dd99007
backport: ab54d44fa99cd6d87b05c7805ca0666c11b1fb36
81c0229f34f0e1330789fae616b9e2219ab28477:
title: 'pmdomain: core: Move the unused cleanup to a _sync initcall'
mainline: 741ba0134fa7822fcf4e4a0a537a5c4cfd706b20
backport: 70bd0bc34ed8b422fb44e5f570cd8923f20f875b
1e8c1c2a92692881ac7ec92dcf1c8a846584251b:
title: 'Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"'
mainline: bed9e27baf52a09b7ba2a3714f1e24e17ced386d
backport: 072057390d7c127c32d061f52c8255b6e4b77305
3cd139875e9a7688b3fc715264032620812a5fa3:
title: 'sched/membarrier: reduce the ability to hammer on sys_membarrier'
mainline: 944d5fe50f3f03daacfea16300e656a1691c4a23
backport: edcd4473ab9ae8709bfdad2665bbb1d20f438364
c4a09fdac625e64abe478dcf88bfa20406616928:
title: 'nilfs2: fix potential bug in end_buffer_async_write'
mainline: 5bc09b397cbf1221f8a8aacb1152650c9195b02b
backport: 9dc394f2da9b2208457484dbcdcf9cdb3ee2d7ed
f8f51085b4be6132762ce0d8940071ccdcce2504:
title: 'lsm: new security_file_ioctl_compat() hook'
mainline: f1bb47a31dff6d4b34fb14e99850860ee74bb003
backport: cdb04bf58f0b42afc09c9a9ba1f22e19b432a345
fca41e5b687e029f69e3a35a2fa31e2560e538dc:
title: 'netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()'
mainline: c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63
backport: 141272175d24b1f41c429b0364d5f5852f6daa2d

View File

@@ -1,208 +0,0 @@
23e01e29002a015975bfe9da401ca2068cef8cc0:
title: 'net/sched: Retire CBQ qdisc'
mainline: 051d442098421c28c7951625652f61b1e15c4bd5
backport: 292ea5ee570c5edd64c505d5a645f421c342327c
d9d084b263dcbd6b35ff4732b3eb78b5e61fcac1:
title: 'net/sched: Retire ATM qdisc'
mainline: fb38306ceb9e770adfb5ffa6e3c64047b55f7a07
backport: 48f4bae5b9694dcb5cf7d760fca89c76bbb4786a
88f8fcd4d137174a88795a9da5f3e92bda04cabb:
title: 'net/sched: Retire dsmark qdisc'
mainline: bbe77c14ee6185a61ba6d5e435c1cbb489d2a9ed
backport: e8321667659838270cf620dbb9f52be23ed92cc1
fdd2e36e8c37d8a3196c1a9efa312d979c205907:
title: 'stmmac: no need to check return value of debugfs_create functions'
mainline: 8d72ab119f42f25abb393093472ae0ca275088b6
skipped: only picked as a dependency for 95418cd6170f
95418cd6170fd88eb605faad3d5b60d75c1cb165:
title: 'net: stmmac: fix notifier registration'
mainline: 474a31e13a4e9749fb3ee55794d69d0f17ee0998
skipped: fixes patch not in branch
9e46a20397f443d02d6c6f1a72077370e8cbc8da:
title: 'memcg: add refcnt for pcpu stock to avoid UAF problem in drain_all_stock()'
mainline: 1a3e1f40962c445b997151a542314f3c6097f8c3
backport: 45dea6f77d434e7b87f21e13eb7a0781321084f0
b06dec684e11ea944d896ac78cec1602e5157eb8:
title: 'nilfs2: replace WARN_ONs for invalid DAT metadata block requests'
mainline: 5124a0a549857c4b87173280e192eea24dea72ad
backport: c352221909a64672b1725ee06095c35aa3b652d2
4a41f41c928d1c62da9fcc87ad349c201d91a43e:
title: 'userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb'
mainline: 67695f18d55924b2013534ef3bdc363bc9e14605
skipped: fixes patch not in branch
41b7572dea9f7196d075b40d5ac8aafdb5f4b0d4:
title: 'sched/rt: Fix sysctl_sched_rr_timeslice intial value'
mainline: c7fcb99877f9f542c918509b2801065adcaf46fa
backport: 9c31d18305176ac3339d2e7fb16e23a78bd6147f
1f80bc015277247c9fd9646f7c21f1c728b5d908:
title: 'sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset'
mainline: c1fc6484e1fb7cc2481d169bfef129a1b0676abe
backport: 6d01d5fde49ee90ac890b2a96c8c7a8bc291805c
2d931472d4740d3ada7011cc4c3499948d3a22fa:
title: 'sched/rt: Disallow writing invalid values to sched_rt_period_us'
mainline: 079be8fc630943d9fc70a97807feb73d169ee3fc
backport: 7ccbe0f58d447aea568811db944b7c6d15a5feb7
425a571a7e6fc389954cf2564e1edbba3740e171:
title: 'scsi: target: core: Add TMF to tmr_list handling'
mainline: 83ab68168a3d990d5ff39ab030ad5754cbbccb25
backport: 93331ecf6b4e7b6b2027b2c6ffa0fad20fc9a2d4
bcbaa5ce276fc342cbae3b3148b2af85d3679d80:
title: 'dmaengine: shdma: increase size of ''dev_id'''
mainline: 404290240827c3bb5c4e195174a8854eef2f89ac
backport: ad947ce27c06a8e0004da911805699199e04f6a2
31b8419692ae51d2671676eace947b428004d2ea:
title: 'wifi: cfg80211: fix missing interfaces when dumping'
mainline: a6e4f85d3820d00694ed10f581f4c650445dbcda
backport: 5a5772e0f601b64f0f8a3abc4f6dad020235e429
76fad1174a0cae6fc857b9f88b261a2e4f07d587:
title: 'wifi: mac80211: fix race condition on enabling fast-xmit'
mainline: bcbc84af1183c8cf3d1ca9b78540c2185cd85e7f
backport: b1e9a26d3a909e8207d9f17f75592e8b94a1da9f
224453de8505aede1890f007be973925a3edf6a1:
title: 'fbdev: savage: Error out if pixclock equals zero'
mainline: 04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288
backport: dbe08f914e17a73f39417420d22dd7730e079ba9
84246c35ca34207114055a87552a1c4289c8fd7e:
title: 'fbdev: sis: Error out if pixclock equals zero'
mainline: e421946be7d9bf545147bea8419ef8239cb7ca52
backport: dc8cc812cd193503fa1ffbac6770e2f82f9671bd
3f25115864b2abfac4f9267475ed9419073aa560:
title: 'ahci: asm1166: correct count of reported ports'
mainline: 0077a504e1a4468669fd2e011108db49133db56e
backport: 050de50371ba2727fcaffb5a438cfc70eeee3d03
21f8cfe79f776287459343e9cfa6055af61328ea:
title: 'ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()'
mainline: 4530b3660d396a646aad91a787b6ab37cf604b53
backport: e08ae878b02e2f2953a7556c05a25ca5c3628c24
5a6dcc4ad0f7f7fa8e8d127b5526e7c5f2d38a43:
title: 'ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal()'
mainline: 832698373a25950942c04a512daa652c18a9b513
backport: a8bb8329743029dd77a6bbc7ffaf8ec83c1384c3
733f4c36e68cc664e0083d4ff1d5e9fadee2120b:
title: 'regulator: pwm-regulator: Add validity checks in continuous .get_voltage'
mainline: c92688cac239794e4a1d976afa5203a4d3a2ac0e
backport: d8f22636a42eb332f53a25f4271827716a9780cc
171977332b38f271cd08dede4a792182a811a994:
title: 'hwmon: (coretemp) Enlarge per package core count limit'
mainline: 34cf8c657cf0365791cdc658ddbca9cc907726ce
backport: 974906d0d9cab75a506494745ff92b214bada2e3
98fc79aad9ce694cbcc202570befb8f9150cbea6:
title: 'firewire: core: send bus reset promptly on gap count error'
mainline: 7ed4380009e96d9e9c605e12822e987b35b05648
backport: da86812addd2aba615e37f3d02a02859cd7c5493
2b5128c714d863cd8d259aa9d87bed2d6aa6a5a8:
title: 'virtio-blk: Ensure no requests in virtqueues before deleting vqs.'
mainline: 4ce6e2db00de8103a0687fb0f65fd17124a51aaa
backport: f2a5b354a969fc3cb9fc291ba5e622f0ff943618
07dbb1c86a81f96c779b2267ca1994f61bc1e585:
title: 's390/qeth: Fix potential loss of L3-IP@ in case of network issues'
mainline: 2fe8a236436fe40d8d26a1af8d150fc80f04ee1a
backport: b7436a25cb86e673b0b19506d3ba9dcdcf01e3de
b1a00ce4e244f15068034c48a4aadf165f6a0117:
title: 'pmdomain: renesas: r8a77980-sysc: CR7 must be always on'
mainline: f0e4a1356466ec1858ae8e5c70bea2ce5e55008b
skipped: fixes patch not in branch
115b7f3bc1dce590a6851a2dcf23dc1100c49790:
title: 'IB/hfi1: Fix sdma.h tx->num_descs off-by-one error'
mainline: e6f57c6881916df39db7d95981a8ad2b9c3458d6
skipped: fixes patch not in branch
9b78faee4829e8d4bc88f59aa125e219ad834003:
title: 'mm: memcontrol: switch to rcu protection in drain_all_stock()'
mainline: e1a366be5cb4f849ec4de170d50eebc08bb0af20
backport: 5cf1aceb57dea1645112c6673b1e633805ccffcf
43a202bd552976497474ae144942e32cc5f34d7e:
title: 'dm-crypt: don''t modify the data when using authenticated encryption'
mainline: 50c70240097ce41fe6bce6478b80478281e4d0f7
backport: 6b9f863739cf9b288aebc3b47a9a0b46d82fb076
f0ecdfa679189d26aedfe24212d4e69e42c2c861:
title: 'gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()'
mainline: 136cfaca22567a03bbb3bf53a43d8cb5748b80ec
backport: 462d9e209c0fca1e4dda298d209725ef39d73b10
4c3ce64bc9d36ca9164dd6c77ff144c121011aae:
title: 'l2tp: pass correct message length to ip6_append_data'
mainline: 359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79
backport: f951d454d97724fb80e7820728e35223e0207304
9e200a06ae2abb321939693008290af32b33dd6e:
title: 'ARM: ep93xx: Add terminator to gpiod_lookup_table'
mainline: fdf87a0dc26d0550c60edc911cda42f9afec3557
skipped: fixes patch not in branch
059285e04ebb273d32323fbad5431c5b94f77e48:
title: 'usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs'
mainline: 76c51146820c5dac629f21deafab0a7039bc3ccd
backport: 9449bb501c2106ff6a1032aabdbb30d11d3e2501
673dc4b781bf7800cd072117b47e0e5b1d784514:
title: 'usb: roles: don''t get/set_role() when usb_role_switch is unregistered'
mainline: b787a3e781759026a6212736ef8e52cf83d1821a
skipped: fixes patch not in branch
2e4f9f20b32658ef3724aa46f7aef4908d2609e3:
title: 'IB/hfi1: Fix a memleak in init_credit_return'
mainline: 809aa64ebff51eb170ee31a95f83b2d21efa32e2
backport: 4bad3089552677d750edc4ccd0fbd2a52f53eef6
40ace07af3e067e2c4ab06cf0053341e6b7c792c:
title: 'RDMA/bnxt_re: Return error for SRQ resize'
mainline: 3687b450c5f32e80f179ce4b09e0454da1449eac
skipped: fixes patch not in branch
84f1dac960cfa210a3b7a7522e6c2320ae91932b:
title: 'RDMA/srpt: Support specifying the srpt_service_guid parameter'
mainline: fdfa083549de5d50ebf7f6811f33757781e838c0
backport: e32d2194770b6278678ca69981d21be95ae314c6
cf9853fe850bd6a97204048781e017e8da8b6ca9:
title: 'RDMA/ulp: Use dev_name instead of ibdev->name'
mainline: 6c8541118bd53bc90b6c2473e289e5541de80376
skipped: only picked as a dependency for eb5c7465c324
cca7698531705331822eb8002d68432873413b9f:
title: 'RDMA/srpt: Make debug output more detailed'
mainline: d4ee7f3a4445ec1b0b88af216f4032c4d30abf5a
skipped: only picked as a dependency for eb5c7465c324
e333db03ab6ee3bd3596739724250a9a374dd466:
title: 'RDMA/srpt: fix function pointer cast warnings'
mainline: eb5c7465c3240151cd42a55c7ace9da0026308a1
backport: e0a38c97a50cc65f0ce9d3f6673d999ebf4248d4
e30c7a06073ea0da37f7af3c890e6db0528db772:
title: 'scripts/bpf: teach bpf_helpers_doc.py to dump BPF helper definitions'
mainline: 7a387bed47f7e80e257d966cd64a3e92a63e26a1
skipped: missing commit 56a092c895054a6b423781d788339775bd2bda10; file does not exist
40a0959efecdf58842271a6344d3f890f57d038b:
title: 'bpf, scripts: Correct GPL license name'
mainline: e37243b65d528a8a9f8b9a57a43885f8e8dfc15c
skipped: fixes patch not in branch
63a1b5c7bc8623b084b034419c6253debfa4d3cf:
title: 'scsi: jazz_esp: Only build if SCSI core is builtin'
mainline: 9ddf190a7df77b77817f955fdb9c2ae9d1c9c9a3
backport: 768622287c4688a25c6f37a3f667a8ed20f5d515
ba9ec8d32f0f9feda6c2c044dcd72ca214485040:
title: 'nouveau: fix function cast warnings'
mainline: 0affdba22aca5573f9d989bcb1d71d32a6a03efe
backport: 757db7bb5082d313c77dd568323136ddd4b15139
953f42934533c151f440cd32390044d2396b87aa:
title: 'ipv6: sr: fix possible use-after-free and null-ptr-deref'
mainline: 5559cea2d5aa3018a5f00dd2aca3427ba09b386b
backport: 3a93a1d1d4110d0c826efd53e3dbde8ebfc4ca84
a2b855119ec4a0142abf5ce354ea82f368dce778:
title: 'packet: move from strlcpy with unused retval to strscpy'
mainline: 8fc9d51ea2d32a05f7d7cf86a25cc86ecc57eb45
backport: 29ac1aef647719e9c7cd6aeff459910bf5062b96
2b505745a91e84338e4b728314f858a1b60b67e2:
title: 's390: use the correct count for __iowrite64_copy()'
mainline: 723a2cc8d69d4342b47dfddbfe6c19f1b135f09b
backport: 92a10e44f1361057e751ccfb7fe3f22cd5053523
343be31cc008a2f267863011934fb0aac6a9c8e2:
title: 'PCI/MSI: Prevent MSI hardware interrupt number truncation'
mainline: db744ddd59be798c2627efbfc71f707f5a935a40
backport: b47f8d88b2f28b8e2467bdd48ca8016adf4f1943
c2462b26faab4d40a78fc2862387bd615e0b7c25:
title: 'KVM: arm64: vgic-its: Test for valid IRQ in its_sync_lpi_pending_table()'
mainline: 8d3a7dfb801d157ac423261d7cd62c33e95375f8
backport: 57c80836ce9e30d1512614cd4e7802f31676c8b0
e7908309867e8132b57e16a6bcc949991b643501:
title: 'KVM: arm64: vgic-its: Test for valid IRQ in MOVALL handler'
mainline: 85a71ee9a0700f6c18862ef3b0011ed9dad99aca
skipped: fixes patch not in branch
337b543e274fe7a8f47df3c8293cc6686ffa620f:
title: 'fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio'
mainline: b820de741ae48ccf50dd95e297889c286ff4f760
backport: d9bf292a90ce3928db273d3cbba8b9a9fd588e9c
51aede2c777fc16472e801700dfc101f55efec56:
title: 'scripts/bpf: Fix xdp_md forward declaration typo'
mainline: e0b68fb186b251374adbd870f99b1ecea236e770
skipped: missing commit 56a092c895054a6b423781d788339775bd2bda10; file does not exist

View File

@@ -1,64 +0,0 @@
ec343a55b687a452f5e87f3b52bf9f155864df65:
title: 'netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter'
mainline: 661779e1fcafe1b74b3f3fe8e980c1e207fea1fd
backport: 07621fa295c2e2079f3acb75c9649378ca78538b
32793f71f212db99560816a0916ff060e46dfc6f:
title: 'tun: Fix xdp_rxq_info''s queue_index when detaching'
mainline: 2a770cdc4382b457ca3d43d03f0f0064f905a0d0
skipped: fixes patch not in branch
750e313184ea9f6866a8131c13be44f946881951:
title: 'lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected'
mainline: 0e67899abfbfdea0c3c0ed3fd263ffc601c5c157
backport: 86fb5280f208f4c5718b1bc55098978712d4de00
31e9b04a715e28aa740da64af1a3ab56373551bf:
title: 'net: usb: dm9601: fix wrong return value in dm9601_mdio_read'
mainline: c68b2c9eba38ec3f60f4894b189090febf4d8d22
backport: b784cefd731fce7ef16cddf44b634f02d9bc280f
e0b278650f07acf2e0932149183458468a731c03:
title: 'Bluetooth: Avoid potential use-after-free in hci_error_reset'
mainline: 2449007d3f73b2842c9734f45f0aadb522daf592
backport: 169f7f2453d78302d84a9962aab95eb6d35a73c2
afec8f772296dd8e5a2a6f83bbf99db1b9ca877f:
title: 'Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST'
mainline: 7e74aa53a68bf60f6019bd5d9a9a1406ec4d4865
backport: 16da27d838b852af3745e22afe9d4b7223b12fd7
4debb1e930570f20caa59d815c50a89fa33124d7:
title: 'Bluetooth: Enforce validation on max value of connection interval'
mainline: e4b019515f950b4e6e5b74b2e1bb03a90cb33039
backport: a007eac0cabb4160b86b7b7c0bbd06a67384c1b2
00cf21ac526011a29fc708f8912da446fac19f7b:
title: 'efi/capsule-loader: fix incorrect allocation size'
mainline: fccfa646ef3628097d59f7d9c1a3e84d4b6bb45e
backport: 32c6bed3090320e251c2a671ee21909665a8affa
d4d813c0a14d6bf52d810a55db06a2e7e3d98eaa:
title: 'power: supply: bq27xxx-i2c: Do not free non existing IRQ'
mainline: 2df70149e73e79783bcbc7db4fa51ecef0e2022c
backport: b525907dcaacff60d1754d6cc8d627a1346ffd0e
0832312bae111b350330aaba1bcbae74b369e8ab:
title: 'ALSA: Drop leftover snd-rtctimer stuff from Makefile'
mainline: 4df49712eb54141be00a9312547436d55677f092
backport: 41c783fd39f24fdaf17d5307cbc27ca10e262a22
01129059d5141d62fae692f7a336ae3bc712d3eb:
title: 'gtp: fix use-after-free and null-ptr-deref in gtp_newlink()'
mainline: 616d82c3cfa2a2146dd7e3ae47bda7e877ee549e
backport: 2197924b93ee10ba74ad07390b1c2dbd57deba9f
d38d31bbbb9dc0d4d71a45431eafba03d0bc150d:
title: 'wifi: nl80211: reject iftype change with mesh ID change'
mainline: f78c1375339a291cba492a70eaf12ec501d28a8e
backport: b56ad919b0fe95c06df2ddb0e28571abde834205
11d7a2e429c02d51e2dc90713823ea8b8d3d3a84:
title: 'btrfs: dev-replace: properly validate device names'
mainline: 9845664b9ee47ce7ee7ea93caf47d39a9d4552c4
backport: c5e84b933695e646431020169931c1ba19ade2b9
229d1418ce7ef2ee367d685c9780905888de1254:
title: 'mmc: core: Fix eMMC initialization with 1-bit bus connection'
mainline: ff3206d2186d84e4f77e1378ba1d225633f17b9b
backport: 2b5f5b754028ec92420b62132826e7b1e9a194e6
cb5466783793e66272624cf71925ae1d1ba32083:
title: 'cachefiles: fix memory leak in cachefiles_add_cache()'
mainline: e21a2f17566cbd64926fb8f16323972f7a064444
backport: 8a7e4f19620e2d2f46af573941c9fafef41bda78
3815150a859730a267387759a1c1e086d16b8775:
title: 'gpio: 74x164: Enable output pins after registers are reset'
mainline: 530b1dbd97846b110ea8a94c7cc903eca21786e5
backport: d5fb3070026f21b1cddcbba5d01b070a47a09091

View File

@@ -1,152 +0,0 @@
7585522bf089bfebb7bbd22fddb5495f16f250c9:
title: 'net: usb: lan78xx: Remove lots of set but unused ''ret'' variables'
mainline: 06cd7c46b3ab3f2252c61bf85b191236cf0254e1
backport: e2ad089a70e591cf7c886be6f559a0e8503674fc
09a8c3e4e79157bd3358bc9f0fab1517ae8ad884:
title: 'lan78xx: Fix white space and style issues'
mainline: 9ceec7d33adf9647293f24d2fd9a055b89c63864
backport: f6cbd3c0c4516263a546a791a9eb985ca5ee04a6
20ccd52bd3b5e1323e58a1049d7d5285650c6c64:
title: 'lan78xx: Add missing return code checks'
mainline: 3415f6baaddb9b39d7112247ab39ef3c700f882e
backport: b70394861f10fc4bb0a53bb4fe54b79f497fdf79
242c4cd0d906f6f8708c0214b0c926b109f63168:
title: 'lan78xx: Fix partial packet errors on suspend/resume'
mainline: e1210fe63bf8b080edd0805240e90b81b6b069c1
backport: c2688f303badea10dd8526d734db642898128e7e
513cfa1886cd2a06658410b788236522c2a69583:
title: 'lan78xx: Fix race conditions in suspend/resume handling'
mainline: 5f4cc6e25148cc141f97afb41b4dfe9eb1cce613
backport: cb2fabebb54f6cc12e8d180c40d9ac59076bb666
575689f40b415299864bf1826d03e71d3d807c73:
title: 'net: lan78xx: fix runtime PM count underflow on link stop'
mainline: 1eecc7ab82c42133b748e1895275942a054a7f67
backport: 30336393906643b4fece662c7c2f1871766222fd
6463ace2a35d22642c90147ebced20ef6145eac6:
title: 'net: move definition of pcpu_lstats to header file'
mainline: 52bb6677d530d37055092d86b4eab69dce6c166a
backport: de6f8690a982faf789a071b7683e3b26274faf4e
e431c3227864b5646601c97f5f898d99472f2914:
title: 'geneve: make sure to pull inner header in geneve_rx()'
mainline: 1ca1ba465e55b9460e4e75dec9fff31e708fec74
backport: 3b1e13eb6c7bcbc71e0766dc21ccb55f8d15ab50
31ea5bcc7d4cd1423de6be327a2c034725704136:
title: 'net/ipv6: avoid possible UAF in ip6_route_mpath_notify()'
mainline: 685f7d531264599b3f167f1e94bbd22f120e5fab
skipped: commit 93531c6743157d7e8c5792f8ed1a5 is not present; backport is too risky
786854141057751bc08eb26f1b02e97c1631c8f4:
title: 'net/rds: fix WARNING in rds_conn_connect_if_down'
mainline: c055fc00c07be1f0df7375ab0036cebd1106ed38
skipped: backport is too risky
98db42191329c679f4ca52bec0b319689e1ad8cb:
title: 'netfilter: nf_conntrack_h323: Add protection for bmp length out of range'
mainline: 767146637efc528b5e3d31297df115e85a2fd362
backport: 1c31b4059c9416af2dfb42f087f64edd607eb35f
7644df766006d4878a556e427e3ecc78c2d5606b:
title: 'netrom: Fix a data-race around sysctl_netrom_default_path_quality'
mainline: 958d6145a6d9ba9e075c921aead8753fb91c9101
backport: 7bab6671e4d56af53eaa19b4e61d349ce3b1cee7
e3a3718b1723253d4f068e88e81d880d71f1a1e9:
title: 'netrom: Fix a data-race around sysctl_netrom_obsolescence_count_initialiser'
mainline: cfd9f4a740f772298308b2e6070d2c744fb5cf79
backport: 5993b06357724c9656435dcd39ef3f731bb68719
acc653e8a3aaab1b7103f98645f2cce7be89e3d3:
title: 'netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser'
mainline: 119cae5ea3f9e35cdada8e572cc067f072fa825a
backport: 3babe0b373c89f4557d880edfaee1269e0565619
500936692ccca8617a955652d1929f079b17a201:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_timeout'
mainline: 60a7a152abd494ed4f69098cf0f322e6bb140612
backport: 75af2f874a607d406075ebee8872267e7610cc9c
84b8486e9cedc93875f251ba31abcf73bd586a3a:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_maximum_tries'
mainline: e799299aafed417cc1f32adccb2a0e5268b3f6d5
backport: 6e9e490c1c0f727effa44d696b29b363b9ddf216
6133a71c75dacea12fcc85838b4455c2055b0f14:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_acknowledge_delay'
mainline: 806f462ba9029d41aadf8ec93f2f99c5305deada
backport: 9da1d2a1e6687d4009eff99367df4bf7dee17f6c
7782e5e7047cae6b9255ee727c99fc73d77cf773:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_busy_delay'
mainline: 43547d8699439a67b78d6bb39015113f7aa360fd
backport: 943942802104ff9dcb435d85456b08967878b40d
4f2efa17c3ec5e4be0567b47439b9713c0dc6550:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_requested_window_size'
mainline: a2e706841488f474c06e9b33f71afc947fb3bf56
backport: 3f661371119e40c7307cff48dfaa28ba19ec6a20
73426c32e259c767d40613b956d5b80d0c28a9a9:
title: 'netrom: Fix a data-race around sysctl_netrom_transport_no_activity_timeout'
mainline: f99b494b40431f0ca416859f2345746199398e2b
backport: 0a8e233837a214086305549c6cc3c10505960a18
c13fbb5902bce848759385986d4833f5b90782c1:
title: 'netrom: Fix a data-race around sysctl_netrom_routing_control'
mainline: b5dffcb8f71bdd02a4e5799985b51b12f4eeaf76
backport: 4851e4321fdf86f860623d8541f46916cbd9b8e7
97a4d8b9f67cc7efe9a0c137e12f6d9e40795bf1:
title: 'netrom: Fix a data-race around sysctl_netrom_link_fails_count'
mainline: bc76645ebdd01be9b9994dac39685a3d0f6f7985
backport: 3c574b4ac9511dee909385868739d64de9abf892
d623fd5298d95b65d27ef5a618ebf39541074856:
title: 'netrom: Fix data-races around sysctl_net_busy_read'
mainline: d380ce70058a4ccddc3e5f5c2063165dc07672c6
backport: daa941d9ed63191c6d3e13d640ecd55a07d449a3
40011850de6d613e982c84c854018aeca2c6bb19:
title: 'btrfs: ref-verify: free ref cache before clearing mount opt'
mainline: f03e274a8b29d1d1c1bbd7f764766cb5ca537ab7
skipped: fixes patch not in branch
becbfcabedfe3ceb9bd6184c172fad00c0a8feb0:
title: 'tools/selftest/vm: allow choosing mem size and page size in map_hugetlb'
mainline: fa7b9a805c797b729022029aaa3a2b7c35fff4c6
backport: 0e37e77f60fe5fe48b7010deb499d284c92003c6
abdbd5f3e8c504d864fdc032dd5a4eb481cb12bf:
title: 'selftests: mm: fix map_hugetlb failure on 64K page size systems'
mainline: 91b80cc5b39f00399e8e2d17527cad2c7fa535e2
backport: b37d2d9d10c65fabe5b9b53ec84d9388202f4bf2
90091bdf5df0195de0d2d8e3e4d43aaaee122d34:
title: 'um: allow not setting extra rpaths in the linux binary'
mainline: 386093c68ba3e8bcfe7f46deba901e0e80713c29
backport: fb847632d0d888521c17c0f1109ca827316281a4
39807e3985ffa2714e46362fdded274a2d768578:
title: 'Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU'
mainline: a60e6c3918d20848906ffcdfcf72ca6a8cfbcf2e
skipped: commit 32863a2d5db62c4fa401ced61388d680421002d6 is not present (unsupported hardware)
61acc4c4a3c33905b124dc4af206df92c1426500:
title: 'hv_netvsc: Make netvsc/VF binding check both MAC and serial number'
mainline: 64ff412ad41fe3a5bf759ff4844dc1382176485c
skipped: commit 00d7ddba1143623b31bc2c15d18216e2da031b14 is not present
a2577793ff166cc18fe4192a8b1bca2d37253e6a:
title: 'hv_netvsc: use netif_is_bond_master() instead of open code'
mainline: c60882a4566a0a62dc3a40c85131103aad83dcb3
backport: 8ddca3d65f8a45b7a4e8d844441b30f990e0b015
bcb7164258d0a9a8aa2e73ddccc2d78f67d2519d:
title: 'hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed'
mainline: 9cae43da9867412f8bd09aee5c8a8dc5e8dc3dc2
skipped: fixes patch not in branch
d5e38d6b84d6d21a4f8a4f555a0908b6d9ffe224:
title: 'y2038: rusage: use __kernel_old_timeval'
mainline: bdd565f817a74b9e30edec108f7cb1dbc762b8a6
skipped: 4.14 does not have struct __kernel_old_timeval and backporting would be too risky
e904c9a4834888cb2b37607d9571f49964f4603f:
title: 'getrusage: add the "signal_struct *sig" local variable'
mainline: c7ac8231ace9b07306d0299969e42073b189c70a
backport: f2348ee837cee8604c0502b6ef9d806ce1cc13ec
33ec341e3e9588962ff3cf49f642da140d3ecfc0:
title: 'getrusage: move thread_group_cputime_adjusted() outside of lock_task_sighand()'
mainline: daa694e4137571b4ebec330f9a9b4d54aa8b8089
backport: c048d8254a03786c76d3e0f7b687c98f951c7957
e24772adaaf4b81ac0855cceb17080352526f765:
title: 'getrusage: use __for_each_thread()'
mainline: 13b7bc60b5353371460a203df6c38ccd38ad7a3a
backport: 82f1e0dc48d7753fa960bfc2cec672a0aaf69e01
c96f49d3a741f6693feecdb067c442b609903d03:
title: 'getrusage: use sig->stats_lock rather than lock_task_sighand()'
mainline: f7ec1cd5cc7ef3ad964b677ba82b8b77f1c93009
backport: 8d11949c478109b80f65d7b3da4927407e61c10a
71317d703c550c819b5465c3a49ce98650089865:
title: 'selftests/vm: fix display of page size in map_hugetlb'
mainline: 1ec882fc81e3177faf055877310dbdb0c68eb7db
backport: fee13d620a067a56d35582ad3bae29e9fd6dd1f8
af289249ec5c79200c4ec4ec7f4902378956c4d7:
title: 'selftests/vm: fix map_hugetlb length used for testing read and write'
mainline: cabc30da10e677c67ab9a136b1478175734715c5
backport: f19d6a15935beb1be8aee2845912d846e5649981

View File

@@ -1,576 +0,0 @@
53b523420981228674aabbc3d27d3461db19f499:
title: 'ASoC: rt5645: Make LattePanda board DMI match more precise'
mainline: 551539a8606e28cb2a130f8ef3e9834235b456c4
skipped: too many upstream changes; not worth the risk
70a33a629090130d731fc1e1ad498bb672eea165:
title: 'x86/xen: Add some null pointer checking to smp.c'
mainline: 3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2
backport: f2645f10d789c047bcaf11a573ed337bad4f0707
b0b3373993a5b445eeb410d7c74a87710aad9d6e:
title: 'MIPS: Clear Cause.BD in instruction_pointer_set'
mainline: 9d6e21ddf20293b3880ae55b9d14de91c5891c59
backport: 96405638c5c2567f6c27cfd84ada8a5a5311b231
13f5b64a584b5554f81e7e493dcbafaddd06557d:
title: 'net/iucv: fix the allocation size of iucv_path_table array'
mainline: b4ea9b6a18ebf7f9f3a7a60f82e925186978cfcf
backport: 3ded98fc3b9716997438f60daf0452b7c3e6d360
72da7347f460b2ecc5e934bcbef312e0fa5ebf2b:
title: 'block: sed-opal: handle empty atoms when parsing response'
mainline: 5429c8de56f6b2bd8f537df3a1e04e67b9c04282
backport: e9f9eb0c2d8c5c96fc354cf8ede84f4ba6f38d19
8338d971f919256b312f28a9a320f552a499dc8e:
title: 'dm-verity, dm-crypt: align "struct bvec_iter" correctly'
mainline: 787f1b2800464aa277236a66eb3c279535edd460
backport: e6d8df74f2692f4e83306e293a8c503112d32aa8
6cc96148d26afbf1e3b8167ee68dc9eec387804d:
title: 'scsi: mpt3sas: Prevent sending diag_reset when the controller is ready'
mainline: ee0017c3ed8a8abfa4d40e42f908fb38c31e7515
backport: 70928e45cbbe230a8fde12a6bb7bbbfb77139e7f
369f419c097e82407dd429a202cde9a73d3ae29b:
title: 'Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security'
mainline: 2535b848fa0f42ddff3e5255cf5e742c9b77bb26
backport: b79150eddce93e7bf87f005c9c996abd90d4655e
b89198d02d0149f22149675766c47883de923106:
title: 'firewire: core: use long bus reset on gap count error'
mainline: d0b06dc48fb15902d7da09c5c0861e7f042a9381
backport: 51ec1ed43d0b4ab1228eb55189fa939ad579c4c2
2d400317217470b2dc28bb776efeb9c3d53e0340:
title: 'ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet'
mainline: f8b0127aca8c60826e7354e504a12d4a46b1c3bb
skipped: causes build failure; not security issue
a215f042a7f57346fd5430e84f81f822e84975b5:
title: 'Input: gpio_keys_polled - suppress deferred probe error for gpio'
mainline: 963465a33141d0d52338e77f80fe543d2c9dc053
backport: 243004088d2707ad353b4ee4dd6b96f76daca68d
c2a85fd64160fcf4185669d4db299fbb2df76986:
title: 'ASoC: wm8962: Enable oscillator if selecting WM8962_FLL_OSC'
mainline: 03c7874106ca5032a312626b927b1c35f07b1f35
backport: 6895f6831861ceceb98e7b6604ec9050a37c8173
2f87e22ea1b42b89435bf98a768eb8227797d819:
title: 'ASoC: wm8962: Enable both SPKOUTR_ENA and SPKOUTL_ENA in mono mode'
mainline: 6fa849e4d78b880e878138bf238e4fd2bac3c4fa
backport: 2a2f4e8dfe12971fd6b78ec6e05179151bea4a88
d619f175ff50582c05858cb96d05391f77c7c7aa:
title: 'ASoC: wm8962: Fix up incorrect error message in wm8962_set_fll'
mainline: 96e202f8c52ac49452f83317cf3b34cd1ad81e18
backport: cacf64e0af45cb788a70941441fc6423149b1d9f
17a1144baa54edb9c97014ad441a03b93e50ab75:
title: 'crypto: algif_aead - fix uninitialized ctx->init'
mainline: 21dfbcd1f5cbff9cf2f9e7e43475aed8d072b0dd
skipped: fixes patch not in branch
0ca02d4beebb7b47ea0cbdceac891465cbb966c6:
title: 'crypto: af_alg - make some functions static'
mainline: 466e0759269d31485074126700574230bfff3b1c
backport: ed2edd721e156046bb4dc4587f06af360f875581
de564b59755dfb080ef237dd4fbd02cb0c3e58a1:
title: 'crypto: algif_aead - Only wake up when ctx->more is zero'
mainline: f3c802a1f30013f8f723b62d7fa49eb9e991da23
backport: f63a7bf2dcf7e05021785b64b184795f6b6a6ccd
4bac28f441e3cc9d3f1a84c8d023228a68d8a7c1:
title: 'do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak'
mainline: 3948abaa4e2be938ccdfc289385a27342fb13d43
backport: ce3317e4a96642984d3e7fbaf33a086176052bf8
b86af4d77a5a2487020794845c1a2e948699630c:
title: 'fs/select: rework stack allocation hack for clang'
mainline: ddb9fd7a544088ed70eccbb9f85e9cc9952131c1
backport: 70137872f87a2e47239cf7ea0d9b295f173f6c27
dc51c01a3d5a796e18520a186f56e13f8e70749f:
title: 'md: switch to ->check_events for media change notifications'
mainline: a564e23f0f99759f453dbefcb9160dec6d99df96
backport: 644ef6ff144cf72b7c0170ade4a8a449f01d9e63
f28658bc8a7faa03578dc2588b5b3b56b09575a6:
title: 'block: add a new set_read_only method'
mainline: e00adcadf3af7a8335026d71ab9f0e0a922191ac
backport: 5621bcf7c79c834e98f01dfea929a7bbf7d600ab
bde70d747f81f7f014b7c63d6a7b2dd6c8356f43:
title: 'md: implement ->set_read_only to hook into BLKROSET processing'
mainline: 118cf084adb3964d06e1667cf7d702e56e5cd2c5
backport: 1d018bd5617e06f3c7bd6df7cacaf79a35cd4da3
8eea2ea62b459cebffd20d5d5121becbec838291:
title: 'md: Don''t clear MD_CLOSING when the raid is about to stop'
mainline: 9674f54e41fffaf06f6a60202e1fa4cc13de3cf5
backport: fe9ee4210de1a9816e6e99a791894f87a62c2fb3
ad80c34944d7175fa1f5c7a55066020002921a99:
title: 'aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts'
mainline: f98364e926626c678fb4b9004b75cacf92ff0662
backport: 67f0ca2ac39c5b06d90c7bbb3f4dbd01a96fd1fa
3c22ef22761ab15b1c32ea5997859c0719fdc14d:
title: 'timekeeping: Fix cross-timestamp interpolation on counter wrap'
mainline: 84dccadd3e2a3f1a373826ad71e5ced5e76b0c00
backport: 44b1502cbcf6899a21c9d4ec8c61f5bcfaee0d03
86c7cc07eef558e9986a17ac5b6d5f44c8b493bd:
title: 'timekeeping: Fix cross-timestamp interpolation corner case decision'
mainline: 87a41130881995f82f7adbafbfeddaebfb35f0ef
backport: ed6452adf4a6e0b9641fc065d63ddc6075238c23
20880812b2f8fad4cf269f83bd5266eed31f0208:
title: 'timekeeping: Fix cross-timestamp interpolation for non-x86'
mainline: 14274d0bd31b4debf28284604589f596ad2e99f2
backport: fabbb78782e6dd484cc0e036e1e0dbbb8c70b8da
0cd3b0a1dc987697cba1fe93c784365aa1f8a230:
title: 'wifi: ath10k: fix NULL pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev()'
mainline: ad25ee36f00172f7d53242dc77c69fff7ced0755
skipped: fixes patch not in branch
eb014286140dd5bd4f82417bb186edbbb2f1d3a4:
title: 'b43: dma: Fix use true/false for bool type variable'
mainline: a9160bb35ad9ada8428a4d48426f7fc128db40cc
backport: 0e7ba895f0ec865043f09e88cbfc750869e3d81a
1824f942527f784a19e01eac2d9679a21623d010:
title: 'wifi: b43: Stop/wake correct queue in DMA Tx path when QoS is disabled'
mainline: 9636951e4468f02c72cc75a82dc65d003077edbc
backport: c6fa41a3cb1d5f9fff1b455d779df5a47c44f254
5175e6256f5ad36ceea6ad5aa44f6ce87764e653:
title: 'wifi: b43: Stop/wake correct queue in PIO Tx path when QoS is disabled'
mainline: 77135a38f6c2f950d2306ac3d37cbb407e6243f2
backport: 947b5e0d7e03173f242ce6c5871cb82e357529f9
ddd8aa7d4959a42786c3e2c2491c33e91e032f88:
title: 'b43: main: Fix use true/false for bool type'
mainline: 6db774c1725059f98e4fce97f878688248584be5
backport: 73a69fcb66db7b037de6c521e49ba54ee21e5e3c
0191ff009dce9740494e37a8616b3f0a3b38d884:
title: 'wifi: b43: Stop correct queue in DMA worker when QoS is disabled'
mainline: 581c8967d66c4961076dbbee356834e9c6777184
backport: 13876838c450d766f468452a940c14e7f16ce55b
4828567fd9625926c07fe711a096d5374f5f42d5:
title: 'wifi: b43: Disable QoS for bcm4331'
mainline: 09795bded2e725443fe4a4803cae2079cdaf7b26
backport: 14ee0973eab90a53de93ef3bd02f73ef9cb54622
1e68b5319090ee3f810580c059a202ec8b24bdbe:
title: 'wifi: mwifiex: debugfs: Drop unnecessary error check for debugfs_create_dir()'
mainline: 50180c7f8e3de7c2d87f619131776598fcb1478d
backport: 4b8198ce7bd031846776dc60a66402697e2d3f9b
cffd4a7c975848e2bb7c577e5c814a0d2bc9efd4:
title: 'sock_diag: annotate data-races around sock_diag_handlers[family]'
mainline: efd402537673f9951992aea4ef0f5ff51d858f4b
backport: 7e6bdf38024904a26cf237968d6f476d3060ea8c
0c41412330b8804ec9829ecb929a21d8cc2e06c5:
title: 'af_unix: Annotate data-race of gc_in_progress in wait_for_unix_gc().'
mainline: 31e03207119a535d0b0e3b3a7f91983aeb2cb14d
backport: d4a666252ef7cc7e3c6c126564e8f8e3ac751196
96481624fb5a6319079fb5059e46dbce43a90186:
title: 'wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()'
mainline: 5f0e4aede01cb01fa633171f0533affd25328c3a
backport: 7dbbfcf6db50dd29b7040c06826c2f26b8813b6a
d351bcadab6caa6d8ce7159ff4b77e2da35c09fa:
title: 'ACPI: processor_idle: Fix memory leak in acpi_processor_power_exit()'
mainline: e18afcb7b2a12b635ac10081f943fcf84ddacc51
backport: d39f836a2b9e34610d3c1b6800adda8b1b98b6b6
dfd9078eecdac8d45badc029d0a1afb9b887d089:
title: 'bus: tegra-aconnect: Update dependency to ARCH_TEGRA'
mainline: 4acd21a45c1446277e2abaece97d7fa7c2e692a9
backport: 3ecc2213610561a98f56332417ce1cd445addd80
46b9f2480b5bd3793340754eb52aa887fcbeb2f1:
title: 'iommu/amd: Mark interrupt as managed'
mainline: 0feda94c868d396fac3b3cb14089d2d989a07c72
backport: cff340eed43a60e8352306c2d0daa936e2609d55
523bd0437c687d0b4edf7548b95217993746c64c:
title: 'wifi: brcmsmac: avoid function pointer casts'
mainline: e1ea6db35fc3ba5ff063f097385e9f7a88c25356
backport: 7f3fb7d44b2c90cb14e6bdc2be5058669186d725
d6a0ddacb07986dbd08d97b8c8b0928778e318b4:
title: 'ARM: dts: arm: realview: Fix development chip ROM compatible value'
mainline: 3baa4c5143d65ebab2de0d99a395e5f4f1f46608
backport: a8674f8f32d3ce9502633eec64d5f1240d7ab031
3dd8bfb5f23fa1605f2a7b62c91258a7d778ccb1:
title: 'ACPI: scan: Fix device check notification handling'
mainline: 793551c965116d9dfaf0550dacae1396a20efa69
backport: ff060748955642dd9eb032bb32bf8d3c8b0c809c
13edb509abc91c72152a11baaf0e7c060a312e03:
title: 'x86, relocs: Ignore relocations in .notes section'
mainline: aaa8736370db1a78f0e8434344a484f9fd20be3b
backport: f1a4dbde435665ebd50419198f51995a86722489
b97c37978ca825557d331c9012e0c1ddc0e42364:
title: 'SUNRPC: fix some memleaks in gssx_dec_option_array'
mainline: 3cfcfc102a5e57b021b786a755a38935e357797d
backport: 98dd836d4d90f8c75583cdb77e51e43416145bf2
f10426db32e7712fcc72154e2fa288f7127094ad:
title: 'mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function'
mainline: ae5004a40a262d329039b99b62bd3fe7645b66ad
backport: 4cb02a03a5ed3ea326f92cb72cc6d96019ea43f4
d686b4537ead6bdd1a636040c00af51e9e0a1bc5:
title: 'igb: move PEROUT and EXTTS isr logic to separate functions'
mainline: cf99c1dd7b7729091043374b90807c7a5f9fd9b1
backport: 7344a5ae74cc4e62b079a877d20b2570e2f235ef
f346bf4db1ebaad9c8ca5aae6397c7867b8ac4f3:
title: 'igb: Fix missing time sync events'
mainline: ee14cc9ea19ba9678177e2224a9c58cce5937c73
backport: 2fe7a8cde6d1b03ecb4fed3f7cf6e5427463cfda
6e960390709966929a29eaec8bca710237a54f24:
title: 'Bluetooth: Remove superfluous call to hci_conn_check_pending()'
mainline: 78e3639fc8031275010c3287ac548c0bc8de83b1
backport: e63d5f1f3f5f918a0a94e7d4facccfa6342239cc
6d5a9d4a7bcbb7534ce45a18a52e7bd23e69d8ac:
title: 'Bluetooth: hci_core: Fix possible buffer overflow'
mainline: 81137162bfaa7278785b24c1fd2e9e74f082e8e4
backport: 224f6971eb2b4457331804d194017c1524f8157f
424eba06ed405d557077339edb19ce0ebe39e7c7:
title: 'sr9800: Add check for usbnet_get_endpoints'
mainline: 07161b2416f740a2cb87faa5566873f401440a61
backport: aca6a0b117cfb0701cc2bea02db1e8c6372b08b0
33ec04cadb77605b71d9298311919303d390c4d5:
title: 'bpf: Fix hashtab overflow check on 32-bit arches'
mainline: 6787d916c2cf9850c97a0a3f73e08c43e7d973b1
backport: 5b157b57a27deae00138ebbf9abe793d85b80d12
d0e214acc59145ce25113f617311aa79dda39cb3:
title: 'bpf: Fix stackmap overflow check on 32-bit arches'
mainline: 7a4b21250bf79eef26543d35bd390448646c536b
backport: c7eb664d0ae8b3da9621816bfe11ad862c24e342
95db6e62a2d920abf43c169e51046adb9f394ef0:
title: 'ipv6: fib6_rules: flush route cache when rule is changed'
mainline: c4386ab4f6c600f75fdfd21143f89bac3e625d0d
backport: efa596b077451aef0f8bb760ad3975264a046ee4
d909b53ff5b8f005b474b4417ee271f5a4adca94:
title: 'tcp: fix incorrect parameter validation in the do_tcp_getsockopt() function'
mainline: 716edc9706deb3bb2ff56e2eeb83559cea8f22db
backport: 9676e9447d12a404638bbee6bd43852440c7c137
51a7e05fbca612ae1f09f62dfe21957380b8546d:
title: 'l2tp: fix incorrect parameter validation in the pppol2tp_getsockopt() function'
mainline: 955e9876ba4ee26eeaab1b13517f5b2c88e73d55
backport: a0e4e51da39f5a7fc9d9e1f5fc14640701887d90
f21612ee652c08b4a5a0bb11528035f57935fae1:
title: 'udp: fix incorrect parameter validation in the udp_lib_getsockopt() function'
mainline: 4bb3ba7b74fceec6f558745b25a43c6521cf5506
backport: 5cfa0a58e61d01c690063af3623d0a53b76951a6
867608c0abcbdc86e62925604ac2d3f0c7ca678a:
title: 'net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function'
mainline: 3ed5f415133f9b7518fbe55ba9ae9a3f5e700929
backport: 59a4e1ed1e12998b6ee449091fe2ae36597b223b
7089428a1a4e28efa0c36877d80639a8306fdbf4:
title: 'net/x25: fix incorrect parameter validation in the x25_getsockopt() function'
mainline: d6eb8de2015f0c24822e47356f839167ebde2945
backport: fa19944cf14ae594b5b1353f881e80f4d83016b5
d746889db75a76aeee95fb705b8e1ac28c684a2e:
title: 'nfp: flower: handle acti_netdevs allocation failure'
mainline: 84e95149bd341705f0eca6a7fcb955c548805002
skipped: fixes patch not in branch
52a35f5551c6c63f2c50c24117377faa47b2395c:
title: 'dm raid: fix false positive for requeue needed during reshape'
mainline: b25b8f4b8ecef0f48c05f0c3572daeabefe16526
backport: 3d651f489f213a8688c49fdb9c5af4e94aaefe08
69836d9329f0b4c58faaf3d886a7748ddb5bf718:
title: 'dm: call the resume method on internal suspend'
mainline: 65e8fbde64520001abf1c8d0e573561b4746ef38
backport: d8348562b9ba5d57db7ff9c39b40c326d81fec2d
47a13d0b9d8527518639ab5c39667f69d6203e80:
title: 'drm/tegra: dsi: Add missing check for of_find_device_by_node'
mainline: afe6fcb9775882230cd29b529203eabd5d2a638d
backport: c5b100db7c774d0770809952834e65c00da6aed8
aaa5ef6db779a2ffdac6e2c4e27a042fc85af425:
title: 'gpu: host1x: mipi: Update tegra_mipi_request() to be node based'
mainline: 767598d447aa46411289c5808b0e45e20a1823b4
backport: a1d6e2d545ae60e3c0f14afc655960a12a1836ce
4003d399dd34bd9a80fcf78a3feb3140eb82b2b8:
title: 'drm/tegra: dsi: Make use of the helper function dev_err_probe()'
mainline: fc75e4fcbd1e4252a0481ebb23cd4516c127a8e2
backport: a7f31893877bed52efc884b8151f7bd211643115
0cb8749a621cdd291dc8976bbc245029124d402a:
title: 'drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()'
mainline: 830c1ded356369cd1303e8bb87ce3fea6e744de8
backport: beef7ea1764bd7497ea4a76932b5b57bb6d1147d
d7e898d13a867014352f0daf98f8a0155c67a3c9:
title: 'drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_dsi_probe()'
mainline: 5286a9fc280c45b6b307ee1b07f7a997e042252c
backport: 8f0f744ebf00a199144bb821d0d1b186de6be782
c031022829a91114cb2bd531c38de99184957b6d:
title: 'drm/rockchip: inno_hdmi: Fix video timing'
mainline: 47a145c03484d33e65d773169d5ca1b9fe2a492e
backport: 9514fc65463c56256c0fbb075a6e414d2c440e9c
e3271a9f1432472bfd1aec82a5086d6b10e0dfec:
title: 'drm: Don''t treat 0 as -1 in drm_fixp2int_ceil'
mainline: cf8837d7204481026335461629b84ac7f4538fa5
backport: 36ac37d23799588aa1f243c55a9958bac40ce8be
2a1a4409d162a2a7e116ce87695ff6a7f8c7988c:
title: 'drm/rockchip: lvds: do not overwrite error code'
mainline: 79b09453c4e369ca81cfb670d0136d089e3b92f0
skipped: fixes patch not in branch
7775f620adbfcf3e65f32cb0f1bfa2c5f3786469:
title: 'drm/rockchip: lvds: do not print scary message when probing defer'
mainline: 52d11c863ac92e36a0365249f7f6d27ac48c78bc
skipped: fixes patch not in branch
17c2650de14842c25c569cbb2126c421489a3a24:
title: 'media: tc358743: register v4l2 async device only after successful setup'
mainline: 87399f1ff92203d65f1febf5919429f4bb613a02
backport: f37d112202ea81abf2af9a552cd3657f8b042342
35ad0b464f8c1d8414b9eb9ef8da070aa06bd693:
title: 'perf evsel: Fix duplicate initialization of data->id in evsel__parse_sample()'
mainline: 4962aec0d684c8edb14574ccd0da53e4926ff834
skipped: fixes patch not in branch
def6f2347cc5534daffd513a5a33637fdfc8d1a6:
title: 'ABI: sysfs-bus-pci-devices-aer_stats uses an invalid tag'
mainline: abf313b5a8b72302062dd407ed7e470d67d389bb
skipped: missing commit 81aa5206f9a7c9793e2f7971400351664e40b04f
8b3c5d95bcc85f4333b6968ae7710ee2a1b28f0a:
title: 'media: em28xx: annotate unchecked call to media_device_register()'
mainline: fd61d77a3d28444b2635f0c8b5a2ecd6a4d94026
backport: e2bc2e2b68b321dfd3fb2c66691014a66ee074a6
0de691ff547d86dd54c24b40a81f9c925df8dd77:
title: 'media: v4l2-tpg: fix some memleaks in tpg_alloc'
mainline: 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c
backport: fdec9e17f52ea90aa40441a258d62ad3f0d6707d
3dd8abb0ed0e0a7c66d6d677c86ccb188cc39333:
title: 'media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity'
mainline: 8f94b49a5b5d386c038e355bef6347298aabd211
skipped: fixes patch not in branch
cfa5ffc57e54fb8b864d23b6992cb37d706f6a87:
title: 'media: dvbdev: remove double-unlock'
mainline: 122d0e8dd050cc5dc3fb9e9b5f2dee3c5276ce35
backport: 08af260a5bc1b71c1278dccb64a7866ea0687ef3
6e4129f8163460c79bb99887bc6f791196fcbda2:
title: 'media: media/dvb: Use kmemdup rather than duplicating its implementation'
mainline: f6af820ef1be58c2e4b81aa479b9f109eb6344ce
backport: 88b9134f0e55fe9a7162ee90e5324e2fd91b0ad9
085f36c317cba8b8955c5da5f59c7486345d2bbb:
title: 'media: dvbdev: Fix memleak in dvb_register_device'
mainline: 167faadfcf9339088910e9e85a1b711fcbbef8e9
backport: 5ace531d9048d5957c275071f8e55d5b3261e03e
a30cf94eaf5dd3ffd8d13c3a8c303d04357b01c1:
title: 'media: dvbdev: fix error logic at dvb_register_device()'
mainline: 1fec2ecc252301110e4149e6183fa70460d29674
backport: 83a32ee58edae39a2e9bb7d71f36d0317ebf39d2
dc04ff778b4f8ff4560f1c42993417359e74d36a:
title: 'media: dvb-core: Fix use-after-free due to race at dvb_register_device()'
mainline: 627bb528b086b4136315c25d6a447a98ea9448d3
backport: 8f649cb42cc0154445a0319a3ec9e0f6f37737b5
d0f5c28333822f9baa5280d813124920720fd856:
title: 'media: edia: dvbdev: fix a use-after-free'
mainline: 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5
backport: dec38a328d1cb93913450eab8c0b2b52ca6d96b7
5f0a066e0ece83eb4c72c6672539bcdbfeb39a4e:
title: 'clk: qcom: reset: Allow specifying custom reset delay'
mainline: 2cb8a39b6781ea23accd1fa93b3ad000d0948aec
backport: a9c53a71d5103df700ba1022bd793c2e7da2e4b3
38dd93f87da08876edf8df89a5992ce46da920ea:
title: 'clk: qcom: reset: support resetting multiple bits'
mainline: 4a5210893625f89723ea210d7c630b730abb37ad
backport: 7091467f8cf4ffb05762766872608822fba862a6
823c46950d9a96e94db8f565013f4f2f528c2bbe:
title: 'clk: qcom: reset: Commonize the de/assert functions'
mainline: eda40d9c583e95e0b6ac69d2950eec10f802e0e8
backport: fb58c616f8d5d230746a6e834a13daaf9616432d
d258d124f435adb3cac491e4b0274e75597f3a02:
title: 'clk: qcom: reset: Ensure write completion on reset de/assertion'
mainline: 2f8cf2c3f3e3f7ef61bd19abb4b0bb797ad50aaf
backport: 3acb0bf9b01663735e38d8647655c4c2dc81aa80
d9e4ab12b60a49204435102f8120c0d3e62583f1:
title: 'quota: code cleanup for __dquot_alloc_space()'
mainline: df15a2a59d0b29d86e17140b83ed231adaded12f
backport: 045db5c9471c0d3662193af5123c40c459442c29
1974c13019b97140149690cd622a9c6732c32124:
title: 'fs/quota: erase unused but set variable warning'
mainline: 78bc3334a69ff289dbc973a9db7c52a2d7757e5b
backport: 34b20f6e467fcd6dcd4352a429263beca0cc46fc
e87ed533e7a6167f4a5e1b0fdbf21784acf115cc:
title: 'quota: check time limit when back out space/inode change'
mainline: 632a9f3acd6687376cbb0b178df6048e19cbacc9
backport: 92b446b2b7dfe86c8955bf914789754b2d44ec81
248699a705f31211c0d7cc9e0d79cbbabbc9c791:
title: 'quota: simplify drop_dquot_ref()'
mainline: 7bce48f0fec602b3b6c335963b26d9eefa417788
backport: ba23e07d50c32bf3e5c651e29fe526f53652b28b
8514899c1a4edf802f03c408db901063aa3f05a1:
title: 'quota: Fix potential NULL pointer dereference'
mainline: d0aa72604fbd80c8aabb46eda00535ed35570f1f
backport: b2b5f36baf4785d586642aab144412e5961b7955
06172dff9a47e76dfce9b60d44ef21131b417803:
title: 'quota: Fix rcu annotations of inode dquot pointers'
mainline: 179b8c97ebf63429589f5afeba59a181fe70603e
backport: 9b7a96f32e377542671c0cc2c43a1ab5cfa84723
f9e92ad5eb0901cacac8f1cc4e5ea12514f7934b:
title: 'perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str()'
mainline: 1eb3d924e3c0b8c27388b0583a989d757866efb6
backport: d85a1e5fdc93c04aad783ac5134fe266a0a372b7
1c35795b90f4dce0605ace7eef9ae1bd1282ebf2:
title: 'drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode()'
mainline: c4891d979c7668b195a0a75787967ec95a24ecef
backport: 38f97031f0e5fad4f2a081d34cd1a1365cca5e05
9f9254f8927d9f4e4185ec18d8ee648dfcb5ed62:
title: 'ALSA: seq: fix function cast warnings'
mainline: d7bf73809849463f76de42aad62c850305dd6c5d
backport: 9075faa224b8911050442a04a83e7156df94f0b7
ff13e3ce6aa4c0dfdbc6438fe3c03118afe3ee8c:
title: 'media: go7007: add check of return value of go7007_read_addr()'
mainline: 0b70530ee740861f4776ff724fcc25023df1799a
backport: 0203c9b23b47d5e2f6d817b69d592ccc88d9a1f5
4e93392ae27eb5f8ad4efd31cf8f1ecd5fdabe15:
title: 'media: pvrusb2: fix pvr2_stream_callback casts'
mainline: 30baa4a96b23add91a87305baaeba82c4e109e1f
backport: ef1a77adc95fea554698fbbe7530b7e7da5ef4a6
1cb169229f8e6a29bd4ec4baf7a095a91ed6c729:
title: 'firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface'
mainline: cc53aabcc283c36274d3f3ce9adc4b40c21d4838
skipped: commit did not cherry-pick cleanly
c7544fd16bf8656791548ab3b0845b6ed2411496:
title: 'clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times'
mainline: 117e7dc697c2739d754db8fe0c1e2d4f1f5d5f82
skipped: fixes patch not in branch
a5e660dba9ff73531053664e20dd858d880adbdb:
title: 'drm/mediatek: dsi: Fix DSI RGB666 formats and definitions'
mainline: fae6f815505301b92d9113764f4d76d0bfe45607
backport: bbb93685c7c6f27816955df2d599ca30a5ff2dbb
8443ceba0a8e5960e134ef26346266cb2d3a251d:
title: 'PCI: Mark 3ware-9650SE Root Port Extended Tags as broken'
mainline: baf67aefbe7d7deafa59ca49612d163f8889934c
backport: 8bfb9ffc388bc45abfcbf77b8b2c0715c4a950f6
907370aacf216e3a662d44e88d204413488444b3:
title: 'clk: hisilicon: hi3519: Release the correct number of gates in hi3519_clk_unregister()'
mainline: 74e39f526d95c0c119ada1874871ee328c59fbee
backport: 2c4e4f364fc917492491e7e801a11aa3d021eaba
d674e78da934afd2ce5935eff08cf5361a9a27ac:
title: 'drm/tegra: put drm_gem_object ref on error in tegra_fb_create'
mainline: 32e5a120a5105bce01561978ee55aee8e40ac0dc
backport: 964b1a6dfa9591962a88502cbce73e0d5a39f12c
5d16d3dc28a95915c1f7a41f68f2a069ced4b578:
title: 'mfd: syscon: Call of_node_put() only when of_parse_phandle() takes a ref'
mainline: d2b0680cf3b05490b579e71b0df6e07451977745
backport: cc17862516e0adc1504c13f2bcf8e6e660af3912
bdb1db7115d9b2a9d10c101dfc67386485fad00d:
title: 'crypto: arm - Rename functions to avoid conflict with crypto/sha256.h'
mainline: e4dcc1be15268b6d34de3968f906577591521bd5
backport: 7fc8137190a1cebb8826d8ed71480d2653801e3f
8d27d1b155c26bae2bd76b0c3e78cc4f1f1e21c5:
title: 'crypto: arm/sha - fix function cast warnings'
mainline: 53cc9baeb9bc2a187eb9c9790d30995148852b12
backport: 0147d403e14fcf04d14e54c8db8c92e0b9e895c1
9fc05d7953b0d71372b632e1d62abf78c6ac9d64:
title: 'mtd: rawnand: lpc32xx_mlc: fix irq handler prototype'
mainline: 347b828882e6334690e7003ce5e2fe5f233dc508
backport: 1b84c12ebaccfd96af1d200d69bad289842962a9
e7221531b9f477f596c432846c57581d0312a02c:
title: 'ASoC: meson: axg-tdm-interface: fix mclk setup without mclk-fs'
mainline: e3741a8d28a1137f8b19ae6f3d6e3be69a454a0a
skipped: fixes patch not in branch
5a2b18dbec88b972d570994483f188cb59586609:
title: 'drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int()'
mainline: 7cf1ad2fe10634238b38442a851d89514cb14ea2
backport: d7fb1c3d480ad75315a420879665772dd588cd44
ed8000e1e8e9684ab6c30cf2b526c0cea039929c:
title: 'media: pvrusb2: fix uaf in pvr2_context_set_notify'
mainline: 0a0b79ea55de8514e1750884e5fec77f9fdd01ee
backport: 6251ccc9fe18868635199a6e3dcd17ac5732060a
c073c8cede5abd3836e83d70d72606d11d0759d4:
title: 'media: dvb-frontends: avoid stack overflow warnings with clang'
mainline: 7a4cf27d1f0538f779bf31b8c99eda394e277119
backport: 810b8a9fe3e1bc6bc357b08882289aab5be3909e
7f11dd3d165b178e738fe73dfeea513e383bedb5:
title: 'media: go7007: fix a memleak in go7007_load_encoder'
mainline: b9b683844b01d171a72b9c0419a2d760d946ee12
backport: d692197c4290038026cd849e964cbc0963b8baf7
accdac6b71d5a2b84040c3d2234f53a60edc398e:
title: 'drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip'
mainline: c958e86e9cc1b48cac004a6e245154dfba8e163b
backport: f754e826a42f26ce110d8c22ac3efcd5b8f714a8
0a1754ba8d537e054b01f0c2dc6b653a5a1b685d:
title: 'powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks'
mainline: ad86d7ee43b22aa2ed60fb982ae94b285c1be671
backport: 1785997d8b483b47a511d6d61e2e8cc20095ec5d
131dffef3a81e9c6f4a9e278ffd66f3eb5ae8c3e:
title: 'powerpc/embedded6xx: Fix no previous prototype for avr_uart_send() etc.'
mainline: 20933531be0577cdd782216858c26150dbc7936f
backport: 138ea96e89f7b2bccb7b3fee18b0a4430e6b2f5c
063b294747b47f7bdaad3953542e73552bf7fe65:
title: 'backlight: lm3630a: Initialize backlight_properties on init'
mainline: ad9aeb0e3aa90ebdad5fabf9c21783740eb95907
backport: e50c0ec386b601a2161ecf3ce4d8bb64dc0226bd
85360e411bd2239ef184178352fab6582a0fcb85:
title: 'backlight: lm3630a: Don''t set bl->props.brightness in get_brightness'
mainline: 4bf7ddd2d2f0f8826f25f74c7eba4e2c323a1446
backport: d0ca047e07a3357a1cfa5de925311b5496e1b233
ba9f50fa0edd4d45bc9840ba05efa9b526a30b53:
title: 'backlight: da9052: Fully initialize backlight_properties during probe'
mainline: 0285e9efaee8276305db5c52a59baf84e9731556
backport: 80b386048fb42668966e1afc0ae2c4d6e6dfd1fa
9d0aaf425cc5aec627ee7cae0990e6c5b7d2adb9:
title: 'backlight: lm3639: Fully initialize backlight_properties during probe'
mainline: abb5a5d951fbea3feb5c4ba179b89bb96a1d3462
backport: 2f286fb34ca716ba08e7f4cb0f020ce20cb9d219
3301f60ab7ebc14ec7242f1ad62dc151e11cd308:
title: 'backlight: lp8788: Fully initialize backlight_properties during probe'
mainline: 392346827fbe8a7fd573dfb145170d7949f639a6
backport: 3f2fe45a95a3f6a3cd5f7c17d8c53a41b1800d75
6bf3c3508c839c4457058686fbd59d9c55e5e598:
title: 'sparc32: Fix section mismatch in leon_pci_grpci'
mainline: 24338a6ae13cb743ced77da1b3a12c83f08a0c96
backport: 1455216df91812ea6d3e0fcf0ce4be142ba39cbc
7e2c1b0f6dd9abde9e60f0f9730026714468770f:
title: 'ALSA: usb-audio: Stop parsing channels bits when all channels are found.'
mainline: a39d51ff1f52cd0b6fe7d379ac93bd8b4237d1b7
backport: 684d0dfc0167a62bb2fc9c3c2d97e421a6f8f1d7
77d9c6364756ec8986b8d7f801bcb2295cfa036a:
title: 'scsi: csiostor: Avoid function pointer casts'
mainline: 9f3dbcb5632d6876226031d552ef6163bb3ad215
backport: ee504736ec7911bfb90382f7f3222faa7982dc0f
8413fc5ef952b5ddd606a42b2be1e15694e2f526:
title: 'scsi: bfa: Fix function pointer type mismatch for hcb_qe->cbfn'
mainline: b69600231f751304db914c63b937f7098ed2895c
backport: 826d2a5f4af824bc5457e9ca919e6d0e0da677c5
867a6a6899a68323d6ef8995ea3765611d67ba1e:
title: 'net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr()'
mainline: d6f4de70f73a106986ee315d7d512539f2f3303a
backport: dd5627de25e1b9b306a735e52a9be0189c50681e
9bb320c5cea50e7fa82a477743a6a0546eaa37b3:
title: 'NFS: Fix an off by one in root_nfs_cat()'
mainline: 698ad1a538da0b6bf969cfee630b4e3a026afb87
backport: 43e88e13e5e89dabaa722dcbe424df93ff3fa50b
13c921e83ef2f8c2d7f6d79272e7760de605ca3c:
title: 'clk: qcom: gdsc: Add support to update GDSC transition delay'
mainline: 4e7c4d3652f96f41179aab3ff53025c7a550d689
backport: ac71f4414591935d0d42f189b92234f8475c8e26
e75ae3225cd1e1648c5140abf21d8c76b4b5e10a:
title: 'serial: max310x: fix syntax error in IRQ error message'
mainline: 8ede8c6f474255b2213cccd7997b993272a8e2f9
backport: 5f8e15a6c9782fe17177f6adbed2605e2626ec1a
6e839e4153c9881d79f94263fa352db35aa82b20:
title: 'tty: serial: samsung: fix tx_empty() to return TIOCSER_TEMT'
mainline: 314c2b399288f0058a8c5b6683292cbde5f1531b
backport: 2ba503c76ed0e3fb44574c56c207662044701968
d0687545f89d410b42ed84a8cb089bd670e0a5cf:
title: 'kconfig: fix infinite loop when expanding a macro at the end of file'
mainline: af8bbce92044dc58e4cc039ab94ee5d470a621f5
skipped: fixes patch not in branch
575fe3cc7fe2f80e9f45e1d36a4526ea43fbf280:
title: 'rtc: mt6397: select IRQ_DOMAIN instead of depending on it'
mainline: 544c42f798e1651dcb04fb0395219bf0f1c2607e
backport: 251fdf12a591f6f0393c9a074493372ee677d5ef
787e2620d1574196f10193a7c3693d95958254cb:
title: 'serial: 8250_exar: Don''t remove GPIO device on suspend'
mainline: 73b5a5c00be39e23b194bad10e1ea8bb73eee176
backport: 05809dc60c6107cc2d59fc9e5c6ab7880415cce8
40bbb7e4e83a53b5ae2c4b79c675618159571d83:
title: 'staging: greybus: fix get_channel_from_mode() failure path'
mainline: 34164202a5827f60a203ca9acaf2d9f7d432aac8
backport: 5bc6fb9dd8654ad945d2ab614de42276880ed458
4371549533b124e1693a7771303e44ed827af2e0:
title: 'usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin'
mainline: 600556809f04eb3bbccd05218215dcd7b285a9a9
backport: f950312d06f35a0dcf0d89eedd046d78ecaacb57
9706929ab421a6f68ed72fc0e6371e4fca8e698a:
title: 'net: hsr: fix placement of logical operator in a multi-line statement'
mainline: 059477830022e1886f55a9641702461c249fa864
backport: c412392d4e52ac3f871a4b94dcd97886f61f1c68
e3b2bfb8ff1810a537b2aa55ba906a6743ed120c:
title: 'hsr: Fix uninit-value access in hsr_get_node()'
mainline: ddbec99f58571301679addbc022256970ca3eac6
backport: f185d5434353871c54ffa351ed5647bc974a29f9
bec6c4ce1169a565c58c347d5d0ac22e46d507d6:
title: 'rds: introduce acquire/release ordering in acquire/release_in_xmit()'
mainline: 1422f28826d2a0c11e5240b3e951c9e214d8656e
backport: e2ef56dd89fdb684f70940c3a13aeacaa5551b2f
9a4e0ec0624c5b3e07fb042b307b98c3543de2f4:
title: 'hsr: Handle failures in module init'
mainline: 3cf28cd492308e5f63ed00b29ea03ca016264376
backport: b3f50f65706d8c16fc23b4c2d67622da15dbf2f2
7bcc090c81116c66936a7415f2c6b1483a4bcfd9:
title: 'net/bnx2x: Prevent access to a freed page in page_pool'
mainline: d27e2da94a42655861ca4baea30c8cd65546f25d
backport: ac6c533f13a4ec9071d6548a8be5467ab238c6aa
2342b05ec5342a519e00524a507f7a6ea6791a38:
title: 'spi: spi-mt65xx: Fix NULL pointer access in interrupt handler'
mainline: a20ad45008a7c82f1184dc6dee280096009ece55
backport: d49e4f3714a9208ee47e19da264ef74eab869b2e
546e3961b5d4c6db82cfb441fabb4353940c8f95:
title: 'crypto: af_alg - Fix regression on empty requests'
mainline: 662bb52f50bca16a74fe92b487a14d7dccb85e1a
backport: 2939b898498d9da54f5ea4c0b3d698a7644843fa
ba1f292491c011fa11d80b152f15ef97e4519891:
title: 'crypto: af_alg - Work around empty control messages without MSG_MORE'
mainline: c195d66a8a75c60515819b101975f38b7ec6577f
backport: 3f81c30ae458bf0f8cc2f421f3254ffa59dd95df

View File

@@ -1,680 +0,0 @@
3e4f86cfda46ef6320f385b80496d3f65d5ed63d:
title: 'Documentation/hw-vuln: Update spectre doc'
mainline: 06cb31cc761823ef444ba4e1df11347342a6e745
backport: 30155e4316fd08d7ca77ca14772dc3fd32088ab7
a7268b3424863578814d99a1dd603f6bb5b9f977:
title: 'x86/cpu: Support AMD Automatic IBRS'
mainline: e7862eda309ecfccc36bb5558d937ed3ace07f3f
backport: 169885159d59ee3cb6482d4ec9799d11ee61477d
205bf06008b8ea128ae8f643c21fb32fe4165416:
title: 'x86/bugs: Use sysfs_emit()'
mainline: 1d30800c0c0ae1d086ffad2bdf0ba4403370f132
backport: a50c4e98d9d3103cd8b418fdac2aff45d6a91cf6
72467abd24b11b7e7e63d29f64905278cebd8563:
title: 'timer/trace: Replace deprecated vsprintf pointer extension %pf by %ps'
mainline: 6849cbb0f9a8dbc1ba56e9abc6955613103e01e3
skipped: not needed on 4.14
bbb5b1c060d73ca96ccc8cceaa81f5e1a96e8fa4:
title: 'timer/trace: Improve timer tracing'
mainline: f28d3d5346e97e60c81f933ac89ccf015430e5cf
skipped: not needed
adeb6cdf9033071c8ff14235ee0ebc37081b77c9:
title: 'timers: Prepare support for PREEMPT_RT'
mainline: 030dcdd197d77374879bb5603d091eee7d8aba80
skipped: not needed
26e9278a773c95b25376c95406fbf81d969c1e74:
title: 'timers: Update kernel-doc for various functions'
mainline: 14f043f1340bf30bc60af127bff39f55889fef26
skipped: not needed
f0b422a04f823faec0aa7d5b6e9cdbffbbe1e7bd:
title: 'timers: Use del_timer_sync() even on UP'
mainline: 168f6b6ffbeec0b9333f3582e4cf637300858db5
skipped: not needed
48a8a53939604aaab44c0699851f201f80db877d:
title: 'timers: Rename del_timer_sync() to timer_delete_sync()'
mainline: 9b13df3fb64ee95e2397585404e442afee2c7d4f
skipped: not needed
202c503935042272e2f9e1bb549d5f69a8681169:
title: 'wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach'
mainline: 0f7352557a35ab7888bc7831411ec8a3cbe20d78
backport: b361dfb73f7cf65487d75cc4b7e755ddc22db3cf
b4cbf54183220cc35e19c21d970505c4eae0faa4:
title: 'smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()'
mainline: 9c82169208dde516510aaba6bbd8b13976690c5d
backport: d780b7417a456b366c4ca6a8cfe0e439769e8656
8ff12bd997f54f1075f2242a10bff2e3c1bbad02:
title: 'smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()'
mainline: ac02f007d64eb2769d0bde742aac4d7a5fc6e8a5
backport: 003fe24b3f4ffda82e27f3301099888060f01c97
b8dd364515493630ea3a6ece252ba79533e00354:
title: 'ARM: dts: mmp2-brownstone: Don''t redeclare phandle references'
mainline: 5a56cf3e8738f5d31d8c024d0c62a4c2bfe76fb2
backport: 15e5a3ae7f084b993ef68e998a29f119de8e24ec
d2285ff966088aa5e6ff1a85d40b23ea7b4d2cf9:
title: 'arm: dts: marvell: Fix maxium->maxim typo in brownstone dts'
mainline: 831e0cd4f9ee15a4f02ae10b67e7fdc10eb2b4fc
backport: 59bd54acd4b8cf21883b7e3ed1d9f7556d0e524e
72ddb259a4d09f8e0d06cb2abc9a3eedfcb4200e:
title: 'media: xc4000: Fix atomicity violation in xc4000_get_frequency'
mainline: 36d503ad547d1c75758a6fcdbec2806f1b6aeb41
backport: 49486ded3cf00d844277c258f4c6170b7ba0792b
ab2c2f5d9576112ad22cfd3798071cb74693b1f5:
title: 'KVM: Always flush async #PF workqueue when vCPU is being destroyed'
mainline: 3d75b8aa5c29058a512db29da7cbee8052724157
backport: 270a92c92373a65c649de646996a14f2523076c1
452529f9b6094f32d9143ef54af5bffd374a9c27:
title: 'sparc64: NMI watchdog: fix return value of __setup handler'
mainline: 3ed7c61e49d65dacb96db798c0ab6fcd55a1f20f
backport: 66476cee65989ef662adc023102b54206faa056a
f9f20f3f7a9ab575f288024035cfced67ac5145f:
title: 'sparc: vDSO: fix return value of __setup handler'
mainline: 5378f00c935bebb846b1fdb0e79cb76c137c56b5
skipped: fixes patch not in branch
277035d2da928bb50ff5ba8723dc4f0284284223:
title: 'crypto: qat - fix double free during reset'
mainline: 01aed663e6c421aeafc9c330bda630976b50a764
backport: 2eb2a9ca28c54db784293209ef58babd54d359ed
daba62d9eeddcc5b1081be7d348ca836c83c59d7:
title: 'crypto: qat - resolve race condition during AER recovery'
mainline: 7d42e097607c4d246d99225bf2b195b6167a210c
backport: 80509311946cbc5c9b71cb2730c5cb0cbc8ebd45
9840d1897e28f8733cc1e38f97e044f987dc0a63:
title: 'fat: fix uninitialized field in nostale filehandles'
mainline: fde2497d2bc3a063d8af88b258dbadc86bd7b57c
backport: e5e642ae8fb37cc06046bebf193cd4957d945c73
4aa554832b9dc9e66249df75b8f447d87853e12e:
title: 'ubifs: Set page uptodate in the correct place'
mainline: 723012cab779eee8228376754e22c6594229bf8f
backport: 5109254ba7cb8452f154b8c5dbb4a7e1224a9f8b
ff818a59ecdfb13a8eb4a38a87b869090dd1745c:
title: 'ubi: Check for too small LEB size in VTBL code'
mainline: 68a24aba7c593eafa8fd00f2f76407b9b32b47a9
backport: c05dbbe027edbe0f2cb9514f8d8084eb96fc2256
113d2c358fe9b9c2b307b4984ed41dfce6f78347:
title: 'ubi: correct the calculation of fastmap size'
mainline: 7f174ae4f39e8475adcc09d26c5a43394689ad6c
backport: 13e3ca30e708d8efed15b15f6d0cf232c071aa9c
32248b37aa141fa9d9dccf24d67295de39d68e6f:
title: 'parisc: Do not hardcode registers in checksum functions'
mainline: 52b2d91752a82d9350981eb3b3ffc4b325c84ba9
backport: 0f8a1215c497c27c788e2c7399b1aaac9c205e75
5cdd5e21c16369dd334e38b6c1aa6c2eaecaebdd:
title: 'parisc: Fix ip_fast_csum'
mainline: a2abae8f0b638c31bb9799d9dd847306e0d005bd
backport: f221d4640d25832bbee599d5c24cda1a040125a1
103616f04373ce99dc8fb601100163292c9d9700:
title: 'parisc: Fix csum_ipv6_magic on 32-bit systems'
mainline: 4408ba75e4ba80c91fde7e10bccccf388f5c09be
backport: b8cb20b9c4c197de9d905518f4227ed7dcaa7aaa
ee185ae2b97933193cf1e44e959a80690f835fb3:
title: 'parisc: Fix csum_ipv6_magic on 64-bit systems'
mainline: 4b75b12d70506e31fc02356bbca60f8d5ca012d0
backport: bff540549bd2b5c312c5dc43a094b685467a9fa6
7d27b71af7262ec53ec49f2679fdb3509ee28098:
title: 'parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds'
mainline: 0568b6f0d863643db2edcc7be31165740c89fa82
backport: 6711300be2eb4c7d6f43ac023b5ec484166c79c2
312ead3c0e23315596560e9cc1d6ebbee1282e40:
title: 'PM: suspend: Set mem_sleep_current during kernel command line setup'
mainline: 9bc4ffd32ef8943f5c5a42c9637cfd04771d021b
backport: 56a2eacb2e9155c55916bd4eab07d7c4204b683f
e117c6e2d1617520f5f7d7f6f6b395f01d8b5a27:
title: 'clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays'
mainline: 1040ef5ed95d6fd2628bad387d78a61633e09429
skipped: fixes patch not in branch
5533686e99b04994d7c4877dc0e4282adc9444a2:
title: 'clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays'
mainline: a903cfd38d8dee7e754fb89fd1bebed99e28003d
backport: 504cb476a9133b6c59bf54d9b267b1196544226e
99740c4791dc8019b0d758c5389ca6d1c0604d95:
title: 'clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays'
mainline: e2c02a85bf53ae86d79b5fccf0a75ac0b78e0c96
backport: 9fcafc89b8ec3ad253f9ad9a67012141893aee44
8f7f583ce3393580eb8a55942d05e3ab6eb161ba:
title: 'powerpc/fsl: Fix mfpmr build errors with newer binutils'
mainline: 5f491356b7149564ab22323ccce79c8d595bfd0c
backport: 822a0ce90098854047b7088afd2dae656b90bdcb
fd3b0646012973dcef107f614300076c35aec30e:
title: 'USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB'
mainline: 3fb7bc4f3a98c48981318b87cf553c5f115fd5ca
backport: 9598535c6526853f78a891421f12783174e05482
64d0643a8b7bed28f011bf1f942a4d6972d815ca:
title: 'USB: serial: add device ID for VeriFone adapter'
mainline: cda704809797a8a86284f9df3eef5e62ec8a3175
backport: 8a13c955082f3d8ce5ea1badda9e72fcdb0908d9
dea245d8c104a2977d79e2310b83fd5d9a39861f:
title: 'USB: serial: cp210x: add ID for MGP Instruments PDS100'
mainline: a0d9d868491a362d421521499d98308c8e3a0398
backport: 24dc68b8236fd0ccb59be9dd9492e5bcfb89f3aa
03c0edfa0533fbc9fd9ecd5350c5c3639e3171b1:
title: 'USB: serial: option: add MeiG Smart SLM320 product'
mainline: 46809c51565b83881aede6cdf3b0d25254966a41
backport: 618c54ca2dd86b503e06c8df9ced140e53a48d99
99e7b5884bb1fa4703a03af0bb740eb797ed335c:
title: 'USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M'
mainline: b1a8da9ff1395c4879b4bd41e55733d944f3d613
backport: 8436412b0d625fe55cd4ea391bf0cd606b7c748a
66ed532e73bdfdcdb4b49bf6e92db7758bd2ff21:
title: 'PM: sleep: wakeirq: fix wake irq warning in system suspend'
mainline: e7a7681c859643f3f2476b2a28a494877fd89442
backport: e28c7f715843eb54828e33d60ef14c0ebc8e3d47
c421a077bb1a4b0923792ee6fc9e1b246d5fa6d6:
title: 'mmc: tmio: avoid concurrent runs of mmc_request_done()'
mainline: e8d1b41e69d72c62865bebe8f441163ec00b3d44
backport: 601d558db55ea0010315cbc4a4bb83e8eb7bf038
0f8957f5077b29cda838be2f75ef6cd2668e6df4:
title: 'fuse: don''t unhash root'
mainline: b1fe686a765e6c0d71811d825b5a1585a202b777
backport: 0be0578f83ec594ad05ae6821a34de4b769c7db7
064300ccb0e272adcedd96df96750d08c5a4d2f2:
title: 'PCI: Drop pci_device_remove() test of pci_dev->driver'
mainline: 097d9d414433315122f759ee6c2d8a7417a8ff0f
backport: 76c167a161ef90c6588ec0dda97ec68d8fd6e9a6
9a87375bb586515c0af63d5dcdcd58ec4acf20a6:
title: 'PCI/PM: Drain runtime-idle callbacks before driver removal'
mainline: 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf
backport: 1453f1042e621a4a7247c9069755473a0eefa1ba
130e2ae1fdf361f3a5a9b21db10fe519c54ad470:
title: 'Revert "Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d""'
mainline: 3445139e3a594be77eff48bc17eff67cf983daed
backport: 050bbf8ca58f05c6f76244284ccb7942dfbb00c9
da81cab62b4f48fc3800db68ed30f8dd94e78f92:
title: 'dm-raid: fix lockdep waring in "pers->hot_add_disk"'
mainline: 95009ae904b1e9dca8db6f649f2d7c18a6e42c75
backport: 6ac966e0c64f616bf5ae8c9e3655827fafa2a288
14db3446d26511191088a941069bcdec97223728:
title: 'mmc: core: Fix switch on gp3 partition'
mainline: 4af59a8df5ea930038cd3355e822f5eedf4accc1
backport: 1c6f43992e92359208930b339fd57f04e157da73
f6b084787b7d9bd4009e0d6d1f0cc79349f7efcd:
title: 'hwmon: (amc6821) add of_match table'
mainline: 3f003fda98a7a8d5f399057d92e6ed56b468657c
backport: 805bd3875b89fe0311ca2e530836ec10cb390798
75cc31c2e7193b69f5d25650bda5bb42ed92f8a1:
title: 'ext4: fix corruption during on-line resize'
mainline: a6b3bfe176e8a5b05ec4447404e412c2a3fc92cc
backport: 4c3c05340a8d2925c998e568db8c6199a08df5c4
4e4715eb2845ed6d03de905142c36b7e772efffc:
title: 'slimbus: core: Remove usage of the deprecated ida_simple_xx() API'
mainline: 89ffa4cccec54467446f141a79b9e36893079fb8
skipped: fixes patch not in branch
37f4f4f1ac2661c1cc7766a324d34b24f65e75e8:
title: 'speakup: Fix 8bit characters from direct synth'
mainline: b6c8dafc9d86eb77e502bb018ec4105e8d2fbf78
backport: 4f84ef5651a0ae72ca8bc3f1529a9863a90862c7
39460da0515e5ef2afc67a184395daf8f97f74a1:
title: 'kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1'
mainline: 75b5ab134bb5f657ef7979a59106dce0657e8d87
backport: 49362eca812601c014d7006bd66b8b6484277d98
af47ec223f6d9d72d2ddd3fb31a7d1210eafd0bb:
title: 'vfio/platform: Disable virqfds on cleanup'
mainline: fcdc0d3d40bc26c105acf8467f7d9018970944ae
backport: fbe0715512c3fca4b0d1c8e746f18bd2f24d042f
b56a793f267679945d1fdb9a280013bd2d0ed7f9:
title: 'soc: fsl: qbman: Always disable interrupts when taking cgr_lock'
mainline: 584c2a9184a33a40fceee838f856de3cffa19be3
backport: 94dcaef811b46fe6df7487a738e14e747c10e4f7
99fe1b21b5e5bf69d351adca3c594c46c5bf155b:
title: 'soc: fsl: qbman: Add helper for sanity checking cgr ops'
mainline: d0e17a4653cebc2c8a20251c837dd1fcec5014d9
backport: 321e5b5b657ed28e3e12c00b1d1c7a1aed0080b6
e2bd2df406edd2dff1b105f9dea3c502ee5808c3:
title: 'soc: fsl: qbman: Add CGR update function'
mainline: 914f8b228ede709274b8c80514b352248ec9da00
backport: a8363db776a883cdbf0fd646f3133b3e3f110977
2b3fede8225133671ce837c0d284804aa3bc7a02:
title: 'soc: fsl: qbman: Use raw spinlock for cgr_lock'
mainline: fbec4e7fed89b579f2483041fabf9650fb0dd6bc
backport: e32c360971de834a38399f982b9d9c5993b6d5ef
7e500849fa558879a1cde43f80c7c048c2437058:
title: 's390/zcrypt: fix reference counting on zcrypt card objects'
mainline: 50ed48c80fecbe17218afed4f8bed005c802976c
backport: 6b39a518dba77c95d71e3d05bf2667602b3a206b
749e6b3a2dfc9d393874e7a6cc7fed6eeda97ee0:
title: 'drm/imx/ipuv3: do not return negative values from .get_modes()'
mainline: c2da9ada64962fcd2e6395ed9987b9874ea032d3
backport: 133f1b251a963f13a59296ffd812314b3895acd5
6206e70d5faa5a9e8a3250683ebee1637d3559fa:
title: 'drm/vc4: hdmi: do not return negative values from .get_modes()'
mainline: abf493988e380f25242c1023275c68bd3579c9ce
backport: e08287742d6330d8946d74dbd16fa6ab32f584b9
6e7044f155f7756e4489d8ad928f3061eab4595b:
title: 'memtest: use {READ,WRITE}_ONCE in memory scanning'
mainline: 82634d7e24271698e50a3ec811e5f50de790a65f
backport: cead81caaf4e893de661245723b033c776eba434
b67189690eb4b7ecc84ae16fa1e880e0123eaa35:
title: 'nilfs2: fix failure to detect DAT corruption in btree and direct mappings'
mainline: f2f26b4a84a0ef41791bd2d70861c8eac748f4ba
backport: 592973ee7e6a0af69d6689fa946f83544b0b7f32
5c8f85e9ff21ee1fc6d20fcd73a15877556c3bbe:
title: 'nilfs2: use a more common logging style'
mainline: a1d0747a393a079631130d61faa2a61027d1c789
backport: f54f17b7da72676032972ac38c70d5f958b93591
91e4c4595fae5e87069e44687ae879091783c183:
title: 'nilfs2: prevent kernel bug at submit_bh_wbc()'
mainline: 269cdf353b5bdd15f1a079671b0f889113865f20
backport: a3a1048f65cd381d4efdf6d4beb71eddb5d54ac5
e4d581a5afa0d94dfae46e9cc9d729db11d1a7b2:
title: 'x86/CPU/AMD: Update the Zenbleed microcode revisions'
mainline: 5c84b051bd4e777cf37aaff983277e58c99618d5
skipped: fixes patch not in branch
ece903bf390e819c45fba8cf6a31c7487e24c505:
title: 'ahci: asm1064: correct count of reported ports'
mainline: 9815e39617541ef52d0dfac4be274ad378c6dc09
backport: 01877909cac69ce374567fddfb200298900be9d8
d29630b79d4c48b31312fa3d735de63cbe97e6c5:
title: 'ahci: asm1064: asm1166: don''t limit reported ports'
mainline: 6cd8adc3e18960f6e59d797285ed34ef473cc896
backport: adc881c85ad12350f907e04d3a8c0d2242873b3a
4b6e87971dbea7d9231f670281723003f90429b2:
title: 'comedi: comedi_test: Prevent timers rescheduling during deletion'
mainline: f53641a6e849034a44bf80f50245a75d7a376025
backport: 8e23affd6f90a54fc41e30143bf3fee824dd3f24
e4988d8415bd0294d6f9f4a1e7095f8b50a97ca9:
title: 'netfilter: nf_tables: disallow anonymous set with timeout flag'
mainline: 16603605b667b70da974bea8216c93e7db043bf1
backport: c125ac99931ed065edcf24f7ab4572e03840633e
9372a64fb8a9f8e9cc59a0c8fa2ab5a670384926:
title: 'netfilter: nf_tables: reject constant set with timeout'
mainline: 5f4fc4bd5cddb4770ab120ce44f02695c4505562
backport: 6579e677dcdff3b57c01dfd05076c5f602dddf3d
79fa29ce641165aa5d934f55f2369aacfd7c35e4:
title: 'xfrm: Avoid clang fortify warning in copy_to_user_tmpl()'
mainline: 1a807e46aa93ebad1dfbed4f82dc3bf779423a6e
backport: 92844cb2a29c9cb805badb5f0b47b1a7b064ae6e
341568ef8afd587d1e6edd1c4a2e6daec438ea34:
title: 'ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform'
mainline: d397b6e56151099cf3b1f7bfccb204a6a8591720
backport: ee2aa965bc6fa84adcc53b1daef7bc40bfa0d890
9968c701cba7eda42e5f0052b040349d6222ae34:
title: 'USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command'
mainline: 014bcf41d946b36a8f0b8e9b5d9529efbb822f49
backport: c549cae12cd0f345aff86d8b4ea4e4234476f23e
e2dbfea520e60d58e0c498ba41bde10452257779:
title: 'usb: gadget: ncm: Fix handling of zero block length packets'
mainline: f90ce1e04cbcc76639d6cba0fdbd820cd80b3c70
backport: 0dcddb86a5d646529e4395f7206ae146d07be618
8697e9b39f57fdae216d1fa6947e196307516aac:
title: 'usb: port: Don''t try to peer unused USB ports based on location'
mainline: 69c63350e573367f9c8594162288cffa8a26d0d1
backport: 602634cfb4b83b8bb798fb91fe9fa8a0aef24c72
206ef729592010631fd2fe721a94b4e71c61653e:
title: 'tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled'
mainline: 74cb7e0355fae9641f825afa389d3fba3b617714
backport: 0b11f20185ce5eb0cba6d38542c33020592085f5
fc7dfe3d123f00e720be80b920da287810a1f37d:
title: 'vt: fix unicode buffer corruption when deleting characters'
mainline: 1581dafaf0d34bc9c428a794a22110d7046d186d
skipped: bug introduced in d8ae7242718738ee1bf9bfdd632d2a4b150fdd26
c8686c014b5e872ba7e334f33ca553f14446fc29:
title: 'vt: fix memory overlapping when deleting chars in the buffer'
mainline: 39cdb68c64d84e71a4a717000b6e5de208ee60cc
backport: d594c0266f6a7959f1844a5b51786ddb695ed093
27f83f1cacba82afa4c9697e3ec3abb15e92ec82:
title: 'mm/memory-failure: fix an incorrect use of tail pages'
9e92cefdaa7537515dc0ff6cc73d46fa31b062fc:
title: 'mm/migrate: set swap entry values of THP tail pages properly.'
ea9a0cfc07a7d3601cc680718d9cff0d6927a921:
title: 'wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes'
mainline: 4f2bdb3c5e3189297e156b3ff84b140423d64685
backport: 85c54b93ba34a1150bffd0158f4ec43b1d17cf3f
3a679f8a8c88de0b17b0bfde031238b40daf76ba:
title: 'exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()'
mainline: 2aea94ac14d1e0a8ae9e34febebe208213ba72f7
backport: 2743401fbf05f96c405165f8176873a62c813768
5904411219601127ffdbd2d622bb5d67f9d8d16c:
title: 'usb: cdc-wdm: close race between read and workqueue'
mainline: 339f83612f3a569b194680768b22bf113c26a29d
backport: 2eb4d359ad399b7c830e00d52bcf30b776bf7bc8
eeb2a2ca0b8de7e1c66afaf719529154e7dc60b2:
title: 'ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs'
mainline: 051e0840ffa8ab25554d6b14b62c9ab9e4901457
backport: 57ad2852b697ab931110d4443e42aa15420928cd
10ca82aff58434e122c7c757cf0497c335f993f3:
title: 'fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion'
mainline: 961ebd120565cb60cebe21cb634fbc456022db4a
backport: 9b033ffdc4492f9882d1e3d8416f3c9a3b1c281e
45f99d441067035dbb3f2a0d9713abe61ea721c5:
title: 'printk: Update @console_may_schedule in console_trylock_spinning()'
mainline: 8076972468584d4a21dab9aa50e388b3ea9ad8c7
backport: 271b5f628523048373853e7d726edc4ab6b2dafa
022ed023c8c0bed09a21e9617056723df948544c:
title: 'btrfs: allocate btrfs_ioctl_defrag_range_args on stack'
mainline: c853a5783ebe123847886d432354931874367292
backport: 8e0244b75adcff266630f97bdedb589988c1605d
6bdf4e6dfb60cbb6121ccf027d97ed2ec97c0bcb:
title: 'Revert "loop: Check for overflow while configuring loop"'
944e9628259117a2f21d9c7ce5d7fbb305cc6ba6:
title: 'loop: Call loop_config_discard() only after new config is applied'
mainline: 7c5014b0987a30e4989c90633c198aced454c0ec
backport: 7d51a15acdfba9db409c1fea20682dba5e4c533d
f92a3b0d003b9f7eb1f452598966a08802183f47:
title: 'loop: Remove sector_t truncation checks'
mainline: 083a6a50783ef54256eec3499e6575237e0e3d53
skipped: this is later reverted in 4.19
bf6bec6f4679ccc713c69fa343b7b82879b0755b:
title: 'loop: Factor out setting loop device size'
mainline: 5795b6f5607f7e4db62ddea144727780cb351a9b
skipped: commit did not cherry-pick cleanly
e6189dfedef6b39a868f4f238f3940e2848ee793:
title: 'loop: Refactor loop_set_status() size calculation'
mainline: b0bd158dd630bd47640e0e418c062cda1e0da5ad
skipped: commit did not cherry-pick cleanly
a1ae8bb62f254930686a9a81641bac18582b1051:
title: 'loop: properly observe rotational flag of underlying device'
mainline: 56a85fd8376ef32458efb6ea97a820754e12f6bb
skipped: (unknown reason)
a2039c87d30177f0fd349ab000e6af25a0d48de8:
title: 'perf/core: Fix reentry problem in perf_output_read_group()'
mainline: 6b959ba22d34ca793ffdb15b5715457c78e38b1a
backport: d1bcca1f152951849067da419020d041495285d3
a7bd7dbaa2ddcf8c5ed5d96df240f1442447d252:
title: 'efivarfs: Request at most 512 bytes for variable names'
mainline: f45812cc23fb74bef62d4eb8a69fe7218f4b9f2a
backport: 4cb71f760e2735758614a3798d255aa93862d577
9b021c7ffbbf7569b074c3f6cafa377b8c29a2e3:
title: 'powerpc: xor_vmx: Add ''-mhard-float'' to CFLAGS'
mainline: 35f20786c481d5ced9283ff42de5c69b65e5ed13
backport: 5ef535b7348ea1372234b51a6c806617275b8968
6db027841deee469962c68ed8b515046be6203fd:
title: 'loop: Factor out configuring loop from status'
mainline: 0c3796c244598122a5d59d56f30d19390096817f
skipped: commit did not cherry-pick cleanly
a217715338fd48f72114725aa7a40e484a781ca7:
title: 'loop: Check for overflow while configuring loop'
mainline: c490a0b5a4f36da3918181a8acdc6991d967c5f3
skipped: commit did not cherry-pick cleanly
832580af82ace363205039a8e7c4ef04552ccc1a:
title: 'loop: loop_set_status_from_info() check before assignment'
mainline: 9f6ad5d533d1c71e51bdd06a5712c4fbc8768dfa
skipped: commit did not cherry-pick cleanly
3b16163f6160d40c4d62614b7646992cf3ed3b28:
title: 'usb: dwc2: host: Fix remote wakeup from hibernation'
mainline: bae2bc73a59c200db53b6c15fb26bb758e2c6108
skipped: fixes patch not in branch
8c93d233285e234b84bc34c9de317ccf3ae00aec:
title: 'usb: dwc2: host: Fix hibernation flow'
mainline: 3c7b9856a82227db01a20171d2e24c7ce305d59b
backport: d249d755055ea72ae93f908e4f009672bb4a367b
dca1dc1e99e09e7b8eaccb55d6aecb87d9cb8ecd:
title: 'usb: dwc2: host: Fix ISOC flow in DDMA mode'
mainline: b258e42688501cadb1a6dd658d6f015df9f32d8f
backport: 3e18f9aae5c9f4ee7c82f727c7db4bdc66055af9
d32e8f2ffe813e69755e40633cf0b4ec0d1489c4:
title: 'usb: dwc2: gadget: LPM flow fix'
mainline: 5d69a3b54e5a630c90d82a4c2bdce3d53dc78710
skipped: fixes patch not in branch
2b002c308e184feeaeb72987bca3f1b11e5f70b8:
title: 'usb: udc: remove warning when queue disabled ep'
mainline: 2a587a035214fa1b5ef598aea0b81848c5b72e5e
backport: 933c295f1bf97ef659d06b2fa268f948de50ffc9
b73377124f56d2fec154737c2f8d2e839c237d5a:
title: 'scsi: qla2xxx: Fix command flush on cable pull'
mainline: a27d4d0e7de305def8a5098a614053be208d1aa1
backport: e31a16fe832d4016c83230cc8bd7f67493e1c9a7
bb8cc9c34361714dd232700b3d5f1373055de610:
title: 'x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled'
mainline: fd470a8beed88440b160d690344fbae05a0b9b1b
backport: 909ca3e7e6fb1ae6130e1a7d473acc1c8bbc9ffa
5df0d994c23a43f4c0f2a7fdf6b62e106d08e53e:
title: 'scsi: lpfc: Correct size for wqe for memset()'
mainline: 28d41991182c210ec1654f8af2e140ef4cc73f20
backport: 03119f856df4a8f68fbc6c3d2dfc5b42634c5287
8cbdd324b41528994027128207fae8100dff094f:
title: 'USB: core: Fix deadlock in usb_deauthorize_interface()'
mainline: 80ba43e9f799cbdd83842fc27db667289b3150f5
backport: f354bb2f646ba9eb13094f3a58a9fcb2495cdaf8
11387b2effbb55f58dc2111ef4b4b896f2756240:
title: 'nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet'
mainline: d24b03535e5eb82e025219c2f632b485409c898f
backport: 746dafa5f8bd92d019409cd1e3991b6b23ed9808
9c382bc16fa8f7499b0663398437e125cf4f763b:
title: 'mptcp: add sk_stop_timer_sync helper'
mainline: 08b81d873126b413cda511b1ea1cbb0e99938bbd
backport: f113056cc53497bafb4a5a1ae59fcb8da95409df
93f0133b9d589cc6e865f254ad9be3e9d8133f50:
title: 'tcp: properly terminate timers for kernel sockets'
mainline: 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada
backport: a15af438bc3f84cd18bd555ed93704f174afd28e
60cc92f8d4231eda8fcb89153a55a93bfbc0ddde:
title: 'r8169: fix issue caused by buggy BIOS on certain boards with RTL8168d'
mainline: 5d872c9f46bd2ea3524af3c2420a364a13667135
skipped: fixes patch not in branch
96caf943a0f384f347d0d32afa8a3e94837fe012:
title: 'Bluetooth: hci_event: set the conn encrypted before conn establishes'
mainline: c569242cd49287d53b73a94233db40097d838535
backport: 0d619c44f46a548f37d0af8526b1e2141888415c
466488b14a87dc97d8a3bf5e65a30bff032847c1:
title: 'Bluetooth: Fix TOCTOU in HCI debugfs implementation'
mainline: 7835fcfd132eb88b87e8eb901f88436f63ab60f7
backport: bddbc4e6e85deec70cfd5e4d06553687ce2031e2
116b0e8e4673a5faa8a739a19b467010c4d3058c:
title: 'netfilter: nf_tables: disallow timeout for anonymous sets'
mainline: e26d3009efda338f19016df4175f354a9bd0a4ab
backport: 2828c51f974e201fb04d01231d502059b21dee7d
d275de8ea7be3a453629fddae41d4156762e814c:
title: 'net/rds: fix possible cp null dereference'
mainline: 62fc3357e079a07a22465b9b6ef71bb6ea75ee4b
skipped: fixes patch not in branch
b66762945d3289d472cedfca81dd98f9d8efe3b7:
title: 'Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped."'
mainline: c567f2948f57bdc03ed03403ae0234085f376b7d
backport: 0c4e907602df65b88f9bed57d6bc5039b7172e8c
c82a659cc8bb7a7f8a8348fc7f203c412ae3636f:
title: 'mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations'
mainline: 803de9000f334b771afacb6ff3e78622916668b0
backport: ce55bbe3422d77c1733e562b2481ae5d5609e4de
69d1fe14a680042ec913f22196b58e2c8ff1b007:
title: 'netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()'
mainline: 24225011d81b471acc0e1e315b7d9905459a6304
skipped: fixes patch not in branch
f190a4aa03cbd518bd9c62a66e1233984f5fd2ec:
title: 'net/sched: act_skbmod: prevent kernel-infoleak'
mainline: d313eb8b77557a6d5855f42d2234bd592c7b50dd
backport: 750226b1e9ada5f831c682b3970e6fb4c908de43
c5dd42e0c490416e45fac594694cbc0ada0ea0f9:
title: 'net: stmmac: fix rx queue priority assignment'
mainline: b3da86d432b7cd65b025a11f68613e333d2483db
backport: 77222083054d1880d96617dc92433f13f7485340
d6c0a37d412657cf2661996387340e8afeb82a63:
title: 'selftests: reuseaddr_conflict: add missing new line at the end of the output'
mainline: 31974122cfdeaf56abc18d8ab740d580d9833e90
backport: b406df4814ddb671e6b276983496bfe1fbbb70d8
9472d07cd095cbd3294ac54c42f304a38fbe9bfe:
title: 'ipv6: Fix infinite recursion in fib6_dump_done().'
mainline: d21d40605bca7bd5fc23ef03d4c1ca1f48bc2cae
backport: 1c37416298197f52e10ae196eff4e11f07c11a96
cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d:
title: 'i40e: fix vf may be used uninitialized in this function warning'
mainline: f37c4eac99c258111d414d31b740437e1925b8e8
skipped: fixes patch not in branch
11895fd09f5d37abbc60ac88f4897587997cfbf5:
title: 'staging: mmal-vchiq: Avoid use of bool in structures'
mainline: 640e77466e69d9c28de227bc76881f5501f532ca
backport: 4a254ec690b1730e4360c6c82a1e6a220f757bb1
48823cc0c75c3290d82b339f2135e54d6c20eaaa:
title: 'staging: mmal-vchiq: Allocate and free components as required'
mainline: 8c589e1794a31e9a381916b0280260ab601e4d6e
backport: cde080763f772971b9bab16de6a83a57bfa72941
60cb8c4ae9874e8b7906302306e85e3138cb19fc:
title: 'staging: mmal-vchiq: Fix client_component for 64 bit kernel'
mainline: 22e64b486adc4785542f8002c3af4c895490f841
backport: 1fbb48548bf323fe8c3bb65573ac2b47a06fcc52
3a54069c1398266c7523f24db52391f7d54be13f:
title: 'staging: vc04_services: changen strncpy() to strscpy_pad()'
mainline: ef25725b7f8aaffd7756974d3246ec44fae0a5cf
backport: 5e236ea4cd576ca487aaeb6cd4a43b825580f096
4693868e40b1367d1def54e5ea750da2d288da67:
title: 'staging: vc04_services: fix information leak in create_component()'
mainline: f37e76abd614b68987abc8e5c22d986013349771
backport: 5314097a03c077acf9974718386187c632ff87a6
a65f5dbf3249b9ca9c05a843d2a5bddad0b9adf6:
title: 'initramfs: factor out a helper to populate the initrd image'
mainline: 7c184ecd262fe64fe8cf4e099e0f7cefe88d88b2
skipped: not needed
c2f18e9a7619e194e564cd159e830efe7ce7545f:
title: 'fs: add a vfs_fchown helper'
mainline: c04011fe8cbd80af1be6e12b53193bf3846750d7
skipped: not needed
b78a72266577fa7be6d482b3a49d020c1e10e966:
title: 'fs: add a vfs_fchmod helper'
mainline: 9e96c8c0e94eea2f69a9705f5d0f51928ea26c17
skipped: not needed
246d6635dc5b326af3ca10212d7339712244ac36:
title: 'initramfs: switch initramfs unpacking to struct file based APIs'
mainline: bf6419e4d5440c6d414a320506c5488857a5b001
skipped: not needed
9f0dcca773117f0b240d1db97db27f0b8aac106a:
title: 'init: open /initrd.image with O_LARGEFILE'
mainline: 4624b346cf67400ef46a31771011fb798dd2f999
backport: b38a90afb44d28ca6aed9ba7b0e3c83d0e2a0161
cb6f9da80526a7874bf97fd2a83b95ea415d6ac6:
title: 'erspan: Add type I version 0 support.'
mainline: f989d546a2d5a9f001f6f8be49d98c10ab9b1897
skipped: is a new feature
06a939f72a24a7d8251f84cf4c042df86c6666ac:
title: 'erspan: make sure erspan_base_hdr is present in skb->head'
mainline: 17af420545a750f763025149fa7b833a4fc8b8f0
skipped: fixes patch not in branch
a6f9bd4aee2c96d597b765af5f3a61a2b8d8e98c:
title: 'ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw'
mainline: fc563aa900659a850e2ada4af26b9d7a3de6c591
backport: 5d848e29b28655b7cdd56347f17871ebceaa35af
81e38e4e2c756c95267c758bf683b35ce0ca77b1:
title: 'ata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit'
mainline: 52f80bb181a9a1530ade30bc18991900bbb9697f
backport: 4519a94da38decdf42b41f68e360331ab9f44338
b9bacf4b0e12ae9963774e4de9ddc6631ba65343:
title: 'ata: sata_mv: Fix PCI device ID table declaration compilation warning'
mainline: 3137b83a90646917c90951d66489db466b4ae106
backport: 401b18b386e1e23ebabb0d02ea19464d756a368c
5fd82952faaabaaefd7e594fce9b19d4b4e754f9:
title: 'ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone'
mainline: 1576f263ee2147dc395531476881058609ad3d38
backport: dbff4c3de9bcdaf9692cd0174ee96b8dbd60bba2
95f1acd1e998a48197d33720e33161750e459c23:
title: 'wifi: ath9k: fix LNA selection in ath_ant_try_scan()'
mainline: d6b27eb997ef9a2aa51633b3111bc4a04748e6d3
backport: cdf0bc842607a3cb79b4fee6470e73df396effdb
e87bb99d2df6512d8ee37a5d63d2ca9a39a8c051:
title: 'VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()'
mainline: 19b070fefd0d024af3daa7329cbc0d00de5302ec
backport: cab49d428499a8d81c7923b4c2bd011e71ea6326
23c6f9f6619a699c196cfc1e5a57becdfe4a0b9a:
title: 'arm64: dts: rockchip: fix rk3399 hdmi ports node'
mainline: f051b6ace7ffcc48d6d1017191f167c0a85799f6
backport: 7960ca05581467d75f635a849f0e367514b19448
c4f135f454deb2ff4b7a5ec53577aaa776e2fac9:
title: 'tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num()'
mainline: f85450f134f0b4ca7e042dc3dc89155656a2299d
backport: 9febcc825310e72385e81d69e9b967b3b4e7205a
bebd9e0ff90034875c5dfe4bd514fd7055fc7a89:
title: 'btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()'
mainline: 7411055db5ce64f836aaffd422396af0075fdc99
backport: c75868bec680efa61415ec3897135a7d596c384f
8b11774810aadeda80d4eb54f648eaf88f369d22:
title: 'btrfs: export: handle invalid inode or root reference in btrfs_get_parent()'
mainline: 26b66d1d366a375745755ca7365f67110bbf6bd5
backport: 1b9e5cdca908d0c426ba76b2c277c8c20dca49dd
be2b6bcc936ae17f42fff6494106a5660b35d8d3:
title: 'btrfs: send: handle path ref underflow in header iterate_inode_ref()'
mainline: 3c6ee34c6f9cd12802326da26631232a61743501
backport: c3e4fbedaa6d065b319e72de153e2be8d8414596
ec2049fb2b8be3e108fe2ef1f1040f91e72c9990:
title: 'Bluetooth: btintel: Fix null ptr deref in btintel_read_version'
mainline: b79e040910101b020931ba0c9a6b77e81ab7f645
backport: 18ac75f7eb293f56efde10cc65fa7eb6d1350bc9
004402ec227732308871a6127f0b967cf2a293cd:
title: 'Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails'
mainline: bc4996184d56cfaf56d3811ac2680c8a0e2af56e
backport: c6d084381d756d922236737ce0569fd76b904a62
13b33feb2ebddc2b1aa607f553566b18a4af1d76:
title: 'sysv: don''t call sb_bread() with pointers_lock held'
mainline: f123dc86388cb669c3d6322702dc441abc35c31e
backport: 385733c04408bec0083e9f768a094db74dc058d2
edf82aa7e9eb864a09229392054d131b34a5c9e8:
title: 'scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()'
mainline: 2ae917d4bcab80ab304b774d492e2fcd6c52c06b
backport: cf30a0518a5944e7af7c38a04af145c8e5e975e8
b02e6ba55997926c961a95cdaf9de91f75b0b5c3:
title: 'isofs: handle CDs with bad root inode but good Joliet root directory'
mainline: 4243bf80c79211a8ca2795401add9c4a3b1d37ca
backport: be099afe08c0439e72c1b37f2896d7942b318bdf
347b2e635e8b2beaa076b0bc110be9c6ea50aec1:
title: 'media: sta2x11: fix irq handler cast'
mainline: 3de49ae81c3a0f83a554ecbce4c08e019f30168e
backport: 95bfe2806bd05c524d8534070c038b8feaae436a
34f0cabed648481fa21d50a551524115f9326257:
title: 'drm/amd/display: Fix nanosec stat overflow'
mainline: 14d68acfd04b39f34eea7bea65dda652e6db5bf6
skipped: fixes non-present a3e1737ed61c8b6ea078f477eee612e26f9d2561
56199ebbcbbcc36658c2212b854b37dff8419e52:
title: 'SUNRPC: increase size of rpc_wait_queue.qlen from unsigned short to unsigned int'
mainline: 2c35f43b5a4b9cdfaa6fdd946f5a212615dac8eb
backport: 84b6065e346863ebad34cba5284ff8eddcf4cb4a
6a55dab4ac956deb23690eedd74e70b892a378e7:
title: 'block: prevent division by zero in blk_rq_stat_sum()'
mainline: 93f52fbeaf4b676b21acfe42a5152620e6770d02
backport: 53510903f234a0aea0f80bd7d3bcccf520fc07c9
61f291137c04238f8347b1ae184c5b92fabdb3c0:
title: 'Input: allocate keycode for Display refresh rate toggle'
mainline: cfeb98b95fff25c442f78a6f616c627bc48a26b7
skipped: commit did not cherry-pick cleanly
50e05164d41db0231f2d3273f89a24e2bb62149b:
title: 'ktest: force $buildonly = 1 for ''make_warnings_file'' test type'
mainline: 07283c1873a4d0eaa0e822536881bfdaea853910
skipped: commit did not cherry-pick cleanly
4a886ce3c846032ed8d9bf18f525f12dcb5de614:
title: 'tools: iio: replace seekdir() in iio_generic_buffer'
mainline: 4e6500bfa053dc133021f9c144261b77b0ba7dc8
backport: 2929cf2f94cfec0fb6afbcdd27ec2bfb6fae1a59
f90519f1d6a0c4d86bcd401f34bda11486fa4284:
title: 'usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined'
mainline: 12f371e2b6cb4b79c788f1f073992e115f4ca918
backport: b550cc1a3828e39bb76a2c0d8218b57dc8f71f0d
3affd4cceebd560aa13c280fe0ad46a38e46eb73:
title: 'fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2'
mainline: bc87bb342f106a0402186bcb588fcbe945dced4b
backport: 781096a3f8ab4b70c9b75f8c0d3e5f694e16d843
1fb52bc1de55e9e0bdf71fe078efd4da0889710f:
title: 'fbmon: prevent division by zero in fb_videomode_from_videomode()'
mainline: c2d953276b8b27459baed1277a4fdd5dd9bd4126
backport: ebe31b54cbaf1029c6ecd6f8e59d6bb59b59280a
7d303dee473ba3529d75b63491e9963342107bed:
title: 'tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc'
mainline: 67c37756898a5a6b2941a13ae7260c89b54e0d88
backport: d7d6dfa21578d006e6023f9eddc4029774e6a6d6
4d0adb19dc8aba90f2298560fd65871f1afbd2ca:
title: 'drm/vkms: call drm_atomic_helper_shutdown before drm_dev_put()'
5908fb34c0cf62c0f25f916d50d00582b053e077:
title: 'virtio: reenable config if freezing device failed'
mainline: 310227f42882c52356b523e2f4e11690eebcd2ab
backport: 6419be48607d845c7b94621da5405191a0805754
f18681daaec9665a15c5e7e0f591aad5d0ac622b:
title: 'x86/mm/pat: fix VM_PAT handling in COW mappings'
mainline: 04c35ab3bdae7fefbd7c7a7355f29fa03a035221
backport: e917dc0ff33859792cb7328fc84068471824639b
81a3ce3efd82e0790a6151c3dad6c02570d48816:
title: 'Bluetooth: btintel: Fixe build regression'
mainline: 6e62ebfb49eb65bdcbfc5797db55e0ce7f79c3dd
backport: 9be9972d568f71227eb0d8b300af769013f27b42
cc065e1b11a270ebd2b18bbe61f0d6cc8efaa15d:
title: 'VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler()'
mainline: e606e4b71798cc1df20e987dde2468e9527bd376
backport: 84edf3cb66dffa4c868347741aa8ac43073ffcf1
584661cc24d740bc0d68b605e7089d80a99bba9d:
title: 'erspan: Check IFLA_GRE_ERSPAN_VER is set.'
mainline: 51fa960d3b5163b1af22efdebcabfccc5d615ad6
skipped: commit did not cherry-pick cleanly
cb2dd30f318974cc640f1b1929f501ea9cb94bd5:
title: 'ip_gre: do not report erspan version on GRE interface'
mainline: ee496694b9eea651ae1aa4c4667d886cdf74aa3b
skipped: commit did not cherry-pick cleanly
931e5381cb30355332f20854f80a0a1f18f6f1f1:
title: 'initramfs: fix populate_initrd_image() section mismatch'
mainline: 4ada1e810038e9dbc20e40b524e05ee1a9d31f98
skipped: commit did not cherry-pick cleanly
e6721ea845fcb93a764a92bd40f1afc0d6c69751:
title: 'amdkfd: use calloc instead of kzalloc to avoid integer overflow'
mainline: 3b0daecfeac0103aba8b293df07a0cbaf8b43f29
skipped: vulnerable code is not present

View File

@@ -1,308 +0,0 @@
04720ea2e6c64459a90ca28570ea78335eccd924:
title: 'batman-adv: Avoid infinite loop trying to resize local TT'
mainline: b1f532a3b1e6d2e5559c7ace49322922637a28aa
backport: e4f4588b3c0869ac39c79a84669bba92b50c2205
89a32741f4217856066c198a4a7267bcdd1edd67:
title: 'Bluetooth: Fix memory leak in hci_req_sync_complete()'
mainline: 45d355a926ab40f3ae7bc0b0a00cb0e3e8a5a810
backport: fcab8bb833c33df8d7619a7c8367231f89577f70
7b30bcac7f8bd82dcb9ee61d04926d286060a19f:
title: 'nouveau: fix function cast warning'
mainline: 185fdb4697cc9684a02f2fab0530ecdd0c2f15d4
backport: f67ff0072a70883c601e426a97085753f0ea4d23
43be590456e1f3566054ce78ae2dbb68cbe1a536:
title: 'geneve: fix header validation in geneve[6]_xmit_skb'
mainline: d8a6213d70accb403b82924a1c229e733433a5ef
backport: 5f11455435b6294f64eb70b163dba59ba4239ea0
3e2c1fbbb372005e98ac75a239ca02da3ef9ba5b:
title: 'ipv6: fib: hide unused ''pn'' variable'
mainline: 74043489fcb5e5ca4074133582b5b8011b67f9e7
skipped: should not be applied to 4.14
0b48182b06f631781987c38be150d76b0f483923:
title: 'ipv4/route: avoid unused-but-set-variable warning'
mainline: cf1b7201df59fb936f40f4a807433fe3f2ce310a
backport: 016fcada2b407eccf84eb18626994945ee51f78c
b4b3b69a19016d4e7fbdbd1dbcc184915eb862e1:
title: 'ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr'
mainline: 7633c4da919ad51164acbf1aa322cc1a3ead6129
backport: fee87d38713d366ea650216d07a3ac962d2b7f1c
de0139719cdda82806a47580ca0df06fc85e0bd2:
title: 'net/mlx5: Properly link new fs rules into the tree'
mainline: 7c6782ad4911cbee874e85630226ed389ff2e453
backport: bfa99d232f459aae39a87cb7bc7a28e772325080
8bfa576fe3c6df875a16f3eb27f7ec3fdd7f3168:
title: 'tracing: hide unused ftrace_event_id_fops'
mainline: 5281ec83454d70d98b71f1836fb16512566c01cd
backport: 39f0520cea332cf14036a8d90902938fa0f2475c
60bb8b451c6a9dc993c876e1f2abf188f9bc97c1:
title: 'vhost: Add smp_rmb() in vhost_vq_avail_empty()'
mainline: 22e1992cf7b034db5325660e98c41ca5afa5f519
backport: 79a4cc09e1dd7c1d8d6d3f5906d1cdb04ce14d43
3004d8f3f9ddb7c43b4af98203c8bb9a31bf8b51:
title: 'selftests: timers: Fix abs() warning in posix_timers test'
mainline: ed366de8ec89d4f960d66c85fc37d9de22f7bf6d
backport: f5e66cc721903d6adf93b7e9bb7fe06f6033dce2
38ecf8d8a293c9677a4659ede4810ecacb06dcda:
title: 'x86/apic: Force native_apic_mem_read() to use the MOV instruction'
mainline: 5ce344beaca688f4cdea07045e0b8f03dc537e74
backport: b1c1aa9e9a32ff9503c37d3a47e7eacc66cd809a
f9392292ff4c01b092c12d1bfdae5471496cca1e:
title: 'btrfs: record delayed inode root in transaction'
mainline: 71537e35c324ea6fbd68377a4f26bb93a831ae35
skipped: fixes patch not in branch
0a8b2a0410e7fdcd899e58015d025004808559f6:
title: 'selftests/ftrace: Limit length in subsystem-enable tests'
mainline: 1a4ea83a6e67f1415a1f17c1af5e9c814c882bb5
backport: a3f786dc93abeaa911663b647c4a9a48b021e9c1
b5808d40093403334d939e2c3c417144d12a6f33:
title: 'kprobes: Fix possible use-after-free issue on kprobe registration'
mainline: 325f3fb551f8cd672dbbfc4cf58b14f9ee3fc9e8
backport: b13c030fd2b3a061d1659003a770b3986c24f7b5
34925d01baf3ee62ab21c21efd9e2c44c24c004a:
title: 'Revert "tracing/trigger: Fix to return error if failed to alloc snapshot"'
mainline: 0958b33ef5a04ed91f61cef4760ac412080c4e08
backport: 638cc92651d52087ea7e22c3cee5dfaa472e835b
97f097a8091261ffa07c8889550c4026e59b6c14:
title: 'netfilter: nf_tables: __nft_expr_type_get() selects specific family type'
mainline: 9cff126f73a7025bcb0883189b2bed90010a57d4
backport: cf9d94023df9b8d5ee9885351ac7b0bb280a39da
939109c0a8e2a006a6cc8209e262d25065f4403a:
title: 'netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()'
mainline: f969eb84ce482331a991079ab7a5c4dc3b7f89bf
backport: 59c0769283b97b4a2e14c2846703d5ef9a10c86e
68459b8e3ee554ce71878af9eb69659b9462c588:
title: 'tun: limit printing rate when illegal packet received by tun dev'
mainline: f8bbc07ac535593139c875ffa19af924b1084540
backport: eaa8c23a83b5a719ac9bc795481595bbfc02fc18
4d0f5f7f583875236ccc649825cdc7cdadccd1f9:
title: 'RDMA/mlx5: Fix port number for counter query in multi-port configuration'
mainline: be121ffb384f53e966ee7299ffccc6eeb61bc73d
skipped: fixes patch not in branch
c2b97f26f081ceec3298151481687071075a25cb:
title: 'drm: nv04: Fix out of bounds access'
mainline: cf92bb778eda7830e79452c6917efa8474a30c1e
backport: cfe1ce127436f4025381610721ccca95be5661eb
3a63ae0348d990e137cca04eced5b08379969ea9:
title: 'comedi: vmk80xx: fix incomplete endpoint checking'
mainline: d1718530e3f640b7d5f0050e725216eab57a85d8
backport: 40aa14ae1d3360c716476ef5bf841e83b4044a74
69a02273e288011b521ee7c1f3ab2c23fda633ce:
title: 'serial/pmac_zilog: Remove flawed mitigation for rx irq flood'
mainline: 1be3226445362bfbf461c92a5bcdb1723f2e4907
backport: e9606f845b0e6e58ea7f0a1cb83f3ca8b6c22c27
9a5402ed97bc701eef3d1f04cad469604aaae0ad:
title: 'USB: serial: option: add Fibocom FM135-GL variants'
mainline: 356952b13af5b2c338df1e06889fd1b5e12cbbf4
backport: 32343abd61668292ae454465c0b9f5afb5560d0d
5809919a53225cb041d171661af398de05fd5499:
title: 'USB: serial: option: add support for Fibocom FM650/FG650'
mainline: fb1f4584b1215e8c209f6b3a4028ed8351a0e961
backport: 2f8adbc57c1c78ec6d9d12bf3cd5924e1d11b98b
6efc183ddca84d2d67db97243897c9c01dae3941:
title: 'USB: serial: option: add Lonsung U8300/U9300 product'
mainline: cf16ffa17c398434a77b8a373e69287c95b60de2
backport: 7a6940c22f654a3953351f2e6d4f990a18293284
44af06ae8bc16e7b325029dc1da51c68169d395d:
title: 'USB: serial: option: support Quectel EM060K sub-models'
mainline: c840244aba7ad2b83ed904378b36bd6aef25511c
backport: 1ce24d37d83eb52cd418553e5e364234d2eb301c
19301bdc1d265877e47bba58cb58738e51efb120:
title: 'USB: serial: option: add Rolling RW101-GL and RW135-GL support'
mainline: 311f97a4c7c22a01f8897bddf00428dfd0668e79
backport: 2193ac5e795e5513c453c321c8eeb5a0a5e63a5c
36c159eded196bbca23f0f344202815528545d2d:
title: 'USB: serial: option: add Telit FN920C04 rmnet compositions'
mainline: 582ee2f9d268d302595db3e36b985e5cbb93284d
backport: 5f912f0cb02da4f3c48151fbaa4490f695556cc5
347cca11bb78b9f3c29b45a9c52e70258bd008bf:
title: 'Revert "usb: cdc-wdm: close race between read and workqueue"'
mainline: 1607830dadeefc407e4956336d9fcd9e9defd810
backport: 519eedb563740160edd7c1a150b730c311d2a1f5
257d313e37d66c3bcc87197fb5b8549129c45dfe:
title: 'usb: dwc2: host: Fix dereference issue in DDMA completion flow.'
mainline: eed04fa96c48790c1cce73c8a248e9d460b088f8
backport: ccbc9d463cf6f7c018cb20bb05bc98483c63eaaa
756c5cb7c09e537b87b5d3acafcb101b2ccf394f:
title: 'speakup: Avoid crash on very long word'
mainline: c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1
backport: 68e8ffca8bcb4619d8a20a711cf51a3464530790
f28bba37fe244889b81bb5c508d3f6e5c6e342c5:
title: 'fs: sysfs: Fix reference leak in sysfs_break_active_protection()'
mainline: a90bca2228c0646fc29a72689d308e5fe03e6d78
backport: 8005cde96bd7db2593c25a75b9a2ccb18087cf8e
bba8ec5e9b16649d85bc9e9086bf7ae5b5716ff9:
title: 'nouveau: fix instmem race condition around ptr stores'
mainline: fff1386cc889d8fb4089d285f883f8cba62d82ce
skipped: fixes patch not in branch
054f29e9ca05be3906544c5f2a2c7321c30a4243:
title: 'nilfs2: fix OOB in nilfs_set_de_type'
mainline: c4a7dc9523b59b3e73fd522c73e95e072f876b16
backport: 66881703734d16aba33608bf449cc2586b6a51fc
d74f1a1f913b4a1592dec3cc30640ddd9f8aeda4:
title: 'tracing: Remove hist trigger synth_var_refs'
mainline: 912201345f7c39e6b0ac283207be2b6641fa47b9
skipped: commit did not cherry-pick cleanly
3dc763bdb05ea12afafb5af62cf37e88d8f7f6dd:
title: 'tracing: Use var_refs[] for hist trigger reference checking'
mainline: e4f6d245031e04bdd12db390298acec0474a1a46
skipped: commit did not cherry-pick cleanly
e0fbabb4865a9f2eebfa8688765fd6fd76185bba:
title: 'arm64: dts: rockchip: fix alphabetical ordering RK3399 puma'
mainline: f0abb4b2c7acf3c3e4130dc3f54cd90cf2ae62bc
backport: f2b908139433610ec7b0803abd46fcf0b3b43fb4
8ada42c66029ee8ec7918b2a5bb2feb9dbe461f1:
title: 'arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK3399 Puma'
mainline: 945a7c8570916650a415757d15d83e0fa856a686
backport: 655536c706fd7a9534ac7aec8a63a178d62fe415
19e43d5a9e9439dcf2cbb7a8ecb7cfd725968f8f:
title: 'arm64: dts: mediatek: mt7622: fix IR nodename'
mainline: 800dc93c3941e372c94278bf4059e6e82f60bd66
skipped: fixes patch not in branch
f81938d0666c0e812d72b8ba9127fb7577ab393a:
title: 'arm64: dts: mediatek: mt7622: fix ethernet controller "compatible"'
mainline: 208add29ce5b7291f6c466e4dfd9cbf61c72888e
skipped: fixes patch not in branch
084db3d6ec6f934b7678afac57fcdb32b7c99dbf:
title: 'arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block'
mainline: ecb5b0034f5bcc35003b4b965cf50c6e98316e79
skipped: fixes patch not in branch
60874cc9e4d57c357266ad8b1b1b3b960be8af77:
title: 'ARC: [plat-hsdk]: Remove misplaced interrupt-cells property'
mainline: 61231eb8113ce47991f35024f9c20810b37996bf
backport: ed92aae0da0019d4e7db47d37501752a7affbaa3
961711809db16bcf24853bfb82653d1b1b37f3bf:
title: 'vxlan: drop packets from invalid src-address'
mainline: f58f45c1e5b92975e91754f5407250085a6ae7cf
backport: 61c51e051a59e94a3c62f81c01f949e94958559e
4235cc4d207b535969eef8f3e610f9caafac7295:
title: 'mlxsw: core: Unregister EMAD trap using FORWARD action'
mainline: 976c44af48141cd8595601c0af2a19a43c5b228b
backport: 8a7045c992202504ab6a4f059f662f83463ace78
33ba7baa3cba4b49190635ff883770dd2ae5a3e5:
title: 'NFC: trf7970a: disable all regulators on removal'
mainline: 6bea4f03c6a4e973ef369e15aac88f37981db49e
backport: 52ada5a71f0a8be64f0ddaa20583efcf6e8e0411
571d30b27680591a576c29782617d95820e765ee:
title: 'net: usb: ax88179_178a: stop lying about skb->truesize'
mainline: 4ce62d5b2f7aecd4900e7d6115588ad7f9acccca
backport: 49adc83f7ee5de31ecf4715cf3c1ee131b957815
07b20d0a3dc13fb1adff10b60021a4924498da58:
title: 'net: gtp: Fix Use-After-Free in gtp_dellink'
mainline: f2a904107ee2b647bb7794a1a82b67740d7c8a64
backport: a4fb866fbb951f1c5908c99221021a6e923ee72e
740a06078ac58840494934ace6055eb879f267fb:
title: 'ipvs: Fix checksumming on GSO of SCTP packets'
mainline: e10d3ba4d434ed172914617ed8d74bd411421193
backport: 02cac8715a217aa9d6e76a4dca2e0f2d8242f832
fb885da71cc33a6487f142e016e7cd44d70cb8a6:
title: 'net: openvswitch: ovs_ct_exit to be done under ovs_lock'
mainline: 27de77cec985233bdf6546437b9761853265c505
skipped: fixes patch not in branch
2db9a8c0a01fa1c762c1e61a13c212c492752994:
title: 'net: openvswitch: Fix Use-After-Free in ovs_ct_exit'
mainline: 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2
skipped: fixes patch not in branch
09b54d29f05129b092f7c793a70b689ffb3c7b2c:
title: 'i40e: Do not use WQ_MEM_RECLAIM flag for workqueue'
mainline: 2cc7d150550cc981aceedf008f5459193282425c
backport: bca56f5107b108ae5c63b5478b0ebaeab77cf5ac
dcc8ed283f841e217ad23a65453f7b8c6068d6c5:
title: 'serial: core: Provide port lock wrappers'
mainline: b0af4bcb49464c221ad5f95d40f2b1b252ceedcc
backport: c112e92e7e9009b25113d00c387517474d00350f
56434e295bd446142025913bfdf1587f5e1970ad:
title: 'serial: mxs-auart: add spinlock around changing cts state'
mainline: 54c4ec5f8c471b7c1137a1f769648549c423c026
backport: 7b5287213ee5429e42b281d104e07e08d50c2d9a
605134e35a72a8cf1ff1cf433664a2b4a4924488:
title: 'drm/amdgpu: restrict bo mapping within gpu address limits'
mainline: 8b80d74bdb2285d3022b349c8451eb16535f7906
backport: 06da784dbd29c1e42dd9ced075d829704914864b
82aace80cfaab778245bd2f9e31b67953725e4d0:
title: 'amdgpu: validate offset_in_bo of drm_amdgpu_gem_va'
mainline: 9f0bcf49e9895cb005d78b33a5eebfa11711b425
backport: 5dd0e09eeab9c87b6a91fcf9ef0b10295d68ff2d
d4da6b084f1c5625937d49bb6722c5b4aef11b8d:
title: 'drm/amdgpu: validate the parameters of bo mapping operations more clearly'
mainline: 6fef2d4c00b5b8561ad68dd2b68173f5c6af1e75
backport: 3e99e112aa1d6c9af57da0446cef785190e95634
69dc8fc8307640b717b37056549d88a664273206:
title: 'Revert "crypto: api - Disallow identical driver names"'
mainline: 27016f75f5ed47e2d8e0ca75a8ff1f40bc1a5e27
backport: a039a95bde00995c63312c1870c870187dcaa60f
78b92d50fe6ab79d536f4b12c5bde15f2751414d:
title: 'tracing: Show size of requested perf buffer'
mainline: a90afe8d020da9298c98fddb19b7a6372e2feb45
backport: e3b3f139e8a216c0dc590c0349a0824c1918ed86
c8d5402dcd1834747bb3dbd9b6fe51defd3d636b:
title: 'tracing: Increase PERF_MAX_TRACE_SIZE to handle Sentinel1 and docker together'
mainline: e531e90b5ab0f7ce5ff298e165214c1aec6ed187
backport: edc56d2275828b9e3a8258681c30bb666cfdf8f7
92d26492b4acdc05a3ad1f7795b6cae91292b00d:
title: 'Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old()'
mainline: 9bf4e919ccad613b3596eebf1ff37b05b6405307
backport: 75613ba0ee43c74bb35bb8f80961e8e0ea496f9f
689efe22e9b5b7d9d523119a9a5c3c17107a0772:
title: 'btrfs: fix information leak in btrfs_ioctl_logical_to_ino()'
mainline: 2f7ef5bb4a2f3e481ef05fab946edb97c84f67cf
backport: cccd878ed43e046f7dc286fb677079dd801d2626
6d5692510d683ab57f81f82fd3d5282e33dd416f:
title: 'arm64: dts: rockchip: enable internal pull-up for Q7_THRM# on RK3399 Puma'
mainline: 0ac417b8f124427c90ec8c2ef4f632b821d924cc
backport: 336db5bbf15c2e86555a7b369f8faa7b3d4abe0f
f5417ff561b8ac9a7e53c747b8627a7ab58378ae:
title: 'irqchip/gic-v3-its: Prevent double free on error'
mainline: c26591afd33adce296c022e3480dea4282b7ef91
backport: 94db4962aa554ced828a4fbee5e96941a3fb2e7f
1aeede3a0217741120725c4c9cebf039c6fff7ef:
title: 'net: b44: set pause params only when interface is up'
mainline: e3eb7dd47bd4806f00e104eb6da092c435f9fb21
backport: 98b91fb5ede664960c3890efcd2f952affb11dee
79b25b1a58d0a6b53dfd685bca8a1984c86710dd:
title: 'stackdepot: respect __GFP_NOLOCKDEP allocation flag'
mainline: 6fe60465e1d53ea321ee909be26d97529e8f746c
backport: 9485c0dda576f58a9579b81e4d10b72bebda58de
153adb5d7878d18e2b9be173996034f858fbce8e:
title: 'mtd: diskonchip: work around ubsan link failure'
mainline: 21c9fb611c25d5cd038f6fe485232e7884bb0b3d
backport: cd3a5b7416bf89cb599e05f6e81e519211413cba
9f06ebd1daf5914afb21b95781cf637a025e9f9a:
title: 'tcp: Clean up kernel listener''s reqsk in inet_twsk_purge()'
mainline: 740ea3c4a0b2e326b23d7cdf05472a0e92aa39bc
skipped: fixes patch not in branch
4212fa80f700b06358a13cc7ea9d25788beff877:
title: 'tcp: Fix NEW_SYN_RECV handling in inet_twsk_purge()'
mainline: 1c4e97dd2d3c9a3e84f7e26346aa39bc426d3249
skipped: fixes patch not in branch
2628eb4bcc87953b3d10b5babde75853f38ad8fe:
title: 'dmaengine: owl: fix register access functions'
mainline: 43c633ef93a5d293c96ebcedb40130df13128428
skipped: fixes patch not in branch
ffe3f362de3479f5d75a97a7004a279a650ee7cd:
title: 'idma64: Don''t try to serve interrupts when device is powered off'
mainline: 9140ce47872bfd89fca888c2f992faa51d20c2bc
backport: 063e3bb968e0b88dfd0eca06c56d3eb95b43e40b
40f1d79f07b49c8a64a861706e5163f2db4bd95d:
title: 'i2c: smbus: fix NULL function pointer dereference'
mainline: 91811a31b68d3765b3065f4bb6d7d6d84a7cfc9f
backport: c8c86b3d8008e24fba2c5956a2849ed47c9ce817
21bfca822cfc1e71796124e93b46e0d9fa584401:
title: 'HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up'
mainline: 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e
backport: 674f9950629e4a2071b81cd12e58e5e190754121
9bc1f1791de3cb5e3073bd8c5811d0d02b7dde31:
title: 'Revert "loop: Remove sector_t truncation checks"'
mainline: 083a6a50783ef54256eec3499e6575237e0e3d53
skipped: reverted patch is not in branch
271b53d629d6329f1d99177b0590dce7c3cbf28b:
title: 'Revert "y2038: rusage: use __kernel_old_timeval"'
mainline: bdd565f817a74b9e30edec108f7cb1dbc762b8a6
skipped: reverted patch is not in branch
4fc0b7838c253cf443de3a40a9acb224377740e6:
title: 'udp: preserve the connected status if only UDP cmsg'
mainline: 680d11f6e5427b6af1321932286722d24a8b16c1
skipped: fixes patch not in branch
6e5937b23a13ce6bbe8bf17319efa34598f1650a:
title: 'serial: core: fix kernel-doc for uart_port_unlock_irqrestore()'
mainline: 29bff582b74ed0bdb7e6986482ad9e6799ea4d2f
backport: 67c9c69cedb11331c684e306485b2767c9ed0ffc

View File

@@ -1,244 +0,0 @@
e588495c211a58a593c0b35bde105e50a80f1587:
title: 'dmaengine: pl330: issue_pending waits until WFP state'
mainline: 22a9d9585812440211b0b34a6bc02ade62314be4
backport: 7a2c5465ee29605fd2c0c2a6d22f8e9787cc93b4
15097ae79c7231684158d7fd6306853e7042979d:
title: 'dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state"'
mainline: afc89870ea677bd5a44516eb981f7a259b74280c
backport: 1be5dfb4ae2059ec9c905e05c28525082863a716
327382dc0f16b268950b96e0052595efd80f7b0a:
title: 'wifi: nl80211: don''t free NULL coalescing rule'
mainline: 801ea33ae82d6a9d954074fbcf8ea9d18f1543a7
backport: de3ac5d3e761015a4e4ad472aac54347deae0b60
c8fd5450e40b07e5a9805b74f97a8f83c23516c6:
title: 'drm/amdkfd: change system memory overcommit limit'
mainline: 5d240da93edc29adb68320c5e475dc9c7fcad5dd
skipped: code is not present in 4.14
b0b59d1e86b7997fa625585432220c796064df64:
title: 'drm/amdgpu: Fix leak when GPU memory allocation fails'
mainline: 25e9227c6afd200bed6774c866980b8e36d033af
skipped: code is not present in 4.14
a82fcda87f9ba6ca65d8c0020de72237d5462766:
title: 'net: slightly optimize eth_type_trans'
mainline: 45cf7959c30402d7c4ea43568a6f1bab0ba6ca63
backport: 52cab27f08d73efcb58ca69bb59475c2809abb21
51fcea1b7c52abc3ff5af354e199731582a34ebf:
title: 'ethernet: add a helper for assigning port addresses'
mainline: e80094a473eefad9d856ce3ab0d7afdbb64800c4
backport: 36bdbf757991cf19077cac99ee29f44e4164ffcf
3d63a6c77b51c1a7cef2987a7f70ec9d91b04d95:
title: 'ethernet: Add helper for assigning packet type when dest address does not match device address'
mainline: 6e159fd653d7ebf6290358e0330a0cb8a75cf73b
backport: ba10f69d1e654aff90e015383bfd641dc8556e5a
735f4c6b6771eafe336404c157ca683ad72a040d:
title: 'pinctrl: core: delete incorrect free in pinctrl_enable()'
mainline: 5038a66dad0199de60e5671603ea6623eb9e5c79
backport: bdf517d3858a65b97d7f0d7df1acbc6ba5766bfd
c8d8b7f650b5bfddd9ac8b39fa3455716ddcbaff:
title: 'power: rt9455: hide unused rt9455_boost_voltage_values'
mainline: 452d8950db3e839aba1bb13bc5378f4bac11fa04
backport: 525562e5df5cc30f7d0e86974730550a7753941f
06780473cb8a858d1d6cab2673e021b072a852d1:
title: 'pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()'
mainline: a0cedbcc8852d6c77b00634b81e41f17f29d9404
backport: b290fe8f786a5c701623bc3a4522f728ff6511ad
655cbe1d4efe7c0844fce26c916cbf546be2abab:
title: 's390/mm: Fix storage key clearing for guest huge pages'
mainline: 843c3280686fc1a83d89ee1e0b5599c9f6b09d0c
skipped: fixes patch not in branch
fd7600f333253e8c264f72736316bf8c4a253000:
title: 's390/mm: Fix clearing storage keys for huge pages'
mainline: 412050af2ea39407fe43324b0be4ab641530ce88
skipped: fixes patch not in branch
bd502ba81cd1d515deddad7dbc6b812b14b97147:
title: 'bna: ensure the copied buf is NUL terminated'
mainline: 8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f
backport: 6e4174bf8ee5e72fa57859378ac90172b5a4ee88
a7c2c3c1caabcb4a3d6c47284c397507aaf54fe9:
title: 'nsh: Restore skb->{protocol,data,mac_header} for outer header in nsh_gso_segment().'
mainline: 4b911a9690d72641879ea6d13cce1de31d346d79
backport: 945365c6ab9e246eaa46aa79d0e090c43e983191
b6e4b93edc0100a88d7d4f3140bba25a529c5166:
title: 'net l2tp: drop flow hash on forward'
mainline: 42f853b42899d9b445763b55c3c8adc72be0f0e1
backport: f3cbc47fef3fd6e96761cb7986e48698353fc74c
4b1f3253bfa5a709d0c0003e3272c5a284a36771:
title: 'net: dsa: mv88e6xxx: Add number of MACs in the ATU'
mainline: d9ea56206c4df77175321874544eb4ca48c0bac8
backport: f2c7931f8a50c6da3a1f5ec513b2f8b3c52919e0
0c27eb63bd9feaf34ec3049873c1b1889b569a85:
title: 'net: dsa: mv88e6xxx: Fix number of databases for 88E6141 / 88E6341'
mainline: b9a61c20179fda7bdfe2c1210aa72451991ab81a
backport: 8bba49c34aecc6bed2a9a282710963f4af19460d
01386957ca757e31fb66caceb303f71f9e577b83:
title: 'net: bridge: fix multicast-to-unicast with fraglist GSO'
mainline: 59c878cbcdd80ed39315573b3511d0acfd3501b5
backport: 74703c09c98e094af2885ff2ff052d66b2731fe4
01cd1b7b685751ee422d00d050292a3d277652d6:
title: 'tipc: fix a possible memleak in tipc_buf_append'
mainline: 97bf6f81b29a8efaf5d0983251a7450e5794370d
backport: f6d438b693a934d982288ee2eee89e9e30bb8a18
b241595d3d09d24c60cd9e594dc81fa1b0f6b280:
title: 'scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic'
mainline: bb011631435c705cdeddca68d5c85fd40a4320f9
backport: 17f4f66e30c9de03ade16f70122bbab83424be13
9ad9c16eb4fb56bf0ff33c3b06b101e400a87586:
title: 'gfs2: Fix invalid metadata access in punch_hole'
mainline: c95346ac918c5badf51b9a7ac58a26d3bd5bb224
skipped: too invasive backport
fd10730c905db4e7984109f1342d9aa43ee63c8f:
title: 'wifi: mac80211: fix ieee80211_bss_*_flags kernel-doc'
mainline: 774f8841f55d7ac4044c79812691649da203584a
backport: 4f09d935a3265126515304a5496b7dee43998e85
9e7538cb8131946817218f793ceb334c63cfcdb8:
title: 'net: mark racy access on sk->sk_rcvbuf'
mainline: c2deb2e971f5d9aca941ef13ee05566979e337a4
backport: b6f6bed5092bdbc36b99ee09a6b07a00bf0f6012
468f3e3c15076338367b0945b041105b67cf31e3:
title: 'scsi: bnx2fc: Remove spin_lock_bh while releasing resources after upload'
mainline: c214ed2a4dda35b308b0b28eed804d7ae66401f9
backport: e5f7fdcb7c0455dc9dd4d9de1729261dc7f215a2
c957c9432f957007fef152a3efc9aabe4337ef4a:
title: 'ALSA: line6: Zero-initialize message buffers'
mainline: c4e51e424e2c772ce1836912a8b0b87cd61bc9d5
backport: 7a1f974c7345abc254eaad100b67e2093c68fcba
510e7b18fdad4b55849d7a73b8ff2c3e8ad2f7af:
title: 'net: bcmgenet: Reset RBUF on first open'
mainline: 0a6380cb4c6b5c1d6dad226ba3130f9090f0ccea
backport: c4cefd5df74348cc94d3b934e448c9dd5ab64416
47325095299e50d274da30525f7b41d638c22a8e:
title: 'ata: sata_gemini: Check clk_enable() result'
mainline: e85006ae7430aef780cc4f0849692e266a102ec0
backport: 532051585e477a5ef3e62ad8f006288b18cd5727
b3948c69d60279fce5b2eeda92a07d66296c8130:
title: 'firewire: ohci: mask bus reset interrupts between ISR and bottom half'
mainline: 752e3c53de0fa3b7d817a83050b6699b8e9c6ec9
backport: 3b969e6e4d466989104ad6d6f95296b9e9f37d54
e13c8b6b8675c7848e54145b77e7c0d2c52a3422:
title: 'tools/power turbostat: Fix added raw MSR output'
mainline: e5f4e68eed85fa8495d78cd966eecc2b27bb9e53
backport: 5c0a4f90868a9e879228c6ed8d058ee8f1c70213
5225091f94af36e1dddc5bc71abd317dcac4847e:
title: 'tools/power turbostat: Fix Bzy_MHz documentation typo'
mainline: 0b13410b52c4636aacb6964a4253a797c0fa0d16
backport: 096fb209120164d95c7046009ee24600fdb0eb43
6cc901559e108dfb0b8818bfa6f5d9728ad3c8a0:
title: 'btrfs: make btrfs_clear_delalloc_extent() free delalloc reserve'
mainline: 3c6f0c5ecc8910d4ffb0dfe85609ebc0c91c8f34
skipped: not applicable
958e39ae2d334b3d1f6d10cb1eea705608a744eb:
title: 'btrfs: always clear PERTRANS metadata during commit'
mainline: 6e68de0bb0ed59e0554a0c15ede7308c47351e2d
skipped: not applicable
2c9cb7a564bdd454df694b8e08eecbf925199eac:
title: 'scsi: target: Fix SELinux error when systemd-modules loads the target module'
mainline: 97a54ef596c3fd24ec2b227ba8aaf2cf5415e779
backport: 89b804f254ae731be5f86e671b3ac126f2f452a8
968908c39d985bc636e069769772155f66586664:
title: 'selftests: timers: Fix valid-adjtimex signed left-shift undefined behavior'
mainline: 076361362122a6d8a4c45f172ced5576b2d4a50d
backport: 3fc20d8d310b70b29dca23bf8733cd18d08e1ec4
e90bc596a74bb905e0a45bf346038c3f9d1e868d:
title: 'fs/9p: only translate RWX permissions for plain 9P2000'
mainline: cd25e15e57e68a6b18dc9323047fe9c68b99290b
backport: 99b4d7e3ea1c9056962bafc600bbed0ba6035e91
0ce2676013818e62b18504d39211b65d8b54bc24:
title: 'fs/9p: translate O_TRUNC into OTRUNC'
mainline: 87de39e70503e04ddb58965520b15eb9efa7eef3
backport: 83f6d606db87a09db262083d62866aa1eb8309e2
1b90be6698e8d67a2edb8d260e9654d539e7cb51:
title: '9p: explicitly deny setlease attempts'
mainline: 7a84602297d36617dbdadeba55a2567031e5165b
backport: 8b2c6a57cf512e211fdeb0bd08938647547b7639
a0c966b4d7fe7d701d31aebbd3cc32d1e7ee266e:
title: 'gpio: wcove: Use -ENOTSUPP consistently'
mainline: 0c3b532ad3fbf82884a2e7e83e37c7dcdd4d1d99
backport: 48c6238101a2be011c58503b7fbe9c6ded8afac3
e4c744a9c1da845faecba1532ba70154630b94ed:
title: 'gpio: crystalcove: Use -ENOTSUPP consistently'
mainline: ace0ebe5c98d66889f19e0f30e2518d0c58d0e04
backport: d7cb3d68d0dd185840ff94aca7e798229de8d0dc
cc3d6fbd645449298d03d96006e3e9bcae00bc1a:
title: 'fs/9p: drop inodes immediately on non-.L too'
mainline: 7fd524b9bd1be210fe79035800f4bd78a41b349f
backport: 7fdb44bf63d8d7e30340c10846aeaeeeb9530ba5
a1a3346ef3e9a7fa0954903355bc4366e72da9a3:
title: 'net:usb:qmi_wwan: support Rolling modules'
mainline: d362046021ea122309da8c8e0b6850c792ca97b5
backport: 4d26ff1d302a1cfb1a6ec136b4e88b18605a266a
6f7082e284ec3fa32694e5704da510194229ef12:
title: 'tcp: remove redundant check on tskb'
mainline: d1edc085559744fbda7a55e97eeae8bd6135a11b
backport: 22dc505fb63ec90f4f89fd3f6b58cad1c68e059c
34e41a031fd7523bf1cd00a2adca2370aebea270:
title: 'tcp: defer shutdown(SEND_SHUTDOWN) for TCP_SYN_RECV sockets'
mainline: 94062790aedb505bdda209b10bea47b294d6394f
backport: 426be5e0e2e245b5f7aa5c8b735f7350e41e3ba7
84546cc1aeeb4df3e444b18a4293c9823f974be9:
title: 'tcp: Use refcount_inc_not_zero() in tcp_twsk_unique().'
mainline: f2db7230f73a80dbb179deab78f88a7947f0ab7e
skipped: fixes patch not in branch
1b33d55fb7355e27f8c82cd4ecd560f162469249:
title: 'Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout'
mainline: 483bc08181827fc475643272ffb69c533007e546
backport: 8f75b925397684e4842eed1ae96fa57c441bd283
e137e2ba96e51902dc2878131823a96bf8e638ae:
title: 'Bluetooth: l2cap: fix null-ptr-deref in l2cap_chan_timeout'
mainline: adf0398cee86643b8eacde95f17d073d022f782c
backport: db1b3cb8b825fb48230e12d00652500c9fa29e2e
8ac69ff2d0d5be9734c4402de932aa3dc8549c1a:
title: 'rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation'
mainline: 1aec77b2bb2ed1db0f5efc61c4c1ca3813307489
backport: 5301db4a62df009136d5e53d6c9daf4d35a0049d
ec1f71c05caeba0f814df77e0f511d8b4618623a:
title: 'phonet: fix rtm_phonet_notify() skb allocation'
mainline: d8cac8568618dcb8a51af3db1103e8d4cc4aeea7
backport: ada1bc85dc1c41f4d40845ea46ef94553db632a3
e96b4e3e5e2d03e72d251aa46853cf609f4f8960:
title: 'net: bridge: fix corrupted ethernet header on multicast-to-unicast'
mainline: 86b29d830ad69eecff25b22dc96c14c6573718e6
backport: 71ccd14baaa895a643aac754b686592608eda7da
4a5a573387da6a6b23a4cc62147453ff1bc32afa:
title: 'ipv6: fib6_rules: avoid possible NULL dereference in fib6_rule_action()'
mainline: d101291b2681e5ab938554e3e323f7a7ee33e3aa
backport: fd6963c88a807bea816c6b6eed4896715ac5c552
c8a2b1f7208b0ea0a4ad4355e0510d84f508a9ff:
title: 'af_unix: Do not use atomic ops for unix_sk(sk)->inflight.'
mainline: 97af84a6bba2ab2b9c704c08e67de3b5ea551bb2
backport: 40d8d26e718b40b76be38e01998d92e982e6fe36
a36ae0ec2353015f0f6762e59f4c2dbc0c906423:
title: 'af_unix: Fix garbage collector racing against connect()'
mainline: 47d8ac011fe1c9251070e1bd64cb10b48193ec51
backport: e987e6352bc9cbc7d925c7110aedd4c254bce439
67f34f093c0f7bf33f5b4ae64d3d695a3b978285:
title: 'firewire: nosy: ensure user_length is taken into account when fetching packet contents'
mainline: 38762a0763c10c24a4915feee722d7aa6e73eb98
backport: 3e595e41a1d31b9dad72dc959b6e85bae59c62a9
c037e0ebc0cabb1906203ca3322ad9dc7eeddc8e:
title: 'usb: gadget: composite: fix OS descriptors w_value logic'
mainline: ec6ce7075ef879b91a8710829016005dc8170f17
backport: 8ed9c2744b2925a670e1cacb329cf26029bad6b0
af3f22e07de457965352950d1a535edbf84444f0:
title: 'usb: gadget: f_fs: Fix a race condition when processing setup packets.'
mainline: 0aea736ddb877b93f6d2dd8cf439840d6b4970a9
backport: 9c25fd19c4e377b891db0435e4ebcb264714bde7
e19ec8ab0e25bc4803d7cc91c84e84532e2781bd:
title: 'tipc: fix UAF in error path'
mainline: 080cbb890286cd794f1ee788bbc5463e2deb7c2b
backport: 5fc482f94740a21c8101f0f7f01d7b42a895efc1
3c718bddddca9cbef177ac475b94c5c91147fb38:
title: 'dyndbg: fix old BUG_ON in >control parser'
mainline: 00e7d3bea2ce7dac7bee1cf501fb071fd0ea8f6c
backport: 8aa195d14b00d30a14b28f066a0c0ca21d1b3bae
2f527e3efd37c7c5e85e8aa86308856b619fa59f:
title: 'drm/vmwgfx: Fix invalid reads in fence signaled events'
mainline: a37ef7613c00f2d72c8fc08bd83fb6cc76926c8c
backport: 9804a24b7ac34a1ce3cbb9914940853a59997055
3cdc34d76c4f777579e28ad373979d36c030cfd3:
title: 'net: fix out-of-bounds access in ops_init'
mainline: a26ff37e624d12e28077e5b24d2b264f62764ad6
backport: cc156d9fc5bcab07f124ade0fb47174c7c1efb65
b29dcdd0582c00cd6ee0bd7c958d3639aa9db27f:
title: 'af_unix: Suppress false-positive lockdep splat for spin_lock() in __unix_gc().'
mainline: 1971d13ffa84a551d29a81fdf5b5ec5be166ac83
backport: bade56293ac77e3f0c05d39b9719cf42e75a7077

View File

@@ -1,70 +0,0 @@
aa62ab6ada92ba8780aa9355184720ee950242a7:
title: 'Revert "selftests: mm: fix map_hugetlb failure on 64K page size systems"'
1ddc0c3f4996c4ca1216ede1fa7699a803204590:
title: 'dm: limit the number of targets and parameter size area'
mainline: bd504bcfec41a503b32054da5472904b404341a4
backport: dcd987848b62bdf1bbc0a44b0af4d42c364e8d1e
6ffbcb3704046668ede6551b236960597d71a005:
title: 'btrfs: add missing mutex_unlock in btrfs_relocate_sys_chunks()'
mainline: 9af503d91298c3f2945e73703f0e00995be08c30
backport: 30741c3b9f4e080264a6b52a95391902a9b71108
e57b1e9a69dfc0cad4f338115a11ea676ec52447:
title: 'tracing: Simplify creation and deletion of synthetic events'
mainline: faacb361f271be4baf2d807e2eeaba87e059225f
skipped: not applicable to 4.14
7d00580499a839de612fa06340141c5ae1018fb2:
title: 'tracing: Add unified dynamic event framework'
mainline: 5448d44c38557fc15d1c53b608a9c9f0e1ca8f86
skipped: not applicable to 4.14
73b24eeb0eb3b349b33f8e2d8f5ef9c839b51fde:
title: 'tracing: Use dyn_event framework for synthetic events'
mainline: 7bbab38d07f3185fddf6fce126e2239010efdfce
skipped: not applicable to 4.14
8f7139ab2b533aa03c5c8b7cd5f3119405e605e7:
title: 'tracing: Remove unneeded synth_event_mutex'
mainline: 0e2b81f7b52a1c1a8c46986f9ca01eb7b3c421f8
skipped: not applicable to 4.14
13b957b785b0c58b99608c8b677368ed14e973ce:
title: 'tracing: Consolidate trace_add/remove_event_call back to the nolock functions'
mainline: 7e1413edd6194a9807aa5f3ac0378b9b4b9da879
skipped: not applicable to 4.14
1415e7a48bb2a4418495fa2c6d94bbcb0b23ff33:
title: 'string.h: Add str_has_prefix() helper function'
mainline: 72921427d46bf9731a1ab7864adc64c43dfae29f
skipped: not applicable to 4.14
03aacb9039bfd4ec096e6b2c91cd749242ed968e:
title: 'tracing: Use str_has_prefix() helper for histogram code'
mainline: 754481e6954cbef53f8bc4412ad48dde611e21d3
skipped: not applicable to 4.14
b2aba66d3117e19481a4ac2f7263b78e1a2f5d7e:
title: 'tracing: Use str_has_prefix() instead of using fixed sizes'
mainline: b6b2735514bcd70ad1556a33892a636b20ece671
skipped: not applicable to 4.14
647c999c9e03097855e64a409a297cef6422ab65:
title: 'tracing: Have the historgram use the result of str_has_prefix() for len of prefix'
mainline: 036876fa56204ae0fa59045bd6bbb2691a060633
skipped: not applicable to 4.14
5dc8fe9c75f4ad8dfadef2e269b6e8f67a75c330:
title: 'tracing: Refactor hist trigger action code'
mainline: 7d18a10c316783357fb1b2b649cfcf97c70a7bee
skipped: not applicable to 4.14
93b9409a082d1662b5ec8d5b6a6c47ab5dbecd9f:
title: 'tracing: Split up onmatch action data'
mainline: c3e49506a0f426a850675e39419879214060ca8b
skipped: not applicable to 4.14
19ff3696807411eb05a3ece07397416ddb6c8263:
title: 'tracing: Generalize hist trigger onmax and save action'
mainline: 466f4528fbc692ea56deca278fa6aeb79e6e8b21
skipped: not applicable to 4.14
3fe17266dba8f84e12758f1f6d057e733d2b52a8:
title: 'tracing: Remove unnecessary var_ref destroy in track_data_destroy()'
mainline: ff9d31d0d46672e201fc9ff59c42f1eef5f00c77
skipped: not applicable to 4.14
512b9385201c7dec1b8d490711e9b578ae50525e:
title: 'serial: kgdboc: Fix NMI-safety problems from keyboard reset code'
mainline: b2aba15ad6f908d1a620fd97f6af5620c3639742
backport: 1d8ba83736394d3167acb51f49623624d74ac1e0
4b431a786f0ca86614b2d00e17b313956d7ef035:
title: 'docs: kernel_include.py: Cope with docutils 0.21'
mainline: d43ddd5c91802a46354fa4c4381416ef760676e2
backport: fb341e5794b05a39dfaa8f073dc5a23072b09992

View File

@@ -1,830 +0,0 @@
bfaadbda9b75e4726783f8ca55ceac1fedbf2deb:
title: 'x86/tsc: Trust initial offset in architectural TSC-adjust MSRs'
mainline: 455f9075f14484f358b3c1d6845b4a438de198a7
skipped: commit did not cherry-pick cleanly
42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358:
title: 'speakup: Fix sizeof() vs ARRAY_SIZE() bug'
mainline: 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b
backport: 8bb6ee62c33b1f281b98b2dd19f1d7249a1ee5ab
b50932ea673b5a089a4bb570a8a868d95c72854e:
title: 'ring-buffer: Fix a race between readers and resize checks'
mainline: c2274b908db05529980ec056359fae916939fdaa
backport: a43f1f02b3a93c9a2da8ea92e4d6509d0a61ebd8
0ca720bd1834c4577426d1fb5a75faa19aa089bf:
title: 'net: smc91x: Fix m68k kernel compilation for ColdFire CPU'
mainline: 5eefb477d21a26183bc3499aeefa991198315a2d
skipped: fixes patch not in branch
072980bc50626c4557694ce54e3f6f2bde02b6e0:
title: 'nilfs2: fix unexpected freezing of nilfs_segctor_sync()'
mainline: 936184eadd82906992ff1f5ab3aada70cce44cee
backport: 39d470c1d65655756f7bc56eef30977466000040
911d38be151921a5d152bb55e81fd752384c6830:
title: 'nilfs2: fix potential hang in nilfs_detach_log_writer()'
mainline: eb85dace897c5986bc2f36b3c783c6abb8a4292e
backport: 6696ef522ef729e48bb88e624f4b450cc48d0008
9513d4148950b05bc99fa7314dc883cc0e1605e5:
title: 'tty: n_gsm: fix possible out-of-bounds in gsm0_receive()'
mainline: 47388e807f85948eefc403a8a5fdc5b406a65d5a
backport: 478b032b9b295f6e4d224766b1d74f3f8d8015f5
5099e30dde0caffa9f0e2c41d7327fc3ed987fd5:
title: 'wifi: cfg80211: fix the order of arguments for trace events of the tx_rx_evt class'
mainline: 9ef369973cd2c97cce3388d2c0c7e3c056656e8a
backport: 0e454ea0aef962c0bc28aaec416c987c472ee16f
25468fffbbd2b0f06b4b12d79ff56cc5c40bfd1f:
title: 'net: usb: qmi_wwan: add Telit FN920C04 compositions'
mainline: 0b8fe5bd73249dc20be2e88a12041f8920797b59
backport: 52bed87bdd7ff234fbf08cffb5805fec3753a574
074218a00cf59abff526b79dcd34d461ce81ae4c:
title: 'drm/amd/display: Set color_mgmt_changed to true on unsuspend'
mainline: 2eb9dd497a698dc384c0dd3e0311d541eb2e13dd
skipped: file is not in 4.14.y
5c50d2e998143ce00c0629dcaabd73c3d962545c:
title: 'ASoC: rt5645: Fix the electric noise due to the CBJ contacts floating'
mainline: 103abab975087e1f01b76fcb54c91dbb65dbc249
backport: 1de2264213019b0e94512027fedda73173da635e
5af06b6c57a9bbfa9bd5421e28bcd5c571c5821e:
title: 'ASoC: dt-bindings: rt5645: add cbj sleeve gpio property'
mainline: 306b38e3fa727d22454a148a364123709e356600
backport: f5822a115c534c96bcde99428ab661088e193a09
6d2d2aaae1faa64c2f803d6f11f4b2df3b3c2cff:
title: 'ASoC: da7219-aad: fix usage of device_get_named_child_node()'
mainline: e8a6a5ad73acbafd98e8fd3f0cbf6e379771bb76
backport: 6c8dd658875782d45f021c5015b9ec9bf5f5ff87
c256b616067bfd6d274c679c06986b78d2402434:
title: 'crypto: bcm - Fix pointer arithmetic'
mainline: 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9
backport: 8355ba0b459240e847584f780402073b8236df46
b7277844e7e367381b2377853afceb58427cf6fb:
title: 'firmware: raspberrypi: Use correct device for DMA mappings'
mainline: df518a0ae1b982a4dcf2235464016c0c4576a34d
backport: 09020d6f62421e7fd4240279ff30dde78a0300bc
1c125b9287e58f364d82174efb167414b92b11f1:
title: 'ecryptfs: Fix buffer size for tag 66 packet'
mainline: 85a6a1aff08ec9f5b929d345d066e2830e8818e5
backport: 78f8f3e6cf95446a03837bb11a67c4c2569ced32
7610fd35b74211ab8def4e124095e600a1ae945b:
title: 'nilfs2: fix out-of-range warning'
mainline: c473bcdd80d4ab2ae79a7a509a6712818366e32a
backport: 7ee6938a59b80751d7919f67a3c4fb585d3829f6
63d5a72afbd1505f180e81bc72e056ceea28b43b:
title: 'parisc: add missing export of __cmpxchg_u8()'
mainline: c57e5dccb06decf3cb6c272ab138c033727149b5
backport: 72d5387b60255610eb6fd5c18bb819fc39cc8917
4b713a1581b17a94a21699165a20d82eb0eca2dc:
title: 'crypto: ccp - Remove forward declaration'
mainline: 3512dcb4e6c64733871202c01f0ec6b5d84d32ac
backport: 7eb7c75444aa358909836ea7ff4f692a53b199f9
ce8f89223c9552d18b118596a85fd6cc237bc0e9:
title: 'crypto: ccp - drop platform ifdef checks'
mainline: 42c2d7d02977ef09d434b1f5b354f5bc6c1027ab
backport: afb1d97ca2b2cdfa5f46e8eb9fc37934349bc34e
77edda3c53d696fa30fa0352e18aad485716ffad:
title: 's390/cio: fix tracepoint subchannel type field'
mainline: 8692a24d0fae19f674d51726d179ad04ba95d958
skipped: fixes patch not in branch
2904e1d9b64f72d291095e3cbb31634f08788b11:
title: 'jffs2: prevent xattr node from overflowing the eraseblock'
mainline: c6854e5a267c28300ff045480b5a7ee7f6f1d913
backport: 7375909839424727552bd0bb2022ca3db5c6ffe8
54ee1f7e2ea06e5c5341dc54255881fa5d11b312:
title: 'null_blk: Fix missing mutex_destroy() at module removal'
mainline: 07d1b99825f40f9c0d93e6b99d79a08d0717bac1
backport: a28a74b9a53b5b25cde8cfbea4c071f7a1c9beed
d4b9c764d48fa41caa24cfb4275f3aa9fb4bd798:
title: 'md: fix resync softlockup when bitmap size is less than array size'
mainline: f0e729af2eb6bee9eb58c4df1087f14ebaefe26b
skipped: fixes patch not in branch
eb984e08100e42c20f05e425590ee1e78e092b9d:
title: 'power: supply: cros_usbpd: provide ID table for avoiding fallback match'
mainline: 0f8678c34cbfdc63569a9b0ede1fe235ec6ec693
skipped: file is not in 4.14.y
52d3370e8022ce28cd8cf4d16c09245aa683d7fb:
title: 'nfsd: drop st_mutex before calling move_to_close_lru()'
mainline: 56c35f43eef013579c76c007ba1f386d8c2cac14
backport: 520ccb81e3976c1c21d19d43265958faad0aee46
54e3970b1848856e49f8cd08751dcb010ac3296b:
title: 'wifi: ath10k: poll service ready message before failing'
mainline: e57b7d62a1b2f496caf0beba81cec3c90fad80d5
backport: 6faa6059493e8a857fe5c3b5e12a3ceec730cda3
2487db16d4b9faead07b7825d33294e9e783791d:
title: 'x86/boot: Ignore relocations in .notes sections in walk_relocs() too'
mainline: 76e9762d66373354b45c33b60e9a53ef2a3c5ff2
backport: a2c3254bc18b8f7bea19a00d8e7ea4ec52e941c1
6780fe28e415c84f81ee7fc30027e57105f0b136:
title: 'qed: avoid truncating work queue length'
mainline: 954fd908f177604d4cce77e2a88cc50b29bad5ff
skipped: fixes patch not in branch
e6bfc88b60f0874a00b22f243a94a5e8601d5039:
title: 'scsi: ufs: qcom: Perform read back after writing reset bit'
mainline: c4d28e06b0c94636f6e35d003fa9ebac0a94e1ae
backport: 5b61b9cefdb45e69ab265050d603cdd30f3d089b
ea2cebd3b66bffa2630e413553776a4dbdca641a:
title: 'scsi: ufs: cleanup struct utp_task_req_desc'
mainline: 391e388f853dad5d1d7462a31bb50ff2446e37f0
skipped: commit did not cherry-pick cleanly
359975cbf2551e40130cc604e2753f65585b68d0:
title: 'scsi: ufs: add a low-level __ufshcd_issue_tm_cmd helper'
mainline: c6049cd98212dfe39f67fb411d18d53df0ad9436
skipped: commit did not cherry-pick cleanly
bf144a2e3b5048e5a9e3baf19f54d5e865d578b4:
title: 'scsi: ufs: core: Perform read back after disabling interrupts'
mainline: e4a628877119bd40164a651d20321247b6f94a8b
backport: 936e250e7ec6cb3bad3a8aa3a699a625e62cb5a6
8dfd79c1c31660549a03439d42794c138efa5432:
title: 'scsi: ufs: core: Perform read back after disabling UIC_COMMAND_COMPL'
mainline: 4bf3855497b60765ca03b983d064b25e99b97657
backport: c5a8d87d1f0792ab4f65cf240309a4effe22de01
4654dfa98682444152aac9bcef50e0d5e114a135:
title: 'irqchip/alpine-msi: Fix off-by-one in allocation error path'
mainline: ff3669a71afa06208de58d6bea1cc49d5e3fcbd1
backport: 94707145849c4be8019d4f7b2cce86402f9f9127
2e816914b5ba234c3815ca80bffd2f3b3a7de6b0:
title: 'ACPI: disable -Wstringop-truncation'
mainline: a3403d304708f60565582d60af4316289d0316a0
backport: 96f2e9bb5b58c10a84e2a0064c7dc88cdcfff4d8
2d8f31aa03df040c58a2e4a0382b96269c1bf96a:
title: 'scsi: libsas: Fix the failure of adding phy with zero-address to port'
mainline: 06036a0a5db34642c5dbe22021a767141f010b7a
backport: 8734c83b6dae36fbe4d97f42409e04459426858c
9fc44d44b3b8eadd8b797462c733eb6c63598e6f:
title: 'scsi: hpsa: Fix allocation size for Scsi_Host private data'
mainline: 504e2bed5d50610c1836046c0c195b0a6dba9c72
backport: 784e2dc0d9be9b2e2ff8e3d05713f4d82895a489
8b434681a6e7b2cae1452f1932d59c069236e9d2:
title: 'x86/purgatory: Switch to the position-independent small code model'
mainline: cba786af84a0f9716204e09f518ce3b7ada8555e
skipped: fixes patch not in branch
569da482fdec15251ff113462717182d85bd1665:
title: 'wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()'
mainline: c511a9c12674d246916bb16c479d496b76983193
backport: 6541bba29a4584f20a372e98ca07659b1b971c3e
7020f6ad57cfd532a106542c2015710170270d21:
title: 'wifi: ath10k: populate board data for WCN3990'
mainline: f1f1b5b055c9f27a2f90fd0f0521f5920e9b3c18
skipped: fixes patch not in branch
880897e8a5ade054a04575e5d8cc2666da415ab4:
title: 'macintosh/via-macii: Remove BUG_ON assertions'
mainline: 5f93d7081a47e1972031ccf57c4b2779eee162fb
backport: d85d76f39ef8f74c3ce4b2084bc1d56b90f808ce
d0aa752285c9a35ee1ae0f2a4da10c5ceb6c09b6:
title: 'macintosh/via-macii, macintosh/adb-iop: Clean up whitespace'
mainline: 47fd2060660e62b169990a6fcd9eb61bc1a85c5c
backport: fad0ed0dd7bf14e6c89489e1db0486828e45f563
e4ff8bcfb2841fe4e17e5901578b632adb89036d:
title: 'macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"'
mainline: d301a71c76ee4c384b4e03cdc320a55f5cf1df05
backport: 82b5124ff8448c3b27d5cf963d835806a4ec8726
eb0f2fc3ff5806cc572cd9055ce7c52a01e97645:
title: 'wifi: carl9170: add a proper sanity check for endpoints'
mainline: b6dd09b3dac89b45d1ea3e3bd035a3859c0369a0
backport: e6c959db704b9f17b53d0d695ac791ddb180649b
79ddf5f2020fd593d50f1363bb5131283d74f78f:
title: 'wifi: ar5523: enable proper endpoint verification'
mainline: e120b6388d7d88635d67dcae6483f39c37111850
backport: 0e282a437be278b5a28b5de56553710ca304877a
8ed15460d8bbc517bf54b24c7694e6c0ff174968:
title: 'sh: kprobes: Merge arch_copy_kprobe() into arch_prepare_kprobe()'
mainline: 1422ae080b66134fe192082d9b721ab7bd93fcc5
backport: 08d55870d721795f5ca9affb641a9d77a5cde478
3c37203af733254154602273a970cfb7400c223e:
title: 'Revert "sh: Handle calling csum_partial with misaligned data"'
mainline: b5319c96292ff877f6b58d349acf0a9dc8d3b454
backport: 3d986276f8b5fa0dc170e1b35f0659b9ba4b2cd0
481fc0c8617304a67649027c4a44723a139a0462:
title: 'scsi: bfa: Ensure the copied buf is NUL terminated'
mainline: 13d0cecb4626fae67c00c84d3c7851f6b62f7df3
backport: 2461969d18d1b3a8ca40c5203819221813d2fa47
1f84a2744ad813be23fc4be99fb74bfb24aadb95:
title: 'scsi: qedf: Ensure the copied buf is NUL terminated'
mainline: d0184a375ee797eb657d74861ba0935b6e405c62
backport: c2d34a41a30021d6947d93dee2373e98416296b8
6bc4e51e8d8451d40ec092d01119287af2acffcf:
title: 'wifi: mwl8k: initialize cmd->addr[] properly'
mainline: 1d60eabb82694e58543e2b6366dae3e7465892a5
backport: ceee9c23ca78be8cbe0b677623554c14da4a8ffe
c0aff9978bb6ead0aec382a2645a563a3dd2df38:
title: 'net: usb: sr9700: stop lying about skb->truesize'
mainline: 05417aa9c0c038da2464a0c504b9d4f99814a23b
backport: 2341a1b273189a5673cfbb6a5badecca8e25d24a
2a8d1d95302c7d52c6ac8fa5cb4a6948ae0d3a14:
title: 'm68k: Fix spinlock race in kernel thread creation'
mainline: da89ce46f02470ef08f0f580755d14d547da59ed
backport: 314fdca9aa1eac5417fd9621bf4ebbacfd100e75
c96430d59c71a0e5c641b5267ccf141c501fe15e:
title: 'm68k/mac: Use ''030 reset method on SE/30'
mainline: 9c0e91f6b701dce6902408d50c4df9cebe4744f5
backport: 4e23b79c4b130dd3049e3c0001d4926dcfacded5
8055e882c57031a5ca7fbf278796c19ded9f9d6f:
title: 'm68k: mac: Fix reboot hang on Mac IIci'
mainline: 265a3b322df9a973ff1fc63da70af456ab6ae1d6
backport: 3d47f159d4991609f1a71bb15683f1b8cac8d2a8
0a60bdd5ac8a51ac9c04bd19fee30c1c4f178dc3:
title: 'net: ethernet: cortina: Locking fixes'
mainline: 812552808f7ff71133fc59768cdc253c5b8ca1bf
skipped: fixes patch not in branch
fca6072e1a7b1e709ada5604b951513b89b4bd0a:
title: 'af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg'
mainline: 540bf24fba16b88c1b3b9353927204b4f1074e25
backport: be1d9f0e9de4ae6b3c0baed5547aa84be06f6548
1010b50b2ebaaa863baeba7572267ac39bbb7adb:
title: 'net: usb: smsc95xx: stop lying about skb->truesize'
mainline: d50729f1d60bca822ef6d9c1a5fb28d486bd7593
backport: 16d0a15317ccdd42565ee3b0b4414f7134f414ba
6a51ac92bf35d34b4996d6eb67e2fe469f573b11:
title: 'net: openvswitch: fix overwriting ct original tuple for ICMPv6'
mainline: 7c988176b6c16c516474f6fceebe0f055af5eb56
backport: d84c07f0a36edfbb017f66723aff19b75408ec6a
9acb7ed4ff0e57b29326768aa8780f2ba2310090:
title: 'ipv6: sr: add missing seg6_local_exit'
mainline: 3321687e321307629c71b664225b861ebf3e5753
backport: e990bf08d73df105508439d775a40706fa34e4da
d55cf7ced48c5054a79829a0b14203710006a277:
title: 'ipv6: sr: fix incorrect unregister order'
mainline: 6e370a771d2985107e82d0f6174381c1acb49c20
backport: 32cc76dc98c3a167b25dfe1548848036fc07d834
10610575a3ac2a702bf5c57aa931beaf847949c7:
title: 'ipv6: sr: fix invalid unregister error path'
mainline: 160e9d2752181fcf18c662e74022d77d3164cd45
backport: a7eb748e89ec4c74a795fd32380019f21ae75895
604c506ca43fce52bb882cff9c1fdf2ec3b4029c:
title: 'drm/amd/display: Fix potential index out of bounds in color transformation function'
mainline: 63ae548f1054a0b71678d0349c7dc9628ddd42ca
skipped: fixes patch not in branch
80850a39e2548988f4feae26f3fd66286b460278:
title: 'mtd: rawnand: hynix: fixed typo'
mainline: 6819db94e1cd3ce24a432f3616cd563ed0c4eaba
backport: 73bc0203a1791e5252c190a016d46502406d53f0
f6100ea560ed320a397d99aad6ad6918f0f1a70a:
title: 'fbdev: shmobile: fix snprintf truncation'
mainline: 26c8cfb9d1e4b252336d23dd5127a8cbed414a32
backport: 4ba8a5fa126c85d319a0f1c773a15c04dde7d74c
79078880795478d551a05acc41f957700030d364:
title: 'drm/mediatek: Add 0 size check to mtk_drm_gem_obj'
mainline: 1e4350095e8ab2577ee05f8c3b044e661b5af9a0
backport: 43f9acac76b1661328292b13c57936252536a7ee
b798cfeea12ebfd74c4bba511deb02956c97789e:
title: 'powerpc/fsl-soc: hide unused const variable'
mainline: 01acaf3aa75e1641442cc23d8fe0a7bb4226efb1
backport: 27a754ac9d1b146c6690b8cc566be4df02028430
6891334b1458739701885fef2909daef754654fa:
title: 'fbdev: sisfb: hide unused variables'
mainline: 688cf598665851b9e8cb5083ff1d208ce43d10ff
skipped: fixes patch not in branch
7394bab35c51cead246ef50d8c2e699e36032aed:
title: 'media: ngene: Add dvb_ca_en50221_init return value check'
mainline: 9bb1fd7eddcab2d28cfc11eb20f1029154dac718
backport: a36a6656bdcc519ee8206e91a484c9545e41c428
cbc12c9693fad0545fb0e753d78979026ae0772a:
title: 'media: radio-shark2: Avoid led_names truncations'
mainline: 1820e16a3019b6258e6009d34432946a6ddd0a90
backport: 83fe7e17269e69bb85c5dcde3543fe69a7d14907
74bafc897cb6c83b29c66cb39e82936204a5e51f:
title: 'fbdev: sh7760fb: allow modular build'
mainline: 51084f89d687e14d96278241e5200cde4b0985c7
backport: d1bafe8dbdd69b5b94c648616261b10f89e9e634
b6cc5dd06336ed8bb3a7a1fc5aaf7d5e88bc0818:
title: 'drm/arm/malidp: fix a possible null pointer dereference'
mainline: a1f95aede6285dba6dd036d907196f35ae3a11ea
skipped: fixes patch not in branch
60c68092723ea420215e9c3d5530038bc6568739:
title: 'ASoC: tracing: Export SND_SOC_DAPM_DIR_OUT to its value'
mainline: 58300f8d6a48e58d1843199be743f819e2791ea3
backport: 8b76f73f5124b83712d6cdcb3ef990263e40c5f0
9b7b7f640f078cfe90319190b59efcde3acc1952:
title: 'RDMA/hns: Use complete parentheses in macros'
mainline: 4125269bb9b22e1d8cdf4412c81be8074dbc61ca
skipped: fixes patch not in branch
ef10bbdf4d59a98cf57ddf943756f14ef3cdbccd:
title: 'x86/insn: Fix PUSH instruction in x86 instruction decoder opcode map'
mainline: 59162e0c11d7257cde15f907d19fefe26da66692
backport: e39747d5b28a334d3aa4a7d53db14f9f30390923
1f9e32f9ea3454f79d80c8af7fac54843beba7f6:
title: 'ext4: avoid excessive credit estimate in ext4_tmpfile()'
mainline: 35a1f12f0ca857fee1d7a04ef52cbd5f1f84de13
backport: 668cfe934e0081e60581269d5afab127489cdfda
ab8466d4e26806a4ae82c282762c4545eecf45ef:
title: 'SUNRPC: Fix gss_free_in_token_pages()'
mainline: bafa6b4d95d97877baa61883ff90f7e374427fae
skipped: fixes patch not in branch
32b0469d13ebeb008b39613eb5acf529a10e0bde:
title: 'selftests/kcmp: Make the test output consistent and clear'
mainline: ff682226a353d88ffa5db9c2a9b945066776311e
backport: 0f0c8dcfaaff549a0397d3e63ec093c2ff6d602d
24331545d6ff749a8dbfb09925af86e8cc50dad5:
title: 'selftests/kcmp: remove unused open mode'
mainline: eb59a58113717df04b8a8229befd8ab1e5dbf86e
backport: eea262830c62f8856fed4c532b5598f83c2972a9
b469345f1fca84bed4dea3cae85faa401cf9bf3e:
title: 'RDMA/IPoIB: Fix format truncation compilation errors'
mainline: 49ca2b2ef3d003402584c68ae7b3055ba72e750a
backport: 183cb1a936e35c5ae205498945addd70a31a61e0
b9d663fbf74290cb68fbc66ae4367bd56837ad1d:
title: 'netrom: fix possible dead-lock in nr_rt_ioctl()'
mainline: e03e7f20ebf7e1611d40d1fdc1bde900fd3335f6
backport: 08f41b353c1621f65bd6f61aa5f5aed2fc1feb11
4f3ae7d846b4565c0b80d65ed607c3277bc984d4:
title: 'af_packet: do not call packet_read_pending() from tpacket_destruct_skb()'
mainline: 581073f626e387d3e7eed55c48c8495584ead7ba
backport: 79417a25cb5eb9644fe89e5aae703a6b591669d5
046daa54c348ccec12ab38b92923060dd09ef00b:
title: 'sched/topology: Don''t set SD_BALANCE_WAKE on cpuset domain relax'
mainline: 9ae7ab20b4835dbea0e5fc6a5c70171dc354a72e
backport: 03baaba21b3291e6300e4fafb8d2849f0389de3d
454de5ed81766fbbf4777c43392d8b0b35e7e16d:
title: 'sched/fair: Allow disabling sched_balance_newidle with sched_relax_domain_level'
mainline: a1fd0b9d751f840df23ef0e75b691fc00cfd4743
backport: cd212b4b364b6efe32441d764cabaef2402c8eba
8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b:
title: 'greybus: lights: check return of get_channel_from_mode'
mainline: a1ba19a1ae7cd1e324685ded4ab563e78fe68648
backport: 8d680792eafdefb9e3e547a305a505da085932ff
12c70cc851b263b8cc9479a23488992eeb4c35e6:
title: 'dmaengine: idma64: Add check for dma_set_max_seg_size'
mainline: 2b1c1cf08a0addb6df42f16b37133dc7a351de29
backport: 0d0f766835c349005332fd8e7b296660a7d6a65a
20595142ca22ac2c8357564d9e7d52a0ffa471af:
title: 'firmware: dmi-id: add a release callback function'
mainline: cf770af5645a41a753c55a053fa1237105b0964a
backport: e9c8e448b86118386e2aed7e3bb0e02fdbb68d14
44b38924135d2093e2ec1812969464845dd66dc9:
title: 'serial: max3100: Lock port->lock when calling uart_handle_cts_change()'
mainline: 77ab53371a2066fdf9b895246505f5ef5a4b5d47
backport: bcbacbcfd59ba38747a001592ffb3aae1118e5de
21a61a7fbcfdd3493cede43ebc7c4dfae2147a8b:
title: 'serial: max3100: Update uart_driver_registered on driver removal'
mainline: 712a1fcb38dc7cac6da63ee79a88708fbf9c45ec
backport: c6cf8b544d9ca71186322b2ede24e7ded577381a
2ae8d5726526c05452aff0444b0f305fdf89a32d:
title: 'serial: max3100: Fix bitwise types'
mainline: e60955dbecb97f080848a57524827e2db29c70fd
backport: 647c442cedd75f319c8ce8dc039c2d7baec68317
22e65ed6799f2bfd059d633890d6c7ebe46abc9b:
title: 'greybus: arche-ctrl: move device table to its right location'
mainline: 6a0b8c0da8d8d418cde6894a104cf74e6098ddfa
backport: 89f965ae0a3f751235963e2597c63fd9ce035113
2822594f2dac6e493379885cef54fd179d8de8c5:
title: 'microblaze: Remove gcc flag for non existing early_printk.c file'
mainline: edc66cf0c4164aa3daf6cc55e970bb94383a6a57
skipped: fixes patch not in branch
d481ddb83d2d92c31479cdfaa7fdd97a73697992:
title: 'microblaze: Remove early printk call from cpuinfo-static.c'
mainline: 58d647506c92ccd3cfa0c453c68ddd14f40bf06f
skipped: fixes patch not in branch
a646645af00f65db78fe4a60f753f2b07df35b6e:
title: 'usb: gadget: u_audio: Clear uac pointer when freed.'
mainline: a2cf936ebef291ef7395172b9e2f624779fb6dc0
backport: 0328af15e33a89109f97c8abcce2119896607fb4
6cc30ef8eb6d8f8d6df43152264bbf8835d99931:
title: 'stm class: Fix a double free in stm_register_device()'
mainline: 3df463865ba42b8f88a590326f4c9ea17a1ce459
backport: 5bbc7d325cef8fbd593fd8e71f12343c47028be1
1e4805ba1b7800f2acfdd0b2e6588e4b64d6c493:
title: 'ppdev: Remove usage of the deprecated ida_simple_xx() API'
mainline: d8407f71ebeaeb6f50bd89791837873e44609708
skipped: new API does not exist in 4.14
65cd017d43f4319a56747d38308b0a24cf57299e:
title: 'ppdev: Add an error check in register_device'
mainline: fbf740aeb86a4fe82ad158d26d711f2f3be79b3e
backport: 16e15c7fd21ec24f98668e5a7bf28ef5c1a0fcaa
b463819e3725b60c550145df952080b5d0fe85a7:
title: 'extcon: max8997: select IRQ_DOMAIN instead of depending on it'
mainline: b1781d0a1458070d40134e4f3412ec9d70099bec
backport: d1e6203d776319b888b57b1176df438ee85e67f7
3506e1b893b5c2afa96922f36a01f018e4c4bbba:
title: 'f2fs: add error prints for debugging mount failure'
mainline: 9227d5227b8db354d386f592f159eaa44db1c0b8
backport: 46dc390d5714351d5b798312f8edf666e327a1ef
bc14bb3ef307947fc3110bca8a34a85a63300b6c:
title: 'f2fs: fix to release node block count in error path of f2fs_new_node_page()'
mainline: 0fa4e57c1db263effd72d2149d4e21da0055c316
skipped: fixes patch not in branch
82b6263b330a2b94a0b1d5c5d5543db7e24340ec:
title: 'serial: sh-sci: Extract sci_dma_rx_chan_invalidate()'
mainline: 11b3770d54b28dcd905155a6d4aa551187ff00eb
skipped: dependency for a patch not needed for 4.14.y
03023fd058fab714309a8d91ccdf1b3c5bb816d3:
title: 'serial: sh-sci: protect invalidating RXDMA on shutdown'
mainline: aae20f6e34cd0cbd67a1d0e5877561c40109a81b
skipped: fixes patch not in branch
3625187a973f16a3df59b803297816fe51d32400:
title: 'libsubcmd: Fix parse-options memory leak'
mainline: 230a7a71f92212e723fa435d4ca5922de33ec88a
backport: 3fa32fd0a2737a59698613854994f72051a6d4bb
502f295dcccf0ee7c4bddcf1ff2876987aaf89ca:
title: 'Input: ims-pcu - fix printf string overflow'
mainline: bf32bceedd0453c70d9d022e2e29f98e446d7161
backport: 41c0d9061a68f5979e3244c26854cef37d91382b
fd4bb5284d34687c82356f07efe957af89ee51fe:
title: 'Input: pm8xxx-vibrator - correct VIB_MAX_LEVELS calculation'
mainline: 48c0687a322d54ac7e7a685c0b6db78d78f593af
backport: 7dfc577218ae7aeeadc5bdffe5727d57337904ee
732e700a1689fbdb8ac94faeb7765e81456b0a95:
title: 'drm/msm/dpu: use kms stored hw mdp block'
mainline: 57250ca5433306774e7f83b11503609ed1bf28cf
skipped: file is not in 4.14.y
d2640251f94078e1dcf0a26b1815601f6dbd5440:
title: 'um: Fix return value in ubd_init()'
mainline: 31a5990ed253a66712d7ddc29c92d297a991fdf2
backport: bb75c00bad0d04025b00991fe16db2fc0504ce58
66ea9a7c6824821476914bed21a476cd20094f33:
title: 'um: Add winch to winch_handlers before registering winch IRQ'
mainline: a0fbbd36c156b9f7b2276871d499c9943dfe5101
backport: 330646466ce0f4978524457d109ac80ece62c547
f6a392266276730bea893b55d12940e32a25f56a:
title: 'media: stk1160: fix bounds checking in stk1160_copy_video()'
mainline: faa4364bef2ec0060de381ff028d1d836600a381
backport: b7d9420c157cdb207a95dfc4a40edd116dedf355
f0f4cb4cc3f43324bab3b5541b27e79cbd15c8d1:
title: 'powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp'
mainline: 6d4341638516bf97b9a34947e0bd95035a8230a5
backport: cd05d6e21092d824ec4d37f39f7583310d0442fa
c08650c13bfc05794855480cc51075fdfcc388e0:
title: 'um: Fix the -Wmissing-prototypes warning for __switch_mm'
mainline: 2cbade17b18c0f0fd9963f26c9fc9b057eb1cb3a
backport: d6c506b111a38e5583e5bdd880cc0c04d7ef3948
896dfd4d74f84c854d3a24d889e54a44329d313e:
title: 'media: cec: cec-adap: always cancel work in cec_transmit_msg_fh'
mainline: 9fe2816816a3c765dff3b88af5b5c3d9bbb911ce
skipped: fixes patch not in branch
d2cfbc5298add5e0c6cfe8b343f73dfdf01c8b1c:
title: 'media: cec: cec-api: add locking in cec_release()'
mainline: 42bcaacae924bf18ae387c3f78c202df0b739292
backport: 75fd6535ba80c0726e31004af666d80a0b9c3df8
7471d0be031ab830a0fa154437601cff98f7068b:
title: 'null_blk: Fix the WARNING: modpost: missing MODULE_DESCRIPTION()'
mainline: 9e6727f824edcdb8fdd3e6e8a0862eb49546e1cd
backport: 9da7f2b727fd54add9890e238847acf82d6807a1
28a7a1f9571068bb2ddc8a11f0afe5dfa9863462:
title: 'x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y'
mainline: 66ee3636eddcc82ab82b539d08b85fb5ac1dff9b
backport: 4e00769cc5020fde90269bdd1e5c24302b0ba6ce
406cfac9debd4a6d3dc5d9258ee086372a8c08b6:
title: 'nfc: nci: Fix uninit-value in nci_rx_work'
mainline: e4a87abf588536d1cdfb128595e6e680af5cf3ed
backport: 3327ed68607e86e489af26305145830bf3f299a6
afd5730969aec960a2fee4e5ee839a6014643976:
title: 'ipv6: sr: fix memleak in seg6_hmac_init_algo'
mainline: efb9f4f19f8e37fde43dfecebc80292d179f56c6
backport: 2d5acfc9e45f4597b931857dd92d2f29d2382ad7
459de98d7a6b3d504b5e8664f32f59a306dd425c:
title: 'params: lift param_set_uint_minmax to common code'
mainline: 2a14c9ae15a38148484a128b84bff7e9ffd90d68
backport: 45e0b129726564750a58c06f1b4060b23f158960
06d0fe049b51b0a92a70df8333fd85c4ba3eb2c6:
title: 'tcp: Fix shift-out-of-bounds in dctcp_update_alpha().'
mainline: 3ebc46ca8675de6378e3f8f40768e180bb8afa66
backport: cf1096a1c8e1905df5e69949153c2598060457f0
62a95de44a9bc006e01b0afa1b1e8868dc6de9d1:
title: 'openvswitch: Set the skbuff pkt_type for proper pmtud support.'
mainline: 30a92c9e3d6b073932762bef2ac66f4ee784c657
backport: a629b0579dee6b041fdcad1859fa9f6a86da4ced
f221bd58db0f6ca087ac0392284f6bce21f4f8ea:
title: 'arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY'
mainline: ffbf4fb9b5c12ff878a10ea17997147ea4ebea6f
backport: 0374a08aa5206c6200a88e0a122500dfd1d195f0
cb7a7c8144b434e06aba99b13b045a7efe859587:
title: 'virtio: delete vq in vp_find_vqs_msix() when request_irq() fails'
mainline: 89875151fccdd024d571aa884ea97a0128b968b6
backport: 63c5945dbfcb8b6f4c260aef57172893a15ebbb3
4e4efb8f1b275e85c5c7f69087e392dbae437a8d:
title: 'net: fec: avoid lock evasion when reading pps_enable'
mainline: 3b1c92f8e5371700fada307cc8fd2c51fa7bc8c1
backport: 76ff93a5ccf6378571ba77875039f77752ac8a33
c6c938ef515733a1c7af2c87dbc23138f402ba97:
title: 'nfc: nci: Fix kcov check in nci_rx_work()'
mainline: 19e35f24750ddf860c51e51c68cf07ea181b4881
backport: 3267e236cb890a2ff6450ba831f3ad66386d6c4b
8f02d494cebae48dbd14c582ad4b36846e211b6a:
title: 'nfc: nci: Fix handling of zero-length payload packets in nci_rx_work()'
mainline: 6671e352497ca4bb07a96c48e03907065ff77d8a
backport: 1a7a9cc0bb2c966cb7edee4a47dc81053e9030d8
8658bd777cbfcb0c13df23d0ea120e70517761b9:
title: 'netfilter: nfnetlink_queue: acquire rcu_read_lock() in instance_destroy_rcu()'
mainline: dc21c6cc3d6986d938efbf95de62473982c98dec
backport: ac335a5fe30958ed4c81fac6b76e4b6c77f6f95d
c7893975764ba3b7a58a186f63dae188f7eddb18:
title: 'spi: Don''t mark message DMA mapped when no transfer in it is'
mainline: 9f788ba457b45b0ce422943fcec9fa35c4587764
backport: 0a359294f4d22e037ff38999b1fdaa688aab6e5f
36a935c8785a9ca95b094440a0450cd56b90e70c:
title: 'nvmet: fix ns enable/disable possible hang'
mainline: f97914e35fd98b2b18fb8a092e0a0799f73afdfe
backport: 5584ee5ae01187bdcb286738c27d8cecf7c2b92d
19f9b6cb94eebb4ef2a4a6bca0ef595039d73e04:
title: 'net/mlx5e: Use rx_missed_errors instead of rx_dropped for reporting buffer exhaustion'
mainline: 5c74195d5dd977e97556e6fa76909b831c241230
backport: d6e67757cebbeb5857838f51e2c514a3c9fc5557
1ff116f68560a25656933d5a18e7619cb6773d8a:
title: 'dma-buf/sw-sync: don''t enable IRQ from sync_print_obj()'
mainline: b794918961516f667b0c745aebdfebbb8a98df39
backport: 5beeab6917b9b59ab2c15744b190b3ad93c58687
2b649d7e0cb42a660f0260ef25fd55fdc9c6c600:
title: 'enic: Validate length of nl attributes in enic_set_vf_port'
mainline: e8021b94b0412c37bcc79027c2e382086b6ce449
backport: 3d00c58ac6d7f0fa0882aafb5b1ca2c3c22838eb
eced17c8715d43ce16f61c5a6a49299fbf37c0a0:
title: 'smsc95xx: remove redundant function arguments'
mainline: 368be1ca28f66deba16627e2a02e78adedd023a6
backport: d7936abfc24afa29d587b2bdd0829092dc478ebf
bcc526fec891dee22162082b1beeb9068b9eabb0:
title: 'smsc95xx: use usbnet->driver_priv'
mainline: ad90a73f0236c41f7a2dedc2e75c7b5a364eb93e
backport: 17ddb0fdf87c7f3f7c07e2721f688301411d2792
85b6bcf9d5e332aa9c4b7820cb3aa748c3df6a80:
title: 'net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM'
mainline: 52a2f0608366a629d43dacd3191039c95fef74ba
backport: e0bd5cab3be56a1437e713a5411c458b80fa039c
416b0756721dcee2bb6227a4403e694011c32874:
title: 'net:fec: Add fec_enet_deinit()'
mainline: bf0497f53c8535f99b72041529d3f7708a6e2c0d
backport: 4c2d953d579bbc6018f916d7474ca42a0ea2471f
6bfda3ef7f6a2c1de30e70d67e901aa966f40c17:
title: 'kconfig: fix comparison to constant symbols, ''m'', ''n'''
mainline: aabdc960a283ba78086b0bf66ee74326f49e218e
backport: c00f30ffce7c99732b9610771908b84af2f7e95a
0049a623dfbbb49888de7f0c2f33a582b5ead989:
title: 'ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound'
mainline: b3dc6e8003b500861fa307e9a3400c52e78e4d3a
backport: 3a016fed8503f04152b170bc324fd7fbbfb155e4
68396c825c43664b20a3a1ba546844deb2b4e48f:
title: 'ALSA: timer: Set lower bound of start tick time'
mainline: 4a63bd179fa8d3fcc44a0d9d71d941ddd62f0c4e
backport: 804b59ac965568b4ac7b1788ba8b3b324e362693
a40209d355afe4ed6d533507838c9e5cd70a76d8:
title: 'genirq/cpuhotplug, x86/vector: Prevent vector leak during CPU offline'
mainline: a6c11c0a5235fb144a65e0cb2ffd360ddc1f6c32
skipped: too risky to backport
57ff6c0a175930856213b2aa39f8c845a53e5b1c:
title: 'SUNRPC: Fix loop termination condition in gss_free_in_token_pages()'
mainline: 4a77c3dead97339478c7422eb07bf4bf63577008
skipped: fixes patch not in branch
c437184be3c16f7123e5c59b4c85c1101f4dc96b:
title: 'binder: fix max_thread type inconsistency'
mainline: 42316941335644a98335f209daafa4c122f28983
backport: f642f364e2b4e4302e6b41f1583603a9be83baef
bda1d354bef71be32aaf2c5e6b96eef854b3dd4e:
title: 'mmc: core: Do not force a retune before RPMB switch'
mainline: 67380251e8bbd3302c64fea07f95c31971b91c22
backport: 5584cc5bd6c850f9738f7b249be3d298f0012a16
822ae5a8eac30478578a75f7e064f0584931bf2d:
title: 'nilfs2: fix use-after-free of timer for log writer thread'
mainline: f5d4e04634c9cf68bdf23de08ada0bb92e8befe7
backport: 705fabd9032429d644eee84edc1d45f740edcc81
f6141cbc2b5af521b1711e95363302b858a38729:
title: 'vxlan: Fix regression when dropping packets due to invalid src addresses'
mainline: 1cd4bc987abb2823836cbb8f887026011ccddc8a
backport: 7e6f3eaf97955faec6cf408b6404a35cf2c82ea0
f451d1a013fd585cbf70a65ca6b9cf3548bb039f:
title: 'neighbour: fix unaligned access to pneigh_entry'
mainline: ed779fe4c9b5a20b4ab4fd6f3e19807445bb78c7
backport: 34358bf261de42b079db6cbd5ae3b074282cd00f
21604179f67bd484790c296565bdc38f7a40fe35:
title: 'ata: pata_legacy: make legacy_exit() work again'
mainline: d4a89339f17c87c4990070e9116462d16e75894f
backport: 792524d8e1b344cedcb40983a8756d4793a22e9e
40f76e72ec0ebe27dcff9bfd5de8e65e1a2b8939:
title: 'arm64: tegra: Correct Tegra132 I2C alias'
mainline: 2633c58e1354d7de2c8e7be8bdb6f68a0a01bad7
backport: aa9c43942fc69f5e652d6b4f68e0e2bf75868c7e
b32aa95843cac6b12c2c014d40fca18aef24a347:
title: 'md/raid5: fix deadlock that raid5d() wait for itself to clear MD_SB_CHANGE_PENDING'
mainline: 151f66bb618d1fd0eeb84acb61b4a9fa5d8bb0fa
backport: d7263704edf4ee2783b116f64f407752d5b2f2bf
e9b77b537a198235a518f71a274348afd1288467:
title: 'wifi: rtl8xxxu: Fix the TX power of RTL8192CU, RTL8723AU'
mainline: 08b5d052d17a89bb8706b2888277d0b682dc1610
skipped: u32_get_bits() does not build
26e62b983a31b304733fb21f4b576a4a1e171297:
title: 'arm64: dts: hi3798cv200: fix the size of GICR'
mainline: 428a575dc9038846ad259466d5ba109858c0a023
backport: 964fdd7feb56e40a55b89328877b0a7103bb4084
772f5e31ed2d6bc5e8698394e4d13b298060c74a:
title: 'media: mxl5xx: Move xpt structures off stack'
mainline: 526f4527545b2d4ce0733733929fac7b6da09ac6
backport: 35d3fa1859980a84c64c51b04a2ac57ffe5af109
1ea3de272f5cc7603610b96316f9ed07bec6c2d0:
title: 'media: v4l2-core: hold videodev_lock until dev reg, finishes'
mainline: 1ed4477f2ea4743e7c5e1f9f3722152d14e6eeb1
backport: 2046df24d6472a520a62d52a72d84d180b3e363c
be754cbd77eaf2932408a4e18532e4945274a5c7:
title: 'fbdev: savage: Handle err return when savagefb_check_var failed'
mainline: 6ad959b6703e2c4c5d7af03b4cfd5ff608036339
backport: 293140832f7230044b5f6888d0110714f51b554f
525561faa075cb49905783fd3e4e16b66b218846:
title: 'netfilter: nf_tables: pass context to nft_set_destroy()'
mainline: 0c2a85edd143162b3a698f31e94bf8cdc041da87
backport: c4af59f2d8336214168c4e0778a1a0a62afcbdc4
68b10f33a37e942bdc06b9cb313ad4e1b1f612e8:
title: 'netfilter: nftables: rename set element data activation/deactivation functions'
mainline: f8bb7889af58d8e74d2d61c76b1418230f1610fa
backport: b42c75cd69307b546b719cc59fb421a7c80a980f
bc9f791d2593f17e39f87c6e2b3a36549a3705b1:
title: 'netfilter: nf_tables: drop map element references from preparation phase'
mainline: 628bd3e49cba1c066228e23d71a852c23e26da73
backport: 50bfcb0af95ae860d93c151604451b9a10af6e06
c6d5477753caa9ab0c5c043bf5d0fad29d1e596d:
title: 'netfilter: nft_set_rbtree: allow loose matching of closing element in interval'
mainline: 3b18d5eba491b2328b31efa4235724a2354af010
skipped: fixes patch not in branch
1302ba27fdc84ba0786301575dbcd2e1eddbcdc0:
title: 'netfilter: nft_set_rbtree: Add missing expired checks'
mainline: 340eaff651160234bdbce07ef34b92a8e45cd540
skipped: fixes patch not in branch
7ab87a326f20c52ff4d9972052d085be951c704b:
title: 'netfilter: nft_set_rbtree: Switch to node list walk for overlap detection'
mainline: c9e6978e2725a7d4b6cd23b2facd3f11422c0643
skipped: fixes patch not in branch
b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56:
title: 'netfilter: nft_set_rbtree: fix null deref on element insertion'
mainline: 61ae320a29b0540c16931816299eb86bf2b66c08
skipped: fixes patch not in branch
8284a79136c384059e85e278da2210b809730287:
title: 'netfilter: nft_set_rbtree: fix overlap expiration walk'
mainline: f718863aca469a109895cb855e6b81fff4827d71
skipped: fixes patch not in branch
94313a196b44184b5b52c1876da6a537701b425a:
title: 'netfilter: nf_tables: don''t skip expired elements during walk'
mainline: 24138933b97b055d486e8064b4a1721702442a9b
backport: 4538b02484e4c2d0c016ca190c5219fd97f932fb
8da1b048f9a501d3d7d38c188ba09d7d0d5b8c27:
title: 'netfilter: nf_tables: GC transaction API to avoid race with control plane'
mainline: 5f68718b34a531a556f2f50300ead2862278da26
skipped: too risky to backport
cb4d00b563675ba8ff6ef94b077f58d816f68ba3:
title: 'netfilter: nf_tables: adapt set backend to use GC transaction API'
mainline: f6c383b8c31a93752a52697f8430a71dcbc46adf
skipped: too risky to backport
a35a20e083be2b507c30cc216b59d1a57f381d9b:
title: 'netfilter: nf_tables: remove busy mark and gc batch API'
mainline: a2dd0233cbc4d8a0abb5f64487487ffc9265beb5
skipped: too risky to backport
e7b86599fa945f3ce2bcbb95b4bbf1febbd3b087:
title: 'netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path'
mainline: 6a33d8b73dfac0a41f3877894b38082bd0c9a5bc
skipped: too risky to backport
9a3f450ed90c72b6b80fd6e8974cbe8683c7365f:
title: 'netfilter: nf_tables: GC transaction race with netns dismantle'
mainline: 02c6c24402bf1c1e986899c14ba22a10b510916b
skipped: too risky to backport
f85ca36090cbb252bcbc95fc74c2853fc792694f:
title: 'netfilter: nf_tables: GC transaction race with abort path'
mainline: 720344340fb9be2765bbaab7b292ece0a4570eae
skipped: too risky to backport
9c22bd1ab442c552e9481f1157589362887a7f47:
title: 'netfilter: nf_tables: defer gc run if previous batch is still pending'
mainline: 8e51830e29e12670b4c10df070a4ea4c9593e961
skipped: too risky to backport
9db9feb841f7449772f9393c16b9ef4536d8c127:
title: 'netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction'
mainline: 2ee52ae94baabf7ee09cf2a8d854b990dac5d0e4
skipped: too risky to backport
b3558703731028be2aee61baf341e53a3734e2a9:
title: 'netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention'
mainline: 96b33300fba880ec0eafcf3d82486f3463b4b6da
skipped: too risky to backport
b6a744ba74f2388034c422f57568451bb6111d00:
title: 'netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration'
mainline: b079155faae94e9b3ab9337e82100a914ebb4e8d
skipped: too risky to backport
7cf055b43756b10aa2b851c927c940f5ed652125:
title: 'netfilter: nf_tables: fix memleak when more than 255 elements expired'
mainline: cf5000a7787cbc10341091d37245a42c119d26c5
skipped: too risky to backport
88c795491bf45a8c08a0f94c9ca4f13722e51013:
title: 'netfilter: nf_tables: unregister flowtable hooks on netns exit'
mainline: 6069da443bf65f513bb507bb21e2f87cfb1ad0b6
skipped: fixes patch not in branch
c73955a09408e7374d9abfd0e78ce3de9cda0635:
title: 'netfilter: nf_tables: double hook unregistration in netns path'
mainline: f9a43007d3f7ba76d5e7f9421094f00f2ef202f8
skipped: fixes patch not in branch
2565d90ab654f775d8865512f2a6aa3940182038:
title: 'netfilter: nftables: update table flags from the commit phase'
mainline: 0ce7cf4127f14078ca598ba9700d813178a59409
skipped: too risky to backport
bf8083bbf8fa202e6e5316bbd99759ab82bfe7a3:
title: 'netfilter: nf_tables: fix table flag updates'
mainline: 179d9ba5559a756f4322583388b3213fe4e391b0
skipped: too risky to backport
746523b4a3927fb922c82a6e997c4d1ba74c7f13:
title: 'netfilter: nf_tables: disable toggling dormant table state more than once'
mainline: c9bd26513b3a11b3adb3c2ed8a31a01a87173ff1
skipped: too risky to backport
a118e0d82bb4b7760db8f704c05e2b8713b9bcc1:
title: 'netfilter: nf_tables: bogus EBUSY when deleting flowtable after flush (for 4.19)'
6a67f972de8994ee1c3092b19b6f5569b66b9904:
title: 'netfilter: nft_dynset: fix timeouts later than 23 days'
mainline: 917d80d376ffbaa9725fde9e3c0282f63643f278
skipped: too risky to backport
28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a:
title: 'netfilter: nftables: exthdr: fix 4-byte stack OOB write'
mainline: fd94d9dadee58e09b49075240fe83423eb1dcd36
skipped: commit is already present in branch
c5c4746c8cd6d049dcbf39c811172c917ea6fb6e:
title: 'netfilter: nft_dynset: report EOPNOTSUPP on missing set feature'
mainline: 95cd4bca7b1f4a25810f3ddfc5e767fb46931789
backport: ea71b10a3d18e5589f44b836a83003a6e741d6bb
79e98cd78610560a6a6cf85200eb31331602f9a9:
title: 'netfilter: nft_dynset: relax superfluous check on set updates'
mainline: 7b1394892de8d95748d05e3ee41e85edb4abbfa1
backport: fa8b9918795f9be7f4ca95f5440acff86fe946db
451dc4678c1342fc5c3a2d23e1d8e120e58f6304:
title: 'netfilter: nf_tables: mark newset as dead on transaction abort'
mainline: 08e4c8c5919fd405a4d709b4ba43d836894a26eb
skipped: too risky to backport
18f1f50558e1736d34597fdf08554aee94f59405:
title: 'netfilter: nf_tables: skip dead set elements in netlink dump'
mainline: 6b1ca88e4bb63673dc9f9c7f23c899f22c3cb17a
skipped: too risky to backport
a5bbd579c81ffb9f65cb280fa89be9ec9c01029b:
title: 'netfilter: nf_tables: validate NFPROTO_* family'
mainline: d0009effa8862c20a13af4cb7475d9771b905693
skipped: too risky to backport
c60d252949caf9aba537525195edae6bbabc35eb:
title: 'netfilter: nft_set_rbtree: skip end interval element from gc'
mainline: 60c0c230c6f046da536d3df8b39a20b9a9fd6af0
skipped: fixes patch not in branch
a6411f3c48f991c19aaf9a24fce36865fbba28d7:
title: 'netfilter: nf_tables: set dormant flag on hook register failure'
mainline: bccebf64701735533c8db37773eeacc6566cc8ec
skipped: fixes issue not in 4.14
d8853cfe273c181b2e45528db7300536e860b758:
title: 'netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate()'
mainline: 7e0f122c65912740327e4c54472acaa5f85868cb
skipped: too risky to backport
845083249d6a392f3a88804e1669bdb936ee129f:
title: 'netfilter: nf_tables: do not compare internal table flags on updates'
mainline: 4a0e7f2decbf9bd72461226f1f5f7dcc4b08f139
skipped: too risky to backport
d75a589bb92af1abf3b779cfcd1977ca11b27033:
title: 'netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout'
mainline: 552705a3650bbf46a22b1adedc1b04181490fc36
skipped: too risky to backport
6d12f21f8bbe23fde25b77c2bf5973c136b8bef8:
title: 'netfilter: nf_tables: reject new basechain after table flag update'
mainline: 994209ddf4f430946f6247616b2e33d179243769
skipped: too risky to backport
e75faf01e22ec7dc671640fa0e0968964fafd2fc:
title: 'netfilter: nf_tables: discard table flag update with pending basechain deletion'
mainline: 1bc83a019bbe268be3526406245ec28c2458a518
skipped: too risky to backport
3c9ee8294728633e707c25fe0a321eeac1cc7515:
title: 'KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode'
mainline: dfe6d190f38fc5df5ff2614b463a5195a399c885
backport: 6658c1ef0cb35d3d594507db800cb44a54db4f75
0ce5964b82f212f4df6a9813f09a0b5de15bd9c8:
title: 'crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak'
mainline: d3b17c6d9dddc2db3670bc9be628b122416a3d26
backport: 9d5b95ce1488266fd3dc3951da6c8ce25c366ada
72c5d8e416ecc46af370a1340b3db5ff0b0cc867:
title: 'net/9p: fix uninit-value in p9_client_rpc()'
mainline: 25460d6f39024cc3b8241b14c7ccf0d6f11a736a
backport: 9a9a74f4cdb1295a5a854d2ca6cb87fc19048ef3
58c0309c73fe1e9c477ed4cc5d02fc9015336979:
title: 'intel_th: pci: Add Meteor Lake-S CPU support'
mainline: a4f813c3ec9d1c32bc402becd1f011b3904dd699
backport: 471ea347bb7d4b16dd62a6642efb111fa36f2da7
180b2e4c1ba4f6e3e4c52d6664cb019f6eac02f8:
title: 'sparc64: Fix number of online CPUs'
mainline: 98937707fea8375e8acea0aaa0b68a956dd52719
backport: 9f2edbc910b189e46e7ca3d17680e36fde63276d
fb824a99e148ff272a53d71d84122728b5f00992:
title: 'kdb: Fix buffer overflow during tab-complete'
mainline: e9730744bf3af04cda23799029342aa3cddbc454
backport: f751d9a9f3d6c01908cf9bc9d966a35ecc1a2f64
4edfbbaca46491b06af14e49dcb79ac661d0bbdc:
title: 'kdb: Use format-strings rather than ''\0'' injection in kdb_read()'
mainline: 09b35989421dfd5573f0b4683c7700a7483c71f9
backport: f990953b6d8d752849e6f682628d4632f051b7de
21c068c1bbb4c336741749596d004b1965faab2c:
title: 'kdb: Fix console handling when editing and tab-completing commands'
mainline: db2f9c7dc29114f531df4a425d0867d01e1f1e28
backport: fc2a098bc09c4f9968c93222902d72f518ec6953
4a89182788f9af9a290c19098382fb972ebe2783:
title: 'kdb: Merge identical case statements in kdb_read()'
mainline: 6244917f377bf64719551b58592a02a0336a7439
backport: 201f3d45deb9bcf1046483d72642d8457976c7a9
2467f3f182eb35627534effd4956fceb2504c127:
title: 'kdb: Use format-specifiers rather than memset() for padding in kdb_read()'
mainline: c9b51ddb66b1d96e4d364c088da0f1dfb004c574
backport: c89fb4fb7559ec8e3f74ecbc29ef856a47cc85d4
051c0bde9f0450a2ec3d62a86d2a0d2fad117f13:
title: 'net: fix __dst_negative_advice() race'
mainline: 92f1655aa2b2294d0b49925f3b875a634bd3b59e
skipped: fixes patch not in branch
980a1cd6e092eab9398a78f517809a7dacaa0468:
title: 'sparc: move struct termio to asm/termios.h'
mainline: c32d18e7942d7589b62e301eb426b32623366565
backport: 212ca5dd4286a76808254db293bd898a062b56e3
9ad75e78747b5a50dc5a52f0f8e92e920a653f16:
title: 'ext4: fix mb_cache_entry''s e_refcnt leak in ext4_xattr_block_cache_find()'
mainline: 0c0b4a49d3e7f49690a6827a41faeffad5df7e21
backport: 199f7d837409f78087fde12a33c486d4d866c16e
2062e3f1f2374102f8014d7ca286b9aa527bd558:
title: 's390/ap: Fix crash in AP internal function modify_bitmap()'
mainline: d4f9d5a99a3fd1b1c691b7a1a6f8f3f25f4116c9
skipped: depends on missing commit 3d8f60d38e249f989a7fca9c2370c31c3d5487e1
74ea538aa24490d7d259c881189bb58dbf1f692c:
title: 'nfs: fix undefined behavior in nfs_block_bits()'
mainline: 3c0a2e0b0ae661457c8505fecc7be5501aa7a715
backport: 593e234893f02097b207840c7c31b4d91b64ca14

View File

@@ -1,548 +0,0 @@
377dbb220edc8421b7960691876c5b3bef62f89b:
title: 'wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects'
mainline: b7d7f11a291830fdf69d3301075dd0fb347ced84
backport: a57e28b291e0ad50d1c6ceba6a7cb556fdf1faf6
e51637e0c66a6f72d134d9f95daa47ea62b43c7e:
title: 'wifi: mac80211: Fix deadlock in ieee80211_sta_ps_deliver_wakeup()'
mainline: 44c06bbde6443de206b30f513100b5670b23fc5e
backport: 9feb2600c4ba32c9fb136d7b5e16ca06c853ea8c
a238de1c3413870b2f0d2e41a56b335ede1f5977:
title: 'wifi: iwlwifi: mvm: revert gen2 TX A-MPDU size to 64'
mainline: 4a7aace2899711592327463c1a29ffee44fcc66e
skipped: fixes patch not in branch
15b37c6fab9d5e40ac399fa1c725118588ed649c:
title: 'wifi: iwlwifi: mvm: don''t read past the mfuart notifcation'
mainline: 4bb95f4535489ed830cf9b34b0a891e384d1aee4
backport: 79e590b3651e9074489976e737e7fc1255a6cd79
6330fe95e59bc1de5ad3ebd89e379d785c7c6fc0:
title: 'ipv6: sr: block BH in seg6_output_core() and seg6_input_core()'
mainline: c0b98ac1cc104f48763cdb27b1e9ac25fd81fc90
backport: 9ba19e227817b86f1032cc551912a049b62ba7e6
ddd44dc20554c38450204df47f8422c7fec78f2d:
title: 'vxlan: Fix regression when dropping packets due to invalid src addresses'
mainline: 1cd4bc987abb2823836cbb8f887026011ccddc8a
backport: 7c79a301b097797b8edd46b11a888a287e281f98
25dec34bfd770f444409b3228f90f64feb6804f6:
title: 'tcp: count CLOSE-WAIT sockets for TCP_MIB_CURRESTAB'
mainline: a46d0ea5c94205f40ecf912d1bb7806a8a64704f
backport: 54f3a87336ada67c8a8da26f7575d12c5ca85bfb
e468462fe0efdd233b6fd7b978e9911bb1eb8614:
title: 'ptp: Fix error message on failed pin verification'
mainline: 323a359f9b077f382f4483023d096a4d316fd135
backport: 7a5ce9a4d73421a553e354ee6eb5de1a3bffeae5
5c91a2f308cabf7cc0e30997455ac15926199987:
title: 'af_unix: Annotate data-race of sk->sk_state in unix_inq_len().'
mainline: 3a0f38eb285c8c2eead4b3230c7ac2983707599d
backport: 4379c4db8fa9f7d4adfdf7256277c96ac968a690
6b4dffb64e98b9eacc7c214056146d32642f7e8a:
title: 'af_unix: Annotate data-races around sk->sk_state in unix_write_space() and poll().'
mainline: eb0718fb3e97ad0d6f4529b810103451c90adf94
backport: 089da5e3914abb4806b03eff85aeb895c0ab860b
7cd9dd08be2482bd1015642b61d97a187af5a774:
title: 'af_unix: Annotate data-races around sk->sk_state in sendmsg() and recvmsg().'
mainline: 8a34d4e8d9742a24f74998f45a6a98edd923319b
backport: c6f96daa0536f49a7d624196dbc3defc536eacdb
123d798351c96a15456478558fccac0eb766f26d:
title: 'af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG.'
mainline: 0aa3be7b3e1f8f997312cc4705f8165e02806f8f
backport: cab04acca50227f3f27fb5616bee123fea171762
f5cf5e139ec736f1ac18cda8d5e5fc80d7eef787:
title: 'af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen.'
mainline: bd9f2d05731f6a112d0c7391a0d537bfc588dbe6
backport: 98e2f1cec1532524595d79af5c86ed370debd735
b56ff0d20a4a60b9e6424d0609acccbbde573ea8:
title: 'af_unix: Use unix_recvq_full_lockless() in unix_stream_connect().'
mainline: 45d872f0e65593176d880ec148f41ad7c02e40a7
backport: 15baad6e966a2478052b6e2efd0153a9e9a9e0c2
141826272a2cd16436f9b6c241cf88b72feddb3b:
title: 'af_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen().'
mainline: 5d915e584d8408211d4567c22685aae8820bfc55
backport: a8d1038ecf162678372a6f5686eabbf0c070ec91
9c2d206ddc697595ceb0e8e356c64f9e845a0c2f:
title: 'af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill().'
mainline: efaf24e30ec39ebbea9112227485805a48b0ceb1
backport: 669958a2bdd8b94c6bbe1df7c83feae7b844afb3
f71a53148ce34898fef099b75386a3a9f4449311:
title: 'usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete'
mainline: 24729b307eefcd7c476065cd7351c1a018082c19
backport: 77067622d8f27240f3e5438767cce7317f8b9c34
656068638e1da7728abde65760bc8e61106a9b34:
title: 'drm/amd/display: Handle Y carry-over in VCP X.Y calculation'
mainline: 3626a6aebe62ce7067cdc460c0c644e9445386bb
skipped: patched file is not in 4.14.y
9dcb6eb967fe778d1d985a709ac4030895603fc0:
title: 'serial: sc16is7xx: replace hardcoded divisor value with BIT() macro'
mainline: 2e57cefc4477659527f7adab1f87cdbf60ef1ae6
backport: 6c20d50e094e8b67aab06f29f7e97351bbfef601
2b14e818ef3e49741ee60a317554222c6af3a800:
title: 'serial: sc16is7xx: fix bug in sc16is7xx_set_baud() when using prescaler'
mainline: 8492bd91aa055907c67ef04f2b56f6dadd1f44bf
backport: f966c6e6aa0166c853782a705ae5389f8c6b24e7
d3f6dc1155a09bc2c212b734c3ff01a046490e92:
title: 'media: mc: mark the media devnode as registered from the, start'
mainline: 4bc60736154bc9e0e39d3b88918f5d3762ebe5e0
backport: 41d740fdbcb6d45f86ec6cd7238ba2ca38df8824
62b71327cf1af11ceb4a3f53ebf0c85cb9ad3db8:
title: 'selftests/mm: compaction_test: fix incorrect write of zero to nr_hugepages'
mainline: 9ad665ef55eaad1ead1406a58a34f615a7c18b5e
backport: fe9a3e689a0275a21eae214693dd7ddbdbb63cec
4a4f88dcf8b688db0cf527362ebf4db0d272a3f6:
title: 'selftests/mm: conform test to TAP format output'
mainline: 9a21701edc41465de56f97914741bfb7bfc2517d
backport: 75614587972465759b313027993c87e60eeb446f
4d5f7ab71a24f17311d361f47c61cc49064e1dd0:
title: 'selftests/mm: compaction_test: fix bogus test success on Aarch64'
mainline: d4202e66a4b1fe6968f17f9f09bbc30d08f028a1
backport: 6132af7d247da481d1f4e99c91f5fdc29961bce3
c158e493640ce76e76241f0529cebe19770ba5b2:
title: 'nilfs2: Remove check for PageError'
mainline: 79ea65563ad8aaab309d61eeb4d5019dd6cf5fa0
backport: 71bf6edd5d5c1384f56efcc445146a367f1e7c38
7ed62ec616a3441aa3859150d50fadf5fd117aa8:
title: 'nilfs2: return the mapped address from nilfs_get_page()'
mainline: 09a46acb3697e50548bb265afa1d79163659dd85
backport: 52c1c33e0dafbe82538c326d4a6144544e9501f4
2ac8a2fe22bdde9eecce2a42cf5cab79333fb428:
title: 'nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors'
mainline: 7373a51e7998b508af7136530f3a997b286ce81c
backport: c5682abd08cb2a8960de840d00ce1efc5066286e
217d1f44fff560b3995a685a60aa66e55a7f0f56:
title: 'USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages'
mainline: 22f00812862564b314784167a89f27b444f82a46
backport: ac2c307a0180583e260719f923ba2edabddea919
83c2321411d8bb8f832dbb482ea3387ac1322542:
title: 'mei: me: release irq in mei_me_pci_resume error path'
mainline: 283cb234ef95d94c61f59e1cd070cd9499b51292
backport: 6f5dcde17cd2c15cb9812b4441ab1ba7088ccf0c
f0dedb5c511ed82cbaff4997a8decf2351ba549f:
title: 'jfs: xattr: fix buffer overflow for invalid xattr'
mainline: 7c55b78818cfb732680c4a72ab270cc2d2ee3d0f
backport: 79cb0bb1b0e2cbed9eaec6f1fb7ce81baf278a39
a2ddc0475c4c6fff5b9eac0e0eb4726640925e1b:
title: 'xhci: Apply reset resume quirk to Etron EJ188 xHCI host'
mainline: 17bd54555c2aaecfdb38e2734149f684a73fa584
backport: b8b14f255f86c39eee93bc4fbc4c8f6c3f9da875
5c08d8bcc6f20965d665a6122a3fe60eba042e74:
title: 'xhci: Apply broken streams quirk to Etron EJ188 xHCI host'
mainline: 91f7a1524a92c70ffe264db8bdfa075f15bbbeb9
backport: 41c568e13eb14e46c634292e403a4652603b2d46
d9bbbbf1a2cac25fafa44ba09d2ab8f5365c0a06:
title: 'Input: try trimming too long modalias strings'
mainline: 0774d19038c496f0c3602fb505c43e1b2d8eed85
backport: abe1fafad8d912b27028e91a0040650149ab4ab8
beb99266830520e15fbc6ca8cc5a5240d76851fd:
title: 'xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RING'
mainline: 237f3cf13b20db183d3706d997eedc3c49eacd44
skipped: fixes patch not in branch
955b3764671f3f157215194972d9c01a3a4bd316:
title: 'HID: core: remove unnecessary WARN_ON() in implement()'
mainline: 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5
backport: c0be0c4967c8b988f9603c7b7cecc01379071c67
7f66540fcf6f8f66784f739c33f79d2889e95106:
title: 'iommu/amd: Fix sysfs leak in iommu init'
mainline: a295ec52c8624883885396fde7b4df1a179627c3
backport: 2cb6663051a21277c7bdf9695ad8a04fc6a5dc7a
87d6bdc006f0cbf297a3b2ad6e40ede4c3ee5dc2:
title: 'liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet'
mainline: c44711b78608c98a3e6b49ce91678cd0917d5349
skipped: fixes patch not in branch
3e0daaf28639c6fd22e96eb2f8772ad40e922ee7:
title: 'drm/bridge/panel: Fix runtime warning on panel bridge release'
mainline: ce62600c4dbee8d43b02277669dd91785a9b81d9
backport: b4722a9d958fe8bd54d0358650bf07b11ab91d4b
06f208ae0670ef97b0bf253a5523863e113026b6:
title: 'tcp: fix race in tcp_v6_syn_recv_sock()'
mainline: d37fe4255abe8e7b419b90c5847e8ec2b8debb08
backport: 291c8c1e9e291262f9179c0ba5cef2e49df4f142
a1f9c8328219b9bb2c29846d6c74ea981e60b5a7:
title: 'Bluetooth: L2CAP: Fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ'
mainline: 806a5198c05987b748b50f3d0c0cfb3d417381a4
backport: 9ae3694d9677f29e0d8e5bbb86841f69baae279d
f00c343be6f25a6a3736fd6b332c918da57d81d8:
title: 'ipv6/route: Add a missing check on proc_dointvec'
mainline: f0fb9b288d0a7e9cc324ae362e2dfd2cc2217ded
backport: fab190e5fcd0466de646405bf49ca7017bbdca31
ebde6e8a52c68dc45b4ae354e279ba74788579e7:
title: 'net/ipv6: Fix the RT cache flush via sysctl using a previous delay'
mainline: 14a20e5b4ad998793c5f43b0330d9e1388446cf3
backport: 04f57a8a33fef04d61ba56f8b4e830fe0cebc8f2
bb3641a5831789d83a58a39ed4a928bcbece7080:
title: 'drivers: core: synchronize really_probe() and dev_uevent()'
mainline: c0a40097f0bc81deafc15f9195d1fb54595cd6d0
backport: 82d942edbd8b21acbacd1d16eb3cb52d47404384
540ca99729e28dbe902b01039a3b4bd74520a819:
title: 'drm/exynos/vidi: fix memory leak in .get_modes()'
mainline: 38e3825631b1f314b21e3ade00b5a4d737eb054e
backport: 126c475927adda67084f403fee8ec76a853b70fc
58730dfbd4ae01c1b022b0d234a8bf8c02cdfb81:
title: 'vmci: prevent speculation leaks by sanitizing event in event_deliver()'
mainline: 8003f00d895310d409b2bf9ef907c56b42a4e0f4
backport: 37026b40b51170c1f9b052ef1b1cd19ec815c566
7bdf1d550ddfcd9ab797087421f77b7aceddc8a7:
title: 'fs/proc: fix softlockup in __read_vmcore'
mainline: 5cbcb62dddf5346077feb82b7b0c9254222d3445
backport: aaea44b590e4a5e853dcc48edbf8ffa6dc611490
f882e853ea33c1e4f7107387f85879139682b720:
title: 'ocfs2: use coarse time for new created files'
mainline: b8cb324277ee16f3eca3055b96fce4735a5a41c6
backport: c02663a1e56ea3793580a51e2ea012e198661ca1
3c26b5d21b1239e9c7fd31ba7d9b2d7bdbaa68d9:
title: 'ocfs2: fix races between hole punching and AIO+DIO'
mainline: 952b023f06a24b2ad6ba67304c4c84d45bea2f18
backport: db16f074c58fb04ccb5efd329bd001b3769662b2
1b6047e27f9b6c79518076a480cdccecf0b6afed:
title: 'PCI: rockchip-ep: Remove wrong mask on subsys_vendor_id'
mainline: 2dba285caba53f309d6060fca911b43d63f41697
skipped: fixes patch not in branch
5226e7062723bd5d4f1bd5e98ace7c1e6c015d57:
title: 'dmaengine: axi-dmac: fix possible race in remove()'
mainline: 1bc31444209c8efae98cb78818131950d9a6f4d6
backport: 7932419ef19393d4fc9b05a04583d8c31c2785e3
96185ee73d5cd28c2b19311c87536ffeeb653562:
title: 'intel_th: pci: Add Granite Rapids support'
mainline: e44937889bdf4ecd1f0c25762b7226406b9b7a69
backport: c2986a4fcfa961be763f68bb7c55ff808dcbbc63
04d47e1fd4e9a9b9c32e769b9106bbcbddeca756:
title: 'intel_th: pci: Add Granite Rapids SOC support'
mainline: 854afe461b009801a171b3a49c5f75ea43e4c04c
backport: fbda6dc2f8c85e96d6ae1f5243146a33e627ee9e
f9159b4706fc1eae09c37081f9a580673a4477ff:
title: 'intel_th: pci: Add Sapphire Rapids SOC support'
mainline: 2e1da7efabe05cb0cf0b358883b2bc89080ed0eb
backport: 97c26585440f81fc3832759721964719ae7a4802
8af7cedc0edf1b9d3c29e2b72e7d643f64669ee4:
title: 'intel_th: pci: Add Meteor Lake-S support'
mainline: c4a30def564d75e84718b059d1a62cc79b137cf9
backport: 0d4c32589468be6d7b8993e7576690004f50f5cc
4780775da4957702ece226104b17d072e557a962:
title: 'intel_th: pci: Add Lunar Lake support'
mainline: f866b65322bfbc8fcca13c25f49e1a5c5a93ae4d
backport: eac9744fef5c714c3201a0ab9c56e61ede318c29
95f6f81e50d858a7c9aa7c795ec14a0ac3819118:
title: 'nilfs2: fix potential kernel bug due to lack of writeback flag waiting'
mainline: a4ca369ca221bb7e06c725792ac107f0e48e82e7
backport: 948b6135a242e4147ee69d7d47e1df20f5951d7f
1af0a35eba1ee302fc30aea8cb621f6de8728785:
title: 'hv_utils: drain the timesync packets on onchannelcallback'
mainline: b46b4a8a57c377b72a98c7930a9f6969d2d4784e
backport: 22749c2b34a685511b52c8e1c52539519f0a46ec
a33d99c8b213d16ad61bc68cb17aad1e2f484192:
title: 'hugetlb_encode.h: fix undefined behaviour (34 << 26)'
mainline: 710bb68c2e3a24512e2d2bae470960d7488e97b1
backport: bee6efedbf7b70baa442b7af575c6cc055c2bcef
e0aab7b07a9375337847c9d74a5ec044071e01c8:
title: 'usb-storage: alauda: Check whether the media is initialized'
mainline: 16637fea001ab3c8df528a8995b3211906165a30
backport: ba2eacb9af4998743a14271e11fba297a8761497
6652029853316f4c273219145ef0e71b148bbe01:
title: 'rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment'
mainline: 8b9b443fa860276822b25057cb3ff3b28734dec0
backport: d3d05ae427ca75738046af172544e4ad75bdf8aa
79636f636126775436a11ee9cf00a9253a33ac11:
title: 'batman-adv: bypass empty buckets in batadv_purge_orig_ref()'
mainline: 40dc8ab605894acae1473e434944924a22cfaaa0
backport: 5856f70943c52055ea24d8ee791308367cd1039a
56bec63a7fc87ad50b3373a87517dc9770eef9e0:
title: 'scsi: qedi: Fix crash while reading debugfs attribute'
mainline: 28027ec8e32ecbadcd67623edb290dad61e735b5
backport: f98f3237faf35d508d9c1b783385102a7be0abf2
acf2b80c31c37acab040baa3cf5f19fbd5140b18:
title: 'powerpc/pseries: Enforce hcall result buffer validity and size'
mainline: ff2e185cf73df480ec69675936c4ee75a445c3e4
backport: 476276b356c5d338435b82ecfe217a9422d7235f
7e1e8e86b0b62844b2c795549f65494e95b5983e:
title: 'powerpc/io: Avoid clang null pointer arithmetic warnings'
mainline: 03c0f2c2b2220fc9cf8785cd7b61d3e71e24a366
backport: 8824c4818bf4e7a3b2c47f78c6a8ace368ebe2c5
02d13616ca30014ed96302e51a5b0e17664e58bc:
title: 'usb: misc: uss720: check for incompatible versions of the Belkin F5U002'
mainline: 3295f1b866bfbcabd625511968e8a5c541f9ab32
backport: 43cef40ed1b05181bab0553b15a699a4a3de9dc4
2f85b07bd802e86e155fd8496e3d105ec3a2ade9:
title: 'udf: udftime: prevent overflow in udf_disk_stamp_to_time()'
mainline: 3b84adf460381169c085e4bc09e7b57e9e16db0a
backport: 28e83fb606df2b620ca55001b6b1ec4669fff3fe
864a1e64802c2de46fe22b52ca87c5b409042803:
title: 'PCI/PM: Avoid D3cold for HP Pavilion 17 PC/1972 PCIe Ports'
mainline: 256df20c590bf0e4d63ac69330cf23faddac3e08
skipped: commit did not cherry-pick cleanly
6bff05aaa32c2f7e1f6e68e890876642159db419:
title: 'MIPS: Octeon: Add PCIe link status check'
mainline: 29b83a64df3b42c88c0338696feb6fdcd7f1f3b7
backport: 7bf7a1b84c85a21b7e9e7dc9136efd5c79d7b4ed
acabc32a7b27f30a75ef01e873d8b65f5dc7d5d5:
title: 'MIPS: Routerboard 532: Fix vendor retry check code'
mainline: ae9daffd9028f2500c9ac1517e46d4f2b57efb80
backport: 2401229809147c9144c4e7bbbcc43c7154cf1aba
5d3b9efa04c0d8967e00cbc4b6b5aab79952f5d1:
title: 'cipso: fix total option length computation'
mainline: 9f36169912331fa035d7b73a91252d7c2512eb1a
backport: 2f46065f2784076d6c121eab1a21a8096fba6b13
d616876256b38ecf9a1a1c7d674192c5346bc69c:
title: 'netrom: Fix a memory leak in nr_heartbeat_expiry()'
mainline: 0b9130247f3b6a1122478471ff0e014ea96bb735
backport: f5105aa1e9989b1deb6d87f9d080a7d0d917dc56
f0cda984e4e634b221dbf9642b8ecc5b4806b41e:
title: 'ipv6: prevent possible NULL dereference in rt6_probe()'
mainline: b86762dbe19a62e785c189f313cda5b989931f37
skipped: prerequisite dcd1f572954f9d66d7b4a65df894ed5b4c467368 not in branch
c71761292d4d002a8eccb57b86792c4e3b3eb3c7:
title: 'xfrm6: check ip6_dst_idev() return value in xfrm6_get_saddr()'
mainline: d46401052c2d5614da8efea5788532f0401cb164
backport: b71bbdc8869cbf604b55e27437b9d91d3dd909aa
d0e99ad7721155aaa4e57b8b11bb70743da61491:
title: 'virtio_net: checksum offloading handling fix'
mainline: 604141c036e1b636e2a71cf6e1aa09d1e45f40c2
backport: e3d1b924da1c094e403381851f287d1cb6d430de
88154e3329e1f47490ee98f8d32a0353d8d46550:
title: 'net: usb: rtl8150 fix unintiatilzed variables in rtl8150_get_link_ksettings'
mainline: fba383985354e83474f95f36d7c65feb75dba19d
backport: 8bfba3c52500198a370f799501c232303b52817c
bdc0a40accdf77080fed82d72e89d341001dcbf6:
title: 'regulator: core: Fix modpost error "regulator_get_regmap" undefined'
mainline: 3f60497c658d2072714d097a177612d34b34aa3d
backport: cc48980d16d92c2f4e6c9a1976bd2afdf9f30fa6
0b346aa39e76de78be5e105dc338e190e80a5188:
title: 'dmaengine: ioatdma: Fix missing kmem_cache_destroy()'
mainline: 5422145d0b749ad554ada772133b9b20f9fb0ec8
backport: d7e271c7c6269187a0c054ef781b1160398b119a
435ecc978c3d5d0c4e172ec5b956dc1904061d98:
title: 'ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."'
mainline: a83e1385b780d41307433ddbc86e3c528db031f0
backport: ed44c23c974a4df0899e57a375eeb563a911b575
07e8f15fa16695cf4c90e89854e59af4a760055b:
title: 'drm/radeon: fix UBSAN warning in kv_dpm.c'
mainline: a498df5421fd737d11bfd152428ba6b1c8538321
backport: cc96770672dafa9b46038f64523c42ce3534e8ba
48d5f4d66962fde59c78dd0a7cf6bd03b3f49c61:
title: 'gcov: add support for GCC 14'
mainline: c1558bc57b8e5b4da5d821537cd30e2e660861d8
backport: cd513bd7a535592e2c65efc462a42866d507da3a
1d1838ca012952f4914af6f6619bbdea6251039c:
title: 'ARM: dts: samsung: smdkv310: fix keypad no-autorepeat'
mainline: 87d8e522d6f5a004f0aa06c0def302df65aff296
backport: 5566df875aabd57002b81daf45d37d2f6c874d42
77951f880a4b9e7f76460364ec0b931d1a59c9fb:
title: 'ARM: dts: samsung: exynos4412-origen: fix keypad no-autorepeat'
mainline: 88208d3cd79821117fd3fb80d9bcab618467d37b
backport: 9b2697403d29b12ef06ab68f4f2232291dfed184
4c70a7576ae14f804196ae0089f9deb6cbd77e1f:
title: 'ARM: dts: samsung: smdk4412: fix keypad no-autorepeat'
mainline: 4ac4c1d794e7ff454d191bbdab7585ed8dbf3758
backport: d350b585ee4796a3868be5f4cd8a29877275c819
6721b33aa934e8afd255db9a466868f74f5c5cb5:
title: 'selftests/ftrace: Fix checkbashisms errors'
mainline: 72ce3daf92ba4f5bae6e91095d40e67b367c6b2f
skipped: patched file is not in 4.14.y
876d7d009c528caea5af95a70ab998374cbc7c7f:
title: 'tracing: Add MODULE_DESCRIPTION() to preemptirq_delay_test'
mainline: 23748e3e0fbfe471eff5ce439921629f6a427828
skipped: fixes patch not in branch
c23ead9986a17c793d39be11ce6c084904c9c44a:
title: 'perf/core: Fix missing wakeup when waiting for context reference'
mainline: 74751ef5c1912ebd3e65c3b65f45587e05ce5d36
skipped: fixes patch not in branch
4c003aef56d5642aefd4d11ee9d7e6755d4c1a6e:
title: 'PCI: Add PCI_ERROR_RESPONSE and related definitions'
mainline: 57bdeef4716689d9b0e3571034d65cf420f6efcd
backport: dcea2cf5d7cca146641b67b8cbcc153cbfdeb0c3
d4e52b36c73f44d2b5f41d0cd3f57b3d2efbf180:
title: 'x86/amd_nb: Check for invalid SMN reads'
mainline: c625dabbf1c4a8e77e4734014f2fde7aa9071a1f
backport: f66ed725b522bfad043ec2dbcf50eff7ffc8feda
b576d7d08f26d40789313ec6a8acc966a149c37f:
title: 'iio: dac: ad5592r-base: Replace indio_dev->mlock with own device lock'
mainline: 33c53cbf8f7bc8d62f6146a19da97c8594376ff0
backport: e8b7b4167c95a9e6976479edda683c1b13ca0832
c101996c9dabd9d809c12f686547b7035c087f10:
title: 'iio: dac: ad5592r: un-indent code-block for scale read'
mainline: b004fe33034cc64f72c20923be71cf1e6c9a624c
backport: a28ae8f66b95e48a7ad69aa23382bd8486b6c529
9eaaefbae8f5ddbed0fce822042ad969f5f876c5:
title: 'iio: dac: ad5592r: fix temperature channel scaling value'
mainline: 279428df888319bf68f2686934897301a250bb84
backport: d9b6601da0310953862e47ebc5fe28f9bf37033a
229e75730c784f7b871ae9bd76f8bd506d20a304:
title: 'scsi: mpt3sas: Add ioc_<level> logging macros'
mainline: 645a20c6821cd1ab58af8a1f99659e619c216efd
backport: 675de54c63726a5b6316a7c3854219e10208f4ea
230c290c74b956a4c26926c94a5bf932ca234884:
title: 'scsi: mpt3sas: Gracefully handle online firmware update'
mainline: ffedeae1fa545a1d07e6827180c3923bf67af59f
backport: bd4e577402b93532aacc19b7f44c4963b763fafe
e9bce7c751f6d6c7be88c0bc081a66aaf61a23ee:
title: 'scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory'
mainline: 4254dfeda82f20844299dca6c38cbffcfd499f41
backport: 165419d81604a14fb6d0b111fd2f96288ec9528b
8f667ee530a601449fede56370036e1d8d9a62dc:
title: 'xhci: Use soft retry to recover faster from transaction errors'
mainline: f8f80be501aa2f10669585c3e328fad079d8cb3a
backport: de371a2bb30d1695a5c07357bd207e5aadefcd51
ca0f0c5b0b991a71f61948bad09eb5f9e8cc4851:
title: 'xhci: Set correct transferred length for cancelled bulk transfers'
mainline: f0260589b439e2637ad54a2b25f00a516ef28a57
backport: c73496b00b416467313ec64166d9d8d5d7e3a921
2a28c0f457c5563cef9fbad803d9445eee0c1e05:
title: 'usb: xhci: do not perform Soft Retry for some xHCI hosts'
mainline: a4a251f8c23518899d2078c320cf9ce2fa459c9f
backport: 3f74f1a0bd8b876661fb5263fa78048e2586065d
e65a0dc2e85efb28e182aca50218e8a056d0ce04:
title: 'pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER'
mainline: adec57ff8e66aee632f3dd1f93787c13d112b7a1
backport: d6636e9d955f53a9da4e40af4ddba67ab3391fbf
860a562a61a838867c8d3f66d059a0fc7a67d1c9:
title: 'pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins'
mainline: e8448a6c817c2aa6c6af785b1d45678bd5977e8d
backport: 0b45b7f4f6ee46da3efc4858af96e1a86e536250
f8426b53f59f88c637143ffa31276be73a3c9b27:
title: 'pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pins'
mainline: 5ef6914e0bf578357b4c906ffe6b26e7eedb8ccf
backport: 0d6d13a0bb379aa59f6475c1bb6df7aaed21857f
61c552e4ee1dbfa85d68997ab6e9d80690b401a7:
title: 'pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set'
mainline: 4ea4d4808e342ddf89ba24b93ffa2057005aaced
backport: a1e6c61656a89e49007fd9847fe123acd15d31b9
4ad7d49059358ceadd352b4e2511425bdb68f400:
title: 'drm/amdgpu: fix UBSAN warning in kv_dpm.c'
mainline: f0d576f840153392d04b2d52cf3adab8f62e8cb6
backport: 90340ac06eb8a83a320c3bf2a31cc67eaf333478
f696eaf675650cd57411020bb8b83f57e2de3f11:
title: 'netfilter: nf_tables: validate family when identifying table via handle'
mainline: f6e1532a2697b81da00bfb184e99d15e01e9d98c
skipped: fixes patch not in branch
ae81535ce2503aabc4adab3472f4338070cdeb6a:
title: 'ASoC: fsl-asoc-card: set priv->pdev before using it'
mainline: 90f3feb24172185f1832636264943e8b5e289245
backport: f6658c76f5f0670445bebb35a9ccf3d5ae502806
40188a25a9847dbeb7ec67517174a835a677752f:
title: 'netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers'
mainline: 7931d32955e09d0a11b1fe0b6aac1bfa061c005c
backport: c01fc5238f6bb561e137d7b6e7df88c5107a263f
b71348be1236398be2d04c5e145fd6eaae86a91b:
title: 'drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep'
mainline: ee7860cd8b5763017f8dc785c2851fecb7a0c565
skipped: patched file is not in 4.14.y
2b085521be5292016097b5e7ca81b26be3f7098d:
title: 'net/iucv: Avoid explicit cpumask var allocation on stack'
mainline: be4e1304419c99a164b4c0e101c7c2a756b635b9
backport: 9578df8a6b21442b2451be92ea5ce59b2cc38505
40d7def67841343c10f8642a41031fecbb248bab:
title: 'ALSA: emux: improve patch ioctl data validation'
mainline: 89b32ccb12ae67e630c6453d778ec30a592a212f
backport: bf4ffd90f46475894c7d758eb26aa0f8a31dc245
1925c902159d686372d897c2fa8ee4ea91b62d14:
title: 'media: dvbdev: Initialize sbuf'
mainline: 17d1316de0d7dc1bdc5d6e3ad4efd30a9bf1a381
backport: 728e947a35ba429d96e495c170367211583d760e
671abe2b126e6e39d52eefbf53106650ef2dd904:
title: 'soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message'
mainline: ddbf3204f600a4d1f153498f618369fca352ae00
backport: cf89c5861a3b88fcef8ce222edd384bb5cb44934
277ea9f9bf1171f0f02836ded9b65b9b8684322d:
title: 'nvme: fixup comment for nvme RDMA Provider Type'
mainline: f80a55fa90fa76d01e3fffaa5d0413e522ab9a00
backport: 43bae0d9a7bd2f0a78a283b1440a74601b4a4f68
a8d78984fdc105bc1a38b73e98d32b1bc4222684:
title: 'gpio: davinci: Validate the obtained number of IRQs'
mainline: 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164
skipped: fixes patch not in branch
c7999d372e7fe8bdfbc2226af1896e8bd328018a:
title: 'i2c: ocores: stop transfer on timeout'
mainline: e7663ef5ae0f02e3b902eb0305dec981333eb3e1
backport: b4951f8134444e1eb7b28ea2234463f8ed077745
1f7e4dd58af1267db2970e5c2e98a4d0ff170047:
title: 'i2c: ocores: set IACK bit after core is enabled'
mainline: 5a72477273066b5b357801ab2d315ef14949d402
backport: 4d73d79702f3c0872f20dfd8a05974c7b18ebc7f
65ebdde16e7f5da99dbf8a548fb635837d78384e:
title: 'x86: stop playing stack games in profile_pc()'
mainline: 093d9603b60093a9aaae942db56107f6432a5dca
backport: 00eda93e9c842eecb76a1bc09b337e4f0cb043eb
bba83bf85fc6fcca1e827fd88bf3998be9ad0d24:
title: 'mmc: sdhci-pci: Convert PCIBIOS_* return codes to errnos'
mainline: ebc4fc34eae8ddfbef49f2bdaced1bf4167ef80d
backport: 51e44a77a5ca50e7e1f0548960bbb9eea83ff139
75a024d3ab0d331fc1d0b640b00e63d31d556b1e:
title: 'iio: adc: ad7266: Fix variable checking bug'
mainline: a2b86132955268b2a1703082fbc2d4832fc001b8
backport: b23dedd4318672a4265f48d90f8760b41b6f7006
272736d778a42a3cdb623d53665a0e6a85125b66:
title: 'iio: chemical: bme680: Fix pressure value output'
mainline: ae1f7b93b52095be6776d0f34957b4f35dda44d9
skipped: fixes patch not in branch
d17f26afde5039c30297e9c6ffc273689e595154:
title: 'iio: chemical: bme680: Fix calibration data variable'
mainline: b47c0fee73a810c4503c4a94ea34858a1d865bba
skipped: fixes patch not in branch
6fa31bbe2ea8665ee970258eb8320cbf231dbe9e:
title: 'iio: chemical: bme680: Fix overflows in compensate() functions'
mainline: fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8
skipped: fixes patch not in branch
2e2ee64a367e97d433d1f9f735efb69f2612472b:
title: 'iio: chemical: bme680: Fix sensor data read operation'
mainline: 4241665e6ea063a9c1d734de790121a71db763fc
skipped: fixes patch not in branch
abb029e078e149d4d1f44a244cf833a6a1541447:
title: 'net: usb: ax88179_178a: improve link status logs'
mainline: 058722ee350c0bdd664e467156feb2bf5d9cc271
backport: e4de596e5e18fb924bfe0048049cd04a285272f9
a0886d04f1c7439b55c1c9daecd6b21ada2de5dd:
title: 'usb: gadget: printer: SS+ support'
mainline: fd80731e5e9d1402cb2f85022a6abf9b1982ec5f
backport: cbc92ffc360a7b6f16408d7092c71d72bb9e0382
a93b97349ba92cdc8b63ad09d28a873a467e1d62:
title: 'usb: musb: da8xx: fix a resource leak in probe()'
mainline: de644a4a86be04ed8a43ef8267d0f7d021941c5e
backport: 7209de070ba2427bfa29373c649c6311b69580bc
5159a81924311c1ec786ad9fdef784ead8676a6a:
title: 'usb: atm: cxacru: fix endpoint checking in cxacru_bind()'
mainline: 2eabb655a968b862bc0c31629a09f0fbf3c80d51
backport: 4ddbe32a34bc9cc18c34282f88488d22c4178071
0929fbe8194db19bfeed22f8c7f9b24da9f08bb9:
title: 'tty: mcf: MCF54418 has 10 UARTS'
mainline: 7c92a8bd53f24d50c8cf4aba53bb75505b382fed
backport: c6f828c51833c0dcdd53b79a4eb5c8d5f5ebd56b
72152ab85ae44e13df8b7a653b5f657b48fa3229:
title: 'hexagon: fix fadvise64_64 calling conventions'
mainline: 896842284c6ccba25ec9d78b7b6e62cdd507c083
backport: 87cc48eed0c10fc8f13907410db3f1c76c77826b
9289cd3450d1da3e271ef4b054d4d2932c41243e:
title: 'drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes'
mainline: 66edf3fb331b6c55439b10f9862987b0916b3726
backport: 2dc9769a951e305b690994008bcc32ee0d57f3e2
ffabad4aa91e33ced3c6ae793fb37771b3e9cb51:
title: 'drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes'
mainline: 6d411c8ccc0137a612e0044489030a194ff5c843
backport: e2f974a4f127e38e7a5ec7a7ab51bb59d4392f17
4d5a2d6b7a9a1140342c5229d1a427ec37a12fd4:
title: 'batman-adv: Don''t accept TT entries for out-of-spec VIDs'
mainline: 537a350d14321c8cca5efbf0a33a404fec3a9f9e
backport: e6522330b7414dc7f96f547045bdc5db9de0cc3e
290073b2b557e4dc21ee74a1e403d9ae79e393a2:
title: 'ata: libata-core: Fix double free on error'
mainline: ab9e0c529eb7cafebdd31fe1644524e80a48b05d
skipped: fixes patch not in branch
c329760749b5419769e57cb2be80955d2805f9c9:
title: 'ftruncate: pass a signed offset'
mainline: 4b8e88e563b5f666446d002ad0dc1e6e8e7102b0
backport: 5696aad6bf4700041503e715bd2fb5d9dcf1fcc0
19946741ea989605d12d2ffdbb006b9ca000dde8:
title: 'pwm: stm32: Refuse too small period requests'
mainline: c45fcf46ca2368dafe7e5c513a711a6f0f974308
backport: 7128fc9dcb40ffa3ca16cc92eeb4aa3f65639c87
13bda7ac5801f501bed6e21717dbf3b0df773847:
title: 'ipv6: annotate some data-races around sk->sk_prot'
mainline: 086d49058cd8471046ae9927524708820f5fd1c7
backport: 81d8db9302d30505f89d672e1a39c60ed71a1dda
fda6d62642a9c544a293d7ad7cb058f8c7f8f3dd:
title: 'ipv6: Fix data races around sk->sk_prot.'
mainline: 364f997b5cfe1db0d63a390fe7c801fa2b3115f6
backport: 0904f321c3a052af42b094f786f75fe32f5d8f2d
5bb642cc3355ffd3c8bca0a8bd8e6e65bcc2091c:
title: 'tcp: Fix data races around icsk->icsk_af_ops.'
mainline: f49cd2f4d6170d27a2c61f1fecb03d8a70c91f57
backport: 1895f4d98247c54d045cd4a9c94c0802f3c270d5
f7fc312d1d750db0ea867e50e6c436e0679a5a65:
title: 'arm64: dts: rockchip: Add sound-dai-cells for RK3368'
mainline: 8d7ec44aa5d1eb94a30319074762a1740440cdc8
backport: 6658230562d296ef2484a1156ff322c558d3c26a

View File

@@ -1,264 +0,0 @@
a8a223aa3fb7790168fbf777a8db5bcef011b4dc:
title: 'asm-generic: Move common compat types to asm-generic/compat.h'
mainline: fb3739759474d150a9927b920a80ea2afb4c2a51
skipped: not stable material
86b769452b39428807f287ff5bb5aaf6fbfb7e9c:
title: 'media: dvb: as102-fe: Fix as10x_register_addr packing'
mainline: 309422d280748c74f57f471559980268ac27732a
backport: a29d61e7e8e578fd6bc893e3fc566de319821ca5
213375679632f6ed1e4eb98b78a8f600977b9b34:
title: 'media: dvb-usb: dib0700_devices: Add missing release_firmware()'
mainline: 4b267c23ee064bd24c6933df0588ad1b6e111145
backport: 763d3cd7f083891a68cf5158c5bab81bb5e8be0f
1288cf1cceb0e6df276e182f5412370fb4169bcb:
title: 'IB/core: Implement a limit on UMAD receive List'
mainline: ca0b44e20a6f3032224599f02e7c8fb49525c894
backport: f3829e3d794cad5ddb6c88e0ff1b27b6435d224b
9eb4db08a808e3a3ba59193aeb84a57a6dc4d8c9:
title: 'drm/amd/display: Skip finding free audio for unknown engine_id'
mainline: 1357b2165d9ad94faa4c4a20d5e2ce29c2ff29c3
skipped: patched file is not in 4.14.y
74eb7ec7afe976a499484f56e8af020c3260a559:
title: 'media: dw2102: Don''t translate i2c read into write'
mainline: 0e148a522b8453115038193e19ec7bea71403e4a
backport: 8fb8547e74c70ef7ed9af6d75f8b27186d6c1d88
03f37e56305156bd25c5c237d1cc7f5c75495ef2:
title: 'sctp: prefer struct_size over open coded arithmetic'
mainline: e5c5f3596de224422561d48eba6ece5210d967b3
backport: fca275dacc79b9d77ec45e208a68284a19515d5f
c2a350a3fa622a174e3704691d05989cdfde4d51:
title: 'firmware: dmi: Stop decoding on broken entry'
mainline: 0ef11f604503b1862a21597436283f158114d77e
backport: b0f4f0d200c9bcb8c14b1f09a288dc89d026fdc3
e52cfcf68df0b52565be68106e9f65ab8077b48a:
title: 'Input: ff-core - prefer struct_size over open coded arithmetic'
mainline: a08b8f8557ad88ffdff8905e5da972afe52e3307
backport: d2b33d0a14125c60fb7fc2fe60e7305ef606bc7f
47d28dde172696031c880c5778633cdca30394ee:
title: 'net: dsa: mv88e6xxx: Correct check for empty list'
mainline: 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b
backport: 9c1cb2b6cbf9a9e1ee2e9702637c71adc476e874
2401cbc0f5d4bd1e327d247548cc6ee57bc76c53:
title: 'media: dvb-frontends: tda18271c2dd: Remove casting during div'
mainline: e9a844632630e18ed0671a7e3467431bd719952e
backport: a65c17e8b9fe25ecae58373ddbea9fe06135f193
32f2f5385eefa73aaebefda419147ac8599ba9e6:
title: 'media: s2255: Use refcount_t instead of atomic_t for num_channels'
mainline: 6cff72f6bcee89228a662435b7c47e21a391c8d0
backport: 909138842fcc6194732efcd7e9d6ab4b9b715600
8167e4d7dc086d4f7ca7897dcff3827e4d22c99a:
title: 'media: dvb-frontends: tda10048: Fix integer overflow'
mainline: 1aa1329a67cc214c3b7bd2a14d1301a795760b07
backport: cf654f32bbef8fd9d7d57d91a3378370a975e85f
1a1f7053437d0f27534ecc9ec7e5d441c082b81c:
title: 'i2c: i801: Annotate apanel_addr as __ro_after_init'
mainline: 355b1513b1e97b6cef84b786c6480325dfd3753d
backport: f5a529216e877313cde4f8a3fc637c816642e861
85cc3ecb0b1256d539bb6a58a5f995c802a331c4:
title: 'powerpc/64: Set _IO_BASE to POISON_POINTER_DELTA not 0 for CONFIG_PCI=n'
mainline: be140f1732b523947425aaafbe2e37b41b622d96
backport: af94a2ea5b6eb5ead8c016a196311449e0e145ac
b90176a9553775e23966650e445b1866e62e4924:
title: 'orangefs: fix out-of-bounds fsid access'
mainline: 53e4efa470d5fc6a96662d2d3322cfc925818517
backport: b490b0a094cb6b1e6dc7c79ef9c76213480e03e8
04b90b8d0b6929d7427551215b71901959c8e098:
title: 'powerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#"'
mainline: 8873aab8646194a4446117bb617cc71bddda2dee
backport: 48d99fb324e4d263c533ae24712372138c5cb664
b6c8b3e31eb88c85094d848a0bd8b4bafe67e4d8:
title: 'jffs2: Fix potential illegal address access in jffs2_free_inode'
mainline: af9a8730ddb6a4b2edd779ccc0aceb994d616830
backport: 7523a69d10eba34a5bf215bbbf73b02932303c2b
6e2e374403bf73140d0efc9541cb1b3bea55ac02:
title: 's390/pkey: Wipe sensitive data on failure'
mainline: 1d8c270de5eb74245d72325d285894a577a945d9
backport: d232297f0376ff857296774d047ced0731895562
0cb018bf9217805f97740fe83261e18199fc2773:
title: 'tcp: take care of compressed acks in tcp_add_reno_sack()'
mainline: 19119f298bb1f2af3bb1093f5f2a1fed8da94e37
skipped: commit did not cherry-pick cleanly
552970cb728120695820ef9decb0933b3f9ce774:
title: 'tcp: tcp_mark_head_lost is only valid for sack-tcp'
mainline: 636ef28d6e4d174e424102466caf572b0406fb0e
skipped: commit did not cherry-pick cleanly
57a672a35020884512ae64fbbcb5c70149424781:
title: 'tcp: add ece_ack flag to reno sack functions'
mainline: c634e34f6ebfb75259e6ce467523fd3adf30d3d2
skipped: commit did not cherry-pick cleanly
550968385e2f0df8e29c6431ab2dc0961499acb0:
title: 'net: tcp better handling of reordering then loss cases'
mainline: a29cb6914681a55667436a9eb7a42e28da8cf387
skipped: commit did not cherry-pick cleanly
8b5fd51b3040ce2596d22a72767c66d7435853b6:
title: 'UPSTREAM: tcp: fix DSACK undo in fast recovery to call tcp_try_to_open()'
mainline: a6458ab7fd4f427d4f6f54380453ad255b7fde83
backport: f1bac5dbfa7aaf5cee717a604ed1c94b363a9883
19d997b59fa1fd7a02e770ee0881c0652b9c32c9:
title: 'tcp_metrics: validate source addr length'
mainline: 66be40e622e177316ae81717aa30057ba9e61dff
backport: f8f32610dabb5c07608475f3cfe4915aa4cd15e5
6a8a4fd082c439e19fede027e80c79bc4c84bb8e:
title: 'bonding: Fix out-of-bounds read in bond_option_arp_ip_targets_set()'
mainline: e271ff53807e8f2c628758290f0e499dbe51cb3d
backport: ea462f7627ecabdd4263965f5a8864f0ab86d08b
d6ab0198fb470e1a9948d08c610a94601a1fdb2c:
title: 'selftests: fix OOM in msg_zerocopy selftest'
mainline: af2b7e5b741aaae9ffbba2c660def434e07aa241
backport: c75d2712b73df3ce9a145395882cee0d56f8916f
b1cb48187a6edc2ab72f5b3e6b4af7a232730d64:
title: 'selftests: make order checking verbose in msg_zerocopy selftest'
mainline: 7d6d8f0c8b700c9493f2839abccb6d29028b4219
backport: 3688bfa238e9ea94bff46c0dc030f412f239a08c
7094a5fd20ab66028f1da7f06e0f2692d70346f9:
title: 'inet_diag: Initialize pad field in struct inet_diag_req_v2'
mainline: 61cf1c739f08190a4cbf047b9fbb192a94d87e3f
backport: 600edf70c16cb29b82c9fd1e830398168eea7bca
57235c3c88bb430043728d0d02f44a4efe386476:
title: 'nilfs2: fix inode number range checks'
mainline: e2fec219a36e0993642844be0f345513507031f4
backport: 72ae23ea4ee2e943e8d58ad302c6a843dbf80ad0
c33c2b0d92aa1c2262d999b2598ad6fbd53bd479:
title: 'nilfs2: add missing check for inode numbers on directory entries'
mainline: bb76c6c274683c8570ad788f79d4b875bde0e458
backport: ba6206b639aa6f1d9ade9cb55831ebc1f7268594
2890a7faf552dd3e4e40e343610ba3e0ba5b788e:
title: 'mm: optimize the redundant loop of mm_update_owner_next()'
mainline: cf3f9a593dab87a032d2b6a6fb205e7f3de4f0a1
backport: 34096341954fed86e3b510d1c0617470f21bb41d
b162f19e6603571061b19dbb604a9883f0fa4ecc:
title: 'Bluetooth: Fix incorrect pointer arithmatic in ext_adv_report_evt'
mainline: cd9151b618da4723877bd94eae952f2e50acbc0e
backport: 1cbdc455dc33b76a9efdf4694308b2b1c8ea5a21
a7428ec9d7911f1a74da20359063ff265081832a:
title: 'can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct'
mainline: 19d5b2698c35b2132a355c67b4d429053804f8cc
skipped: fixes patch not in branch
b7421cad1d8725831a98b339d7ecbb284dd1c5de:
title: 'fsnotify: Do not generate events for O_PATH file descriptors'
mainline: 702eb71fd6501b3566283f8c96d7ccc6ddd662e9
backport: 73f492747cfcd09e43ef25970d26c8943ab830ec
253f9ea7e8e53a5176bd80ceb174907b10724c1a:
title: 'Revert "mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again"'
mainline: 30139c702048f1097342a31302cbd3d478f50c63
backport: 6949c5283758b9d0847b1ce1d461e9c7d2730fa1
9baf60323efa992b7c915094529f0a1882c34e7e:
title: 'drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes'
mainline: 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4
backport: c300d28e4079a0046e79ff18bdffb48c7dee3861
385b615c95df14df68ca8322245c13a9389392f6:
title: 'drm/amdgpu/atomfirmware: silence UBSAN warning'
mainline: d0417264437a8fa05f894cabba5a26715b32d78e
backport: 27967cf8362a84f47938fe7ff0ff57c991c858cc
cfb04472ce33bee2579caf4dc9f4242522f6e26e:
title: 'bnx2x: Fix multiple UBSAN array-index-out-of-bounds'
mainline: 134061163ee5ca4759de5c24ca3bd71608891ba7
backport: a64eeaefb325e45890fca958151be84cfa53b633
39fb2a0c2e78d9b2de726be119e6d06e38aa4ed4:
title: 'media: dw2102: fix a potential buffer overflow'
mainline: 1c73d0b29d04bf4082e7beb6a508895e118ee30d
backport: 9c6553444512bcd2fdaf2b4153835f19f684f2c4
a349e5ab4dc9954746e836cd10b407ce48f9b2f6:
title: 'i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr'
mainline: f63b94be6942ba82c55343e196bd09b53227618e
backport: 1921a68ba39c00e508c2b6fdd571d6fdeb6268e4
de9d81daaca2b7b3c853bf2ff729353e84f06b18:
title: 'nilfs2: fix incorrect inode allocation from reserved inodes'
mainline: 93aef9eda1cea9e84ab2453fcceb8addad0e46f1
backport: 75fb795f98517dbdb2973414465cffa685d9cd8a
f0d7f98ff88c26698296f62fe91d7e7141fe4a47:
title: 'drm/i915: make find_fw_domain work on intel_uncore'
mainline: cb7ee69015aaba5e1091af94e73bc72483c08e37
skipped: fixes new functionality not in 4.14
83f5eb01c4beb9741bc1600bcd8b6e94a1774abe:
title: 'tcp: fix incorrect undo caused by DSACK of TLP retransmit'
mainline: 0ec986ed7bab6801faed1440e8839dcc710331ff
backport: 852460760459aec08d18bc7780f254f6f256606d
12d204b835dd85c7fe6501be6ee1aaa1e5315ff9:
title: 'net: lantiq_etop: add blank line after declaration'
mainline: 4c46625bb586a741b8d0e6bdbddbcb2549fa1d36
backport: 95139b5d59c4b6d6c56f39c2b4b4f26e22330000
1a2db00a554cfda57c397cce79b2804bf9633fec:
title: 'net: ethernet: lantiq_etop: fix double free in detach'
mainline: e1533b6319ab9c3a97dad314dd88b3783bc41b69
backport: ae3b644b836cdcca258294db2569189af4ef7ff3
97d1efd8be26615ff680cdde86937d5943138f37:
title: 'ppp: reject claimed-as-LCP but actually malformed packets'
mainline: f2aeb7306a898e1cbd03963d376f4b6656ca2b55
backport: 84f3c0bb96cd91096079828b24b51af408265abe
f9ace6a3278a613d22abbd7d69e13d481b800622:
title: 'ARM: davinci: Convert comma to semicolon'
mainline: acc3815db1a02d654fbc19726ceaadca0d7dd81c
backport: 4e591539244c71973243bd4315024d601991ee3a
a88697c3871ade2c9d03437d170af77ec92d2982:
title: 'USB: serial: option: add Telit generic core-dump composition'
mainline: 4298e400dbdbf259549d69c349e060652ad53611
backport: 400d7f0eceb6a1993c04f36ee766abff02f975b8
908bc2cb55f8affc7a90bb8d17fd4323088e2a19:
title: 'USB: serial: option: add Telit FN912 rmnet compositions'
mainline: 9a590ff283421b71560deded2110dbdcbe1f7d1d
backport: 4094a8160b0626b4fc428b2770adcd99652a9117
de307ab87774c96700fa1831f78f5085255c35f8:
title: 'USB: serial: option: add Fibocom FM350-GL'
mainline: 2604e08ff251dba330e16b65e80074c9c540aad7
backport: 01b762bc1225b0a0ffb18638161627cb185ce408
9fde2ddfed4787728a20aefea6a625c6b2b32fc4:
title: 'USB: serial: option: add support for Foxconn T99W651'
mainline: 3c841d54b63e4446383de3238399a3910e47d8e2
backport: 4dd077fc35bd45cb3763b56b29397495aa60e832
038d9a89fac14fd9855383b2ae990ee755e36bd0:
title: 'USB: serial: option: add Netprisma LCUK54 series modules'
mainline: dc6dbe3ed28795b01c712ad8f567728f9c14b01d
backport: e8c421c3e622eec18fb2a723b3801e041094e76b
5bc1f4bee4d84245a3479f53aef38f82b99a19f0:
title: 'USB: serial: option: add Rolling RW350-GL variants'
mainline: ae420771551bd9f04347c59744dd062332bdec3e
backport: bb8ef9c34dbad9828e35221d9b93887f81fedf61
1d1f3d602971bbb8de654e7bbe78bf6c2ebd06c1:
title: 'USB: Add USB_QUIRK_NO_SET_INTF quirk for START BP-850k'
mainline: 3859e85de30815a20bce7db712ce3d94d40a682d
backport: af79b0b19953f31e510d5330cb6d3bb246b096a2
a444c3fc264119801575ab086e03fb4952f23fd0:
title: 'usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()'
mainline: 6d3c721e686ea6c59e18289b400cc95c76e927e0
backport: 4a1cba1a65533b8f9ece63c774c0bd1d265e14bf
d8418fd083d1b90a6c007cf8dcf81aeae274727b:
title: 'USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor'
mainline: a368ecde8a5055b627749b09c6218ef793043e47
backport: d60eb2fd2445dd07125d1e450aa4c310d5baf190
e2cb94465de92f6a840bc7eface420b30cc64aa0:
title: 'hpet: Support 32-bit userspace'
mainline: 4e60131d0d36af65ab9c9144f4f163fe97ae36e8
backport: a43cf7b341011779151d27dd5bc52387d5f5f835
1177afeca833174ba83504688eec898c6214f4bf:
title: 'libceph: fix race between delayed_work() and ceph_monc_stop()'
mainline: 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883
backport: c618a1f6d3ecaa97aaf0283d9b89824e651bc013
e5a1f7427f97bde4bda73c02106c3bde87696f8f:
title: 'tcp: refactor tcp_retransmit_timer()'
mainline: 0d580fbd2db084a5c96ee9c00492236a279d5e0f
skipped: squashed into 6d9175b95504d28045909631514d06660b4b1a9a
faa0a1fc2a0bb510b2381a5c7aa5b46e9a83d64a:
title: 'net: tcp: fix unexcepted socket die when snd_wnd is 0'
mainline: e89688e3e97868451a5d05b38a9d2633d6785cd4
skipped: commit is already present in branch
0fe6516462392ffe355a45a1ada8d264a783430f:
title: 'tcp: use signed arithmetic in tcp_rtx_probe0_timed_out()'
mainline: 36534d3c54537bf098224a32dc31397793d4594d
backport: bd19e77de5e3d3c721c8dc55e0d7f1b6a0117279
7bb7670f92bfbd05fc41a8f9a8f358b7ffed65f4:
title: 'tcp: avoid too many retransmit packets'
mainline: 97a9063518f198ec0adb2ecb89789de342bb8283
skipped: fixes patch not in branch
17866066b8ac1cc38fb449670bc15dc9fee4b40a:
title: 'SUNRPC: Fix RPC client cleaned up the freed pipefs dentries'
mainline: bfca5fb4e97c46503ddfc582335917b0cc228264
skipped: commit is already present in branch
ff9767ba2cb949701e45e6e4287f8af82986b703:
title: 'nilfs2: fix kernel bug on rename operation of broken directory'
mainline: a9e1ddc09ca55746079cc479aa3eb6411f0d99d4
backport: 2a8372159bc037d3c15b66659a35ca18a0a61d98
a291702b35433e4948476b79c034a21fd2b5ebc8:
title: 'i2c: rcar: bring hardware to known state when probing'
mainline: 4e36c0f20cb1c74c7bd7ea31ba432c1c4a989031
backport: e0aa415e86deeac3ffde591fc5fd5e4a13e9ff23

View File

@@ -1,128 +0,0 @@
2d05669ce1f18c1bc51476980a0e8bd107682546:
title: 'gcc-plugins: Rename last_stmt() for GCC 14+'
mainline: 2e3f65ccfe6b0778b261ad69c9603ae85f210334
backport: c133012a813396eefedf1bfa049efe8015b98812
9656f9540fa3949dfb65e9f18d263bbd96778831:
title: 'scsi: qedf: Set qed_slowpath_params to zero before use'
mainline: 6c3bb589debd763dc4b94803ddf3c13b4fcca776
backport: 2eb33ecdc2e4a03f4b673a04428924293b58cd7e
52a1125633abf465f59d184020add71616b87efa:
title: 'ACPI: EC: Abort address space access upon error'
mainline: f6f172dc6a6d7775b2df6adfd1350700e9a847ec
backport: 7af36fe3934a05c3df07dac10732c2f2097fa9eb
286b25bf40251e940756371eae6c7e59fdbd6745:
title: 'ACPI: EC: Avoid returning AE_OK on errors in address space handler'
mainline: c4bd7f1d78340e63de4d073fd3dbe5391e2996e5
backport: af32f802de713de4b0a2b4f6e97c8e1ca9dfc758
46487275e810d1e7c99f36af9fdfae0909c4e200:
title: 'wifi: mac80211: mesh: init nonpeer_pm to active by default in mesh sdata'
mainline: 6f6291f09a322c1c1578badac8072d049363f4e6
backport: 2fac830d7e5b9250a13d556a1d5125a1a2b351b4
cd3212a9e0209dff7eda30f01ab8590f5e8d92fb:
title: 'wifi: mac80211: fix UBSAN noise in ieee80211_prep_hw_scan()'
mainline: 92ecbb3ac6f3fe8ae9edf3226c76aa17b6800699
backport: 60882d697cfb5c6868f24649c60b8dd8d2703668
ce0368a52554d213c5cd447ba786b54390a845e1:
title: 'Input: silead - Always support 10 fingers'
mainline: 38a38f5a36da9820680d413972cb733349400532
backport: 1501ce3d5bfea3a1e8aaec61b878f20d8a93dfcb
7435bd2f84a25aba607030237261b3795ba782da:
title: 'ila: block BH in ila_output()'
mainline: cf28ff8e4c02e1ffa850755288ac954b6ff0db8c
backport: 6e6d94454bba0055f8d77d3bb42d49c369e80e95
b6d6a91b584a022424d99264741bdfa6b336c83b:
title: 'kconfig: gconf: give a proper initial state to the Save button'
mainline: 46edf4372e336ef3a61c3126e49518099d2e2e6d
backport: 265ba671aaff09b4531db6875d668dfb4efd716a
b366d89859fe7b58894b3698844b551fe32f892a:
title: 'kconfig: remove wrong expr_trans_bool()'
mainline: 77a92660d8fe8d29503fae768d9f5eb529c88b36
backport: 692c2ebeacc0c82e6c088e5a6f63ff9395a2082e
5611e11988535125b3a05305680851ff587702a9:
title: 'fs/file: fix the check in find_next_fd()'
mainline: ed8c7fbdfe117abbef81f65428ba263118ef298a
backport: 8d3da24eb73289dde20e54b84c848e61ae0138b0
bd2a753fa12cf3d28726a4bf067398514e52d57c:
title: 'mei: demote client disconnect warning on suspend to debug'
mainline: 1db5322b7e6b58e1b304ce69a50e9dca798ca95b
backport: cdb32323efca90437116ce55ba43da736ecad374
b02ba9a0b55b762bd04743a22f3d9f9645005e79:
title: 'wifi: cfg80211: wext: add extra SIOCSIWSCAN data check'
mainline: 6ef09cdc5ba0f93826c09d810c141a8d103a80fc
backport: 56e8fc1b0ac2a752cba13ccd0e128f7eaadcd8d0
9b6a1cb833dc8ceab3fbc45a261a8dd37c4f8013:
title: 'Input: elantech - fix touchpad state on resume for Lenovo N24'
mainline: a69ce592cbe0417664bc5a075205aa75c2ec1273
backport: 0eafa6b4fdf53fdc8b8924325f994fe4ed0700a7
0405060fa24286e361cf784bfb37695e8dadc541:
title: 'bytcr_rt5640 : inverse jack detect for Archos 101 cesium'
mainline: e3209a1827646daaab744aa6a5767b1f57fb5385
skipped: commit did not cherry-pick cleanly
0aa5858cb091344f149d1169f00d08b585fa70de:
title: 'can: kvaser_usb: fix return value for hif_usb_send_regout'
mainline: 0d34d8163fd87978a6abd792e2d8ad849f4c3d57
skipped: fixes code not in 4.14.y
a778987afc36d5dc02a1f82d352a81edcaf7eb83:
title: 's390/sclp: Fix sclp_init() cleanup on failure'
mainline: 6434b33faaa063df500af355ee6c3942e0f8d982
backport: 2ba3ceb092c9ac54204c7416bfa884d37f59bd1a
fe0a6e7eb38f9d5396f6ff548186a6cd62c08b1a:
title: 'ALSA: dmaengine_pcm: terminate dmaengine before synchronize'
mainline: 6a7db25aad8ce6512b366d2ce1d0e60bac00a09d
backport: f78b195536a163671b4aa1b85b88e432919c79f9
6f5c552bb803ac30a746addc91b3da9b94b48c4d:
title: 'net: usb: qmi_wwan: add Telit FN912 compositions'
mainline: 77453e2b015b5ced5b3f45364dd5a72dfc3bdecb
backport: c16c01ccdd91f3d7764c0e63da5ba2274eb031a8
77cfeb27b8ded33c3f4023a24a2d1517ad4e4893:
title: 'net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD()'
mainline: b8ec0dc3845f6c9089573cb5c2c4b05f7fc10728
backport: eef43c3ccb72817061d1c663129fc04ff09de4a6
48542881997e17b49dc16b93fe910e0cfcf7a9f9:
title: 'Bluetooth: hci_core: cancel all works upon hci_unregister_dev()'
mainline: 0d151a103775dd9645c78c97f77d6e2a5298d913
backport: 43df6e148cb43ad243a345291d8ddc2cea7786ce
a5c4645346b0efb5a10ed28ae281a9af29037608:
title: 'fs: better handle deep ancestor chains in is_subdir()'
mainline: 391b59b045004d5b985d033263ccba3e941a7740
backport: fe34d279afd5186910b42c6ccf419f32552f6eab
4f5e56dddabe947cc840ffb2db60d9df6ca9e8b9:
title: 'spi: imx: Don''t expect DMA for i.MX{25,35,50,51,53} cspi devices'
mainline: ce1dac560a74220f2e53845ec0723b562288aed4
backport: 4e4a79155c2fe74dd5aea4e56b96923d39d50408
d5e9dddd18fdfe04772bce07d4a34e39e7b1e402:
title: 'selftests/vDSO: fix clang build errors and warnings'
mainline: 73810cd45b99c6c418e1c6a487b52c1e74edb20d
backport: 010cabb684a2904c698713694a24cb0c99d24f41
72805debec8f7aa342da194fe0ed7bc8febea335:
title: 'hfsplus: fix uninit-value in copy_name'
mainline: 0570730c16307a72f8241df12363f76600baf57d
backport: 7cc7fff373ff4131e0db0e9f099913b524cd0275
d30ff33040834c3b9eee29740acd92f9c7ba2250:
title: 'filelock: Remove locks reliably when fcntl/close race is detected'
mainline: 3cad1bc010416c6dd780643476bc59ed742436b9
backport: 0092a371ee34e3dc89e46d1267ee614d60026158
41a5c1717bf4ad1b6084e8682de64b178eabc059:
title: 'ARM: 9324/1: fix get_user() broken with veneer'
mainline: 24d3ba0a7b44c1617c27f5045eecc4f34752ab03
backport: a650c33ed9edba733de822a47397ead4c1ebc2fb
c9d6e349f7aad4ab9c557047d357df256c15f25e:
title: 'ACPI: processor_idle: Fix invalid comparison with insertion sort for latency'
mainline: 233323f9b9f828cd7cd5145ad811c1990b692542
backport: f70e0950f817b75ed1f01859f15d9c2b6a37dba2
7de00adc9bd035d861ba4177848ca0bfa5ed1e04:
title: 'net: relax socket state check at accept time.'
mainline: 26afda78cda3da974fd4c287962c169e9462c495
backport: aac14d323840fa0e71308002c051ce8174804c77
13d38c00df97289e6fba2e54193959293fd910d2:
title: 'ocfs2: add bounds checking to ocfs2_check_dir_entry()'
mainline: 255547c6bb8940a97eea94ef9d464ea5967763fb
backport: 3c99e72be6bf85c5e3e19ddf0e1a38a9eebbd4a6
7f91bd0f2941fa36449ce1a15faaa64f840d9746:
title: 'jfs: don''t walk off the end of ealist'
mainline: d0fa70aca54c8643248e89061da23752506ec0d4
backport: 7f65c3bae2493c58ef7d6ef1bf9ce717c71fb87d
a561145f3ae973ebf3e0aee41624e92a6c5cb38d:
title: 'filelock: Fix fcntl/close race recovery compat path'
mainline: f8138f2ad2f745b9a1c696a05b749eabe44337ea
backport: a429e9177821cfc3fc4b316b64e431ae613319c3

View File

@@ -1,784 +0,0 @@
c0e53e36452d1b2a3ec71bf0586251245a5686c0:
title: 'platform/chrome: cros_ec_debugfs: fix wrong EC message version'
mainline: c2a28647bbb4e0894e8824362410f72b06ac57a4
backport: dd6caa8da1ace4e2e4f02eb5284addebf4c5c2bb
fa4c26ce47b050d4988d8d5a7390e205abe4a2bc:
title: 'hfsplus: fix to avoid false alarm of circular locking'
mainline: be4edd1642ee205ed7bbf66edc0453b1be1fb8d7
skipped: fixes patch not in branch
56d64c36b2aac95c9c24e303fb746591ecfa096a:
title: 'x86/of: Return consistent error type from x86_of_pci_irq_enable()'
mainline: ec0b4c4d45cf7cf9a6c9626a494a89cb1ae7c645
backport: 78659ded3dbb7237c1582e91776e86a6b3247515
600a520cc4e661aa712415e4a733924e9d22777d:
title: 'x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling'
mainline: 724852059e97c48557151b3aa4af424614819752
backport: 5f1342ecebaf8161a43bcc1b8958c280452c8171
5294b91618250c7719e4c85096cafe8f76a1bc20:
title: 'x86/pci/xen: Fix PCIBIOS_* return code handling'
mainline: e9d7b435dfaec58432f4106aaa632bf39f52ce9f
backport: 125df213ac935a71782e5c091206853ff9cb5556
3f4f08e59ddf359da5bc4226ba865a59177a3a50:
title: 'x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos'
mainline: 7821fa101eab529521aa4b724bf708149d70820c
backport: 21be2282360c7df8b2535f9c2883674234dc7de2
d9c01877d4ba1e39bbdc43faeeceeef2768be8e7:
title: 'hwmon: (adt7475) Fix default duty on fan is disabled'
mainline: 39b24cced70fdc336dbc0070f8b3bde61d8513a8
backport: 1dd63dd3a8a7617a90bc1a9068fedb6adf5f5aac
383729f057245972e13fb0708c5ec7dd985fc50d:
title: 'pwm: stm32: Always do lazy disabling'
mainline: 7346e7a058a2c9aa9ff1cc699c7bf18a402d9f84
backport: 25d404099dccdfe51abb9f810a864ced8b9d912b
21998f2c68edd4a7922875f34b39ce2bb78fabc0:
title: 'hwmon: (max6697) Fix underflow when writing limit attributes'
mainline: cbf7467828cd4ec7ceac7a8b5b5ddb2f69f07b0e
backport: 42cc04b6ae182a372082afc1c28d67f92fed5c29
eb04482acd9870b84970fe1549203fedc1bbcc79:
title: 'hwmon: Introduce SENSOR_DEVICE_ATTR_{RO, RW, WO} and variants'
mainline: a5c47c0d388b939dd578fd466aa804b7f2445390
backport: 625dffc4eaba4191520fb296a0e55743836bab4b
7a72d79eef89ce242e08edb18f64106374117295:
title: 'hwmon: (max6697) Auto-convert to use SENSOR_DEVICE_ATTR_{RO, RW, WO}'
mainline: 740c2f2b86a71ad673f329241ac25cfe647aacd4
backport: 64785dce17bc282c55ed7f21c3fbc4391cdb1ab0
6b52603ed8bdcceb9b8c16d2db7abd19e024fbe2:
title: 'hwmon: (max6697) Fix swapped temp{1,8} critical alarms'
mainline: 1ea3fd1eb9869fcdcbc9c68f9728bfc47b9503f1
backport: cb9e33d36836000d9a79d3b0121beee91c3323b9
513fff3e8574d3c5b54ef71b6514cda12123879e:
title: 'arm64: dts: rockchip: Increase VOP clk rate on RK3328'
mainline: 0f2ddb128fa20f8441d903285632f2c69e90fae1
backport: c731a44f2487b720039473b6255fba3ad26d7753
b6c2b179b6908e439b2385c25d7b3477e4be4dce:
title: 'm68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages'
mainline: f70065a9fd988983b2c693631b801f25a615fc04
backport: 266d74e904f119b2251094862e9f7d56c3fb74fe
cb9ad82cf270ce5bdcf5e768af48966833cc3caa:
title: 'x86/xen: Convert comma to semicolon'
mainline: 349d271416c61f82b853336509b1d0dc04c1fcbb
backport: 0d26a6a5f0bb7e82bfebf44b060294eec5a72b73
8c43fbd39500ce7bdc779a772752cc2b436a692c:
title: 'm68k: cmpxchg: Fix return value for default case in __arch_xchg()'
mainline: 21b9e722ad28c19c2bc83f18f540b3dbd89bf762
backport: 8bc40077dd7c321cc45107a639c176d317892413
f33757e8db8f33aba783b88120245ec53e5fa88a:
title: 'wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device'
mainline: c636fa85feb450ca414a10010ed05361a73c93a6
backport: 5fa524af8685b00160e9e766bbe196804a007844
7fbbfd88613287ec01a54215b09aad3b05e4c070:
title: 'net/smc: Allow SMC-D 1MB DMB allocations'
mainline: 67161779a9ea926fccee8de047ae66cbd3482b91
skipped: commit did not cherry-pick cleanly
248ded655e0b64e2a4c2f1ef6d052954ed88ed05:
title: 'net/smc: set rmb''s SG_MAX_SINGLE_ALLOC limitation only when CONFIG_ARCH_NO_SG_CHAIN is defined'
mainline: 3ac14b9dfbd345e891d48d89f6c2fa519848f0f4
skipped: commit did not cherry-pick cleanly
d92eac4db41d059554efdf3ba7415a196bc7b437:
title: 'selftests/bpf: Check length of recv in test_sockmap'
mainline: de1b5ea789dc28066cc8dc634b6825bd6148f38b
skipped: fixes patch not in branch
0166ece82068d6fa9739a677ac3884941fc35153:
title: 'wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he()'
mainline: 9ee0d44f055276fe2802b2f65058e920853f4f99
skipped: fixes patch not in branch
45d20a1c54be4f3173862c7b950d4468447814c9:
title: 'wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he()'
mainline: bcbd771cd5d68c0c52567556097d75f9fc4e7cd6
skipped: fixes patch not in branch
b072c604d58b1cd1079c4e2f0d22b1f469dda347:
title: 'net: fec: Refactor: #define magic constants'
mainline: ff049886671ccd4e624a30ec464cb20e4c39a313
backport: 1a85ab4b601786019135c37ec3f11927ba4a561d
18074367ad100e129d0dccdaa64af6642363680b:
title: 'net: fec: Fix FEC_ECR_EN1588 being cleared on link-down'
mainline: c32fe1986f27cac329767d3497986e306cad1d5e
backport: c3996b8fae20c268b6c49e70ea078bceb96d0c27
9340804ea465de0509a9afaeaaccf3fb74b14f9b:
title: 'ipvs: Avoid unnecessary calls to skb_is_gso_sctp'
mainline: 53796b03295cf7ab1fc8600016fa6dfbf4a494a0
backport: 2a3559125bd5fc024c30b1655b626abc0c2fa3eb
542abbf58e88f34dfc659b63476a5976acf52c0e:
title: 'perf: Fix perf_aux_size() for greater-than 32-bit size'
mainline: 3df94a5b1078dfe2b0c03f027d018800faf44c82
backport: 6f7bc617b3b66436641dba5329718933aea4b889
d7b1a76f33e6fc93924725b4410126740c890c44:
title: 'perf: Prevent passing zero nr_pages to rb_alloc_aux()'
mainline: dbc48c8f41c208082cfa95e973560134489e3309
backport: 26864f03cc21aaa1b9f2dbed5c8ad7bf676f2df4
f121740f69eda4da2de9a20a6687a13593e72540:
title: 'bna: adjust ''name'' buf size of bna_tcb and bna_ccb structures'
mainline: c9741a03dc8e491e57b95fba0058ab46b7e506da
backport: be35c98c5aa383407f62428c4169a79d5c243c26
e061713d466b9be56b66dd6fb50538ad2c5564ac:
title: 'selftests: forwarding: devlink_lib: Wait for udev events after reloading'
mainline: f67a90a0c8f5b3d0acc18f10650d90fec44775f9
skipped: fixes patch not in branch
01b44d9e50a68ac3c645cc98a474455668dc8e70:
title: 'media: imon: Fix race getting ictx->lock'
mainline: 24147897507cd3a7d63745d1518a638bf4132238
backport: ce58b8f17bfc9cfad7fafb57ebb626850d4802ba
001583ad640c70987efd5af70566a69f146dc99c:
title: 'saa7134: Unchecked i2c_transfer function result fixed'
mainline: 9d8683b3fd93f0e378f24dc3d9604e5d7d3e0a17
backport: e0b07e242c61e819acf0143bb2c23d4859b135db
1e4347cf14496f33bd26f0401404fd6de51e4fc4:
title: 'media: uvcvideo: Allow entity-defined get_info and get_cur'
mainline: 65900c581d014499f0f8ceabfc02c652e9a88771
skipped: commit did not cherry-pick cleanly
b8e307747242d3e692c6ad98ff30d315683f2a00:
title: 'media: uvcvideo: Override default flags'
mainline: 86419686e66da5b90a07fb8a40ab138fe97189b5
skipped: fixes patch not in branch
ab1325f1074da2cfa1259417fb6c93a0886e74c8:
title: 'media: renesas: vsp1: Fix _irqsave and _irq mix'
mainline: 57edbbcf5258c378a9b9d0c80d33b03a010b22c8
backport: f0a224ecf4ca80033edee705bd34405dae4ea20a
ae16866626ecae26a7317e0372224d5480211ff7:
title: 'media: renesas: vsp1: Store RPF partition configuration per RPF instance'
mainline: a213bc09b1025c771ee722ee341af1d84375db8a
backport: 49db8c90eba2da9ddc6f9a203a6d20984d1658a7
c3b7a650c8717aa89df318364609c86cbc040156:
title: 'leds: trigger: Unregister sysfs attributes before calling deactivate()'
mainline: c0dc9adf9474ecb7106e60e5472577375aedaed3
skipped: fixes patch not in branch
2e6abffcb52a36c89c0a70499b86e0a99df15d1e:
title: 'perf report: Fix condition in sort__sym_cmp()'
mainline: cb39d05e67dc24985ff9f5150e71040fa4d60ab8
backport: 39632d1c383813e9ddb20088f6e9a3b44ee70569
c7c74c8256206ffc27212ada1f998f5a05b8c54f:
title: 'drm/etnaviv: fix DMA direction handling for cached RW buffers'
mainline: 58979ad6330a70450ed78837be3095107d022ea9
backport: fa7e07d7ebb21ec8b937faeb3254a608c4d2eea2
4be759d6d5da05b76a19785defe0f312926dcb5b:
title: 'mfd: omap-usb-tll: Use struct_size to allocate tll'
mainline: 40176714c818b0b6a2ca8213cdb7654fbd49b742
skipped: fixes patch not in branch
282e8d4e9d33182a5ca25fe6333beafdc5282946:
title: 'ext4: avoid writing unitialized memory to disk in EA inodes'
mainline: 65121eff3e4c8c90f8126debf3c369228691c591
backport: 5e8bf661518b825696c6ee219e62292e6bc8df93
6b4f676006a390edffd6a00f2ebc23276dd05031:
title: 'sparc64: Fix incorrect function signature and add prototype for prom_cif_init'
mainline: a6c3ea1ec96307dbfbb2f16d96c674c5cc80f445
backport: 0549d286c615b284448fa4d449c322f3ae2aa55f
0012438a122c56d727712169df42fd0e297a42b0:
title: 'PCI: Equalize hotplug memory and io for occupied and empty slots'
mainline: de3ffa301142bf8802a7b0de17f9985acde5c223
backport: 02a0104454d95405c65536870fdc426e8663512d
2044071c6e42d041e3656bad105be5879f6b70f1:
title: 'PCI: Fix resource double counting on remove & rescan'
mainline: 903534fa7d30214d8ba840ab1cd9e917e0c88e41
backport: 0a5d6964e9374945dfef1227972e8cc1a2a6d5ef
c4eaaf28068a99d8363bf02a20a32bf207be13e1:
title: 'RDMA/mlx4: Fix truncated output warning in mad.c'
mainline: 0d2e6992fc956e3308cd5376c18567def4cb3967
backport: 8e50a9f8175582f34a709024496217f3fca864e5
087abc7e244700f741c0431af59b28e910a82dc1:
title: 'RDMA/mlx4: Fix truncated output warning in alias_GUID.c'
mainline: 5953e0647cec703ef436ead37fed48943507b433
backport: e9d4656f8f0c014de2ffcf8d4903c4630c43c72b
796c0f32fc956b88c345195472e2d74823be0d03:
title: 'RDMA/rxe: Don''t set BTH_ACK_MASK for UC or UD QPs'
mainline: 4adcaf969d77d3d3aa3871bbadc196258a38aec6
backport: 117e5c14bbbb75364fabcb7d2e70e19167efc931
17b016971c27ee1e884da3ce502801cb95f84ff1:
title: 'mtd: make mtd_test.c a separate module'
mainline: a5cf054d325e6f362e82fe6d124a1871a4af8174
backport: 550d6bbd2dedbc88697932ddbe5f930b20a4d7c1
2ee59e846895b6b061defbc6cde83126f91b7abd:
title: 'Input: elan_i2c - do not leave interrupt disabled on suspend failure'
mainline: 5f82c1e04721e7cd98e604eb4e58f0724d8e5a65
backport: e547f41337badd93753b4fe3ae3817ed8400abd6
12bc3aca7d100a8f749c2a6fcdb6be08ad41c105:
title: 'MIPS: Octeron: remove source file executable bit'
mainline: 89c7f5078935872cf47a713a645affb5037be694
backport: fd5b433d1390c5586bc367f3e10fbb226ad9e2ac
5b84d47a0baee13434fadb3b9506c39f51f9ab98:
title: 'powerpc/xmon: Fix disassembly CPU feature checks'
mainline: 14196e47c5ffe32af7ed5a51c9e421c5ea5bccce
backport: 971a6101e844da8bcbdd4bd046a826c6cc44d861
eeb9a0f79d8e4ea27b4f85a73f3765dc0046ab01:
title: 'macintosh/therm_windtunnel: fix module unload.'
mainline: fd748e177194ebcbbaf98df75152a30e08230cc6
backport: 20b6b7a306d9487bb507af81df8e926b8141d902
dfb40b2535b298b34b37780fe8eced6d38e28c5c:
title: 'bnxt_re: Fix imm_data endianness'
mainline: 95b087f87b780daafad1dbb2c84e81b729d5d33f
backport: 4f51eb5763820de8cf9bc32b26b20d19f7ccfc5d
576862647ae00d67b09961f84629aea09736c047:
title: 'ice: Rework flex descriptor programming'
mainline: 22ef683b48182f4d6125a2fb2725eb8a141514ff
skipped: code does not exist in 4.14
66e7650dbbb8e236e781c670b167edc81e771450:
title: 'netfilter: ctnetlink: use helper function to calculate expect ID'
mainline: 782161895eb4ac45cf7cfa8db375bd4766cb8299
backport: ccfb620ebf3085fca54472461544c796cbd7db5d
636f8fe03a14b0994a3dbdc05c8fa8c8296c1357:
title: 'pinctrl: core: fix possible memory leak when pinctrl_enable() fails'
mainline: ae1cf4759972c5fe665ee4c5e0c29de66fe3cf4a
backport: ee8bf45248bc530e2dc9a0a7f833febbe89fd2e1
9dad82c7c7424c240db65f10ad999266f2967479:
title: 'pinctrl: single: fix possible memory leak when pinctrl_enable() fails'
mainline: 8f773bfbdd428819328a2d185976cfc6ae811cd3
backport: fbd206c9e544f6e8fbb844534d05817ab6ed637a
268b3ff414ae8942af9d6c981b5df8667c2b76b6:
title: 'pinctrl: ti: ti-iodelay: Drop if block with always false condition'
mainline: 88b3f108502bc45e6ebd005702add46759f3f45a
backport: 9521c0b13c94c6ad389f9a5d7f8213891d8924a7
7d720f351714dcbeb578af67bb7e66326504826c:
title: 'pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails'
mainline: 9b401f4a7170125365160c9af267a41ff6b39001
backport: 78e3f7ec45416b8b0a25ef8fcbf85b653f49d5bb
c90d81a6e1f3daab4c06f7f8aba346abc76ae07a:
title: 'pinctrl: freescale: mxs: Fix refcount of child'
mainline: 7f500f2011c0bbb6e1cacab74b4c99222e60248e
backport: 251acaffa0bd813f67f7a92082bdbd101c395f4d
175ac70d8af52bc0f5b100901702fdb2bc662885:
title: 'fs/nilfs2: remove some unused macros to tame gcc'
mainline: e7920b3e9d9f5470d5ff7d883e72a47addc0a137
backport: 2891e08c6f20e3c7b4b09dac8e949a195b46ff8c
d2b9bc7dfd6b0fa1a37eb91e68bca3175cb5ef50:
title: 'nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro'
mainline: 0f3819e8c483771a59cf9d3190cd68a7a990083c
backport: 440e5d6b0d782ee0786d780761f57a117c904288
dfe19aa91378972f10530635ad83b2d77f481044:
title: 'tick/broadcast: Make takeover of broadcast hrtimer reliable'
mainline: f7d43dd206e7e18c182f200e67a8db8c209907fa
backport: 3065612975c688a1ea3f759a23856a4b9eefdc12
608a07143563a2a0d1edd57b2f4e95b0199fb497:
title: 'net: netconsole: Disable target before netpoll cleanup'
mainline: 97d9fba9a812cada5484667a46e14a4c976ca330
backport: d5744057122276d5d9c9b33a8e567e963897d502
3dfd84aa72fa7329ed4a257c8f40e0c9aff4dc8f:
title: 'af_packet: Handle outgoing VLAN packets without hardware offloading'
mainline: 79eecf631c14e7f4057186570ac20e2cfac3802e
backport: 6d8fa691e6733006d5c061a297fe601d126d748b
b4f67f09287392e0a2f7422199a193e37f2737af:
title: 'ipv6: take care of scope when choosing the src addr'
mainline: abb9a68d2c64dd9b128ae1f2e635e4d805e7ce64
backport: f58439a91781f888dce8463243b4d83be380d21c
a97e1082454f45513bc5f7ee0d9cc4e9a6869a81:
title: 'char: tpm: Fix possible memory leak in tpm_bios_measurements_open()'
mainline: 5d8e2971e817bb64225fc0b6327a78752f58a9aa
skipped: fixes patch not in branch
ad8cf035baf29467158e0550c7a42b7bb43d1db6:
title: 'media: venus: fix use after free in vdec_close'
mainline: a0157b5aa34eb43ec4c5510f9c260bbb03be937e
backport: 058c66e9aa0cd80581ff06b9294521e05ea1d0dd
f7316b2b2f11cf0c6de917beee8d3de728be24db:
title: 'hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()'
mainline: 26a2ed107929a855155429b11e1293b83e6b2a8b
backport: 26722f11717342d8f7deeb0c23fa6814bc31a48c
f392c36cebf4c1d6997a4cc2c0f205254acef42a:
title: 'drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes'
mainline: cb520c3f366c77e8d69e4e2e2781a8ce48d98e79
backport: d92238c8b1116bff1babca839d923d345128c202
13b5f3ee94bdbdc4b5f40582aab62977905aedee:
title: 'drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes'
mainline: 2df7aac81070987b0f052985856aa325a38debf6
backport: 2c7d6f35aea17924ebb60002a151c8e4909cb226
296185ef87e6184e364bd9e7c983089b8e606a55:
title: 'm68k: amiga: Turn off Warp1260 interrupts during boot'
mainline: 1d8491d3e726984343dd8c3cdbe2f2b47cfdd928
backport: 1ac49c559cf87bd78734f326ef6db4c2d876d804
b80575ffa98b5bb3a5d4d392bfe4c2e03e9557db:
title: 'ext4: check dot and dotdot of dx_root before making dir indexed'
mainline: 50ea741def587a64e08879ce6c6a30131f7111e7
backport: 4ed99f550b6316ae9cfa1ffdb6c4f053631117e6
d81d7e347d1f1f48a5634607d39eb90c161c8afe:
title: 'ext4: make sure the first directory block is not a hole'
mainline: f9ca51596bbfd0f9c386dd1c613c394c78d9e5e6
backport: 839f30000100e2b3fb252f1755c4434cad12da0c
98cf9959a20dc374b7bba4b9357203e54484be58:
title: 'wifi: mwifiex: Fix interface type change'
mainline: a17b9f590f6ec2b9f1b12b1db3bf1d181de6b272
backport: b9bb3e4e90d4b44dc0667e7e5e24a8c4cd9eb9f5
db1871789f3018c5b0788318d3b1c685f2decceb:
title: 'leds: ss4200: Convert PCIBIOS_* return codes to errnos'
mainline: ce068e83976140badb19c7f1307926b4b562fac4
backport: 4e71b875b885df71c21f8f1fa380064b59fdd414
2e070bec9580702206281fc06178dea4836f2e1f:
title: 'tools/memory-model: Fix bug in lock.cat'
mainline: 4c830eef806679dc243e191f962c488dd9d00708
skipped: fixes patch not in branch
d48e11483e3eb8ade86c57f4145644725cd33eed:
title: 'hwrng: amd - Convert PCIBIOS_* return codes to errnos'
mainline: 14cba6ace79627a57fb9058582b03f0ed3832390
backport: 63576e19060aa3b515c02583870bde5d75260ed8
e9cafb31aa498558d6ff7b28baed894db7d801f3:
title: 'PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN'
mainline: fea93a3e5d5e6a09eb153866d2ce60ea3287a70d
backport: 31754844f0fd1fbfd0a6fd857ec7021240b6d3a3
229670361c29381b0e1677763590e4dbc209ecbe:
title: 'binder: fix hang of unregistered readers'
mainline: 31643d84b8c3d9c846aa0e20bc033e46c68c7e7d
backport: 080400d0031e6b30ae84fa1722d55cb6a3376f8c
5c9d1ac649469feaab4240c0c1b5920ea8649b50:
title: 'scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds'
mainline: ce2065c4cc4f05635413f63f6dc038d7d4842e31
backport: 0900cd07eb9119e80a55a97784e8cc1ca6390402
2d2916516577f2239b3377d9e8d12da5e6ccdfcf:
title: 'f2fs: fix to don''t dirty inode for readonly filesystem'
mainline: 192b8fb8d1c8ca3c87366ebbef599fa80bb626b8
backport: 27f9505abcdef5527ce43c5c21ecf89bc76f2278
2f35342e709ccf655c4927aa97cf16944cfe7344:
title: 'clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use'
mainline: a83b22754e351f13fb46596c85f667dc33da71ec
skipped: fixes patch not in branch
29f2c831822fde87b78c73e5db6ecfb106473cff:
title: 'ubi: eba: properly rollback inside self_check_eba'
mainline: 745d9f4a31defec731119ee8aad8ba9f2536dd9a
backport: e38af31723db1861d58b71410895872b72abc272
16b92b031b4da174342bd909130731c55f20c7ea:
title: 'decompress_bunzip2: fix rare decompression failure'
mainline: bf6acd5d16057d7accbbb1bf7dc6d8c56eeb4ecc
backport: a01900bb7d4f831a50f19c58b1b9e3c9aa9dd9d9
81a15d28f32af01493ae8c5457e0d55314a4167d:
title: 'kobject_uevent: Fix OOB access within zap_modalias_env()'
mainline: dd6e9894b451e7c85cceb8e9dc5432679a70e7dc
skipped: fixes patch not in branch
e08ec1587f576e55b855449d793eb2a3add54c44:
title: 'rtc: cmos: Fix return value of nvmem callbacks'
mainline: 1c184baccf0d5e2ef4cc1562261d0e48508a1c2b
skipped: fixes patch not in branch
086489256696eb774654a5410e86381c346356fe:
title: 'scsi: qla2xxx: During vport delete send async logout explicitly'
mainline: 76f480d7c717368f29a3870f7d64471ce0ff8fb2
backport: 930865dbd92b29bc57364695d561c289d693f72d
549aac9655320c9b245a24271b204668c5d40430:
title: 'scsi: qla2xxx: validate nvme_local_port correctly'
mainline: eb1d4ce2609584eeb7694866f34d4b213caa3af9
skipped: fixes code not in 4.14.y
b4030b619066aa1c20e075ce9382f103e0168145:
title: 'perf/x86/intel/pt: Fix topa_entry base length'
mainline: 5638bd722a44bbe97c1a7b3fae5b9efddb3e70ff
backport: b212bfa809f6d1235bbbb6c491621ce314b073a6
6d94ca5d571dfdb34f12dc3f63273ea275e8f40c:
title: 'watchdog/perf: properly initialize the turbo mode timestamp and rearm counter'
mainline: f944ffcbc2e1c759764850261670586ddf3bdabb
backport: dbffea43e8b704e5cb23e776be21c12a3e0f0b65
0818a768c96a10343d08a622906adab54da6e014:
title: 'platform: mips: cpu_hwmon: Disable driver on unsupported hardware'
mainline: f4d430db17b4ef4e9c3c352a04b2fe3c93011978
backport: 8e28810fed0aaf5624155ae6974d1cc95623edf2
d91d253c87fd1efece521ff2612078a35af673c6:
title: 'RDMA/iwcm: Fix a use-after-free related to destroying CM IDs'
mainline: aee2424246f9f1dadc33faa78990c1e2eb7826e4
backport: b4099074459a9baa637aba3a5fa6d814f32e5eb2
8010e0748cca059187021d194bb6d883d159e172:
title: 'selftests/sigaltstack: Fix ppc64 GCC build'
mainline: 17c743b9da9e0d073ff19fd5313f521744514939
backport: 0a35556f0aa6435749d819919639e400943a3430
19cce46238ffe3546e44b9c74057103ff8b24c62:
title: 'nilfs2: handle inconsistent state in nilfs_btnode_create_block()'
mainline: 4811f7af6090e8f5a398fbdd766f903ef6c0d787
backport: 0e318baa084d870466c8cefaab8d2689e56d21e7
b15593e2904d2ff0094b7170f806dba0eeefac75:
title: 'kdb: Fix bound check compiler warning'
mainline: ca976bfb3154c7bc67c4651ecd144fdf67ccaee7
backport: 2527458f09eb86ba89b673081c8a408c8a3f7591
22a100556ceab8b906ad180788bd6bdc07390f50:
title: 'kdb: address -Wformat-security warnings'
mainline: 70867efacf4370b6c7cdfc7a5b11300e9ef7de64
backport: fbcf6bbfac542e249d92ce80277a03dde0699305
90f2409c1d552f27a2b2bf8dc598d147c4173128:
title: 'kdb: Use the passed prompt in kdb_position_cursor()'
mainline: e2e821095949cde46256034975a90f88626a2a73
backport: 4925aa995a5cf9f49c04fdd1257b1d8f341dd4f5
55b732c8b09b41148eaab2fa8e31b0af47671e00:
title: 'jfs: Fix array-index-out-of-bounds in diFree'
mainline: f73f969b2eb39ad8056f6c7f3a295fa2f85e313a
backport: 4c2dc9502e8728f3a9ba9029aeaa08fc01e420d1
fe2d246080f035e0af5793cb79067ba125e4fb63:
title: 'dma: fix call order in dmam_free_coherent'
mainline: 28e8b7406d3a1f5329a03aa25a43aa28e087cb20
backport: 5a9dbd8f70793aba9e12d6d5216ce45cd9597a78
3213ac4e85945c54350ac06c09902d1c82211100:
title: 'MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later'
mainline: a263e5f309f32301e1f3ad113293f4e68a82a646
backport: 1184f039bc84987937ac8144df7a5daaffb0795c
0e8712254b48a7c6ebb76dce414a9539e772d406:
title: 'net: ip_rt_get_source() - use new style struct initializer instead of memset'
mainline: e351bb6227fbe2bb5da6f38a4cf5bd18810b0557
backport: 5b3e5dc382a0cab89cea2c533a0e5b65ae4d686e
5c65e55e41e1300c4ebf4dda22a704b2beed2423:
title: 'ipv4: Fix incorrect source address in Record Route option'
mainline: cc73bbab4b1fb8a4f53a24645871dafa5f81266a
backport: ef5a6f1d6d270c55e210ed3775352ff75e2aa48e
6c9261a2bdf614b376dbefa01e0c6bb32d14e019:
title: 'net: bonding: correctly annotate RCU in bond_should_notify_peers()'
mainline: 3ba359c0cd6eb5ea772125a7aededb4a2d516684
backport: f204855673caa3a17b49c8b9642edcd269a4fac7
7ec3335dd89c8d169e9650e4bac64fde71fdf15b:
title: 'tipc: Return non-zero value from tipc_udp_addr2str() on error'
mainline: fa96c6baef1b5385e2f0c0677b32b3839e716076
backport: 1ae654c0cdf7bfcd142367568d3a1afbed7d54e8
70db2c84631f50e02e6b32b543700699dd395803:
title: 'mISDN: Fix a use after free in hfcmulti_tx()'
mainline: 61ab751451f5ebd0b98e02276a44e23a10110402
backport: 70609fe847bf6600554b6f511b10015f76834d58
2b2d2b8766db028bd827af34075f221ae9e9efff:
title: 'mm: avoid overflows in dirty throttling logic'
mainline: 385d838df280eba6c8680f9777bfa0d0bfe7e8b2
backport: 1967ea8b282b3b05c9da41c1e2426c3bfb04bf54
11f71f0c562dbfbc3f3e2c56053bca42f7e8d71c:
title: 'PCI: rockchip: Make ''ep-gpios'' DT property optional'
mainline: 58adbfb3ebec460e8b58875c682bafd866808e80
backport: aff1d3ed73ce5882235d9f42c4510c642b9e1dac
8de378d17e5b737907c04acc2fab6d966a129f70:
title: 'PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio'
mainline: 840b7a5edf88fe678c60dee88a135647c0ea4375
backport: 5a659bbb75dd76c32388a8b4c8ea8dff2aa79c12
f1af18ba5925abb275de8bf387fceb9fbf93a096:
title: 'parport: parport_pc: Mark expected switch fall-through'
mainline: aa1f0fa374ed23528b915a693a11b0f275a299c0
backport: d34a87ca6e4c611b125d238c3a56b712a612acd6
cb2a998b88d173ec23423fa13ae2da463449728a:
title: 'parport: Convert printk(KERN_<LEVEL> to pr_<level>('
mainline: decf26f6ec25dac868782dc1751623a87d147831
backport: af0192bb58b539ec732125a76fe4d69660147cca
884ab25dbf115938facb91be85ffed9266e26f8b:
title: 'parport: Standardize use of printmode'
mainline: a6abfdff4fe5dd19d1f1b37d72ba34cd4492fd4d
backport: 4582fe6f2d5fddcf7a63b59b666e8837f2cecf9a
166a0bddcc27de41fe13f861c8348e8e53e988c8:
title: 'dev/parport: fix the array out-of-bounds risk'
mainline: ab11dac93d2d568d151b1918d7b84c2d02bacbd5
backport: 598e7acd167941653c0a54d5732bad40db488504
b9c258b2a02ba8d6d004f45a1eafa23fd810746b:
title: 'driver core: Cast to (void *) with __force for __percpu pointer'
mainline: d7aa44f5a1f86cb40659eef06035d8d92604b9d5
backport: bdec7b3d4ccbcbd78fd4b6a2c6fe7a849754af52
700e8abd65b10792b2f179ce4e858f2ca2880f85:
title: 'devres: Fix memory leakage caused by driver API devm_free_percpu()'
mainline: bd50a974097bb82d52a458bd3ee39fb723129a0c
backport: 9b6f7f34aae733309a35d9990d4a0cdf2d2eea3b
bea2d4588e90f56da62b0dd9099484a42498b08a:
title: 'perf/x86/intel/pt: Export pt_cap_get()'
mainline: f6d079ce867d679e4dffef5b3112c7634215fd88
backport: 9ce7856eccc159df29f62b1e5ff0c6239422bf63
e3fb71f7ecbf87228148c3287eac965927ef49be:
title: 'perf/x86/intel/pt: Use helpers to obtain ToPA entry size'
mainline: fffec50f541ace292383c0cbe9a2a97d16d201c6
backport: 2de7be6b1893e070e92da91bbaa35ce22950b189
67968b8c7603007751f140f3f9f8aa8e64fc26b2:
title: 'perf/x86/intel/pt: Use pointer arithmetics instead in ToPA entry calculation'
mainline: 539f7c26b41d4ed7d88dd9756de3966ae7ca07b4
backport: ab03429ae696126f00509dac54b632bfb2282240
e9d9ec1019a90aafdb54765a3b46f36f402b481a:
title: 'perf/x86/intel/pt: Split ToPA metadata and page layout'
mainline: 38bb8d77d0b932a0773b5de2ef42479409314f96
backport: a87ac310cc99adff1aa8315d829ce984dfc0cda6
418f7db13405953c2d9223275d365d9828169076:
title: 'perf/x86/intel/pt: Fix a topa_entry base address calculation'
mainline: ad97196379d0b8cb24ef3d5006978a6554e6467f
backport: d6c356954a61ce5a5f851b9aa858f9d906e4228d
35df377f38fb516111933f132b51a386b4d4892f:
title: 'remoteproc: imx_rproc: ignore mapping vdev regions'
mainline: 8f2d8961640f0346cbe892273c3260a0d30c1931
backport: 5d99fd6160cb1a1ecd0163220164b8d1fe2cecf6
a80423f6566bc5085d6bbdd2acdb80aa20c0e915:
title: 'remoteproc: imx_rproc: Fix ignoring mapping vdev regions'
mainline: afe670e23af91d8a74a8d7049f6e0984bbf6ea11
backport: c1239a005bbf4c6b43aec1155ac3d8466b640051
6884fd0283e0831be153fb8d82d9eda8a55acaaa:
title: 'remoteproc: imx_rproc: Skip over memory region when node value is NULL'
mainline: 2fa26ca8b786888673689ccc9da6094150939982
backport: 3e1715ba7291483690f92608e08aba0d12c5ef70
6f4bc8b021d3436e5dda88350d8e0ac3c8df400f:
title: 'drm/vmwgfx: Fix overlay when using Screen Targets'
mainline: cb372a505a994cb39aa75acfb8b3bcf94787cf94
backport: 4aff76137ef2fa40ec1f424eb8e743673ffe5434
84f40b46787ecb67c7ad08a5bb1376141fa10c01:
title: 'net/iucv: fix use after free in iucv_sock_close()'
mainline: f558120cd709682b739207b48cf7479fd9568431
backport: 582d87d965d3600b178bbaf8947523e5478da1d1
97a4f78feadc431a050cc26355f95ac3d73a4d4c:
title: 'ipv6: fix ndisc_is_useropt() handling for PIO'
mainline: a46c68debf3be3a477a69ccbf0a1d050df841676
backport: c04add3c9adf1402f47ff8f51dd2ee533e863a00
ed42e8ff509d2a61c6642d1825032072dab79f26:
title: protect the fetch of ->fd[fd] in do_dup2() from mispredictions
mainline: 8aa37bde1a7b645816cda8b80df4753ecf172bf1
backport: f4c005cc381764f082f66825073bb6c43f54fe14
f4eb853103674698416ba66d41317b1d869d4bdc:
title: 'ALSA: usb-audio: Correct surround channels in UAC1 channel map'
mainline: b7b7e1ab7619deb3b299b5e5c619c3e6f183a12d
backport: 71a0712ba842211e6dc1a4f7e91dd6c7502eebe5
9f04dbd139aa1988fc8b7984ffbce7849be73f21:
title: 'net: usb: sr9700: fix uninitialized variable use in sr_mdio_read'
mainline: 08f3a5c38087d1569e982a121aad1e6acbf145ce
backport: 3f465b02b4b919181c45ef14fe5ca3638b87ac5c
2f61f0c6b7411212acd6490c5629b0049e8eaefa:
title: 'irqchip/mbigen: Fix mbigen node address layout'
mainline: 6be6cba9c4371d27f78d900ccfe34bb880d9ee20
backport: 6f4e6f1f7e5d27fa977d9900aba67c9cc3c15d4e
18da1b27ce16a14a9b636af9232acb4fb24f4c9e:
title: 'x86/mm: Fix pti_clone_pgtable() alignment assumption'
mainline: 41e71dbb0e0a0fe214545fe64af031303a08524c
skipped: fixes patch not in branch
3c90a69533b5bba73401ef884d033ea49ee99662:
title: 'net: usb: qmi_wwan: fix memory leak for not ip packets'
mainline: 7ab107544b777c3bd7feb9fe447367d8edd5b202
backport: 193653bb5bb78ddaa2698760912db0248833cccc
3840189e4619af11f558e6faff80813f008246a6:
title: 'net: linkwatch: use system_unbound_wq'
mainline: 3e7917c0cdad835a5121520fc5686d954b7a61ab
backport: 928a0513e3f0353f456c9734695c47a94f423c54
64f4938368f4be563b7652d6b18d37b317913b47:
title: 'Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()'
mainline: c531e63871c0b50c8c4e62c048535a08886fba3e
backport: 0c7df8f6eff3aa1044d3f97dd249112dc4301778
7762f5317db83b70099ed1b2c100df54abddaec1:
title: 'net: fec: Stop PPS on driver remove'
mainline: 8fee6d5ad5fa18c270eedb2a2cdf58dbadefb94b
backport: 20cb64898909ba7ccad47d1e52e980ba859c29c0
2c92f8c1c456d556f15cbf51667b385026b2e6a0:
title: 'md/raid5: avoid BUG_ON() while continue reshape after reassembling'
mainline: 305a5170dc5cf3d395bb4c4e9239bca6d0b54b49
backport: a10b1779aca24535b14edba941cb59fbd35ce7c9
026befb502ce41384e5119df12c9f2d4067cb23c:
title: 'clocksource/drivers/sh_cmt: Address race condition for clock events'
mainline: db19d3aa77612983a02bd223b3f273f896b243cf
backport: f9ec6971715991696e49430547551697f1153be6
a35a163cd56b583ef698eadef9b856b0fe6e2727:
title: 'PCI: Add Edimax Vendor ID to pci_ids.h'
mainline: eee5528890d54b22b46f833002355a5ee94c3bb4
backport: ca0a3431163788b838bdccff1eac2b84a30bee91
097420e48e30f51e8f4f650b5c946f5af63ec1a3:
title: 'udf: prevent integer overflow in udf_bitmap_free_blocks()'
mainline: 56e69e59751d20993f243fb7dd6991c4e522424c
backport: 12ce9c96b15650623040f0d999b91b5d12f9936f
f4d99b55dca90ca703bdd57ee8d557cd8d6c1639:
title: 'wifi: nl80211: don''t give key data to userspace'
mainline: a7e5793035792cc46a1a4b0a783655ffa897dfe9
backport: a253db7576fd90aaa15b1dabec335f2f9df7c21e
fad0bb34cfcea693903409356693988f04715b8e:
title: 'btrfs: fix bitmap leak when loading free space cache on duplicate entry'
mainline: 320d8dc612660da84c3b70a28658bb38069e5a9a
backport: dd102bb94b5dba7e5376f09504503f3bc2cf16da
019f538f9fe0b48bb436135edba69aa3a5156cdb:
title: 'media: uvcvideo: Ignore empty TS packets'
mainline: 5cd7c25f6f0576073b3d03bc4cfb1e8ca63a1195
backport: feddc92ee4859f5e6c5a69135f94547740b292a9
eada6212c055089962ca3ee7b8ab11d8f4d0e4f5:
title: 'media: uvcvideo: Fix the bandwdith quirk on USB 3.x'
mainline: 9e3d55fbd160b3ca376599a68b4cddfdc67d4153
backport: 00a39f4e0adbb1b194e0a1ba2219e26c57042dc7
831db95409cc12589c14a71b9bf6c3e7f70bf5a0:
title: 'jbd2: avoid memleak in jbd2_journal_write_metadata_buffer'
mainline: cc102aa24638b90e04364d64e4f58a1fa91a1976
backport: 82f1f40db08d606f0538e4a88e06a919b8656645
7a7e60ed23d471a07dbbe72565d2992ee8244bbe:
title: 's390/sclp: Prevent release of buffer in I/O'
mainline: bf365071ea92b9579d5a272679b74052a5643e35
skipped: fixes code not in 4.14.y
06d281f0ad7504e9f250c6a9ef78d9e48cea5717:
title: 'SUNRPC: Fix a race to wake a sync task'
mainline: ed0172af5d6fc07d1b40ca82f5ca3979300369f7
backport: 6062fd1ee48c6cb081cbc525e31fd43fa9632dbc
585b8d86c39882425f737b800e7552fb42a4785f:
title: 'ext4: fix wrong unit use in ext4_mb_find_by_goal'
mainline: 99c515e3a860576ba90c11acbc1d6488dfca6463
backport: fb37e57b6e2f8217b201737f10af809289674469
ced08f48bdc3f7d4b13d9355283cfeee523220ce:
title: 'arm64: Add support for SB barrier and patch in over DSB; ISB sequences'
mainline: bd4fb6d270bc423a9a4098108784f7f9254c4e6d
skipped: new feature
6ad94963c7bf76085eaf852a104afa0a272a7c3c:
title: 'arm64: cpufeature: Force HWCAP to be based on the sysreg visible to user-space'
mainline: 237405ebef580a7352a52129b2465c117145eafa
skipped: new feature
ab807f3011075a045c2e6944a3c5fc22ed29532d:
title: 'arm64: Add Neoverse-V2 part'
mainline: f4d9d9dcc70b96b5e5d7801bd5fbf8491b07b13d
skipped: new feature
622c917154477948203f7f0871dbf528f48635cc:
title: 'arm64: cputype: Add Cortex-X4 definitions'
mainline: 02a0a04676fa7796d9cbc9eb5ca120aaa194d2dd
skipped: new feature
588fd573491287b3ebc84c51cfb6b357bdb9a002:
title: 'arm64: cputype: Add Neoverse-V3 definitions'
mainline: 0ce85db6c2141b7ffb95709d76fc55a27ff3cdc1
skipped: new feature
213506584d4422288b73d1f99097a5fc39207b46:
title: 'arm64: errata: Add workaround for Arm errata 3194386 and 3312417'
mainline: 7187bb7d0b5c7dfa18ca82e9e5c75e13861b1d88
skipped: new feature
a11ef811b9763002b41ad44185654f8e70da68d5:
title: 'arm64: cputype: Add Cortex-X3 definitions'
mainline: be5a6f238700f38b534456608588723fba96c5ab
skipped: new feature
b1759d12e00cbced653c450adc2bfa9c04ce3cc2:
title: 'arm64: cputype: Add Cortex-A720 definitions'
mainline: add332c40328cf06fe35e4b3cde8ec315c4629e5
skipped: new feature
9c376afba7d9a787f8452052dc3af479253c5678:
title: 'arm64: cputype: Add Cortex-X925 definitions'
mainline: fd2ff5f0b320f418288e7a1f919f648fbc8a0dfc
skipped: new feature
023c0f2e7f168e0c9e6f04c126d404bef6ca3130:
title: 'arm64: errata: Unify speculative SSBS errata logic'
mainline: ec768766608092087dfb5c1fc45a16a6f524dee2
skipped: new feature
873b451ffbd4a438d470ec1c95aba110610c09cd:
title: 'arm64: errata: Expand speculative SSBS workaround'
mainline: 75b3c43eab594bfbd8184ec8ee1a6b820950819a
skipped: new feature
e9a2bed4156d0504ad19cdf283194d63909b8d7c:
title: 'arm64: cputype: Add Cortex-X1C definitions'
mainline: 58d245e03c324d083a0ec3b9ab8ebd46ec9848d7
skipped: new feature
6dbc0fbaa6f3db35c1ae78e381fa5f06327f0acf:
title: 'arm64: cputype: Add Cortex-A725 definitions'
mainline: 9ef54a384526911095db465e77acc1cb5266b32c
skipped: new feature
236f749edbd6c194f6dc8bd1393c8e56fd773f32:
title: 'arm64: errata: Expand speculative SSBS workaround (again)'
mainline: adeec61a4723fd3e39da68db4cc4d924e6d7f641
skipped: new feature
6adca954fc039151ef4f9c1ea1f201e12a24593d:
title: 'i2c: smbus: Don''t filter out duplicate alerts'
mainline: dca0dd28fa5e0a1ec41a623dbaf667601fc62331
backport: 7a346f1ce3ab37134f2365ab6a74422747285fdb
9540badee607a99cc07bddbd0a7d4a01fd3b9661:
title: 'i2c: smbus: Improve handling of stuck alerts'
mainline: 37c526f00bc1c4f847fc800085f8f009d2e11be6
backport: c364d250ada36665ea06f204449d1162cb5e1432
3b20631d0704fe4f6bf4cf9a49fd19871ebaeffb:
title: 'i2c: smbus: Send alert notifications to all devices if source not found'
mainline: f6c29f710c1ff2590109f83be3e212b86c01e0f3
backport: a0bb631d7d0a1773ebbb427ac8564ae8818b4dfe
0b8cf71c2c1b9a6e8f7acd620d8e4b0c24a12920:
title: 'bpf: kprobe: remove unused declaring of bpf_kprobe_override'
mainline: 0e8b53979ac86eddb3fd76264025a70071a25574
skipped: fixes patch not in branch
bebc69b574d6a3c54e8951dd891e78a20e2a3f54:
title: 'spi: lpspi: Replace all "master" with "controller"'
mainline: 07d71557494c05b0651def1651bf6d7e7f47bbbb
backport: 0ef61696a9fff3915fb5aa6f7bb9f89682d10ad9
b1b5a04eadd9b786dcd4bc82e726498a8f6fd50a:
title: 'spi: lpspi: Add slave mode support'
mainline: bcd87317aae26b9ac497cbc1232783aaea1aeed4
backport: 12bfab716ae4cd47449d7636a25326099daa10a9
8f8b12339ef7cc8e15989f6445aad5a9bf8c00f5:
title: 'spi: lpspi: Let watermark change with send data length'
mainline: cf86874bb9bdb99ba3620428b59b0408fbc703d0
backport: 6a6c19da1d3917fc8c51d2fd69b667a5e7b192ec
0b536d6c52a88b6a5a7f40d1ac91ffe170b8df87:
title: 'spi: lpspi: Add i.MX8 boards support for lpspi'
mainline: f5e5afdb0e56e81123e02b6a64dd32adc19a90d4
backport: dc2d2de15c66a8e41275b4d59e6082955e477991
3bb46e26783c3c86e67172f695908a066be69e12:
title: 'spi: lpspi: add the error info of transfer speed setting'
mainline: 77736a98b859e2c64aebbd0f90b2ce4b17682396
backport: 030b58b3539d0fdccf6284113c29f60c76b60916
da6cc32c245500f417e4b96d67722b8a0a07fd94:
title: 'spi: fsl-lpspi: remove unneeded array'
mainline: 2fa98705a9289c758b6154a22174aa8d4041a285
backport: d859e0255cb169a2d7aa96b42defafd7c515df0c
81964823116357a636201afa4010fa30f050446e:
title: 'spi: spi-fsl-lpspi: Fix scldiv calculation'
mainline: 730bbfaf7d4890bd99e637db7767dc68cfeb24e7
backport: dcde078eb1be234c810305963c845eaa63f20813
643293b68fbb6c03f5e907736498da17d43f0d81:
title: 'ALSA: line6: Fix racy access to midibuf'
mainline: 15b7a03205b31bc5623378c190d22b7ff60026f1
backport: 9ab8902f51b8ac3c51666922a9719c1e4d81f105
5a3c473b28ae1c1f7c4dc129e30cb19ae6e96f89:
title: 'usb: vhci-hcd: Do not drop references before new references are gained'
mainline: afdcfd3d6fcdeca2735ca8d994c5f2d24a368f0a
backport: d41cf1c7bc4e9706d684d3fb2c24046f673ffb78
1907ed1be026c771086e6adc560f38dc50e82382:
title: 'USB: serial: debug: do not echo input by default'
mainline: 00af4f3dda1461ec90d892edc10bec6d3c50c554
backport: 95314b1272d1d96f5737c5b1e208fabd1128db3c
ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a:
title: 'usb: gadget: core: Check for unset descriptor'
mainline: 973a57891608a98e894db2887f278777f564de18
backport: 551fbbddb6f5ff52bdb1c0cdb3d096e359e088da
c4da5b5deb343346909920c41645ad85adff4c6c:
title: 'scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic'
mainline: ab9fd06cb8f0db0854291833fc40c789e43a361f
backport: b41af170f9ad55d4780688b92c032579655218fe
f54abf332a2bc0413cfa8bd6a8511f7aa99faea0:
title: 'tick/broadcast: Move per CPU pointer access into the atomic section'
mainline: 6881e75237a84093d0986f56223db3724619f26e
backport: 6fad54cc7a6c8c4750209bfcff1b54dd60b086db
9dfe2eef1ecfbb1f29e678700247de6010784eb9:
title: 'ntp: Clamp maxerror and esterror to operating range'
mainline: 87d571d6fb77ec342a985afa8744bb9bb75b3622
backport: 07f7f40df90538c4bacb06d64ededc68b6d6e9bf
49ea4e0d862632d51667da5e7a9c88a560e9c5a1:
title: 'driver core: Fix uevent_show() vs driver detach race'
mainline: 15fffc6a5624b13b428bb1c6e9088e32a55eb82c
backport: c72f8e96b8386d50894df2faed9718d7cbfc312d
a13f8b269b6f4c9371ab149ecb65d2edb52e9669:
title: 'ntp: Safeguard against time_constant overflow'
mainline: 06c03c8edce333b9ad9c6b207d93d3a5ae7c10c0
backport: 53390d85b1f4fca100eca68612fe9ae736ef5caf
3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba:
title: 'serial: core: check uartclk for zero to avoid divide by zero'
mainline: 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193
backport: 1d33b86b2b99774eae26926b2f5f4900f826638f
f1aa9f19da35f72ce8ec3196f0a7bc06e296aaeb:
title: 'power: supply: axp288_charger: Fix constant_charge_voltage writes'
mainline: b34ce4a59cfe9cd0d6f870e6408e8ec88a964585
backport: d9b1fa9a24e5ba3115a289421d535abf954efd7a
e3cb8400a72a9e5e25365d380b290cdd50ccdb5c:
title: 'power: supply: axp288_charger: Round constant_charge_voltage writes down'
mainline: 81af7f2342d162e24ac820c10e68684d9f927663
backport: bd9bfbcc05c1c7af22dfa9ca8b2ff1d6395db661
302ceb625d7b990db205a15e371f9a71238de91c:
title: 'tracing: Fix overflow in get_free_elt()'
mainline: bcf86c01ca4676316557dd482c8416ece8c2e143
backport: b28271a4428daf3c20b71a8e7cf218a4c38c698b
34f36e6ee5bd7eff8b2adcd9fcaef369f752d82e:
title: 'x86/mtrr: Check if fixed MTRRs exist before saving them'
mainline: 919f18f961c03d6694aa726c514184f2311a4614
backport: 4f0b886693fe2a82d8896cd431eb529777e1bbdc
52f05898629b25fc382754d837be624205ce67f8:
title: 'drm/bridge: analogix_dp: properly handle zero sized AUX transactions'
mainline: e82290a2e0e8ec5e836ecad1ca025021b3855c2d
backport: 5dfe0cc24eab4d1e640e3cfc7ef155216fb29f2a
7db72e8e538e10afefe589d6203ffb4f5a1cbd9a:
title: 'drm/mgag200: Set DDC timeout in milliseconds'
mainline: ecde5db1598aecab54cc392282c15114f526f05f
backport: e391c9f51faaf4a35bb29343af0d29164938363a
9dd6e5296c8ad1bbb88933b8150383bc0eba9488:
title: 'kbuild: Fix ''-S -c'' in x86 stack protector scripts'
mainline: 3415b10a03945b0da4a635e146750dfe5ce0f448
backport: 6bd6cf1374f27ba771760e53caf8c276e794b638
61fbbac22c8ce73d0c492caf45a286c3f021c0fd:
title: 'netfilter: nf_tables: set element extended ACK reporting support'
mainline: b53c116642502b0c85ecef78bff4f826a7dd4145
backport: 9aee9974b20b6907210221aba005ec36135348a4
f8dfda798650241c1692058713ca4fef8e429061:
title: 'netfilter: nf_tables: use timestamp to check for set element timeout'
mainline: 7395dfacfff65e9938ac0889dafa1ab01e987d15
skipped: too risky to backport
1947e4c3346faa8ac7e343652c0fd3b3e394202f:
title: 'netfilter: nf_tables: prefer nft_chain_validate'
mainline: cff3bd012a9512ac5ed858d38e6ed65f6391008c
skipped: missing nft_chain_validate() and related code
5e1d9d92c5ef03c177422262cce31863af964ef3:
title: 'arm64: cpufeature: Fix the visibility of compat hwcaps'
mainline: 85f1506337f0c79a4955edfeee86a18628e3735f
skipped: (unknown reason)
92d206c404e4b1780a7d188aac2c7c34c3f15ac3:
title: 'media: uvcvideo: Use entity get_cur in uvc_ctrl_set'
mainline: 5f36851c36b30f713f588ed2b60aa7b4512e2c76
skipped: revert fixed patch instead
3e06073d24807f04b4694108a8474decb7b99e60:
title: 'drm/i915/gem: Fix Virtual Memory mapping boundaries calculation'
mainline: 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3
backport: 3ccfe379cab98c308e84733885655b1c7c956b80
d5c3c7e26275a2d83b894d30f7582a42853a958f:
title: 'exec: Fix ToCToU between perm check and set-uid/gid usage'
mainline: f50733b45d865f91db90919f8311e2127ce5a0cb
backport: 02acb3b20db4e8372b854be6ce9846446def401c
9cc0878c7d7f12c10b3cc40197668816c918b465:
title: 'nvme/pci: Add APST quirk for Lenovo N60z laptop'
mainline: ab091ec536cb7b271983c0c063b17f62f3591583
backport: 92af3424a5a42e8014f39c82996fe01a8ba6aaf0

View File

@@ -1,394 +0,0 @@
49934861514d36d0995be8e81bb3312a499d8d9a:
title: 'fuse: Initialize beyond-EOF page contents before setting uptodate'
mainline: 3c0da3d163eb32f1f91891efaade027fa9b245b9
backport: fcb5aec66ce07e8329a51583b152150aa659236a
05c60b306979935e5e4f2339a0ceece783893813:
title: 'ALSA: usb-audio: Support Yamaha P-125 quirk entry'
mainline: c286f204ce6ba7b48e3dcba53eda7df8eaa64dd9
backport: 3d810347c95892c8f2ad7524a9dfac7643a838d2
ef0a0e616b2789bb804a0ce5e161db03170a85b6:
title: 'xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration'
mainline: af8e119f52e9c13e556be9e03f27957554a84656
skipped: fixes patch not in branch
2fbc3c6736cb0a1c2738664bf9381d0c96fb7a06:
title: 'arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE'
mainline: a21dcf0ea8566ebbe011c79d6ed08cdfea771de3
skipped: fixes patch not in branch
a809f6d8b10ce6d42e205a49c8855def77e1d452:
title: 'dm resume: don''t return EINVAL when signalled'
mainline: 7a636b4f03af9d541205f69e373672e7b2b60a8a
backport: ceb3e3f9e1dc2aabfbe3ad010e400a085270ea3b
90a6b797e95d0f4bef30fbab423759f4e9999506:
title: 'dm persistent data: fix memory allocation failure'
mainline: faada2174c08662ae98b439c69efe3e79382c538
backport: 058be20653b9ce45b758e8e9f41c91f4fd51eebc
188729977a0cfac6e04a59bf75f85ccd19ad4b4d:
title: 'bitmap: introduce generic optimized bitmap_size()'
mainline: a37fbe666c016fd89e4460d0ebfcea05baba46dc
skipped: commit did not cherry-pick cleanly
ee501f827f3db02d4e599afbbc1a7f8b792d05d7:
title: fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
mainline: 9a2fa1472083580b6c66bdaf291f591e1170123a
skipped: commit did not cherry-pick cleanly
5d93f05ed258c92a8925b74bc36101af36c22732:
title: 'selinux: fix potential counting error in avc_add_xperms_decision()'
mainline: 379d9af3f3da2da1bbfa67baf1820c72a080d1f1
backport: e12d520dc158be6dc4177147186a5ae53ebc2aaa
c5e2c86aef97d4b17ccb52879ab524a36a93566d:
title: 'drm/amdgpu: Actually check flags for all context ops.'
mainline: 0573a1e2ea7e35bff08944a40f1adf2bb35cea61
backport: 854d4d53234aa5ebf5ec8dc947cb5a8e3288bf9d
fa5bfdf6cb5846a00e712d630a43e3cf55ccb411:
title: 'memcg_write_event_control(): fix a user-triggerable oops'
mainline: 046667c4d3196938e992fba0dfcde570aa85cd0e
backport: 6f2b82ee5ceb2de5411a2742b352030f08ae183b
537201a9c9d82d3809de8e692465671b98d7cf77:
title: 's390/cio: rename bitmap_size() -> idset_bitmap_size()'
mainline: c1023f5634b9bfcbfff0dc200245309e3cde9b54
backport: 0671b47894f55a65eee7907574ae9a4e6a681be8
81bec94f5d864318fa4fccfd06e5449c501885b7:
title: 'overflow.h: Add flex_array_size() helper'
mainline: b19d57d0f3cc6f1022edf94daf1d70506a09e3c2
backport: ebb9622683941bdd58ebee5b744d9dd27d2cbe92
1f5cbd78177975aece64bb132948f611af2359c0:
title: 'overflow: Implement size_t saturating arithmetic helpers'
mainline: e1be43d9b5d0d1310dbd90185a8e5c7145dde40f
backport: c698c6c7ce9f267ce483b4276c10daedfae14295
eeca0881c04b07e053cd24b455012b6abd164328:
title: 'btrfs: rename bitmap_set_bits() -> btrfs_bitmap_set_bits()'
mainline: 4ca532d64648d4776d15512caed3efea05ca7195
backport: 5e78e68997f6e81f5ea7b7d7adcb0299f6cbe0eb
fe8dfead9acd674715c993094280f0b3990ff359:
title: 'net/mlx5e: Correctly report errors for ethtool rx flows'
mainline: cbc796be1779c4dbc9a482c7233995e2a8b6bfb3
skipped: fixes patch not in branch
628ea82190a678a56d2ec38cda3addf3b3a6248d:
title: 'atm: idt77252: prevent use after free in dequeue_rx()'
mainline: a9a18e8f770c9b0703dab93580d0b02e199a4c79
backport: 9c791f3833511ef47bd93f0069b3f216dc800843
bf845a2bcc6c8e373108b8fa940bfa9aac3ff9dd:
title: 'net: dsa: vsc73xx: pass value in phy_write operation'
mainline: 5b9eebc2c7a5f0cc7950d918c1e8a4ad4bed5010
skipped: fixes patch not in branch
b0862789cc11a214d31b6ff9c74bfede90dfb68d:
title: 'ssb: Fix division by zero issue in ssb_calc_clock_rate'
mainline: e0b5127fa134fe0284d58877b6b3133939c8b3ce
backport: cb51898f8eec5dd8524115da29d9414c6a117f67
2d109cefa3a51a6d826914f441a40d9efb1143b6:
title: 'wifi: cw1200: Avoid processing an invalid TIM IE'
mainline: b7bcea9c27b3d87b54075735c870500123582145
backport: f4d17cd8acb0d59a0c6e16c00d411e4047ce4af9
ce13105a492c91dce263198708b86773569ce370:
title: 'i2c: riic: avoid potential division by zero'
mainline: 7890fce6201aed46d3576e3d641f9ee5c1f0e16f
skipped: fixes non-present commit d982d66514192cdbe74eababa63d0a69be4b0ce1
936a24249747e0d995fc2d66524b043a3d158705:
title: 'staging: ks7010: disable bh on tx_dev_lock'
mainline: 058cbee52ccd7be77e373d31a4f14670cfd32018
backport: f22c4b1e57a22b1e5b6a0754286c8136ed290c14
263bcebf5c2ab1fe949517225157f34015124620:
title: 'binfmt_misc: cleanup on filesystem umount'
mainline: 1c5976ef0f7ad76319df748ccb99a4c7ba2ba464
backport: 0f4437492406977e2f14c77e67956facd888765d
5fe4af45db7988a0df3533d45aba085771654811:
title: 'scsi: spi: Fix sshdr use'
mainline: 0b149cee836aa53989ea089af1cb9d90d7c6ac9e
backport: 5e532c67718aa680857ff1bf76bf470f93dbf92d
686ef69ca191dcba8d325334c65a04a2589383e6:
title: 'gfs2: setattr_chown: Add missing initialization'
mainline: 2d8d7990619878a848b1d916c2f936d3012ee17d
backport: 431cbbd124292f497b4862a88ac60015765adb49
6b344eb86f3b47e18d8fc2b0ae3e8e927f098994:
title: 'wifi: iwlwifi: abort scan when rfkill on but device enabled'
mainline: 3c6a0b1f0add72e7f522bc9145222b86d0a7712a
backport: e0961317d13c9d29d8901ab4053bf102b9595b6e
479a0cffcca7e3672a7db5f9e23b147fb6cfba39:
title: 'powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu'
mainline: 45b1ba7e5d1f6881050d558baf9bc74a2ae13930
backport: 4297287b1132064e10b140991aa9d465d1926c24
cac7c9fcd15e92184c8e621b1f33d97d99505366:
title: 'ext4: do not trim the group with corrupted block bitmap'
mainline: 172202152a125955367393956acf5f4ffd092e0d
backport: 0c2fd9f775685c502a30310255f91b826b979cbf
c08d02053b9e98dffea9b9b378dc90547e4621e8:
title: 'quota: Remove BUG_ON from dqget()'
mainline: 249f374eb9b6b969c64212dd860cc1439674c4a8
backport: df321d5b02416398d284e7af74bf4dfce4879e83
8e31b096e2e1949bc8f0be019c9ae70d414404c6:
title: 'media: pci: cx23885: check cx23885_vdev_init() return'
mainline: 15126b916e39b0cb67026b0af3c014bfeb1f76b3
backport: 4e2660eb12ff478bc6604d3b6d34d5052a2e5a3e
8ca5b21fa9b2c13aad93a97992b92f9360988fe9:
title: 'fs: binfmt_elf_efpic: don''t use missing interpreter''s properties'
mainline: 15fd1dc3dadb4268207fa6797e753541aca09a2a
backport: eba1af4c431230bd41b1018f1000f95e02f2ef92
50568ec1402e601125845835c326310031c65c81:
title: 'scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list()'
mainline: 3d0f9342ae200aa1ddc4d6e7a573c6f8f068d994
backport: 7cb20343fea9c616687a8ba6feb41a543f94e57e
7783533f788e59691102bae6e2df03f2109624de:
title: 'net/sun3_82586: Avoid reading past buffer in debug output'
mainline: 4bea747f3fbec33c16d369b2f51e55981d7c78d0
backport: 8ab663cd2711e234d222565fc86632a09319263a
5c11581df1f58c43ce8b2e9c14184ab1f75c883f:
title: 'md: clean up invalid BUG_ON in md_ioctl'
mainline: 9dd8702e7cd28ebf076ff838933f29cf671165ec
backport: 7ce64ccc2ff813b5cccd19298f889c464cab3f4d
fea29d479eb470102cd025d9279503a2bfd28c60:
title: 'parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367'
mainline: 73cb4a2d8d7e0259f94046116727084f21e4599f
backport: 172e698211ff81d1c66161b4591efc8c21c350dc
cd146e31691187ec22b404a2771db199d370d59d:
title: 'powerpc/boot: Handle allocation failure in simple_realloc()'
mainline: 69b0194ccec033c208b071e019032c1919c2822d
backport: d8893f4de9af18d7878cef063d94387d122e9901
1180feef209487d2a95ba8fede71ec6add2e8e52:
title: 'powerpc/boot: Only free if realloc() succeeds'
mainline: f2d5bccaca3e8c09c9b9c8485375f7bdbb2631d2
backport: 8d63c5821851b1b13fe34eb0d41189cc05b498a9
be9ce497c7cb293f93cf98ef563b6456bac75686:
title: 'btrfs: change BUG_ON to assertion when checking for delayed_node root'
mainline: be73f4448b607e6b7ce41cd8ef2214fdf6e7986f
backport: b52a80ebbf8e6be987ee8e40a7a1d7e550cafe3f
ebce7d482d1a08392362ddf936ffdd9244fb1ece:
title: 'btrfs: handle invalid root reference found in may_destroy_subvol()'
mainline: 6fbc6f4ac1f4907da4fc674251527e7dc79ffbf6
backport: 4ae1ece59eff262456026a20164702f8ecfa2875
f0b54836bf2ff59b866a6db481f9ad46fa30b642:
title: 'btrfs: send: handle unexpected data in header buffer in begin_cmd()'
mainline: e80e3f732cf53c64b0d811e1581470d67f6c3228
backport: b1410389811d63127bd09bd1f21adba03e686b23
5ae1493c5eac1a7a7ced34970a24cb3a5680a63b:
title: 'btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_account_extent()'
mainline: f40a3ea94881f668084f68f6b9931486b1606db0
backport: 0a7ed5945f5b2fb92877188e2ebc78067937f7cc
3c2c864f19490da6e892290441ba7dcc7bae2576:
title: 'f2fs: fix to do sanity check in update_sit_entry'
mainline: 36959d18c3cf09b3c12157c6950e18652067de77
backport: 00705650825973da3c2fceae82def9e4eda121e4
29d8f0e05a33200db97d4b38c995c843a70f71e5:
title: 'usb: gadget: fsl: Increase size of name buffer for endpoints'
mainline: 87850f6cc20911e35eafcbc1d56b0d649ae9162d
backport: 7bc6f5f8bbb72993c108fa3f26283bd9c1406cc0
01ed379cb5ddc0049a348786b971fe53a31e6255:
title: 'Bluetooth: bnep: Fix out-of-bound access'
mainline: 0f0639b4d6f649338ce29c62da3ec0787fa08cd1
backport: 4eb6b4890ed3c23303144f9a5cd341b7b22a1612
4980d45cca2b1135a1ab3dea101425cf44da72cd:
title: 'NFS: avoid infinite loop in pnfs_update_layout.'
mainline: 2fdbc20036acda9e5694db74a032d3c605323005
backport: cfe972295c3312e0a91aa910d94770ecd44179ac
3979298b8033989f86d74ab47745e5fbe84a4ebb:
title: 'openrisc: Call setup_memory() earlier in the init sequence'
mainline: 7b432bf376c9c198a7ff48f1ed14a14c0ffbe1fe
backport: ca6e68d71ece21decaa46ff8b3694570e712b738
da6cc71ff6c8e6b5076e80550b4e79a3d8f111be:
title: 's390/iucv: fix receive buffer virtual vs physical address confusion'
mainline: 4e8477aeb46dfe74e829c06ea588dd00ba20c8cc
backport: 4832811162db2d2312cb89ee37849338312e6590
320bb9a5a6b79ba123d1e1f746edb52b41c7c1fb:
title: 'usb: dwc3: core: Skip setting event buffers for host only controllers'
mainline: 89d7f962994604a3e3d480832788d06179abefc5
backport: a4dc7b3a5f855afff980b9dcb0e2ceb24f7868d2
139510ec274c7cc8739bb8f63aed70e425c2f0d8:
title: 'irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc'
mainline: 382d2ffe86efb1e2fa803d2cf17e5bfc34e574f3
backport: 2236d13af575a3658cee60e8db880740509d5b66
2f64ae32831e5a2bfd0e404c6e63b399eb180a0a:
title: 'ext4: set the type of max_zeroout to unsigned int to avoid overflow'
mainline: 261341a932d9244cbcd372a3659428c8723e5a49
backport: 90ef0457118eaeab238228f223059b1f93389d73
66fce1c83e2def702dd6a7fb77e986c062b20972:
title: 'nvmet-rdma: fix possible bad dereference when freeing rsps'
mainline: 73964c1d07c054376f1b32a62548571795159148
backport: 2e31c2b032e1c2868c06b57b319907c83004eddc
ccef3adcb84816a30b8e535c8c4fcb167904e7b1:
title: 'hrtimer: Prevent queuing of hrtimer without a function callback'
mainline: 5a830bbce3af16833fe0092dec47b6dd30279825
backport: b02d82c6edb6abc9c87d281af2b3050e618f2fa1
3d89d0c4a1c6d4d2a755e826351b0a101dbc86f3:
title: 'gtp: pull network headers in gtp_dev_xmit()'
mainline: 3a3be7ff9224f424e485287b54be00d2c6bd9c40
backport: 8e448b4536e8b8cc387052bdb058ca595627bf1f
ee12aa483f6c8cecbd5a4c794867fee0e068b822:
title: 'block: use "unsigned long" for blk_validate_block_size().'
mainline: 37ae5a0f5287a52cf51242e76ccf198d02ffe495
backport: 30a1325eab21676ba9c453de44e70fe598a6b8e0
67cddb2a1b256941952ebf501f8fc4936b704c8b:
title: 'Bluetooth: Make use of __check_timeout on hci_sched_le'
mainline: 1b1d29e5149990e44634b2e681de71effd463591
backport: 52e5665bbc50c235e1498d2f40d1004c817a7895
edb7dbcf8c1e95dc18ada839526ff86df3258d11:
title: 'Bluetooth: hci_core: Fix not handling link timeouts propertly'
mainline: 116523c8fac05d1d26f748fee7919a4ec5df67ea
backport: 874a31d69b75d57b7e017d7418a5e4ab4e537dc0
08829a8ff1303b1a903d1417dc0a06ffc7d17044:
title: 'Bluetooth: hci_core: Fix LE quote calculation'
mainline: 932021a11805b9da4bd6abf66fe233cccd59fe0e
backport: ac7a5e553fe290082863eac89a4c79ec941a947c
8c9cdbf600143bd6835c8b8351e5ac956da79aec:
title: 'kcm: Serialise kcm_sendmsg() for the same socket.'
mainline: 807067bf014d4a3ae2cc55bd3de16f22a01eb580
backport: 6bff278ca0373109466e5e16c2b5b7feb2d275cc
31c28919a99f5c491e3cce4fa7293b12e330e247:
title: 'netfilter: nft_counter: Synchronize nft_counter_reset() against reader.'
mainline: a0b39e2dc7017ac667b70bdeee5293e410fab2fb
backport: 7308cdf114aa3e10b931d967f9c6224bea4da005
571567e0277008459750f0728f246086b2659429:
title: 'ipv6: prevent UAF in ip6_send_skb()'
mainline: faa389b2fbaaec7fd27a390b4896139f9da662e3
backport: 9011fa8f8e5bc75aa260d56c3c0f6fbfbd4f55d1
e15ae5f903e1e54594a55146973d1e615519ae97:
title: 'net: xilinx: axienet: Always disable promiscuous mode'
mainline: 4ae738dfef2c0323752ab81786e2d298c9939321
backport: 019fc01257a13f075f7bd93a6fa8e02d822dacbd
2eb83c10a7a5df6ba6f03bb50a22bf5b1145b050:
title: 'drm/msm: use drm_debug_enabled() to check for debug categories'
mainline: d8db0b36d888b6a5eb392f112dc156e694de2369
skipped: missing comming 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef
a996a9abce790d5bd417fac336117f0436b9f87c:
title: 'drm/msm/dpu: don''t play tricks with debug macros'
mainline: df24373435f5899a2a98b7d377479c8d4376613b
skipped: fixes patch not in branch
e97be13a9f51284da450dd2a592e3fa87b49cdc9:
title: 'mmc: mmc_test: Fix NULL dereference on allocation failure'
mainline: a1e627af32ed60713941cbfc8075d44cad07f6dd
backport: a2b9cfe9687c3389a4cbc8b8e665baad4ef6087f
11b4b0e63f2621b33b2e107407a7d67a65994ca1:
title: 'Bluetooth: MGMT: Add error handling to pair_device()'
mainline: 538fd3921afac97158d4177139a0ad39f056dbb2
backport: ff165baf4bce33ecf7d628676ff606401ceb317f
10ddadfab0272f37c9c73095c089970e65b38824:
title: 'HID: wacom: Defer calculation of resolution until resolution_code is known'
mainline: 1b8f9c1fb464968a5b18d3acc1da8c00bad24fad
backport: 0ab5b59ccee3b6a0b46021458d60a8a7d3497bcc
4ffb49d818131d1243b85e19cae23bbc27f4a409:
title: 'cxgb4: add forgotten u64 ivlan cast before shift'
mainline: 80a1e7b83bb1834b5568a3872e64c05795d88f31
skipped: fixes patch not in branch
714ac96c0d6e594b50d89d79e07ae76d22040b73:
title: 'mmc: dw_mmc: allow biu and ciu clocks to defer'
mainline: 6275c7bc8dd07644ea8142a1773d826800f0f3f7
backport: 9d1b2b527ab3dd13c18c3460b50f474ede01cacf
bfe0ba951567d9e4a2c60424d12067000ee27158:
title: 'ALSA: timer: Relax start tick time check for slave timer elements'
mainline: ccbfcac05866ebe6eb3bc6d07b51d4ed4fcde436
backport: 408390db2ed1d018b5f958bec4dc86cf1d27fe77
aea24ef5e9b2bbc5d5d05e39b10573971b91241c:
title: 'Bluetooth: hci_ldisc: check HCI_UART_PROTO_READY flag in HCIUARTGETPROTO'
mainline: 9c33663af9ad115f90c076a1828129a3fbadea98
backport: 2ec8267b2741c4c576ec568dbfb4802d2880345f
2829c80614890624456337e47320289112785f3e:
title: 'Input: MT - limit max slots'
mainline: 99d3bf5f7377d42f8be60a6b9cb60fb0be34dceb
backport: f0ca8ebc5b58f920ed33dd6bd7d7e515744eb362
bef72d1acb7fadfc7a9d896da5004dfa5beb106c:
title: 'tools: move alignment-related macros to new <linux/align.h>'
mainline: 10a04ff09bcc39e0044190ffe9f00f998f13647c
skipped: (unknown reason)
d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8:
title: 'drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc'
mainline: 88a9a467c548d0b3c7761b4fd54a68e70f9c0944
backport: c3429e72b0b782a2bbaafb19d69018b65d0bd26f
0a2bab5ed161318f57134716accba0a30f3af191:
title: 'pinctrl: single: fix potential NULL dereference in pcs_get_function()'
mainline: 1c38a62f15e595346a1106025722869e87ffe044
backport: 88f275a1e9972573add8003dc920818f17e8750a
42a15750b777edcb9be4eeea16ea04c0c4869cdc:
title: 'wifi: mwifiex: duplicate static structs used in driver instances'
mainline: 27ec3c57fcadb43c79ed05b2ea31bc18c72d798a
backport: 202eaab237a3cc7da4b688a77234744f62f31ccf
ac7f3b1e424f2f38e81d27d7e1ecb30dcd9dd651:
title: 'dm suspend: return -ERESTARTSYS instead of -EINTR'
mainline: 1e1fd567d32fcf7544c6e09e0e5bc6c650da6e23
backport: 17fc0471635d9dca0781f8c90dbbd4161950b9fc
868e60c28c2e838a005b41d2f69e923a07080a48:
title: 'scsi: mpt3sas: Avoid IOMMU page faults on REPORT ZONES'
mainline: 82dbb57ac8d06dfe8227ba9ab11a49de2b475ae5
backport: 2df5bdcc5b24b465d66f322073a523ba9ed852f3
a1177ea83da87a87cc352aa41f24d61c08c80b5d:
title: 'filelock: Correct the filelock owner in fcntl_setlk/fcntl_setlk64'
34666cab862a8154013713aaee0cc5da1241dd75:
title: 'media: uvcvideo: Fix integer overflow calculating timestamp'
mainline: 8676a5e796fa18f55897ca36a94b2adf7f73ebd1
backport: 16913ef7e6317548e59036f4ee331d6f2f7f8913
d9c4df80b1b009de1eb77c07e3bb4d45bd212aa5:
title: 'ata: libata-core: Fix null pointer dereference on error'
mainline: 5d92c7c566dc76d96e0e19e481d926bbe6631c1e
skipped: fixes commit 2623c7a5f2799569d8bb05eb211da524a8144cb3 not in 4.14
27d6dbdc6485d68075a0ebf8544d6425c1ed84bb:
title: 'cgroup/cpuset: Prevent UAF in proc_cpuset_show()'
mainline: 1be59c97c83ccd67a519d8a49486b3a8a73ca28a
backport: 4284ad6ee12894faa3fdfcc584a32aa4ce2a4fbc
9e235ce6facfef2cbde3e2a5f1ccce28d341880f:
title: 'memcg: enable accounting of ipc resources'
mainline: 18319498fdd4cdf8c1c2c48cd432863b1f915d6f
backport: f477af54dbe386b3ab323b5b765910e0e7851180
54eaaac622d4547b4abae7e44763b29fa0687132:
title: 'fbcon: Prevent that screen size is smaller than font size'
mainline: e64242caef18b4a5840b0e7a9bff37abd4f4f933
backport: cb4213b43b1c11a9c6a01ab412a48a78f372ec69
f453f32f13320137f2317c0ad7ae1c20508effca:
title: 'fbmem: Check virtual screen sizes in fb_set_var()'
mainline: 6c11df58fd1ac0aefcb3b227f72769272b939e56
backport: fc15b7d69dd3b6418c8de3a3ff52a2d380d76d92
6a967835748472229da405bdb7780f98084c6ebc:
title: 'net:rds: Fix possible deadlock in rds_message_put'
mainline: f1acf1ac84d2ae97b7889b87223c1064df850069
backport: ae877b9999278eedaf73d6e0e2797d3ed613d802
89db5346acb5a15e670c4fb3b8f3c30fa30ebc15:
title: 'ida: Fix crash in ida_free when the bitmap is empty'
mainline: af73483f4e8b6f5c68c9aa63257bdd929a9c194a
backport: 2cd2e32fc40226fe651a178ec13c343b18a58ba5
0d3ffbbf8631d6db0552f46250015648991c856f:
title: 'net: prevent mss overflow in skb_segment()'
mainline: 23d05d563b7e7b0314e65c8e882bc27eac2da8e7
backport: b9b5914ae919e100f936acf89c40564438eea7ca
2d63d5363dea478efd3ea37274332e399f4e5447:
title: 'soundwire: stream: fix programming slave ports for non-continous port maps'
mainline: ab8d66d132bc8f1992d3eb6cab8d32dda6733c84
skipped: fixes patch not in branch
620fe9809752fae91b4190e897b81ed9976dfb39:
title: 'gtp: fix a potential NULL pointer dereference'
mainline: defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda
backport: 05748e7d5793a9b4006096221f8c991a7eaf3849
1b1f0890fb51fc50bf990a800106a133f9036f32:
title: 'net: busy-poll: use ktime_get_ns() instead of local_clock()'
mainline: 0870b0d8b393dde53106678a1e2cec9dfa52f9b7
backport: 843fa098a51e412907dcd804d8e7cc3c28945edd
43f8d47eaa36c16eb0beafdedbfba51220b4fe69:
title: 'cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller'
mainline: 0b00583ecacb0b51712a5ecd34cf7e6684307c67
backport: 0089d92552aa7a94e2edb2441fe9017e20c4f63d
50f98b68051d01216bd59df5d0673d7a442d17cd:
title: 'USB: serial: option: add MeiG Smart SRM825L'
mainline: 9a471de516c35219d1722c13367191ce1f120fe9
backport: f44a24bcd5833a5b5d32a0bab95bed37a86cbf55
9c80a94d388528add073955108a1eeeed4c1c5ea:
title: 'usb: dwc3: omap: add missing depopulate in probe error path'
mainline: 2aa765a43817ec8add990f83c8e54a9a5d87aa9c
backport: c180e1013eb6b4db7ddf220491a2e325b7fcf06e
eca3f543f817da87c00d1a5697b473efb548204f:
title: 'usb: dwc3: core: Prevent USB core invalid event buffer address access'
mainline: 14e497183df28c006603cc67fd3797a537eef7b9
backport: 347ecd5288aaff7fcc0828d8e2bbd122cce42a43
b0979a885b9d4df2a25b88e9d444ccaa5f9f495c:
title: 'usb: dwc3: st: fix probed platform device ref count on probe error path'
mainline: ddfcfeba891064b88bb844208b43bef2ef970f0c
backport: f86e58bf1c74fcdfcfb78baecf156127409442be
0e9d60d0da23b5c344aaad9cb2088684f8548f9f:
title: 'usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes()'
mainline: 3a8839bbb86da7968a792123ed2296d063871a52
backport: 2a00c7c9045d6b359ab6b51e71ab4be6f4dac461
d237c7d06ffddcdb5d36948c527dc01284388218:
title: 'scsi: aacraid: Fix double-free on probe failure'
mainline: 919ddf8336f0b84c0453bac583808c9f165a85c2
backport: caebf7249fb7bd0cb68e7b6f8a88f033d82ac221
72793f5cc9e41f9ee33353d4594036817529b766:
title: 'ipc: remove memcg accounting for sops objects in do_semtimedop()'
mainline: 6a4746ba06191e23d30230738e94334b26590a8a
backport: 30eb6ce857111743822a317414a1f183319a105a
0975670c14287183571d01858e8020114a14d76a:
title: 'drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var'
mainline: 1935f0deb6116dd785ea64d8035eab0ff441255b
backport: 6c3aa8fda82fedf05e697ef8c57d92c3b9d838b8

View File

@@ -1,384 +0,0 @@
226a6773a78d4fd27c03cfdf1f811dbf278fb3d0:
title: 'net: usb: qmi_wwan: add MeiG Smart SRM825L'
mainline: 1ca645a2f74a4290527ae27130c8611391b07dbf
backport: a1474ea9b7ab89dba81a2449bf4a4173115b06a7
82dde26c330f14cee56ea30bb1044f4b514c67b5:
title: 'usb: dwc3: st: Add of_node_put() before return in probe function'
mainline: e36721b90144bb46e1b6477be3ab63439c7fb79b
backport: 107fdbcb323ac570bf914e6f547a8d923b82c087
a3718c676adb9dbc24dc7b9b293020c9a20f3fdb:
title: 'usb: dwc3: st: add missing depopulate in probe error path'
mainline: cd4897bfd14f6a5388b21ba45a066541a0425199
backport: 1dfc1828c8cfae2b2e8023a4a4eab6734214d2f9
f00ce6b3344b744af491d1edda9905b188f590a7:
title: 'drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr'
mainline: c0d6bd3cd209419cc46ac49562bef1db65d90e70
backport: a1a53372278da6b1ddd71cdbfdae497c4dba7140
d1ab22df511cbe4a358421876153f4e1212132e2:
title: 'drm/amdgpu: fix overflowed array index read warning'
mainline: ebbc2ada5c636a6a63d8316a3408753768f5aa9f
backport: f8501ae9f302ddb01fd9011ac99b01c2c0f3a8b9
82ac8f1d02886b5d8aeb9e058989d3bd6fc581e2:
title: 'drm/amdgpu: fix ucode out-of-bounds read warning'
mainline: 8944acd0f9db33e17f387fdc75d33bb473d7936f
backport: 4012cee5397a8c2a5f2caf45957ab78b2309f300
5fa4df25ecfc7b6c9006f5b871c46cfe25ea8826:
title: 'drm/amdgpu: fix mc_data out-of-bounds read warning'
mainline: 51dfc0a4d609fe700750a62f41447f01b8c9ea50
backport: ff8f82a22c6faf27e9feb0c9b241d2fdd8c02584
456eb7de5747bcb505ce326dcaf9938f94735d16:
title: 'drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device'
mainline: 10f624ef239bd136cdcc5bbc626157a57b938a31
skipped: missing commit 520b8fb755ccfb07d8d743da5753cff1fcb74b9f
8d9da10a392a32368392f7a16775e1f36e2a5346:
title: 'apparmor: fix possible NULL pointer dereference'
mainline: 3dd384108d53834002be5630132ad5c3f32166ad
backport: 2b98e85d650c2c302dd61cf66485f99db7cfd9d9
ebc88484fc780068bce82e9a593513f7f9ed947c:
title: 'usbip: Don''t submit special requests twice'
mainline: 8b6b386f9aa936ed0c190446c71cf59d4a507690
backport: 570892930fbd745b1d6cf987586c4eddbe200732
d3f56c653c65f170b172d3c23120bc64ada645d8:
title: 'smack: tcp: ipv4, fix incorrect labeling'
mainline: 2fe209d0ad2e2729f7e22b9b31a86cc3ff0db550
backport: 4a9d23f110f9514fc28a67c5614565252b52965d
d1a4c613dd3ef57978fc366b4e3d72cd5083a1f9:
title: 'media: uvcvideo: Enforce alignment of frame and interval'
mainline: c8931ef55bd325052ec496f242aea7f6de47dc9c
backport: b0fb4622839090361ca56ed8b7d38780aca24f55
9f4af4cf08f9a0329ade3d938f55d2220c40d0a6:
title: 'block: initialize integrity buffer to zero before writing it to media'
mainline: 899ee2c3829c5ac14bfc7d3c4a5846c0b709b78f
backport: 18c1fde63128e9b0344b428cb18d2fb4b96b1399
19ac6f29bf64304ef04630c8ab56ecd2059d7aa1:
title: 'virtio_net: Fix napi_skb_cache_put warning'
mainline: f8321fa75102246d7415a6af441872f6637c93ab
skipped: fixes patch not in branch
a6211d4d3df3a5f90d8bcd11acd91baf7a3c2b5d:
title: 'udf: Limit file size to 4TB'
mainline: c2efd13a2ed4f29bf9ef14ac2fbb7474084655f8
backport: a47099495b459b9993552d22ae3f76829108947b
218f0478064e246c557d0319623eeb56f0827a8e:
title: 'ALSA: usb-audio: Sanity checks for each pipe and EP types'
mainline: 801ebf1043ae7b182588554cc9b9ad3c14bc2ab5
backport: 52e9edf6bcb1f0423742ad0ddf4baa5c2ffdf4db
5c4b0a778419d9deab8557265f4b3fd6f0e97e11:
title: 'ALSA: usb-audio: Fix gpf in snd_usb_pipe_sanity_check'
mainline: 5d78e1c2b7f4be00bbe62141603a631dc7812f35
backport: 787a4aa45f59ee42152a1775f54050dbc6b13a06
f0bddb4de043399f16d1969dad5ee5b984a64e7b:
title: 'sch/netem: fix use after free in netem_dequeue'
mainline: 3b3a2a9c6349e25a025d2330f479bc33a6ccb54a
backport: 458dd5f94d634c30594a935563c1e2c8accd0656
94e0cace44fe2b888cffc1c6905d1a9bfcf57c7a:
title: 'ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices'
mainline: 4178d78cd7a86510ba68d203f26fc01113c7f126
backport: 140cbd4f60beb751e66e7414f08df77f7f0d645b
f7827b47e9b2c72de0fa7cde388fdd407797be1b:
title: 'ata: libata: Fix memory leak for error path in ata_host_alloc()'
mainline: 284b75a3d83c7631586d98f6dede1d90f128f0db
skipped: fixes patch not in branch
32bd402f6760d57127d58a9888553b2db574bba6:
title: 'mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K'
mainline: 8396c793ffdf28bb8aee7cfe0891080f8cab7890
backport: 196ea167c8411ea8dbd90668b9fe48bf953bd474
13d787bb4f21b6dbc8d8291bf179d36568893c25:
title: 'fuse: use unsigned type for getxattr/listxattr size truncation'
mainline: b18915248a15eae7d901262f108d6ff0ffb4ffc1
backport: a5a11287ead5951b4549f86b5d2abcc44a5efd6b
30f9f759d7ed96735d5fe70330aab3a65456ba5f:
title: 'clk: qcom: clk-alpha-pll: Fix the pll post div mask'
mainline: 2c4553e6c485a96b5d86989eb9654bf20e51e6dd
skipped: fixes patch not in branch
35a9a7a7d94662146396199b0cfd95f9517cdd14:
title: 'nilfs2: fix missing cleanup on rollforward recovery error'
mainline: 5787fcaab9eb5930f5378d6a1dd03d916d146622
backport: 812eaaab959885afdf5739337e7180e633b26734
40a2757de2c376ef8a08d9ee9c81e77f3c750adf:
title: 'nilfs2: fix state management in error path of log writing function'
mainline: 6576dd6695f2afca3f4954029ac4a64f82ba60ab
backport: faf0987376cc48fb3896f0f3298ebfeda8f1a515
c6d593c2c931762848389d621e8e657367f62190:
title: 'ALSA: hda: Add input value sanity checks to HDMI channel map controls'
mainline: 6278056e42d953e207e2afd416be39d09ed2d496
backport: 19ece5b382d38b440e13d24e951cf79ec593ae68
81e45ff912bbc43526d6f21c7a79cc5a7159a5f5:
title: 'smack: unix sockets: fix accept()ed socket label'
mainline: e86cac0acdb1a74f608bacefe702f2034133a047
backport: d92a8bb1955ce159fbbe0c309a1d17ffea5c043a
1d755d4fb238315c3b3e50e6f3117a0d79f72c29:
title: 'irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1'
mainline: 3cef738208e5c3cb7084e208caf9bbf684f24feb
backport: 90e83f2f8444a176d359ff9bc4a40590427a3bc4
406fb2bc6548bbd61489637d1443606feaa7037a:
title: 'af_unix: Remove put_pid()/put_cred() in copy_peercred().'
mainline: e4bd881d987121dbf1a288641491955a53d9f8f7
backport: 3652428ca171b8aed1217a4162dedccd3dde1b5a
471b1417b35eb52913a48ca97492f06ab918569d:
title: 'netfilter: nf_conncount: fix wrong variable type'
mainline: 0b88d1654d556264bcd24a9cb6383f0888e30131
skipped: missing commit 625c556118f3c2fd28bb8ef6da18c53bd4037be4
c0c23130d38e8bc28e9ef581443de9b1fc749966:
title: 'udf: Avoid excessive partition lengths'
mainline: ebbe26fd54a9621994bc16b14f2ba8f84c089693
skipped: commit did not cherry-pick cleanly
c7167cbb59f0525f6726a621b37f2596ee1bbf83:
title: 'wifi: brcmsmac: advertise MFP_CAPABLE to enable WPA3'
mainline: dbb5265a5d7cca1cdba7736dba313ab7d07bc19d
backport: 26e28ffe556d6cd2f2fd43a8707e6b3d8dca24f3
75f8136cd4e74fca5d115c35954ed598fc771a8f:
title: 'media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse'
mainline: 4caf6d93d9f2c11d6441c64e1c549c445fa322ed
backport: e0cb5088960d975715d2731a706914498e7cb018
d51b471ec7bd3dd9649dea1d77635512e61eaad5:
title: 'pcmcia: Use resource_size function on resource object'
mainline: 24a025497e7e883bd2adef5d0ece1e9b9268009f
backport: b9fb4137c73f884e41edb16dfbec9ec490efb4d6
5c680022c4e28ba18ea500f3e29f0428271afa92:
title: 'can: bcm: Remove proc entry when dev is unregistered.'
mainline: 76fe372ccb81b0c89b6cd2fec26e2f38c958be85
backport: f9ab8f03569d4406fc0adf3c667bc0c450280181
79c460784fc55ccf272fbe89290ff84d3e17341c:
title: 'igb: Fix not clearing TimeSync interrupts for 82580'
mainline: ba8cf80724dbc09825b52498e4efacb563935408
backport: 7e95e0c1c4750d584a8dacaefa62f506af3e510d
5f3806adb62e1360a561cbac0c15f9310740608b:
title: 'platform/x86: dell-smbios: Fix error path in dell_smbios_init()'
mainline: ffc17e1479e8e9459b7afa80e5d9d40d0dd78abb
skipped: fixes patch not in branch
5adf7fbdfa3e9e425b04771e1d64c4e184ad8fdb:
title: 'cx82310_eth: re-enable ethernet mode after router reboot'
mainline: ca139d76b0d9e59d18f2d2ec8f0d81b82acd6808
backport: 3f63ef4d3a6164cf90d31f26cb37976cbc32b5a9
3f255eda1818c6f2b4fb446c488339c66173dc6d:
title: 'drivers/net/usb: Remove all strcpy() uses'
mainline: 493c3ca6bd754d8587604496eb814f72e933075d
backport: ef1cdbe7efb9d4f237238f3a58b115ccae662a8f
40373e2bdf967ba982309ff06e3b8c7c79c4de0e:
title: 'net: usb: don''t write directly to netdev->dev_addr'
mainline: 2674e7ea22ba0e22a2d1603bd51e0b8f6442a267
backport: 70135ce17759946d0f4ccdbed51c21caccf22445
c9c76962b49ff37ed8dcf880eabeb74df3e0686e:
title: 'usbnet: modern method to get random MAC'
mainline: bab8eb0dd4cb995caa4a0529d5655531c2ec5e8e
backport: 5fb805c245cf8daf1568247ba755e3164c361d96
2579dc71bfa05f908c13decb27989c18be775e2d:
title: 'rfkill: fix spelling mistake contidion to condition'
mainline: f404c3ecc401b3617c454c06a3d36a43a01f1aaf
backport: 1c1073bf747c47629304662bd4e4acc3c347d499
c5a0142c4d33b5948879cd5ec0af50eb92109465:
title: 'net: bridge: add support for sticky fdb entries'
mainline: 435f2e7cc0b783615d7fbcf08f5f00d289f9caeb
skipped: commit did not cherry-pick cleanly
76c1d0d1cbedf122ed90cb64a05c440eedd39664:
title: 'bridge: switchdev: Allow clearing FDB entry offload indication'
mainline: e9ba0fbc7dd23a74e77960c98c988f59a1ff75aa
skipped: commit did not cherry-pick cleanly
9969873b374eac5b5ddd2948fbac886b50d850a8:
title: 'net: bridge: fdb: convert is_local to bitops'
mainline: 6869c3b02b596eba931a754f56875d2e2ac612db
skipped: commit did not cherry-pick cleanly
806d9b874077deb1b8a8c1cc1a600576603f03bb:
title: 'net: bridge: fdb: convert is_static to bitops'
mainline: 29e63fffd666f1945756882d4b02bc7bec132101
skipped: commit did not cherry-pick cleanly
f210d06825042341c7de635898115cb5e840023e:
title: 'net: bridge: fdb: convert is_sticky to bitops'
mainline: e0458d9a733ba71a2821d0c3fc0745baac697db0
skipped: commit did not cherry-pick cleanly
4b1bf0ea37f0a21fa948e364c623676730657795:
title: 'net: bridge: fdb: convert added_by_user to bitops'
mainline: ac3ca6af443aa495c7907e5010ac77fbd2450eaa
skipped: commit did not cherry-pick cleanly
d3bc290bdd518e056f5cfe82accb93d5ad8643c2:
title: 'net: bridge: fdb: convert added_by_external_learn to use bitops'
mainline: b5cd9f7c42480ede119a390607a9dbe6263f6795
skipped: commit did not cherry-pick cleanly
7d9933cb9990b8300075a853f5b2a5d3e4349629:
title: 'net: bridge: br_fdb_external_learn_add(): always set EXT_LEARN'
mainline: bee2ef946d3184e99077be526567d791c473036f
skipped: fixes patch not in branch
4c709ad8feaff418ded4561c6a87bcf4078f4a03:
title: 'net: dsa: vsc73xx: fix possible subblocks range of CAPT block'
mainline: 8e69c96df771ab469cec278edb47009351de4da6
skipped: fixes patch not in branch
75a34515eb1be431819ec00cd09fe3a3eb369cdb:
title: 'iommu/vt-d: Handle volatile descriptor status read'
mainline: b5e86a95541cea737394a1da967df4cd4d8f7182
backport: b3774dcec0995f6d31fa86bbfaeb74a5c6cda069
6760357063f593a17613e015aed2051cfd4197c6:
title: 'cgroup: Protect css->cgroup write under css_set_lock'
mainline: 57b56d16800e8961278ecff0dc755d46c4575092
backport: 9d86ad71865dd3a67f27923da2d87891801d26f2
3bedb7ce080690d0d6172db790790c1219bcbdd5:
title: 'um: line: always fill *error_out in setup_one_line()'
mainline: 824ac4a5edd3f7494ab1996826c4f47f8ef0f63d
backport: def0afb4a7e7e30bc08b1b4699dfe6802b2cbde1
c57834f37dc73410ed2eb11e1cc3fecad169b065:
title: 'devres: Initialize an uninitialized struct member'
mainline: 56a20ad349b5c51909cf8810f7c79b288864ad33
backport: 463af1bdfe4037d2d5c274ae3df6a1bda26cd3aa
4eb4085c1346d19d4a05c55246eb93e74e671048:
title: 'pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv'
mainline: 335e35b748527f0c06ded9eebb65387f60647fda
backport: 33259e025b9efd8c18acbeaf5db24ff06db58459
05419d0056dcf7088687e561bb583cc06deba777:
title: 'hwmon: (adc128d818) Fix underflows seen when writing limit attributes'
mainline: 8cad724c8537fe3e0da8004646abc00290adae40
backport: c0cc4bee13a524d7aceb27690ac6be7ed8e61b70
93f0f5721d0cca45dac50af1ae6f9a9826c699fd:
title: 'hwmon: (lm95234) Fix underflows seen when writing limit attributes'
mainline: af64e3e1537896337405f880c1e9ac1f8c0c6198
backport: d93e9ac35391aef72db4a0aa274d27944dd0d673
298a55f11edd811f2189b74eb8f53dee34d4f14c:
title: 'hwmon: (nct6775-core) Fix underflows seen when writing limit attributes'
mainline: 0403e10bf0824bf0ec2bb135d4cf1c0cc3bf4bf0
backport: 676ca195a7e32432c84de0516609c98560dcf66f
93cf73a7bfdce683bde3a7bb65f270d3bd24497b:
title: 'hwmon: (w83627ehf) Fix underflows seen when writing limit attributes'
mainline: 5c1de37969b7bc0abcb20b86e91e70caebbd4f89
backport: 9c01d650e13a9098fd147c080994be18cb0689c9
a12cf97cbefa139ef8d95081f2ea047cbbd74b7a:
title: 'wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()'
mainline: c145eea2f75ff7949392aebecf7ef0a81c1f6c14
backport: 6d47528d1743bbefff3fc7928d1e45e3faf03cd8
2d6a7a1ee3862d129c0e0fbd3cc147e185a379dc:
title: 'smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()'
mainline: 77aeb1b685f9db73d276bad4bb30d48505a6fd23
backport: 86ed63497a70309bcc68c61bf706e65e305318e9
2df0e48615f438cdf93f1469ed9f289f71440d2d:
title: 'btrfs: replace BUG_ON with ASSERT in walk_down_proc()'
mainline: 1f9d44c0a12730a24f8bb75c5e1102207413cc9b
backport: 8f9488fe41599c4aed2820b66097ab09f2bcfec8
c847b28a799733b04574060ab9d00f215970627d:
title: 'btrfs: clean up our handling of refs == 0 in snapshot delete'
mainline: b8ccef048354074a548f108e51d0557d6adfd3a3
backport: b6a6c52de6de81961175e7d2814f6d0193697a4c
0790b89c7e911003b8c50ae50e3ac7645de1fae9:
title: 'PCI: Add missing bridge lock to pci_bus_lock()'
mainline: a4e772898f8bf2e7e1cf661a12c60a5612c4afab
backport: dc087747546322a6d53d450c92456fcd0055a257
d09f1bf3d7f029558704f077097dbcd4dc5db8da:
title: 'btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()'
mainline: b8e947e9f64cac9df85a07672b658df5b2bcff07
backport: 8f68d6f65ec245d7f7641b540ef6ffed262df9cf
e239e44dcd419b13cf840e2a3a833204e4329714:
title: 'HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup'
mainline: a6e9c391d45b5865b61e569146304cff72821a5d
skipped: missing commit b8e759b8f6dab1c473c30ac12709095d0b81078e
9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b:
title: 'Input: uinput - reject requests with unreasonable number of slots'
mainline: 206f533a0a7c683982af473079c4111f4a0f9f5e
backport: f406ab8753404479a45b87c930fed326b4db0f04
487f140d366f9b12edb11b97819c135676090bd2:
title: 'usbnet: ipheth: race between ipheth_close and error handling'
mainline: e5876b088ba03a62124266fa20d00e65533c7269
backport: b1981479ebd7e8d67c23753437a4282ef363b0a0
f82cb7f24032ed023fc67d26ea9bf322d8431a90:
title: 'Squashfs: sanity check symbolic link size'
mainline: 810ee43d9cd245d138a2733d87a24858a23f577d
backport: a909f13b25b358d7f4683648b5166214c609668f
d2a79494d8a5262949736fb2c3ac44d20a51b0d8:
title: 'of/irq: Prevent device address out-of-bounds read in interrupt map walk'
mainline: b739dffa5d570b411d4bdf4bb9b8dfd6b7d72305
backport: 8b67befd1d8e89bce21196d288327ef375731328
cff08d637389f4bf4a49a08ff0474bd6c2b27b97:
title: 'ata: pata_macio: Use WARN instead of BUG'
mainline: d4bc0a264fb482b019c84fbc7202dd3cab059087
backport: 265da992cd6d9a6ae82917b3f0bd343f5754b4b9
0edd1eac01afe0c2104bddd7d1cae985b0a4552c:
title: 'iio: buffer-dmaengine: fix releasing dma channel on error'
mainline: 84c65d8008764a8fb4e627ff02de01ec4245f2c4
backport: 1753cb7f5cd1bf2bdecd6126d4670ae4c5ea31d5
a1cad4f0340c50037bd3211bd43deff662d5287e:
title: 'iio: fix scale application in iio_convert_raw_to_processed_unlocked'
mainline: 8a3dcc970dc57b358c8db2702447bf0af4e0d83a
backport: 0c91f6e9cee80725ead1a4db722a1b7a0b575162
5e0a746e798cd962e478b54f50f6f39384f735bc:
title: 'nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc'
mainline: c69f37f6559a8948d70badd2b179db7714dedd62
backport: 1c8fea7bc7b888039874f237abf53f28264f3d42
3d414b64ecf6fd717d7510ffb893c6f23acbf50e:
title: 'uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind'
mainline: fb1adbd7e50f3d2de56d0a2bb0700e2e819a329e
skipped: fixes patch not in branch
45ab92b650f4ec42528b8c199b0a3ae04a71ea8b:
title: 'Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic'
mainline: 6fd28941447bf2c8ca0f26fda612a1cabc41663f
skipped: fixes patch not in branch
f6365931bf7c07b2b397dbb06a4f6573cc9fae73:
title: 'VMCI: Fix use-after-free when removing resource in vmci_resource_remove()'
mainline: 48b9a8dabcc3cf5f961b2ebcd8933bf9204babb7
backport: 12663f3dcfaa591275c2b086a840edc9e86dc736
eeec87f317abb8b1ebb04b5d6823e941649d8293:
title: 'clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX'
mainline: 5b8843fcd49827813da80c0f590a17ae4ce93c5d
backport: 3ed0ce0836c07ea1c3e635370ce04f5ab065ee90
143674856ebffeb785759892b1a11a7f5ecbd1f5:
title: 'clocksource/drivers/imx-tpm: Fix next event not taking effect sometime'
mainline: 3d5c2f8e75a55cfb11a85086c71996af0354a1fb
backport: 79b3fd21dd528f14d3d7f4f380db5a742f5903d4
32bb3588ccf08406931c7f061f0ef7a37cd38414:
title: 'uprobes: Use kzalloc to allocate xol area'
mainline: e240b0fde52f33670d1336697c22d90a4fe33c84
backport: 967a7ce0d7d61c1256391a197e81ba2a400ecf07
ac8ffa21dde0c1edcd9dd98b5555a0aa4eea3b1f:
title: 'ring-buffer: Rename ring_buffer_read() to read_buffer_iter_advance()'
mainline: bc1a72afdc4a91844928831cac85731566e03bc6
backport: ae2112e6a08779c541bc4b9b88ff58914f4ecf32
84bd537aaefb210218b5e1d982411fa6ae8429a1:
title: 'tracing: Avoid possible softlockup in tracing_iter_reset()'
mainline: 49aa8a1f4d6800721c7971ed383078257f12e8f9
backport: fdfd1ef491f5e5445d130169394ae68a45d1adcf
51af9b589ab68a94485ee55811d1243c6bf665b4:
title: 'nilfs2: replace snprintf in show functions with sysfs_emit'
mainline: 3bcd6c5bd483287f4a09d3d59a012d47677b6edc
backport: c77787e1b99270f880dae53e1c8e9f7d8ec8f5a1
b90beafac05931cbfcb6b1bd4f67c1923f47040e:
title: 'nilfs2: protect references to superblock parameters exposed in sysfs'
mainline: 683408258917541bdb294cd717c210a04381931e
backport: 2d65330b265ca1170d35cd861a82b35536f57c4e
bc596c2026c7f52dc12a784403ccfc3b152844e6:
title: 'netns: add pre_exit method to struct pernet_operations'
mainline: d7d99872c144a2c2f5d9c9d83627fa833836cba5
backport: 9541fb132b07ee39fa0c6d07655684f7d961c171
43d34110882b97ba1ec66cc8234b18983efb9abf:
title: 'ila: call nf_unregister_net_hooks() sooner'
mainline: 031ae72825cef43e4650140b800ad58bf7a6a466
skipped: commit did not cherry-pick cleanly
a30476afbaac69face9537cd8d0694d46d5d1ef5:
title: 'ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()'
mainline: fadf231f0a06a6748a7fc4a2c29ac9ef7bca6bfd
backport: 9e65e5135c7d8451ee68b36d44f674429df4271a
00259ae5206a713234e3ac12a8a0f731e86b754b:
title: 'ACPI: processor: Fix memory leaks in error paths of processor_add()'
mainline: 47ec9b417ed9b6b8ec2a941cd84d9de62adc358a
backport: 89bbd019927a862339cb11beeb98a95c0269b25c
60e02cb604a8e2c755a9f0407d63539b586d3310:
title: 'drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused'
mainline: fcd9e8afd546f6ced378d078345a89bf346d065e
skipped: fixes patch not in branch
76b1dda1598fc151610d3f372e24be1fcc8b396e:
title: 'drm/i915/fence: Mark debug_fence_free() with __maybe_unused'
mainline: f99999536128b14b5d765a9982763b5134efdd79
backport: c292e581abf5c0dfaf783e3ad2bda3502b5ab4be
432efdbe7da5ecfcbc0c2180cfdbab1441752a38:
title: 'rtmutex: Drop rt_mutex::wait_lock before scheduling'
mainline: d33d26036a0274b472299d7dcdaa5fb34329f91b
backport: 11ae525157eb075f44f3c6460fdd9a5642ada728
bc790261218952635f846aaf90bcc0974f6f62c6:
title: 'net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket'
mainline: 626dfed5fa3bfb41e0dffd796032b555b69f9cde
skipped: fixes patch not in branch
e70c0b7e280415e1511fb258f4b72733d765b80e:
title: 'cx82310_eth: fix error return code in cx82310_bind()'
mainline: cfbaa8b33e022aca62a3f2815ffbc02874d4cb8b
backport: 8b8a84237a675ff0a73827b2ba05745765a97f13
15605b333ddaa3e5e21dfebb65546c70bb167925:
title: 'netns: restore ops before calling ops_exit_list'
mainline: b272a0ad730103e84fb735fd0a8cc050cdf7f77c
backport: 61da5c1d99b77bb28d2579a64a05bfbf9447e43d
324954a057b3ab21a7be5c91e148c15c401332f0:
title: 'Revert "parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367"'
mainline: 73cb4a2d8d7e0259f94046116727084f21e4599f
backport: a66198e30ea76c75761c3f0323b31ba6be641824

View File

@@ -59,18 +59,17 @@ class
dma_mode
DMA transfer mode used by the device.
Transfer modes supported by the device when in DMA mode.
Mostly used by PATA device.
pio_mode
PIO transfer mode used by the device.
Transfer modes supported by the device when in PIO mode.
Mostly used by PATA device.
xfer_mode
Current transfer mode.
Mostly used by PATA device.
id

View File

@@ -135,7 +135,7 @@ Description:
Raw capacitance measurement from channel Y. Units after
application of scale and offset are nanofarads.
What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw
What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
KernelVersion: 3.2
Contact: linux-iio@vger.kernel.org
Description:

View File

@@ -1,4 +1,4 @@
What: /sys/bus/iio/devices/iio:deviceX/in_conversion_mode
What: /sys/bus/iio/devices/iio:deviceX/conversion_mode
KernelVersion: 4.2
Contact: linux-iio@vger.kernel.org
Description:

View File

@@ -1,4 +1,4 @@
What: /sys/class/net/<iface>/queues/rx-<queue>/rps_cpus
What: /sys/class/<iface>/queues/rx-<queue>/rps_cpus
Date: March 2010
KernelVersion: 2.6.35
Contact: netdev@vger.kernel.org
@@ -8,7 +8,7 @@ Description:
network device queue. Possible values depend on the number
of available CPU(s) in the system.
What: /sys/class/net/<iface>/queues/rx-<queue>/rps_flow_cnt
What: /sys/class/<iface>/queues/rx-<queue>/rps_flow_cnt
Date: April 2010
KernelVersion: 2.6.35
Contact: netdev@vger.kernel.org
@@ -16,7 +16,7 @@ Description:
Number of Receive Packet Steering flows being currently
processed by this particular network device receive queue.
What: /sys/class/net/<iface>/queues/tx-<queue>/tx_timeout
What: /sys/class/<iface>/queues/tx-<queue>/tx_timeout
Date: November 2011
KernelVersion: 3.3
Contact: netdev@vger.kernel.org
@@ -24,7 +24,7 @@ Description:
Indicates the number of transmit timeout events seen by this
network interface transmit queue.
What: /sys/class/net/<iface>/queues/tx-<queue>/tx_maxrate
What: /sys/class/<iface>/queues/tx-<queue>/tx_maxrate
Date: March 2015
KernelVersion: 4.1
Contact: netdev@vger.kernel.org
@@ -32,7 +32,7 @@ Description:
A Mbps max-rate set for the queue, a value of zero means disabled,
default is disabled.
What: /sys/class/net/<iface>/queues/tx-<queue>/xps_cpus
What: /sys/class/<iface>/queues/tx-<queue>/xps_cpus
Date: November 2010
KernelVersion: 2.6.38
Contact: netdev@vger.kernel.org
@@ -42,7 +42,7 @@ Description:
network device transmit queue. Possible vaules depend on the
number of available CPU(s) in the system.
What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/hold_time
What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/hold_time
Date: November 2011
KernelVersion: 3.3
Contact: netdev@vger.kernel.org
@@ -51,7 +51,7 @@ Description:
of this particular network device transmit queue.
Default value is 1000.
What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/inflight
What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/inflight
Date: November 2011
KernelVersion: 3.3
Contact: netdev@vger.kernel.org
@@ -59,7 +59,7 @@ Description:
Indicates the number of bytes (objects) in flight on this
network device transmit queue.
What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit
What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit
Date: November 2011
KernelVersion: 3.3
Contact: netdev@vger.kernel.org
@@ -68,7 +68,7 @@ Description:
on this network device transmit queue. This value is clamped
to be within the bounds defined by limit_max and limit_min.
What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit_max
What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit_max
Date: November 2011
KernelVersion: 3.3
Contact: netdev@vger.kernel.org
@@ -77,7 +77,7 @@ Description:
queued on this network device transmit queue. See
include/linux/dynamic_queue_limits.h for the default value.
What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit_min
What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit_min
Date: November 2011
KernelVersion: 3.3
Contact: netdev@vger.kernel.org

View File

@@ -1,4 +1,4 @@
What: /sys/class/net/<iface>/statistics/collisions
What: /sys/class/<iface>/statistics/collisions
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -6,7 +6,7 @@ Description:
Indicates the number of collisions seen by this network device.
This value might not be relevant with all MAC layers.
What: /sys/class/net/<iface>/statistics/multicast
What: /sys/class/<iface>/statistics/multicast
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -14,7 +14,7 @@ Description:
Indicates the number of multicast packets received by this
network device.
What: /sys/class/net/<iface>/statistics/rx_bytes
What: /sys/class/<iface>/statistics/rx_bytes
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -23,7 +23,7 @@ Description:
See the network driver for the exact meaning of when this
value is incremented.
What: /sys/class/net/<iface>/statistics/rx_compressed
What: /sys/class/<iface>/statistics/rx_compressed
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -32,7 +32,7 @@ Description:
network device. This value might only be relevant for interfaces
that support packet compression (e.g: PPP).
What: /sys/class/net/<iface>/statistics/rx_crc_errors
What: /sys/class/<iface>/statistics/rx_crc_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -41,7 +41,7 @@ Description:
by this network device. Note that the specific meaning might
depend on the MAC layer used by the interface.
What: /sys/class/net/<iface>/statistics/rx_dropped
What: /sys/class/<iface>/statistics/rx_dropped
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -51,15 +51,7 @@ Description:
packet processing. See the network driver for the exact
meaning of this value.
What: /sys/class/net/<iface>/statistics/rx_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Description:
Indicates the number of receive errors on this network device.
See the network driver for the exact meaning of this value.
What: /sys/class/net/<iface>/statistics/rx_fifo_errors
What: /sys/class/<iface>/statistics/rx_fifo_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -68,7 +60,7 @@ Description:
network device. See the network driver for the exact
meaning of this value.
What: /sys/class/net/<iface>/statistics/rx_frame_errors
What: /sys/class/<iface>/statistics/rx_frame_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -78,7 +70,7 @@ Description:
on the MAC layer protocol used. See the network driver for
the exact meaning of this value.
What: /sys/class/net/<iface>/statistics/rx_length_errors
What: /sys/class/<iface>/statistics/rx_length_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -87,7 +79,7 @@ Description:
error, oversized or undersized. See the network driver for the
exact meaning of this value.
What: /sys/class/net/<iface>/statistics/rx_missed_errors
What: /sys/class/<iface>/statistics/rx_missed_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -96,15 +88,7 @@ Description:
due to lack of capacity in the receive side. See the network
driver for the exact meaning of this value.
What: /sys/class/net/<iface>/statistics/rx_nohandler
Date: February 2016
KernelVersion: 4.6
Contact: netdev@vger.kernel.org
Description:
Indicates the number of received packets that were dropped on
an inactive device by the network core.
What: /sys/class/net/<iface>/statistics/rx_over_errors
What: /sys/class/<iface>/statistics/rx_over_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -114,7 +98,7 @@ Description:
(e.g: larger than MTU). See the network driver for the exact
meaning of this value.
What: /sys/class/net/<iface>/statistics/rx_packets
What: /sys/class/<iface>/statistics/rx_packets
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -122,7 +106,7 @@ Description:
Indicates the total number of good packets received by this
network device.
What: /sys/class/net/<iface>/statistics/tx_aborted_errors
What: /sys/class/<iface>/statistics/tx_aborted_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -132,7 +116,7 @@ Description:
a medium collision). See the network driver for the exact
meaning of this value.
What: /sys/class/net/<iface>/statistics/tx_bytes
What: /sys/class/<iface>/statistics/tx_bytes
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -143,7 +127,7 @@ Description:
transmitted packets or all packets that have been queued for
transmission.
What: /sys/class/net/<iface>/statistics/tx_carrier_errors
What: /sys/class/<iface>/statistics/tx_carrier_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -152,7 +136,7 @@ Description:
because of carrier errors (e.g: physical link down). See the
network driver for the exact meaning of this value.
What: /sys/class/net/<iface>/statistics/tx_compressed
What: /sys/class/<iface>/statistics/tx_compressed
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -161,7 +145,7 @@ Description:
this might only be relevant for devices that support
compression (e.g: PPP).
What: /sys/class/net/<iface>/statistics/tx_dropped
What: /sys/class/<iface>/statistics/tx_dropped
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -170,7 +154,7 @@ Description:
See the driver for the exact reasons as to why the packets were
dropped.
What: /sys/class/net/<iface>/statistics/tx_errors
What: /sys/class/<iface>/statistics/tx_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -179,7 +163,7 @@ Description:
a network device. See the driver for the exact reasons as to
why the packets were dropped.
What: /sys/class/net/<iface>/statistics/tx_fifo_errors
What: /sys/class/<iface>/statistics/tx_fifo_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -188,7 +172,7 @@ Description:
FIFO error. See the driver for the exact reasons as to why the
packets were dropped.
What: /sys/class/net/<iface>/statistics/tx_heartbeat_errors
What: /sys/class/<iface>/statistics/tx_heartbeat_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -197,7 +181,7 @@ Description:
reported as heartbeat errors. See the driver for the exact
reasons as to why the packets were dropped.
What: /sys/class/net/<iface>/statistics/tx_packets
What: /sys/class/<iface>/statistics/tx_packets
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
@@ -206,7 +190,7 @@ Description:
device. See the driver for whether this reports the number of all
attempted or successful transmissions.
What: /sys/class/net/<iface>/statistics/tx_window_errors
What: /sys/class/<iface>/statistics/tx_window_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org

View File

@@ -375,17 +375,15 @@ Description: information about CPUs heterogeneity.
cpu_capacity: capacity of cpu#.
What: /sys/devices/system/cpu/vulnerabilities
/sys/devices/system/cpu/vulnerabilities/gather_data_sampling
/sys/devices/system/cpu/vulnerabilities/itlb_multihit
/sys/devices/system/cpu/vulnerabilities/l1tf
/sys/devices/system/cpu/vulnerabilities/mds
/sys/devices/system/cpu/vulnerabilities/meltdown
/sys/devices/system/cpu/vulnerabilities/mmio_stale_data
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass
/sys/devices/system/cpu/vulnerabilities/spectre_v1
/sys/devices/system/cpu/vulnerabilities/spectre_v2
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass
/sys/devices/system/cpu/vulnerabilities/l1tf
/sys/devices/system/cpu/vulnerabilities/mds
/sys/devices/system/cpu/vulnerabilities/srbds
/sys/devices/system/cpu/vulnerabilities/tsx_async_abort
/sys/devices/system/cpu/vulnerabilities/itlb_multihit
Date: January 2018
Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Description: Information about CPU vulnerabilities

View File

@@ -1,17 +0,0 @@
What: /sys/kernel/btf
Date: Aug 2019
KernelVersion: 5.5
Contact: bpf@vger.kernel.org
Description:
Contains BTF type information and related data for kernel and
kernel modules.
What: /sys/kernel/btf/vmlinux
Date: Aug 2019
KernelVersion: 5.5
Contact: bpf@vger.kernel.org
Description:
Read-only binary attribute exposing kernel's own BTF type
information with description of all internal kernel types. See
Documentation/bpf/btf.rst for detailed description of format
itself.

View File

@@ -1,6 +0,0 @@
What: /sys/kernel/oops_count
Date: November 2022
KernelVersion: 6.2.0
Contact: Linux Kernel Hardening List <linux-hardening@vger.kernel.org>
Description:
Shows how many times the system has Oopsed since last boot.

View File

@@ -1,6 +0,0 @@
What: /sys/kernel/warn_count
Date: November 2022
KernelVersion: 6.2.0
Contact: Linux Kernel Hardening List <linux-hardening@vger.kernel.org>
Description:
Shows how many times the system has Warned since last boot.

View File

@@ -156,3 +156,10 @@ accesses to DMA buffers in both privileged "supervisor" and unprivileged
subsystem that the buffer is fully accessible at the elevated privilege
level (and ideally inaccessible or at least read-only at the
lesser-privileged levels).
DMA_ATTR_IOMMU_USE_LLC_NWA
------------------------------------
DMA_ATTR_IOMMU_USE_LLC_NWA: Overrides the bus attributes to use
System Cache(LLC) with allocation policy as Inner Non-Cacheable, Outer Cacheable:
Write-Back, Read-Allocate, No Write-Allocate policy.

View File

@@ -2393,9 +2393,30 @@ when invoked from a CPU-hotplug notifier.
<p>
RCU depends on the scheduler, and the scheduler uses RCU to
protect some of its data structures.
The preemptible-RCU <tt>rcu_read_unlock()</tt>
implementation must therefore be written carefully to avoid deadlocks
involving the scheduler's runqueue and priority-inheritance locks.
This means the scheduler is forbidden from acquiring
the runqueue locks and the priority-inheritance locks
in the middle of an outermost RCU read-side critical section unless either
(1)&nbsp;it releases them before exiting that same
RCU read-side critical section, or
(2)&nbsp;interrupts are disabled across
that entire RCU read-side critical section.
This same prohibition also applies (recursively!) to any lock that is acquired
while holding any lock to which this prohibition applies.
Adhering to this rule prevents preemptible RCU from invoking
<tt>rcu_read_unlock_special()</tt> while either runqueue or
priority-inheritance locks are held, thus avoiding deadlock.
<p>
Prior to v4.4, it was only necessary to disable preemption across
RCU read-side critical sections that acquired scheduler locks.
In v4.4, expedited grace periods started using IPIs, and these
IPIs could force a <tt>rcu_read_unlock()</tt> to take the slowpath.
Therefore, this expedited-grace-period change required disabling of
interrupts, not just preemption.
<p>
For RCU's part, the preemptible-RCU <tt>rcu_read_unlock()</tt>
implementation must be written carefully to avoid similar deadlocks.
In particular, <tt>rcu_read_unlock()</tt> must tolerate an
interrupt where the interrupt handler invokes both
<tt>rcu_read_lock()</tt> and <tt>rcu_read_unlock()</tt>.
@@ -2404,7 +2425,7 @@ negative nesting levels to avoid destructive recursion via
interrupt handler's use of RCU.
<p>
This scheduler-RCU requirement came as a
This pair of mutual scheduler-RCU requirements came as a
<a href="https://lwn.net/Articles/453002/">complete surprise</a>.
<p>
@@ -2415,28 +2436,9 @@ when running context-switch-heavy workloads when built with
<tt>CONFIG_NO_HZ_FULL=y</tt>
<a href="http://www.rdrop.com/users/paulmck/scalability/paper/BareMetal.2015.01.15b.pdf">did come as a surprise [PDF]</a>.
RCU has made good progress towards meeting this requirement, even
for context-switch-heavy <tt>CONFIG_NO_HZ_FULL=y</tt> workloads,
for context-switch-have <tt>CONFIG_NO_HZ_FULL=y</tt> workloads,
but there is room for further improvement.
<p>
In the past, it was forbidden to disable interrupts across an
<tt>rcu_read_unlock()</tt> unless that interrupt-disabled region
of code also included the matching <tt>rcu_read_lock()</tt>.
Violating this restriction could result in deadlocks involving the
scheduler's runqueue and priority-inheritance spinlocks.
This restriction was lifted when interrupt-disabled calls to
<tt>rcu_read_unlock()</tt> started deferring the reporting of
the resulting RCU-preempt quiescent state until the end of that
interrupts-disabled region.
This deferred reporting means that the scheduler's runqueue and
priority-inheritance locks cannot be held while reporting an RCU-preempt
quiescent state, which lifts the earlier restriction, at least from
a deadlock perspective.
Unfortunately, real-time systems using RCU priority boosting may
need this restriction to remain in effect because deferred
quiescent-state reporting also defers deboosting, which in turn
degrades real-time latencies.
<h3><a name="Tracing and RCU">Tracing and RCU</a></h3>
<p>

View File

@@ -2989,10 +2989,10 @@
65 = /dev/infiniband/issm1 Second InfiniBand IsSM device
...
127 = /dev/infiniband/issm63 63rd InfiniBand IsSM device
192 = /dev/infiniband/uverbs0 First InfiniBand verbs device
193 = /dev/infiniband/uverbs1 Second InfiniBand verbs device
128 = /dev/infiniband/uverbs0 First InfiniBand verbs device
129 = /dev/infiniband/uverbs1 Second InfiniBand verbs device
...
223 = /dev/infiniband/uverbs31 31st InfiniBand verbs device
159 = /dev/infiniband/uverbs31 31st InfiniBand verbs device
232 char Biometric Devices
0 = /dev/biometric/sensor0/fingerprint first fingerprint sensor on first device

View File

@@ -1,109 +0,0 @@
.. SPDX-License-Identifier: GPL-2.0
GDS - Gather Data Sampling
==========================
Gather Data Sampling is a hardware vulnerability which allows unprivileged
speculative access to data which was previously stored in vector registers.
Problem
-------
When a gather instruction performs loads from memory, different data elements
are merged into the destination vector register. However, when a gather
instruction that is transiently executed encounters a fault, stale data from
architectural or internal vector registers may get transiently forwarded to the
destination vector register instead. This will allow a malicious attacker to
infer stale data using typical side channel techniques like cache timing
attacks. GDS is a purely sampling-based attack.
The attacker uses gather instructions to infer the stale vector register data.
The victim does not need to do anything special other than use the vector
registers. The victim does not need to use gather instructions to be
vulnerable.
Because the buffers are shared between Hyper-Threads cross Hyper-Thread attacks
are possible.
Attack scenarios
----------------
Without mitigation, GDS can infer stale data across virtually all
permission boundaries:
Non-enclaves can infer SGX enclave data
Userspace can infer kernel data
Guests can infer data from hosts
Guest can infer guest from other guests
Users can infer data from other users
Because of this, it is important to ensure that the mitigation stays enabled in
lower-privilege contexts like guests and when running outside SGX enclaves.
The hardware enforces the mitigation for SGX. Likewise, VMMs should ensure
that guests are not allowed to disable the GDS mitigation. If a host erred and
allowed this, a guest could theoretically disable GDS mitigation, mount an
attack, and re-enable it.
Mitigation mechanism
--------------------
This issue is mitigated in microcode. The microcode defines the following new
bits:
================================ === ============================
IA32_ARCH_CAPABILITIES[GDS_CTRL] R/O Enumerates GDS vulnerability
and mitigation support.
IA32_ARCH_CAPABILITIES[GDS_NO] R/O Processor is not vulnerable.
IA32_MCU_OPT_CTRL[GDS_MITG_DIS] R/W Disables the mitigation
0 by default.
IA32_MCU_OPT_CTRL[GDS_MITG_LOCK] R/W Locks GDS_MITG_DIS=0. Writes
to GDS_MITG_DIS are ignored
Can't be cleared once set.
================================ === ============================
GDS can also be mitigated on systems that don't have updated microcode by
disabling AVX. This can be done by setting gather_data_sampling="force" or
"clearcpuid=avx" on the kernel command-line.
If used, these options will disable AVX use by turning off XSAVE YMM support.
However, the processor will still enumerate AVX support. Userspace that
does not follow proper AVX enumeration to check both AVX *and* XSAVE YMM
support will break.
Mitigation control on the kernel command line
---------------------------------------------
The mitigation can be disabled by setting "gather_data_sampling=off" or
"mitigations=off" on the kernel command line. Not specifying either will default
to the mitigation being enabled. Specifying "gather_data_sampling=force" will
use the microcode mitigation when available or disable AVX on affected systems
where the microcode hasn't been updated to include the mitigation.
GDS System Information
------------------------
The kernel provides vulnerability status information through sysfs. For
GDS this can be accessed by the following sysfs file:
/sys/devices/system/cpu/vulnerabilities/gather_data_sampling
The possible values contained in this file are:
============================== =============================================
Not affected Processor not vulnerable.
Vulnerable Processor vulnerable and mitigation disabled.
Vulnerable: No microcode Processor vulnerable and microcode is missing
mitigation.
Mitigation: AVX disabled,
no microcode Processor is vulnerable and microcode is missing
mitigation. AVX disabled as mitigation.
Mitigation: Microcode Processor is vulnerable and mitigation is in
effect.
Mitigation: Microcode (locked) Processor is vulnerable and mitigation is in
effect and cannot be disabled.
Unknown: Dependent on
hypervisor status Running on a virtual guest processor that is
affected but with no way to know if host
processor is mitigated or vulnerable.
============================== =============================================
GDS Default mitigation
----------------------
The updated microcode will enable the mitigation by default. The kernel's
default action is to leave the mitigation enabled.

View File

@@ -15,5 +15,3 @@ are configurable at compile, boot or run time.
tsx_async_abort
multihit.rst
special-register-buffer-data-sampling.rst
processor_mmio_stale_data.rst
gather_data_sampling.rst

View File

@@ -1,260 +0,0 @@
=========================================
Processor MMIO Stale Data Vulnerabilities
=========================================
Processor MMIO Stale Data Vulnerabilities are a class of memory-mapped I/O
(MMIO) vulnerabilities that can expose data. The sequences of operations for
exposing data range from simple to very complex. Because most of the
vulnerabilities require the attacker to have access to MMIO, many environments
are not affected. System environments using virtualization where MMIO access is
provided to untrusted guests may need mitigation. These vulnerabilities are
not transient execution attacks. However, these vulnerabilities may propagate
stale data into core fill buffers where the data can subsequently be inferred
by an unmitigated transient execution attack. Mitigation for these
vulnerabilities includes a combination of microcode update and software
changes, depending on the platform and usage model. Some of these mitigations
are similar to those used to mitigate Microarchitectural Data Sampling (MDS) or
those used to mitigate Special Register Buffer Data Sampling (SRBDS).
Data Propagators
================
Propagators are operations that result in stale data being copied or moved from
one microarchitectural buffer or register to another. Processor MMIO Stale Data
Vulnerabilities are operations that may result in stale data being directly
read into an architectural, software-visible state or sampled from a buffer or
register.
Fill Buffer Stale Data Propagator (FBSDP)
-----------------------------------------
Stale data may propagate from fill buffers (FB) into the non-coherent portion
of the uncore on some non-coherent writes. Fill buffer propagation by itself
does not make stale data architecturally visible. Stale data must be propagated
to a location where it is subject to reading or sampling.
Sideband Stale Data Propagator (SSDP)
-------------------------------------
The sideband stale data propagator (SSDP) is limited to the client (including
Intel Xeon server E3) uncore implementation. The sideband response buffer is
shared by all client cores. For non-coherent reads that go to sideband
destinations, the uncore logic returns 64 bytes of data to the core, including
both requested data and unrequested stale data, from a transaction buffer and
the sideband response buffer. As a result, stale data from the sideband
response and transaction buffers may now reside in a core fill buffer.
Primary Stale Data Propagator (PSDP)
------------------------------------
The primary stale data propagator (PSDP) is limited to the client (including
Intel Xeon server E3) uncore implementation. Similar to the sideband response
buffer, the primary response buffer is shared by all client cores. For some
processors, MMIO primary reads will return 64 bytes of data to the core fill
buffer including both requested data and unrequested stale data. This is
similar to the sideband stale data propagator.
Vulnerabilities
===============
Device Register Partial Write (DRPW) (CVE-2022-21166)
-----------------------------------------------------
Some endpoint MMIO registers incorrectly handle writes that are smaller than
the register size. Instead of aborting the write or only copying the correct
subset of bytes (for example, 2 bytes for a 2-byte write), more bytes than
specified by the write transaction may be written to the register. On
processors affected by FBSDP, this may expose stale data from the fill buffers
of the core that created the write transaction.
Shared Buffers Data Sampling (SBDS) (CVE-2022-21125)
----------------------------------------------------
After propagators may have moved data around the uncore and copied stale data
into client core fill buffers, processors affected by MFBDS can leak data from
the fill buffer. It is limited to the client (including Intel Xeon server E3)
uncore implementation.
Shared Buffers Data Read (SBDR) (CVE-2022-21123)
------------------------------------------------
It is similar to Shared Buffer Data Sampling (SBDS) except that the data is
directly read into the architectural software-visible state. It is limited to
the client (including Intel Xeon server E3) uncore implementation.
Affected Processors
===================
Not all the CPUs are affected by all the variants. For instance, most
processors for the server market (excluding Intel Xeon E3 processors) are
impacted by only Device Register Partial Write (DRPW).
Below is the list of affected Intel processors [#f1]_:
=================== ============ =========
Common name Family_Model Steppings
=================== ============ =========
HASWELL_X 06_3FH 2,4
SKYLAKE_L 06_4EH 3
BROADWELL_X 06_4FH All
SKYLAKE_X 06_55H 3,4,6,7,11
BROADWELL_D 06_56H 3,4,5
SKYLAKE 06_5EH 3
ICELAKE_X 06_6AH 4,5,6
ICELAKE_D 06_6CH 1
ICELAKE_L 06_7EH 5
ATOM_TREMONT_D 06_86H All
LAKEFIELD 06_8AH 1
KABYLAKE_L 06_8EH 9 to 12
ATOM_TREMONT 06_96H 1
ATOM_TREMONT_L 06_9CH 0
KABYLAKE 06_9EH 9 to 13
COMETLAKE 06_A5H 2,3,5
COMETLAKE_L 06_A6H 0,1
ROCKETLAKE 06_A7H 1
=================== ============ =========
If a CPU is in the affected processor list, but not affected by a variant, it
is indicated by new bits in MSR IA32_ARCH_CAPABILITIES. As described in a later
section, mitigation largely remains the same for all the variants, i.e. to
clear the CPU fill buffers via VERW instruction.
New bits in MSRs
================
Newer processors and microcode update on existing affected processors added new
bits to IA32_ARCH_CAPABILITIES MSR. These bits can be used to enumerate
specific variants of Processor MMIO Stale Data vulnerabilities and mitigation
capability.
MSR IA32_ARCH_CAPABILITIES
--------------------------
Bit 13 - SBDR_SSDP_NO - When set, processor is not affected by either the
Shared Buffers Data Read (SBDR) vulnerability or the sideband stale
data propagator (SSDP).
Bit 14 - FBSDP_NO - When set, processor is not affected by the Fill Buffer
Stale Data Propagator (FBSDP).
Bit 15 - PSDP_NO - When set, processor is not affected by Primary Stale Data
Propagator (PSDP).
Bit 17 - FB_CLEAR - When set, VERW instruction will overwrite CPU fill buffer
values as part of MD_CLEAR operations. Processors that do not
enumerate MDS_NO (meaning they are affected by MDS) but that do
enumerate support for both L1D_FLUSH and MD_CLEAR implicitly enumerate
FB_CLEAR as part of their MD_CLEAR support.
Bit 18 - FB_CLEAR_CTRL - Processor supports read and write to MSR
IA32_MCU_OPT_CTRL[FB_CLEAR_DIS]. On such processors, the FB_CLEAR_DIS
bit can be set to cause the VERW instruction to not perform the
FB_CLEAR action. Not all processors that support FB_CLEAR will support
FB_CLEAR_CTRL.
MSR IA32_MCU_OPT_CTRL
---------------------
Bit 3 - FB_CLEAR_DIS - When set, VERW instruction does not perform the FB_CLEAR
action. This may be useful to reduce the performance impact of FB_CLEAR in
cases where system software deems it warranted (for example, when performance
is more critical, or the untrusted software has no MMIO access). Note that
FB_CLEAR_DIS has no impact on enumeration (for example, it does not change
FB_CLEAR or MD_CLEAR enumeration) and it may not be supported on all processors
that enumerate FB_CLEAR.
Mitigation
==========
Like MDS, all variants of Processor MMIO Stale Data vulnerabilities have the
same mitigation strategy to force the CPU to clear the affected buffers before
an attacker can extract the secrets.
This is achieved by using the otherwise unused and obsolete VERW instruction in
combination with a microcode update. The microcode clears the affected CPU
buffers when the VERW instruction is executed.
Kernel reuses the MDS function to invoke the buffer clearing:
mds_clear_cpu_buffers()
On MDS affected CPUs, the kernel already invokes CPU buffer clear on
kernel/userspace, hypervisor/guest and C-state (idle) transitions. No
additional mitigation is needed on such CPUs.
For CPUs not affected by MDS or TAA, mitigation is needed only for the attacker
with MMIO capability. Therefore, VERW is not required for kernel/userspace. For
virtualization case, VERW is only needed at VMENTER for a guest with MMIO
capability.
Mitigation points
-----------------
Return to user space
^^^^^^^^^^^^^^^^^^^^
Same mitigation as MDS when affected by MDS/TAA, otherwise no mitigation
needed.
C-State transition
^^^^^^^^^^^^^^^^^^
Control register writes by CPU during C-state transition can propagate data
from fill buffer to uncore buffers. Execute VERW before C-state transition to
clear CPU fill buffers.
Guest entry point
^^^^^^^^^^^^^^^^^
Same mitigation as MDS when processor is also affected by MDS/TAA, otherwise
execute VERW at VMENTER only for MMIO capable guests. On CPUs not affected by
MDS/TAA, guest without MMIO access cannot extract secrets using Processor MMIO
Stale Data vulnerabilities, so there is no need to execute VERW for such guests.
Mitigation control on the kernel command line
---------------------------------------------
The kernel command line allows to control the Processor MMIO Stale Data
mitigations at boot time with the option "mmio_stale_data=". The valid
arguments for this option are:
========== =================================================================
full If the CPU is vulnerable, enable mitigation; CPU buffer clearing
on exit to userspace and when entering a VM. Idle transitions are
protected as well. It does not automatically disable SMT.
full,nosmt Same as full, with SMT disabled on vulnerable CPUs. This is the
complete mitigation.
off Disables mitigation completely.
========== =================================================================
If the CPU is affected and mmio_stale_data=off is not supplied on the kernel
command line, then the kernel selects the appropriate mitigation.
Mitigation status information
-----------------------------
The Linux kernel provides a sysfs interface to enumerate the current
vulnerability status of the system: whether the system is vulnerable, and
which mitigations are active. The relevant sysfs file is:
/sys/devices/system/cpu/vulnerabilities/mmio_stale_data
The possible values in this file are:
.. list-table::
* - 'Not affected'
- The processor is not vulnerable
* - 'Vulnerable'
- The processor is vulnerable, but no mitigation enabled
* - 'Vulnerable: Clear CPU buffers attempted, no microcode'
- The processor is vulnerable, but microcode is not updated. The
mitigation is enabled on a best effort basis.
* - 'Mitigation: Clear CPU buffers'
- The processor is vulnerable and the CPU buffer clearing mitigation is
enabled.
* - 'Unknown: No mitigations'
- The processor vulnerability status is unknown because it is
out of Servicing period. Mitigation is not attempted.
Definitions:
------------
Servicing period: The process of providing functional and security updates to
Intel processors or platforms, utilizing the Intel Platform Update (IPU)
process or other similar mechanisms.
End of Servicing Updates (ESU): ESU is the date at which Intel will no
longer provide Servicing, such as through IPU or other similar update
processes. ESU dates will typically be aligned to end of quarter.
If the processor is vulnerable then the following information is appended to
the above information:
======================== ===========================================
'SMT vulnerable' SMT is enabled
'SMT disabled' SMT is disabled
'SMT Host state unknown' Kernel runs in a VM, Host SMT state unknown
======================== ===========================================
References
----------
.. [#f1] Affected Processors
https://www.intel.com/content/www/us/en/developer/topic-technology/software-security-guidance/processors-affected-consolidated-product-cpu-model.html

View File

@@ -60,8 +60,8 @@ privileged data touched during the speculative execution.
Spectre variant 1 attacks take advantage of speculative execution of
conditional branches, while Spectre variant 2 attacks use speculative
execution of indirect branches to leak privileged memory.
See :ref:`[1] <spec_ref1>` :ref:`[5] <spec_ref5>` :ref:`[6] <spec_ref6>`
:ref:`[7] <spec_ref7>` :ref:`[10] <spec_ref10>` :ref:`[11] <spec_ref11>`.
See :ref:`[1] <spec_ref1>` :ref:`[5] <spec_ref5>` :ref:`[7] <spec_ref7>`
:ref:`[10] <spec_ref10>` :ref:`[11] <spec_ref11>`.
Spectre variant 1 (Bounds Check Bypass)
---------------------------------------
@@ -131,19 +131,6 @@ steer its indirect branch speculations to gadget code, and measure the
speculative execution's side effects left in level 1 cache to infer the
victim's data.
Yet another variant 2 attack vector is for the attacker to poison the
Branch History Buffer (BHB) to speculatively steer an indirect branch
to a specific Branch Target Buffer (BTB) entry, even if the entry isn't
associated with the source address of the indirect branch. Specifically,
the BHB might be shared across privilege levels even in the presence of
Enhanced IBRS.
Currently the only known real-world BHB attack vector is via
unprivileged eBPF. Therefore, it's highly recommended to not enable
unprivileged eBPF, especially when eIBRS is used (without retpolines).
For a full mitigation against BHB attacks, it's recommended to use
retpolines (or eIBRS combined with retpolines).
Attack scenarios
----------------
@@ -377,15 +364,13 @@ The possible values in this file are:
- Kernel status:
======================================== =================================
'Not affected' The processor is not vulnerable
'Mitigation: None' Vulnerable, no mitigation
'Mitigation: Retpolines' Use Retpoline thunks
'Mitigation: LFENCE' Use LFENCE instructions
'Mitigation: Enhanced IBRS' Hardware-focused mitigation
'Mitigation: Enhanced IBRS + Retpolines' Hardware-focused + Retpolines
'Mitigation: Enhanced IBRS + LFENCE' Hardware-focused + LFENCE
======================================== =================================
==================================== =================================
'Not affected' The processor is not vulnerable
'Vulnerable' Vulnerable, no mitigation
'Mitigation: Full generic retpoline' Software-focused mitigation
'Mitigation: Full AMD retpoline' AMD-specific software mitigation
'Mitigation: Enhanced IBRS' Hardware-focused mitigation
==================================== =================================
- Firmware status: Show if Indirect Branch Restricted Speculation (IBRS) is
used to protect against Spectre variant 2 attacks when calling firmware (x86 only).
@@ -422,14 +407,6 @@ The possible values in this file are:
'RSB filling' Protection of RSB on context switch enabled
============= ===========================================
- EIBRS Post-barrier Return Stack Buffer (PBRSB) protection status:
=========================== =======================================================
'PBRSB-eIBRS: SW sequence' CPU is affected and protection of RSB on VMEXIT enabled
'PBRSB-eIBRS: Vulnerable' CPU is vulnerable
'PBRSB-eIBRS: Not affected' CPU is not affected by PBRSB
=========================== =======================================================
Full mitigation might require a microcode update from the CPU
vendor. When the necessary microcode is not available, the kernel will
report vulnerability.
@@ -479,19 +456,8 @@ Spectre variant 2
On Intel Skylake-era systems the mitigation covers most, but not all,
cases. See :ref:`[3] <spec_ref3>` for more details.
On CPUs with hardware mitigation for Spectre variant 2 (e.g. IBRS
or enhanced IBRS on x86), retpoline is automatically disabled at run time.
Systems which support enhanced IBRS (eIBRS) enable IBRS protection once at
boot, by setting the IBRS bit, and they're automatically protected against
Spectre v2 variant attacks.
On Intel's enhanced IBRS systems, this includes cross-thread branch target
injections on SMT systems (STIBP). In other words, Intel eIBRS enables
STIBP, too.
AMD Automatic IBRS does not protect userspace, and Legacy IBRS systems clear
the IBRS bit on exit to userspace, therefore both explicitly enable STIBP.
On CPUs with hardware mitigation for Spectre variant 2 (e.g. Enhanced
IBRS on x86), retpoline is automatically disabled at run time.
The retpoline mitigation is turned on by default on vulnerable
CPUs. It can be forced on or off by the administrator
@@ -502,7 +468,7 @@ Spectre variant 2
before invoking any firmware code to prevent Spectre variant 2 exploits
using the firmware.
Using kernel address space randomization (CONFIG_RANDOMIZE_BASE=y
Using kernel address space randomization (CONFIG_RANDOMIZE_SLAB=y
and CONFIG_SLAB_FREELIST_RANDOM=y in the kernel configuration) makes
attacks on the kernel generally more difficult.
@@ -515,12 +481,9 @@ Spectre variant 2
For Spectre variant 2 mitigation, individual user programs
can be compiled with return trampolines for indirect branches.
This protects them from consuming poisoned entries in the branch
target buffer left by malicious software.
On legacy IBRS systems, at return to userspace, implicit STIBP is disabled
because the kernel clears the IBRS bit. In this case, the userspace programs
can disable indirect branch speculation via prctl() (See
:ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
target buffer left by malicious software. Alternatively, the
programs can disable their indirect branch speculation via prctl()
(See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
On x86, this will turn on STIBP to guard against attacks from the
sibling thread when the user program is running, and use IBPB to
flush the branch target buffer when switching to/from the program.
@@ -621,14 +584,12 @@ kernel command line.
Specific mitigations can also be selected manually:
retpoline auto pick between generic,lfence
retpoline,generic Retpolines
retpoline,lfence LFENCE; indirect branch
retpoline,amd alias for retpoline,lfence
eibrs Enhanced/Auto IBRS
eibrs,retpoline Enhanced/Auto IBRS + Retpolines
eibrs,lfence Enhanced/Auto IBRS + LFENCE
ibrs use IBRS to protect kernel
retpoline
replace indirect branches
retpoline,generic
google's original retpoline
retpoline,amd
AMD-specific minimal thunk
Not specifying this option is equivalent to
spectre_v2=auto.
@@ -769,7 +730,7 @@ AMD white papers:
.. _spec_ref6:
[6] `Software techniques for managing speculation on AMD processors <https://developer.amd.com/wp-content/resources/Managing-Speculation-on-AMD-Processors.pdf>`_.
[6] `Software techniques for managing speculation on AMD processors <https://developer.amd.com/wp-content/resources/90343-B_SoftwareTechniquesforManagingSpeculation_WP_7-18Update_FNL.pdf>`_.
ARM white papers:

View File

@@ -477,21 +477,16 @@
ccw_timeout_log [S390]
See Documentation/s390/CommonIO for details.
cgroup_disable= [KNL] Disable a particular controller or optional feature
Format: {name of the controller(s) or feature(s) to disable}
cgroup_disable= [KNL] Disable a particular controller
Format: {name of the controller(s) to disable}
The effects of cgroup_disable=foo are:
- foo isn't auto-mounted if you mount all cgroups in
a single hierarchy
- foo isn't visible as an individually mountable
subsystem
- if foo is an optional feature then the feature is
disabled and corresponding cgroup files are not
created
{Currently only "memory" controller deal with this and
cut the overhead, others just disable the usage. So
only cgroup_disable=memory is actually worthy}
Specifying "pressure" disables per-cgroup pressure
stall information accounting feature
cgroup_no_v1= [KNL] Disable one, multiple, all cgroup controllers in v1
Format: { controller[,controller...] | "all" }
@@ -790,6 +785,10 @@
debugpat [X86] Enable PAT debugging
decnet.addr= [HW,NET]
Format: <area>[,<node>]
See also Documentation/networking/decnet.txt.
default_hugepagesz=
[same as hugepagesz=] The size of the default
HugeTLB page size. This is the size represented by
@@ -1250,26 +1249,6 @@
Format: off | on
default: on
gather_data_sampling=
[X86,INTEL] Control the Gather Data Sampling (GDS)
mitigation.
Gather Data Sampling is a hardware vulnerability which
allows unprivileged speculative access to data which was
previously stored in vector registers.
This issue is mitigated by default in updated microcode.
The mitigation may have a performance impact but can be
disabled. On systems without the microcode mitigation
disabling AVX serves as a mitigation.
force: Disable AVX to mitigate systems without
microcode mitigation. No effect if the microcode
mitigation is present. Known to cause crashes in
userspace with buggy AVX enumeration.
off: Disable GDS mitigation.
gcov_persist= [GCOV] When non-zero (default), profiling data for
kernel modules is saved and remains accessible via
debugfs, even when the module is unloaded/reloaded.
@@ -1948,12 +1927,8 @@
Default is 1 (enabled)
kvm-intel.emulate_invalid_guest_state=
[KVM,Intel] Disable emulation of invalid guest state.
Ignored if kvm-intel.enable_unrestricted_guest=1, as
guest state is never invalid for unrestricted guests.
This param doesn't apply to nested guests (L2), as KVM
never emulates invalid L2 guest state.
Default is 1 (enabled)
[KVM,Intel] Enable emulation of invalid guest states
Default is 0 (disabled)
kvm-intel.flexpriority=
[KVM,Intel] Disable FlexPriority feature (TPR shadow).
@@ -2480,23 +2455,21 @@
Disable all optional CPU mitigations. This
improves system performance, but it may also
expose users to several CPU vulnerabilities.
Equivalent to: gather_data_sampling=off [X86]
Equivalent to: nopti [X86,PPC]
kpti=0 [ARM64]
kvm.nx_huge_pages=off [X86]
l1tf=off [X86]
mds=off [X86]
mmio_stale_data=off [X86]
no_entry_flush [PPC]
no_uaccess_flush [PPC]
nobp=0 [S390]
nopti [X86,PPC]
nospectre_v1 [PPC]
nobp=0 [S390]
nospectre_v1 [X86]
nospectre_v2 [X86,PPC,S390,ARM64]
spec_store_bypass_disable=off [X86,PPC]
spectre_v2_user=off [X86]
spec_store_bypass_disable=off [X86,PPC]
ssbd=force-off [ARM64]
l1tf=off [X86]
mds=off [X86]
tsx_async_abort=off [X86]
kvm.nx_huge_pages=off [X86]
no_entry_flush [PPC]
no_uaccess_flush [PPC]
Exceptions:
This does not have any effect on
@@ -2518,7 +2491,6 @@
Equivalent to: l1tf=flush,nosmt [X86]
mds=full,nosmt [X86]
tsx_async_abort=full,nosmt [X86]
mmio_stale_data=full,nosmt [X86]
mminit_loglevel=
[KNL] When CONFIG_DEBUG_MEMORY_INIT is set, this
@@ -2528,40 +2500,6 @@
log everything. Information is printed at KERN_DEBUG
so loglevel=8 may also need to be specified.
mmio_stale_data=
[X86,INTEL] Control mitigation for the Processor
MMIO Stale Data vulnerabilities.
Processor MMIO Stale Data is a class of
vulnerabilities that may expose data after an MMIO
operation. Exposed data could originate or end in
the same CPU buffers as affected by MDS and TAA.
Therefore, similar to MDS and TAA, the mitigation
is to clear the affected CPU buffers.
This parameter controls the mitigation. The
options are:
full - Enable mitigation on vulnerable CPUs
full,nosmt - Enable mitigation and disable SMT on
vulnerable CPUs.
off - Unconditionally disable mitigation
On MDS or TAA affected machines,
mmio_stale_data=off can be prevented by an active
MDS or TAA mitigation as these vulnerabilities are
mitigated with the same mechanism so in order to
disable this mitigation, you need to specify
mds=off and tsx_async_abort=off too.
Not specifying this option is equivalent to
mmio_stale_data=full.
For details see:
Documentation/admin-guide/hw-vuln/processor_mmio_stale_data.rst
module.sig_enforce
[KNL] When CONFIG_MODULE_SIG is set, this means that
modules without (valid) signatures will fail to load.
@@ -3574,18 +3512,6 @@
ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
See Documentation/blockdev/ramdisk.txt.
random.trust_cpu={on,off}
[KNL] Enable or disable trusting the use of the
CPU's random number generator (if available) to
fully seed the kernel's CRNG. Default is controlled
by CONFIG_RANDOM_TRUST_CPU.
random.trust_bootloader={on,off}
[KNL] Enable or disable trusting the use of a
seed passed by the bootloader (if available) to
fully seed the kernel's CRNG. Default is controlled
by CONFIG_RANDOM_TRUST_BOOTLOADER.
ras=option[,option,...] [KNL] RAS-specific options
cec_disable [X86]
@@ -4024,18 +3950,6 @@
retain_initrd [RAM] Keep initrd memory after extraction
retbleed= [X86] Control mitigation of RETBleed (Arbitrary
Speculative Code Execution with Return Instructions)
vulnerability.
off - unconditionally disable
auto - automatically select a migitation
Selecting 'auto' will choose a mitigation method at run
time according to the CPU.
Not specifying this option is equivalent to retbleed=auto.
rfkill.default_state=
0 "airplane mode". All wifi, bluetooth, wimax, gps, fm,
etc. communication is blocked by default.
@@ -4269,13 +4183,8 @@
Specific mitigations can also be selected manually:
retpoline - replace indirect branches
retpoline,generic - Retpolines
retpoline,lfence - LFENCE; indirect branch
retpoline,amd - alias for retpoline,lfence
eibrs - Enhanced/Auto IBRS
eibrs,retpoline - Enhanced/Auto IBRS + Retpolines
eibrs,lfence - Enhanced/Auto IBRS + LFENCE
ibrs - use IBRS to protect kernel
retpoline,generic - google's original retpoline
retpoline,amd - AMD-specific minimal thunk
Not specifying this option is equivalent to
spectre_v2=auto.
@@ -4878,7 +4787,6 @@
device);
j = NO_REPORT_LUNS (don't use report luns
command, uas only);
k = NO_SAME (do not use WRITE_SAME, uas only)
l = NOT_LOCKABLE (don't try to lock and
unlock ejectable media, not on uas);
m = MAX_SECTORS_64 (don't transfer more
@@ -5158,13 +5066,6 @@
Disables the PV optimizations forcing the HVM guest to
run as generic HVM guest with no PV drivers.
xen.balloon_boot_timeout= [XEN]
The time (in seconds) to wait before giving up to boot
in case initial ballooning fails to free enough memory.
Applies only when running as HVM or PVH guest and
started with less memory configured than allowed at
max. Default is 180.
xen.event_eoi_delay= [XEN]
How long to delay EOI handling in case of event
storms (jiffies). Default is 10.

View File

@@ -42,18 +42,20 @@ disclosure is from immediate (esp. if it's already publicly known)
to a few weeks. As a basic default policy, we expect report date to
disclosure date to be on the order of 7 days.
Coordination with other groups
------------------------------
Coordination
------------
The kernel security team strongly recommends that reporters of potential
security issues NEVER contact the "linux-distros" mailing list until
AFTER discussing it with the kernel security team. Do not Cc: both
lists at once. You may contact the linux-distros mailing list after a
fix has been agreed on and you fully understand the requirements that
doing so will impose on you and the kernel community.
The different lists have different goals and the linux-distros rules do
not contribute to actually fixing any potential security problems.
Fixes for sensitive bugs, such as those that might lead to privilege
escalations, may need to be coordinated with the private
<linux-distros@vs.openwall.org> mailing list so that distribution vendors
are well prepared to issue a fixed kernel upon public disclosure of the
upstream fix. Distros will need some time to test the proposed patch and
will generally request at least a few days of embargo, and vendor update
publication prefers to happen Tuesday through Thursday. When appropriate,
the security team can assist with this coordination, or the reporter can
include linux-distros from the start. In this case, remember to prefix
the email Subject line with "[vs]" as described in the linux-distros wiki:
<http://oss-security.openwall.org/wiki/mailing-lists/distros#how-to-use-the-lists>
CVE assignment
--------------

View File

@@ -53,13 +53,10 @@ stable kernels.
| ARM | Cortex-A57 | #832075 | ARM64_ERRATUM_832075 |
| ARM | Cortex-A57 | #852523 | N/A |
| ARM | Cortex-A57 | #834220 | ARM64_ERRATUM_834220 |
| ARM | Cortex-A57 | #1742098 | ARM64_ERRATUM_1742098 |
| ARM | Cortex-A72 | #853709 | N/A |
| ARM | Cortex-A72 | #1655431 | ARM64_ERRATUM_1742098 |
| ARM | Cortex-A73 | #858921 | ARM64_ERRATUM_858921 |
| ARM | Cortex-A55 | #1024718 | ARM64_ERRATUM_1024718 |
| ARM | Cortex-A76 | #1286807 | ARM64_ERRATUM_1286807 |
| ARM | Cortex-A76 | #1188873 | ARM64_ERRATUM_1188873 |
| ARM | MMU-500 | #841119,#826419 | N/A |
| | | | |
| Cavium | ThunderX ITS | #22375, #24313 | CAVIUM_ERRATUM_22375 |

View File

@@ -96,7 +96,7 @@ finally:
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = 'en'
language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:

View File

@@ -39,10 +39,6 @@ Setup
this mode. In this case, you should build the kernel with
CONFIG_RANDOMIZE_BASE disabled if the architecture supports KASLR.
- Build the gdb scripts (required on kernels v5.1 and above)::
make scripts_gdb
- Enable the gdb stub of QEMU/KVM, either
- at VM startup time by appending "-s" to the QEMU command line

View File

@@ -1,89 +0,0 @@
Simple MSM thermal driver (MSM_THERMAL_SIMPLE)
MSM_THERMAL_SIMPLE is a standalone kernel driver which regulates thermal
conditions on the device in the absence of an equivalent userspace daemon. The
goal of MSM_THERMAL_SIMPLE is to prevent the temperature of the system from
exceeding a thermal limit at which it cannot operate. The MSM_THERMAL_SIMPLE
driver polls a given ADC channel for temperature readings, and reduces the
maximum CPU frequency in steps, to limit power/thermal output when a threshold
temperature is crossed. It restores the maximum CPU frequency in the same
stepwise fashion when the threshold temperature is cleared.
The devicetree representation of the MSM_THERMAL_SIMPLE block should be:
Required properties:
- compatible: "qcom,msm-thermal-simple"
- qcom,thermal-vadc:
The phandle to the VADC device to use.
- qcom,adc-channel:
The ADC channel to poll from on the VADC device; a full
list of valid channels is available in include/linux/qpnp/qpnp-adc.h,
inside the qpnp_vadc_channels enumeration.
- qcom,poll-ms:
The amount of time in milliseconds between each polling interval.
- zone@NUM:
A zone node containing the following properties, where the lowest zone
node number (NUM) corresponds to the lightest thermal throttle step. An
unlimited number of zones may be specified. Each zone node should be
formatted as so:
- reg:
The thermal zone number.
- qcom,silver-khz:
The frequency limit in kHz for the silver CPU cluster.
- qcom,gold-khz:
The frequency limit in kHz for the gold CPU cluster.
- qcom,trip-deg:
The temperature corresponding to this zone. The units for this
are ambiguous; they correspond to whichever units the selected
ADC channel uses for its output.
Optional properties:
- qcom,start-delay:
The amount of time in seconds to wait for thermal monitoring to start
after the driver has initialized. This is useful to avoid thermal
throttling during boot. By default, this is set to 0.
Example:
qcom,msm-thermal-simple {
compatible = "qcom,msm-thermal-simple";
qcom,thermal-vadc = <&pm8998_vadc>;
qcom,adc-channel = <0x4c>;
qcom,poll-ms = <3000>;
qcom,start-delay = <60>;
zone@0 {
reg = <0>;
qcom,silver-khz = <1766400>;
qcom,gold-khz = <2246400>;
qcom,trip-deg = <36000>;
};
zone@1 {
reg = <1>;
qcom,silver-khz = <1766400>;
qcom,gold-khz = <2169600>;
qcom,trip-deg = <37000>;
};
zone@2 {
reg = <2>;
qcom,silver-khz = <1766400>;
qcom,gold-khz = <2092800>;
qcom,trip-deg = <38000>;
};
zone@3 {
reg = <3>;
qcom,silver-khz = <1766400>;
qcom,gold-khz = <1996800>;
qcom,trip-deg = <39000>;
};
};

View File

@@ -34,8 +34,8 @@ Example:
Use specific request line passing from dma
For example, MMC request line is 5
mmc: mmc@98e00000 {
compatible = "moxa,moxart-mmc";
sdhci: sdhci@98e00000 {
compatible = "moxa,moxart-sdhci";
reg = <0x98e00000 0x5C>;
interrupts = <5 0>;
clocks = <&clk_apb>;

View File

@@ -9,9 +9,8 @@ Required properties:
- The second cell is reserved and is currently unused.
- gpio-controller : Marks the device node as a GPIO controller.
- interrupt-controller: Mark the device node as an interrupt controller
- #interrupt-cells : Should be 2. The interrupt type is fixed in the hardware.
- #interrupt-cells : Should be 1. The interrupt type is fixed in the hardware.
- The first cell is the GPIO offset number within the GPIO controller.
- The second cell is the interrupt trigger type and level flags.
- interrupts: Specify the interrupt.
- altr,interrupt-type: Specifies the interrupt trigger type the GPIO
hardware is synthesized. This field is required if the Altera GPIO controller
@@ -39,6 +38,6 @@ gpio_altr: gpio@0xff200000 {
altr,interrupt-type = <IRQ_TYPE_EDGE_RISING>;
#gpio-cells = <2>;
gpio-controller;
#interrupt-cells = <2>;
#interrupt-cells = <1>;
interrupt-controller;
};

View File

@@ -23,8 +23,6 @@ Optional properties:
- touchscreen-inverted-y : See touchscreen.txt
- touchscreen-swapped-x-y : See touchscreen.txt
- silead,max-fingers : maximum number of fingers the touchscreen can detect
- silead,home-button : Boolean, set to true on devices which have a
capacitive home-button build into the touchscreen
- vddio-supply : regulator phandle for controller VDDIO
- avdd-supply : regulator phandle for controller AVDD

View File

@@ -123,7 +123,7 @@ on various other factors also like;
so the device should have enough free bytes available its OOB/Spare
area to accommodate ECC for entire page. In general following expression
helps in determining if given device can accommodate ECC syndrome:
"2 + (PAGESIZE / 512) * ECC_BYTES" <= OOBSIZE"
"2 + (PAGESIZE / 512) * ECC_BYTES" >= OOBSIZE"
where
OOBSIZE number of bytes in OOB/spare area
PAGESIZE number of bytes in main-area of device page

View File

@@ -36,7 +36,7 @@ Following example uses irq pin number 3 of gpio0 for out of band wake-on-bt:
compatible = "usb1286,204e";
reg = <1>;
interrupt-parent = <&gpio0>;
interrupt-names = "wakeup";
interrupt-name = "wakeup";
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
};
};

View File

@@ -43,26 +43,26 @@ group emmc_nb
group pwm0
- pin 11 (GPIO1-11)
- functions pwm, led, gpio
- functions pwm, gpio
group pwm1
- pin 12
- functions pwm, led, gpio
- functions pwm, gpio
group pwm2
- pin 13
- functions pwm, led, gpio
- functions pwm, gpio
group pwm3
- pin 14
- functions pwm, led, gpio
- functions pwm, gpio
group pmic1
- pin 7
- pin 17
- functions pmic, gpio
group pmic0
- pin 6
- pin 16
- functions pmic, gpio
group i2c2
@@ -112,25 +112,17 @@ group usb2_drvvbus1
- functions drvbus, gpio
group sdio_sb
- pins 60-65
- pins 60-64
- functions sdio, gpio
group rgmii
- pins 42-53
- pins 42-55
- functions mii, gpio
group pcie1
- pins 39
- pins 39-40
- functions pcie, gpio
group pcie1_clkreq
- pins 40
- functions pcie, gpio
group smi
- pins 54-55
- functions smi, gpio
group ptp
- pins 56-58
- functions ptp, gpio

View File

@@ -13,14 +13,6 @@ common regulator binding documented in:
Required properties of the main device node (the parent!):
- s5m8767,pmic-buck-ds-gpios: GPIO specifiers for three host gpio's used
for selecting GPIO DVS lines. It is one-to-one mapped to dvs gpio lines.
[1] If either of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional
property is specified, then all the eight voltage values for the
's5m8767,pmic-buck[2/3/4]-dvs-voltage' should be specified.
Optional properties of the main device node (the parent!):
- s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
units for buck2 when changing voltage using gpio dvs. Refer to [1] below
for additional information.
@@ -33,13 +25,26 @@ Optional properties of the main device node (the parent!):
units for buck4 when changing voltage using gpio dvs. Refer to [1] below
for additional information.
- s5m8767,pmic-buck-ds-gpios: GPIO specifiers for three host gpio's used
for selecting GPIO DVS lines. It is one-to-one mapped to dvs gpio lines.
[1] If none of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional
property is specified, the 's5m8767,pmic-buck[2/3/4]-dvs-voltage'
property should specify atleast one voltage level (which would be a
safe operating voltage).
If either of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional
property is specified, then all the eight voltage values for the
's5m8767,pmic-buck[2/3/4]-dvs-voltage' should be specified.
Optional properties of the main device node (the parent!):
- s5m8767,pmic-buck2-uses-gpio-dvs: 'buck2' can be controlled by gpio dvs.
- s5m8767,pmic-buck3-uses-gpio-dvs: 'buck3' can be controlled by gpio dvs.
- s5m8767,pmic-buck4-uses-gpio-dvs: 'buck4' can be controlled by gpio dvs.
Additional properties required if either of the optional properties are used:
- s5m8767,pmic-buck-default-dvs-idx: Default voltage setting selected from
- s5m8767,pmic-buck234-default-dvs-idx: Default voltage setting selected from
the possible 8 options selectable by the dvs gpios. The value of this
property should be between 0 and 7. If not specified or if out of range, the
default value of this property is set to 0.

View File

@@ -16,11 +16,6 @@ Optional properties:
a GPIO spec for the external headphone detect pin. If jd-mode = 0,
we will get the JD status by getting the value of hp-detect-gpios.
- cbj-sleeve-gpios:
a GPIO spec to control the external combo jack circuit to tie the sleeve/ring2
contacts to the ground or floating. It could avoid some electric noise from the
active speaker jacks.
- realtek,in2-differential
Boolean. Indicate MIC2 input are differential, rather than single-ended.
@@ -69,7 +64,6 @@ codec: rt5650@1a {
compatible = "realtek,rt5650";
reg = <0x1a>;
hp-detect-gpios = <&gpio 19 0>;
cbj-sleeve-gpios = <&gpio 20 0>;
interrupt-parent = <&gpio>;
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
realtek,dmic-en = "true";

View File

@@ -25,8 +25,8 @@ hardware, which may be as simple as a set of GPIO pins or as complex as
a pair of FIFOs connected to dual DMA engines on the other side of the
SPI shift register (maximizing throughput). Such drivers bridge between
whatever bus they sit on (often the platform bus) and SPI, and expose
the SPI side of their device as a :c:type:`struct spi_controller
<spi_controller>`. SPI devices are children of that master,
the SPI side of their device as a :c:type:`struct spi_master
<spi_master>`. SPI devices are children of that master,
represented as a :c:type:`struct spi_device <spi_device>` and
manufactured from :c:type:`struct spi_board_info
<spi_board_info>` descriptors which are usually provided by

View File

@@ -119,7 +119,6 @@ set: yes
--------------------------- super_operations ---------------------------
prototypes:
struct inode *(*alloc_inode)(struct super_block *sb);
void (*free_inode)(struct inode *);
void (*destroy_inode)(struct inode *);
void (*dirty_inode) (struct inode *, int flags);
int (*write_inode) (struct inode *, struct writeback_control *wbc);
@@ -141,7 +140,6 @@ locking rules:
All may block [not true, see below]
s_umount
alloc_inode:
free_inode: called from RCU callback
destroy_inode:
dirty_inode:
write_inode:
@@ -407,6 +405,7 @@ prototypes:
int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
int (*direct_access) (struct block_device *, sector_t, void **,
unsigned long *);
int (*media_changed) (struct gendisk *);
void (*unlock_native_capacity) (struct gendisk *);
int (*revalidate_disk) (struct gendisk *);
int (*getgeo)(struct block_device *, struct hd_geometry *);
@@ -419,12 +418,13 @@ release: yes
ioctl: no
compat_ioctl: no
direct_access: no
media_changed: no
unlock_native_capacity: no
revalidate_disk: no
getgeo: no
swap_slot_free_notify: no (see below)
unlock_native_capacity and revalidate_disk are called only from
media_changed, unlock_native_capacity and revalidate_disk are called only from
check_disk_change().
swap_slot_free_notify is called with swap_lock and sometimes the page lock

View File

@@ -94,10 +94,10 @@ Note: More extensive information for getting started with ext4 can be
* ability to pack bitmaps and inode tables into larger virtual groups via the
flex_bg feature
* large file support
* inode allocation using large virtual block groups via flex_bg
* Inode allocation using large virtual block groups via flex_bg
* delayed allocation
* large block (up to pagesize) support
* efficient new ordered mode in JBD2 and ext4 (avoid using buffer head to force
* efficient new ordered mode in JBD2 and ext4(avoid using buffer head to force
the ordering)
[1] Filesystems with a block size of 1k may see a limit imposed by the
@@ -105,7 +105,7 @@ directory hash tree having a maximum depth of two.
2.2 Candidate features for future inclusion
* online defrag (patches available but not well tested)
* Online defrag (patches available but not well tested)
* reduced mke2fs time via lazy itable initialization in conjunction with
the uninit_bg feature (capability to do this is available in e2fsprogs
but a kernel thread to do lazy zeroing of unused inode table blocks
@@ -602,7 +602,7 @@ Table of Ext4 specific ioctls
bitmaps and inode table, the userspace tool thus
just passes the new number of blocks.
EXT4_IOC_SWAP_BOOT Swap i_blocks and associated attributes
EXT4_IOC_SWAP_BOOT Swap i_blocks and associated attributes
(like i_blocks, i_size, i_flags, ...) from
the specified inode with inode
EXT4_BOOT_LOADER_INO (#5). This is typically

View File

@@ -1,453 +0,0 @@
.. SPDX-License-Identifier: GPL-2.0
Directory Entries
-----------------
In an ext4 filesystem, a directory is more or less a flat file that maps
an arbitrary byte string (usually ASCII) to an inode number on the
filesystem. There can be many directory entries across the filesystem
that reference the same inode number--these are known as hard links, and
that is why hard links cannot reference files on other filesystems. As
such, directory entries are found by reading the data block(s)
associated with a directory file for the particular directory entry that
is desired.
Linear (Classic) Directories
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By default, each directory lists its entries in an “almost-linear”
array. I write “almost” because it's not a linear array in the memory
sense because directory entries are not split across filesystem blocks.
Therefore, it is more accurate to say that a directory is a series of
data blocks and that each block contains a linear array of directory
entries. The end of each per-block array is signified by reaching the
end of the block; the last entry in the block has a record length that
takes it all the way to the end of the block. The end of the entire
directory is of course signified by reaching the end of the file. Unused
directory entries are signified by inode = 0. By default the filesystem
uses ``struct ext4_dir_entry_2`` for directory entries unless the
“filetype” feature flag is not set, in which case it uses
``struct ext4_dir_entry``.
The original directory entry format is ``struct ext4_dir_entry``, which
is at most 263 bytes long, though on disk you'll need to reference
``dirent.rec_len`` to know for sure.
.. list-table::
:widths: 1 1 1 77
:header-rows: 1
* - Offset
- Size
- Name
- Description
* - 0x0
- \_\_le32
- inode
- Number of the inode that this directory entry points to.
* - 0x4
- \_\_le16
- rec\_len
- Length of this directory entry. Must be a multiple of 4.
* - 0x6
- \_\_le16
- name\_len
- Length of the file name.
* - 0x8
- char
- name[EXT4\_NAME\_LEN]
- File name.
Since file names cannot be longer than 255 bytes, the new directory
entry format shortens the rec\_len field and uses the space for a file
type flag, probably to avoid having to load every inode during directory
tree traversal. This format is ``ext4_dir_entry_2``, which is at most
263 bytes long, though on disk you'll need to reference
``dirent.rec_len`` to know for sure.
.. list-table::
:widths: 1 1 1 77
:header-rows: 1
* - Offset
- Size
- Name
- Description
* - 0x0
- \_\_le32
- inode
- Number of the inode that this directory entry points to.
* - 0x4
- \_\_le16
- rec\_len
- Length of this directory entry.
* - 0x6
- \_\_u8
- name\_len
- Length of the file name.
* - 0x7
- \_\_u8
- file\_type
- File type code, see ftype_ table below.
* - 0x8
- char
- name[EXT4\_NAME\_LEN]
- File name.
.. _ftype:
The directory file type is one of the following values:
.. list-table::
:widths: 1 79
:header-rows: 1
* - Value
- Description
* - 0x0
- Unknown.
* - 0x1
- Regular file.
* - 0x2
- Directory.
* - 0x3
- Character device file.
* - 0x4
- Block device file.
* - 0x5
- FIFO.
* - 0x6
- Socket.
* - 0x7
- Symbolic link.
To support directories that are both encrypted and casefolded directories, we
must also include hash information in the directory entry. We append
``ext4_extended_dir_entry_2`` to ``ext4_dir_entry_2`` except for the entries
for dot and dotdot, which are kept the same. The structure follows immediately
after ``name`` and is included in the size listed by ``rec_len`` If a directory
entry uses this extension, it may be up to 271 bytes.
.. list-table::
:widths: 8 8 24 40
:header-rows: 1
* - Offset
- Size
- Name
- Description
* - 0x0
- \_\_le32
- hash
- The hash of the directory name
* - 0x4
- \_\_le32
- minor\_hash
- The minor hash of the directory name
In order to add checksums to these classic directory blocks, a phony
``struct ext4_dir_entry`` is placed at the end of each leaf block to
hold the checksum. The directory entry is 12 bytes long. The inode
number and name\_len fields are set to zero to fool old software into
ignoring an apparently empty directory entry, and the checksum is stored
in the place where the name normally goes. The structure is
``struct ext4_dir_entry_tail``:
.. list-table::
:widths: 1 1 1 77
:header-rows: 1
* - Offset
- Size
- Name
- Description
* - 0x0
- \_\_le32
- det\_reserved\_zero1
- Inode number, which must be zero.
* - 0x4
- \_\_le16
- det\_rec\_len
- Length of this directory entry, which must be 12.
* - 0x6
- \_\_u8
- det\_reserved\_zero2
- Length of the file name, which must be zero.
* - 0x7
- \_\_u8
- det\_reserved\_ft
- File type, which must be 0xDE.
* - 0x8
- \_\_le32
- det\_checksum
- Directory leaf block checksum.
The leaf directory block checksum is calculated against the FS UUID, the
directory's inode number, the directory's inode generation number, and
the entire directory entry block up to (but not including) the fake
directory entry.
Hash Tree Directories
~~~~~~~~~~~~~~~~~~~~~
A linear array of directory entries isn't great for performance, so a
new feature was added to ext3 to provide a faster (but peculiar)
balanced tree keyed off a hash of the directory entry name. If the
EXT4\_INDEX\_FL (0x1000) flag is set in the inode, this directory uses a
hashed btree (htree) to organize and find directory entries. For
backwards read-only compatibility with ext2, this tree is actually
hidden inside the directory file, masquerading as “empty” directory data
blocks! It was stated previously that the end of the linear directory
entry table was signified with an entry pointing to inode 0; this is
(ab)used to fool the old linear-scan algorithm into thinking that the
rest of the directory block is empty so that it moves on.
The root of the tree always lives in the first data block of the
directory. By ext2 custom, the '.' and '..' entries must appear at the
beginning of this first block, so they are put here as two
``struct ext4_dir_entry_2``\ s and not stored in the tree. The rest of
the root node contains metadata about the tree and finally a hash->block
map to find nodes that are lower in the htree. If
``dx_root.info.indirect_levels`` is non-zero then the htree has two
levels; the data block pointed to by the root node's map is an interior
node, which is indexed by a minor hash. Interior nodes in this tree
contains a zeroed out ``struct ext4_dir_entry_2`` followed by a
minor\_hash->block map to find leafe nodes. Leaf nodes contain a linear
array of all ``struct ext4_dir_entry_2``; all of these entries
(presumably) hash to the same value. If there is an overflow, the
entries simply overflow into the next leaf node, and the
least-significant bit of the hash (in the interior node map) that gets
us to this next leaf node is set.
To traverse the directory as a htree, the code calculates the hash of
the desired file name and uses it to find the corresponding block
number. If the tree is flat, the block is a linear array of directory
entries that can be searched; otherwise, the minor hash of the file name
is computed and used against this second block to find the corresponding
third block number. That third block number will be a linear array of
directory entries.
To traverse the directory as a linear array (such as the old code does),
the code simply reads every data block in the directory. The blocks used
for the htree will appear to have no entries (aside from '.' and '..')
and so only the leaf nodes will appear to have any interesting content.
The root of the htree is in ``struct dx_root``, which is the full length
of a data block:
.. list-table::
:widths: 1 1 1 77
:header-rows: 1
* - Offset
- Type
- Name
- Description
* - 0x0
- \_\_le32
- dot.inode
- inode number of this directory.
* - 0x4
- \_\_le16
- dot.rec\_len
- Length of this record, 12.
* - 0x6
- u8
- dot.name\_len
- Length of the name, 1.
* - 0x7
- u8
- dot.file\_type
- File type of this entry, 0x2 (directory) (if the feature flag is set).
* - 0x8
- char
- dot.name[4]
- “.\\0\\0\\0”
* - 0xC
- \_\_le32
- dotdot.inode
- inode number of parent directory.
* - 0x10
- \_\_le16
- dotdot.rec\_len
- block\_size - 12. The record length is long enough to cover all htree
data.
* - 0x12
- u8
- dotdot.name\_len
- Length of the name, 2.
* - 0x13
- u8
- dotdot.file\_type
- File type of this entry, 0x2 (directory) (if the feature flag is set).
* - 0x14
- char
- dotdot\_name[4]
- “..\\0\\0”
* - 0x18
- \_\_le32
- struct dx\_root\_info.reserved\_zero
- Zero.
* - 0x1C
- u8
- struct dx\_root\_info.hash\_version
- Hash type, see dirhash_ table below.
* - 0x1D
- u8
- struct dx\_root\_info.info\_length
- Length of the tree information, 0x8.
* - 0x1E
- u8
- struct dx\_root\_info.indirect\_levels
- Depth of the htree. Cannot be larger than 3 if the INCOMPAT\_LARGEDIR
feature is set; cannot be larger than 2 otherwise.
* - 0x1F
- u8
- struct dx\_root\_info.unused\_flags
-
* - 0x20
- \_\_le16
- limit
- Maximum number of dx\_entries that can follow this header, plus 1 for
the header itself.
* - 0x22
- \_\_le16
- count
- Actual number of dx\_entries that follow this header, plus 1 for the
header itself.
* - 0x24
- \_\_le32
- block
- The block number (within the directory file) that goes with hash=0.
* - 0x28
- struct dx\_entry
- entries[0]
- As many 8-byte ``struct dx_entry`` as fits in the rest of the data block.
.. _dirhash:
The directory hash is one of the following values:
.. list-table::
:widths: 1 79
:header-rows: 1
* - Value
- Description
* - 0x0
- Legacy.
* - 0x1
- Half MD4.
* - 0x2
- Tea.
* - 0x3
- Legacy, unsigned.
* - 0x4
- Half MD4, unsigned.
* - 0x5
- Tea, unsigned.
* - 0x6
- Siphash.
Interior nodes of an htree are recorded as ``struct dx_node``, which is
also the full length of a data block:
.. list-table::
:widths: 1 1 1 77
:header-rows: 1
* - Offset
- Type
- Name
- Description
* - 0x0
- \_\_le32
- fake.inode
- Zero, to make it look like this entry is not in use.
* - 0x4
- \_\_le16
- fake.rec\_len
- The size of the block, in order to hide all of the dx\_node data.
* - 0x6
- u8
- name\_len
- Zero. There is no name for this “unused” directory entry.
* - 0x7
- u8
- file\_type
- Zero. There is no file type for this “unused” directory entry.
* - 0x8
- \_\_le16
- limit
- Maximum number of dx\_entries that can follow this header, plus 1 for
the header itself.
* - 0xA
- \_\_le16
- count
- Actual number of dx\_entries that follow this header, plus 1 for the
header itself.
* - 0xE
- \_\_le32
- block
- The block number (within the directory file) that goes with the lowest
hash value of this block. This value is stored in the parent block.
* - 0x12
- struct dx\_entry
- entries[0]
- As many 8-byte ``struct dx_entry`` as fits in the rest of the data block.
The hash maps that exist in both ``struct dx_root`` and
``struct dx_node`` are recorded as ``struct dx_entry``, which is 8 bytes
long:
.. list-table::
:widths: 1 1 1 77
:header-rows: 1
* - Offset
- Type
- Name
- Description
* - 0x0
- \_\_le32
- hash
- Hash code.
* - 0x4
- \_\_le32
- block
- Block number (within the directory file, not filesystem blocks) of the
next node in the htree.
(If you think this is all quite clever and peculiar, so does the
author.)
If metadata checksums are enabled, the last 8 bytes of the directory
block (precisely the length of one dx\_entry) are used to store a
``struct dx_tail``, which contains the checksum. The ``limit`` and
``count`` entries in the dx\_root/dx\_node structures are adjusted as
necessary to fit the dx\_tail into the block. If there is no space for
the dx\_tail, the user is notified to run e2fsck -D to rebuild the
directory index (which will ensure that there's space for the checksum.
The dx\_tail structure is 8 bytes long and looks like this:
.. list-table::
:widths: 1 1 1 77
:header-rows: 1
* - Offset
- Type
- Name
- Description
* - 0x0
- u32
- dt\_reserved
- Zero.
* - 0x4
- \_\_le32
- dt\_checksum
- Checksum of the htree directory block.
The checksum is calculated against the FS UUID, the htree index header
(dx\_root or dx\_node), all of the htree indices (dx\_entry) that are in
use, and the tail block (dx\_tail).

View File

@@ -169,13 +169,3 @@ havoc if they lock crucial files. The way around it is to change the file
permissions (remove the setgid bit) before trying to read or write to it.
Of course, that might be a bit tricky if the system is hung :-(
7. The "mand" mount option
--------------------------
Mandatory locking is disabled on all filesystems by default, and must be
administratively enabled by mounting with "-o mand". That mount option
is only allowed if the mounting task has the CAP_SYS_ADMIN capability.
Since kernel v4.5, it is possible to disable mandatory locking
altogether by setting CONFIG_MANDATORY_FILE_LOCKING to "n". A kernel
with this disabled will reject attempts to mount filesystems with the
"mand" mount option with the error status EPERM.

View File

@@ -607,38 +607,9 @@ in your dentry operations instead.
to specify the fields and sync type requested by statx. Filesystems not
supporting any statx-specific features may ignore the new arguments.
--
[recommended]
->lookup() instances doing an equivalent of
if (IS_ERR(inode))
return ERR_CAST(inode);
return d_splice_alias(inode, dentry);
don't need to bother with the check - d_splice_alias() will do the
right thing when given ERR_PTR(...) as inode. Moreover, passing NULL
inode to d_splice_alias() will also do the right thing (equivalent of
d_add(dentry, NULL); return NULL;), so that kind of special cases
also doesn't need a separate treatment.
--
[strongly recommended]
take the RCU-delayed parts of ->destroy_inode() into a new method -
->free_inode(). If ->destroy_inode() becomes empty - all the better,
just get rid of it. Synchronous work (e.g. the stuff that can't
be done from an RCU callback, or any WARN_ON() where we want the
stack trace) *might* be movable to ->evict_inode(); however,
that goes only for the things that are not needed to balance something
done by ->alloc_inode(). IOW, if it's cleaning up the stuff that
might have accumulated over the life of in-core inode, ->evict_inode()
might be a fit.
[mandatory]
Rules for inode destruction:
* if ->destroy_inode() is non-NULL, it gets called
* if ->free_inode() is non-NULL, it gets scheduled by call_rcu()
* combination of NULL ->destroy_inode and NULL ->free_inode is
treated as NULL/free_inode_nonrcu, to preserve the compatibility.
Note that the callback (be it via ->free_inode() or explicit call_rcu()
in ->destroy_inode()) is *NOT* ordered wrt superblock destruction;
as the matter of fact, the superblock and all associated structures
might be already gone. The filesystem driver is guaranteed to be still
there, but that's it. Freeing memory in the callback is fine; doing
more than that is possible, but requires a lot of care and is best
avoided.
[should've been added in 2016] stale comment in finish_open()
nonwithstanding, failure exits in ->atomic_open() instances should
*NOT* fput() the file, no matter what. Everything is handled by the
caller.

View File

@@ -211,10 +211,12 @@ Other notes:
is 4096.
- show() methods should return the number of bytes printed into the
buffer.
buffer. This is the return value of scnprintf().
- show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.
- show() must not use snprintf() when formatting the value to be
returned to user space. If you can guarantee that an overflow
will never happen you can use sprintf() otherwise you must use
scnprintf().
- store() should return the number of bytes used from the buffer. If the
entire buffer has been used, just return the count argument.

View File

@@ -1,15 +0,0 @@
=================
Kernel clients
=================
.. kernel-doc:: drivers/gpu/drm/drm_client.c
:doc: overview
.. kernel-doc:: include/drm/drm_client.h
:internal:
.. kernel-doc:: drivers/gpu/drm/drm_client.c
:export:
.. kernel-doc:: drivers/gpu/drm/drm_client_modeset.c
:export:

View File

@@ -10,7 +10,6 @@ Linux GPU Driver Developer's Guide
drm-kms
drm-kms-helpers
drm-uapi
drm-client
i915
meson
pl111

View File

@@ -298,25 +298,17 @@ functions is used.
The header file linux/hwmon-sysfs.h provides a number of useful macros to
declare and use hardware monitoring sysfs attributes.
In many cases, you can use the exsting define DEVICE_ATTR or its variants
DEVICE_ATTR_{RW,RO,WO} to declare such attributes. This is feasible if an
attribute has no additional context. However, in many cases there will be
additional information such as a sensor index which will need to be passed
to the sysfs attribute handling function.
In many cases, you can use the exsting define DEVICE_ATTR to declare such
attributes. This is feasible if an attribute has no additional context. However,
in many cases there will be additional information such as a sensor index which
will need to be passed to the sysfs attribute handling function.
SENSOR_DEVICE_ATTR and SENSOR_DEVICE_ATTR_2 can be used to define attributes
which need such additional context information. SENSOR_DEVICE_ATTR requires
one additional argument, SENSOR_DEVICE_ATTR_2 requires two.
Simplified variants of SENSOR_DEVICE_ATTR and SENSOR_DEVICE_ATTR_2 are available
and should be used if standard attribute permissions and function names are
feasible. Standard permissions are 0644 for SENSOR_DEVICE_ATTR[_2]_RW,
0444 for SENSOR_DEVICE_ATTR[_2]_RO, and 0200 for SENSOR_DEVICE_ATTR[_2]_WO.
Standard functions, similar to DEVICE_ATTR_{RW,RO,WO}, have _show and _store
appended to the provided function name.
SENSOR_DEVICE_ATTR and its variants define a struct sensor_device_attribute
variable. This structure has the following fields.
SENSOR_DEVICE_ATTR defines a struct sensor_device_attribute variable.
This structure has the following fields.
struct sensor_device_attribute {
struct device_attribute dev_attr;
@@ -327,8 +319,8 @@ You can use to_sensor_dev_attr to get the pointer to this structure from the
attribute read or write function. Its parameter is the device to which the
attribute is attached.
SENSOR_DEVICE_ATTR_2 and its variants define a struct sensor_device_attribute_2
variable, which is defined as follows.
SENSOR_DEVICE_ATTR_2 defines a struct sensor_device_attribute_2 variable,
which is defined as follows.
struct sensor_device_attribute_2 {
struct device_attribute dev_attr;

View File

@@ -290,6 +290,7 @@ Code Seq#(hex) Include File Comments
0x89 00-06 arch/x86/include/asm/sockios.h
0x89 0B-DF linux/sockios.h
0x89 E0-EF linux/sockios.h SIOCPROTOPRIVATE range
0x89 E0-EF linux/dn.h PROTOPRIVATE range
0x89 F0-FF linux/sockios.h SIOCDEVPRIVATE range
0x8B all linux/wireless.h
0x8C 00-3F WiNRADiO driver

View File

@@ -7,3 +7,8 @@ Remote Controller core
.. kernel-doc:: include/media/rc-core.h
.. kernel-doc:: include/media/rc-map.h
LIRC
~~~~
.. kernel-doc:: include/media/lirc_dev.h

View File

@@ -28,36 +28,6 @@ ignore define LIRC_CAN_SEND_MASK
ignore define LIRC_CAN_REC_MASK
ignore define LIRC_CAN_SET_REC_DUTY_CYCLE
# Obsolete ioctls
ignore ioctl LIRC_GET_LENGTH
# rc protocols
ignore symbol RC_PROTO_UNKNOWN
ignore symbol RC_PROTO_OTHER
ignore symbol RC_PROTO_RC5
ignore symbol RC_PROTO_RC5X_20
ignore symbol RC_PROTO_RC5_SZ
ignore symbol RC_PROTO_JVC
ignore symbol RC_PROTO_SONY12
ignore symbol RC_PROTO_SONY15
ignore symbol RC_PROTO_SONY20
ignore symbol RC_PROTO_NEC
ignore symbol RC_PROTO_NECX
ignore symbol RC_PROTO_NEC32
ignore symbol RC_PROTO_SANYO
ignore symbol RC_PROTO_MCIR2_KBD
ignore symbol RC_PROTO_MCIR2_MSE
ignore symbol RC_PROTO_RC6_0
ignore symbol RC_PROTO_RC6_6A_20
ignore symbol RC_PROTO_RC6_6A_24
ignore symbol RC_PROTO_RC6_6A_32
ignore symbol RC_PROTO_RC6_MCE
ignore symbol RC_PROTO_SHARP
ignore symbol RC_PROTO_XMP
ignore symbol RC_PROTO_CEC
# Undocumented macros
ignore define PULSE_BIT
@@ -70,4 +40,3 @@ ignore define LIRC_VALUE_MASK
ignore define LIRC_MODE2_MASK
ignore define LIRC_MODE_RAW
ignore define LIRC_MODE_LIRCCODE

View File

@@ -7,7 +7,7 @@ file: uapi/v4l/keytable.c
/* keytable.c - This program allows checking/replacing keys at IR
Copyright (C) 2006-2009 Mauro Carvalho Chehab <mchehab@kernel.org>
Copyright (C) 2006-2009 Mauro Carvalho Chehab <mchehab@infradead.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@@ -6,19 +6,19 @@
Introduction
************
LIRC stands for Linux Infrared Remote Control. The LIRC device interface is
a bi-directional interface for transporting raw IR and decoded scancodes
data between userspace and kernelspace. Fundamentally, it is just a chardev
(/dev/lircX, for X = 0, 1, 2, ...), with a number of standard struct
file_operations defined on it. With respect to transporting raw IR and
decoded scancodes to and fro, the essential fops are read, write and ioctl.
The LIRC device interface is a bi-directional interface for transporting
raw IR data between userspace and kernelspace. Fundamentally, it is just
a chardev (/dev/lircX, for X = 0, 1, 2, ...), with a number of standard
struct file_operations defined on it. With respect to transporting raw
IR data to and fro, the essential fops are read, write and ioctl.
Example dmesg output upon a driver registering w/LIRC:
.. code-block:: none
$ dmesg |grep lirc_dev
rc rc0: lirc_dev: driver mceusb registered at minor = 0, raw IR receiver, raw IR transmitter
lirc_dev: IR Remote Control driver registered, major 248
rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
What you should see for a chardev:
@@ -36,43 +36,6 @@ LIRC modes
LIRC supports some modes of receiving and sending IR codes, as shown
on the following table.
.. _lirc-mode-scancode:
.. _lirc-scancode-flag-toggle:
.. _lirc-scancode-flag-repeat:
``LIRC_MODE_SCANCODE``
This mode is for both sending and receiving IR.
For transmitting (aka sending), create a ``struct lirc_scancode`` with
the desired scancode set in the ``scancode`` member, :c:type:`rc_proto`
set the IR protocol, and all other members set to 0. Write this struct to
the lirc device.
For receiving, you read ``struct lirc_scancode`` from the lirc device,
with ``scancode`` set to the received scancode and the IR protocol
:c:type:`rc_proto`. If the scancode maps to a valid key code, this is set
in the ``keycode`` field, else it is set to ``KEY_RESERVED``.
The ``flags`` can have ``LIRC_SCANCODE_FLAG_TOGGLE`` set if the toggle
bit is set in protocols that support it (e.g. rc-5 and rc-6), or
``LIRC_SCANCODE_FLAG_REPEAT`` for when a repeat is received for protocols
that support it (e.g. nec).
In the Sanyo and NEC protocol, if you hold a button on remote, rather than
repeating the entire scancode, the remote sends a shorter message with
no scancode, which just means button is held, a "repeat". When this is
received, the ``LIRC_SCANCODE_FLAG_REPEAT`` is set and the scancode and
keycode is repeated.
With nec, there is no way to distinguish "button hold" from "repeatedly
pressing the same button". The rc-5 and rc-6 protocols have a toggle bit.
When a button is released and pressed again, the toggle bit is inverted.
If the toggle bit is set, the ``LIRC_SCANCODE_FLAG_TOGGLE`` is set.
The ``timestamp`` field is filled with the time nanoseconds
(in ``CLOCK_MONOTONIC``) when the scancode was decoded.
.. _lirc-mode-mode2:
``LIRC_MODE_MODE2``
@@ -109,6 +72,21 @@ on the following table.
this packet will be sent, with the number of microseconds with
no IR.
.. _lirc-mode-lirccode:
``LIRC_MODE_LIRCCODE``
This mode can be used for IR receive and send.
The IR signal is decoded internally by the receiver, or encoded by the
transmitter. The LIRC interface represents the scancode as byte string,
which might not be a u32, it can be any length. The value is entirely
driver dependent. This mode is used by some older lirc drivers.
The length of each code depends on the driver, which can be retrieved
with :ref:`lirc_get_length`. This length is used both
for transmitting and receiving IR.
.. _lirc-mode-pulse:
``LIRC_MODE_PULSE``
@@ -121,13 +99,3 @@ on the following table.
of entries.
This mode is used only for IR send.
**************************
Remote Controller protocol
**************************
An enum :c:type:`rc_proto` in the :ref:`lirc_header` lists all the
supported IR protocols:
.. kernel-doc:: include/uapi/linux/lirc.h

View File

@@ -17,8 +17,8 @@ LIRC Function Reference
lirc-get-rec-resolution
lirc-set-send-duty-cycle
lirc-get-timeout
lirc-get-rec-timeout
lirc-set-rec-timeout
lirc-get-length
lirc-set-rec-carrier
lirc-set-rec-carrier-range
lirc-set-send-carrier

View File

@@ -55,24 +55,15 @@ LIRC features
``LIRC_CAN_REC_MODE2``
This is raw IR driver for receiving. This means that
:ref:`LIRC_MODE_MODE2 <lirc-mode-MODE2>` is used. This also implies
that :ref:`LIRC_MODE_SCANCODE <lirc-mode-SCANCODE>` is also supported,
as long as the kernel is recent enough. Use the
:ref:`lirc_set_rec_mode` to switch modes.
The driver is capable of receiving using
:ref:`LIRC_MODE_MODE2 <lirc-mode-MODE2>`.
.. _LIRC-CAN-REC-LIRCCODE:
``LIRC_CAN_REC_LIRCCODE``
Unused. Kept just to avoid breaking uAPI.
.. _LIRC-CAN-REC-SCANCODE:
``LIRC_CAN_REC_SCANCODE``
This is a scancode driver for receiving. This means that
:ref:`LIRC_MODE_SCANCODE <lirc-mode-SCANCODE>` is used.
The driver is capable of receiving using
:ref:`LIRC_MODE_LIRCCODE <lirc-mode-LIRCCODE>`.
.. _LIRC-CAN-SET-SEND-CARRIER:
@@ -166,10 +157,7 @@ LIRC features
``LIRC_CAN_SEND_PULSE``
The driver supports sending (also called as IR blasting or IR TX) using
:ref:`LIRC_MODE_PULSE <lirc-mode-pulse>`. This implies that
:ref:`LIRC_MODE_SCANCODE <lirc-mode-SCANCODE>` is also supported for
transmit, as long as the kernel is recent enough. Use the
:ref:`lirc_set_send_mode` to switch modes.
:ref:`LIRC_MODE_PULSE <lirc-mode-pulse>`.
.. _LIRC-CAN-SEND-MODE2:
@@ -182,7 +170,8 @@ LIRC features
``LIRC_CAN_SEND_LIRCCODE``
Unused. Kept just to avoid breaking uAPI.
The driver supports sending (also called as IR blasting or IR TX) using
:ref:`LIRC_MODE_LIRCCODE <lirc-mode-LIRCCODE>`.
Return Value

View File

@@ -0,0 +1,44 @@
.. -*- coding: utf-8; mode: rst -*-
.. _lirc_get_length:
*********************
ioctl LIRC_GET_LENGTH
*********************
Name
====
LIRC_GET_LENGTH - Retrieves the code length in bits.
Synopsis
========
.. c:function:: int ioctl( int fd, LIRC_GET_LENGTH, __u32 *length )
:name: LIRC_GET_LENGTH
Arguments
=========
``fd``
File descriptor returned by open().
``length``
length, in bits
Description
===========
Retrieves the code length in bits (only for
:ref:`LIRC_MODE_LIRCCODE <lirc-mode-lirccode>`).
Reads on the device must be done in blocks matching the bit count.
The bit could should be rounded up so that it matches full bytes.
Return Value
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.

View File

@@ -34,8 +34,9 @@ Description
===========
Get/set supported receive modes. Only :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`
and :ref:`LIRC_MODE_SCANCODE <lirc-mode-scancode>` are supported.
Use :ref:`lirc_get_features` to find out which modes the driver supports.
and :ref:`LIRC_MODE_LIRCCODE <lirc-mode-lirccode>` are supported for IR
receive. Use :ref:`lirc_get_features` to find out which modes the driver
supports.
Return Value
============

View File

@@ -37,7 +37,7 @@ Description
Get/set current transmit mode.
Only :ref:`LIRC_MODE_PULSE <lirc-mode-pulse>` and
:ref:`LIRC_MODE_SCANCODE <lirc-mode-scancode>` are supported by for IR send,
:ref:`LIRC_MODE_LIRCCODE <lirc-mode-lirccode>` is supported by for IR send,
depending on the driver. Use :ref:`lirc_get_features` to find out which
modes the driver supports.

View File

@@ -45,20 +45,13 @@ descriptor ``fd`` into the buffer starting at ``buf``. If ``count`` is zero,
is greater than ``SSIZE_MAX``, the result is unspecified.
The exact format of the data depends on what :ref:`lirc_modes` a driver
uses. Use :ref:`lirc_get_features` to get the supported mode, and use
:ref:`lirc_set_rec_mode` set the current active mode.
uses. Use :ref:`lirc_get_features` to get the supported mode.
The mode :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` is for raw IR,
in which packets containing an unsigned int value describing an IR signal are
The generally preferred mode for receive is
:ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`,
in which packets containing an int value describing an IR signal are
read from the chardev.
Alternatively, :ref:`LIRC_MODE_SCANCODE <lirc-mode-scancode>` can be available,
in this mode scancodes which are either decoded by software decoders, or
by hardware decoders. The :c:type:`rc_proto` member is set to the
protocol used for transmission, and ``scancode`` to the decoded scancode,
and the ``keycode`` set to the keycode or ``KEY_RESERVED``.
Return Value
============

View File

@@ -1,23 +1,19 @@
.. -*- coding: utf-8; mode: rst -*-
.. _lirc_set_rec_timeout:
.. _lirc_get_rec_timeout:
***************************************************
ioctl LIRC_GET_REC_TIMEOUT and LIRC_SET_REC_TIMEOUT
***************************************************
**************************
ioctl LIRC_SET_REC_TIMEOUT
**************************
Name
====
LIRC_GET_REC_TIMEOUT/LIRC_SET_REC_TIMEOUT - Get/set the integer value for IR inactivity timeout.
LIRC_SET_REC_TIMEOUT - sets the integer value for IR inactivity timeout.
Synopsis
========
.. c:function:: int ioctl( int fd, LIRC_GET_REC_TIMEOUT, __u32 *timeout )
:name: LIRC_GET_REC_TIMEOUT
.. c:function:: int ioctl( int fd, LIRC_SET_REC_TIMEOUT, __u32 *timeout )
:name: LIRC_SET_REC_TIMEOUT
@@ -34,7 +30,7 @@ Arguments
Description
===========
Get and set the integer value for IR inactivity timeout.
Sets the integer value for IR inactivity timeout.
If supported by the hardware, setting it to 0 disables all hardware timeouts
and data should be reported as soon as possible. If the exact value

View File

@@ -42,32 +42,21 @@ Description
referenced by the file descriptor ``fd`` from the buffer starting at
``buf``.
The exact format of the data depends on what mode a driver is in, use
:ref:`lirc_get_features` to get the supported modes and use
:ref:`lirc_set_send_mode` set the mode.
The exact format of the data depends on what mode a driver uses, use
:ref:`lirc_get_features` to get the supported mode.
When in :ref:`LIRC_MODE_PULSE <lirc-mode-PULSE>` mode, the data written to
the chardev is a pulse/space sequence of integer values. Pulses and spaces
are only marked implicitly by their position. The data must start and end
with a pulse, therefore, the data must always include an uneven number of
samples. The write function blocks until the data has been transmitted
samples. The write function must block until the data has been transmitted
by the hardware. If more data is provided than the hardware can send, the
driver returns ``EINVAL``.
When in :ref:`LIRC_MODE_SCANCODE <lirc-mode-scancode>` mode, one
``struct lirc_scancode`` must be written to the chardev at a time, else
``EINVAL`` is returned. Set the desired scancode in the ``scancode`` member,
and the protocol in the :c:type:`rc_proto`: member. All other members must be
set to 0, else ``EINVAL`` is returned. If there is no protocol encoder
for the protocol or the scancode is not valid for the specified protocol,
``EINVAL`` is returned. The write function blocks until the scancode
is transmitted by the hardware.
Return Value
============
On success, the number of bytes written is returned. It is not an error if
On success, the number of bytes read is returned. It is not an error if
this number is smaller than the number of bytes requested, or the amount
of data required for one frame. On error, -1 is returned, and the ``errno``
variable is set appropriately. The generic error codes are described at the

View File

@@ -228,8 +228,6 @@ x25.txt
- general info on X.25 development.
x25-iface.txt
- description of the X.25 Packet Layer to LAPB device interface.
xfrm_device.txt
- description of XFRM offload API
xfrm_proc.txt
- description of the statistics package for XFRM.
xfrm_sync.txt

View File

@@ -1,312 +0,0 @@
.. SPDX-License-Identifier: GPL-2.0
======
AF_XDP
======
Overview
========
AF_XDP is an address family that is optimized for high performance
packet processing.
This document assumes that the reader is familiar with BPF and XDP. If
not, the Cilium project has an excellent reference guide at
http://cilium.readthedocs.io/en/latest/bpf/.
Using the XDP_REDIRECT action from an XDP program, the program can
redirect ingress frames to other XDP enabled netdevs, using the
bpf_redirect_map() function. AF_XDP sockets enable the possibility for
XDP programs to redirect frames to a memory buffer in a user-space
application.
An AF_XDP socket (XSK) is created with the normal socket()
syscall. Associated with each XSK are two rings: the RX ring and the
TX ring. A socket can receive packets on the RX ring and it can send
packets on the TX ring. These rings are registered and sized with the
setsockopts XDP_RX_RING and XDP_TX_RING, respectively. It is mandatory
to have at least one of these rings for each socket. An RX or TX
descriptor ring points to a data buffer in a memory area called a
UMEM. RX and TX can share the same UMEM so that a packet does not have
to be copied between RX and TX. Moreover, if a packet needs to be kept
for a while due to a possible retransmit, the descriptor that points
to that packet can be changed to point to another and reused right
away. This again avoids copying data.
The UMEM consists of a number of equally sized chunks. A descriptor in
one of the rings references a frame by referencing its addr. The addr
is simply an offset within the entire UMEM region. The user space
allocates memory for this UMEM using whatever means it feels is most
appropriate (malloc, mmap, huge pages, etc). This memory area is then
registered with the kernel using the new setsockopt XDP_UMEM_REG. The
UMEM also has two rings: the FILL ring and the COMPLETION ring. The
fill ring is used by the application to send down addr for the kernel
to fill in with RX packet data. References to these frames will then
appear in the RX ring once each packet has been received. The
completion ring, on the other hand, contains frame addr that the
kernel has transmitted completely and can now be used again by user
space, for either TX or RX. Thus, the frame addrs appearing in the
completion ring are addrs that were previously transmitted using the
TX ring. In summary, the RX and FILL rings are used for the RX path
and the TX and COMPLETION rings are used for the TX path.
The socket is then finally bound with a bind() call to a device and a
specific queue id on that device, and it is not until bind is
completed that traffic starts to flow.
The UMEM can be shared between processes, if desired. If a process
wants to do this, it simply skips the registration of the UMEM and its
corresponding two rings, sets the XDP_SHARED_UMEM flag in the bind
call and submits the XSK of the process it would like to share UMEM
with as well as its own newly created XSK socket. The new process will
then receive frame addr references in its own RX ring that point to
this shared UMEM. Note that since the ring structures are
single-consumer / single-producer (for performance reasons), the new
process has to create its own socket with associated RX and TX rings,
since it cannot share this with the other process. This is also the
reason that there is only one set of FILL and COMPLETION rings per
UMEM. It is the responsibility of a single process to handle the UMEM.
How is then packets distributed from an XDP program to the XSKs? There
is a BPF map called XSKMAP (or BPF_MAP_TYPE_XSKMAP in full). The
user-space application can place an XSK at an arbitrary place in this
map. The XDP program can then redirect a packet to a specific index in
this map and at this point XDP validates that the XSK in that map was
indeed bound to that device and ring number. If not, the packet is
dropped. If the map is empty at that index, the packet is also
dropped. This also means that it is currently mandatory to have an XDP
program loaded (and one XSK in the XSKMAP) to be able to get any
traffic to user space through the XSK.
AF_XDP can operate in two different modes: XDP_SKB and XDP_DRV. If the
driver does not have support for XDP, or XDP_SKB is explicitly chosen
when loading the XDP program, XDP_SKB mode is employed that uses SKBs
together with the generic XDP support and copies out the data to user
space. A fallback mode that works for any network device. On the other
hand, if the driver has support for XDP, it will be used by the AF_XDP
code to provide better performance, but there is still a copy of the
data into user space.
Concepts
========
In order to use an AF_XDP socket, a number of associated objects need
to be setup.
Jonathan Corbet has also written an excellent article on LWN,
"Accelerating networking with AF_XDP". It can be found at
https://lwn.net/Articles/750845/.
UMEM
----
UMEM is a region of virtual contiguous memory, divided into
equal-sized frames. An UMEM is associated to a netdev and a specific
queue id of that netdev. It is created and configured (chunk size,
headroom, start address and size) by using the XDP_UMEM_REG setsockopt
system call. A UMEM is bound to a netdev and queue id, via the bind()
system call.
An AF_XDP is socket linked to a single UMEM, but one UMEM can have
multiple AF_XDP sockets. To share an UMEM created via one socket A,
the next socket B can do this by setting the XDP_SHARED_UMEM flag in
struct sockaddr_xdp member sxdp_flags, and passing the file descriptor
of A to struct sockaddr_xdp member sxdp_shared_umem_fd.
The UMEM has two single-producer/single-consumer rings, that are used
to transfer ownership of UMEM frames between the kernel and the
user-space application.
Rings
-----
There are a four different kind of rings: Fill, Completion, RX and
TX. All rings are single-producer/single-consumer, so the user-space
application need explicit synchronization of multiple
processes/threads are reading/writing to them.
The UMEM uses two rings: Fill and Completion. Each socket associated
with the UMEM must have an RX queue, TX queue or both. Say, that there
is a setup with four sockets (all doing TX and RX). Then there will be
one Fill ring, one Completion ring, four TX rings and four RX rings.
The rings are head(producer)/tail(consumer) based rings. A producer
writes the data ring at the index pointed out by struct xdp_ring
producer member, and increasing the producer index. A consumer reads
the data ring at the index pointed out by struct xdp_ring consumer
member, and increasing the consumer index.
The rings are configured and created via the _RING setsockopt system
calls and mmapped to user-space using the appropriate offset to mmap()
(XDP_PGOFF_RX_RING, XDP_PGOFF_TX_RING, XDP_UMEM_PGOFF_FILL_RING and
XDP_UMEM_PGOFF_COMPLETION_RING).
The size of the rings need to be of size power of two.
UMEM Fill Ring
~~~~~~~~~~~~~~
The Fill ring is used to transfer ownership of UMEM frames from
user-space to kernel-space. The UMEM addrs are passed in the ring. As
an example, if the UMEM is 64k and each chunk is 4k, then the UMEM has
16 chunks and can pass addrs between 0 and 64k.
Frames passed to the kernel are used for the ingress path (RX rings).
The user application produces UMEM addrs to this ring. Note that the
kernel will mask the incoming addr. E.g. for a chunk size of 2k, the
log2(2048) LSB of the addr will be masked off, meaning that 2048, 2050
and 3000 refers to the same chunk.
UMEM Completetion Ring
~~~~~~~~~~~~~~~~~~~~~~
The Completion Ring is used transfer ownership of UMEM frames from
kernel-space to user-space. Just like the Fill ring, UMEM indicies are
used.
Frames passed from the kernel to user-space are frames that has been
sent (TX ring) and can be used by user-space again.
The user application consumes UMEM addrs from this ring.
RX Ring
~~~~~~~
The RX ring is the receiving side of a socket. Each entry in the ring
is a struct xdp_desc descriptor. The descriptor contains UMEM offset
(addr) and the length of the data (len).
If no frames have been passed to kernel via the Fill ring, no
descriptors will (or can) appear on the RX ring.
The user application consumes struct xdp_desc descriptors from this
ring.
TX Ring
~~~~~~~
The TX ring is used to send frames. The struct xdp_desc descriptor is
filled (index, length and offset) and passed into the ring.
To start the transfer a sendmsg() system call is required. This might
be relaxed in the future.
The user application produces struct xdp_desc descriptors to this
ring.
XSKMAP / BPF_MAP_TYPE_XSKMAP
----------------------------
On XDP side there is a BPF map type BPF_MAP_TYPE_XSKMAP (XSKMAP) that
is used in conjunction with bpf_redirect_map() to pass the ingress
frame to a socket.
The user application inserts the socket into the map, via the bpf()
system call.
Note that if an XDP program tries to redirect to a socket that does
not match the queue configuration and netdev, the frame will be
dropped. E.g. an AF_XDP socket is bound to netdev eth0 and
queue 17. Only the XDP program executing for eth0 and queue 17 will
successfully pass data to the socket. Please refer to the sample
application (samples/bpf/) in for an example.
Usage
=====
In order to use AF_XDP sockets there are two parts needed. The
user-space application and the XDP program. For a complete setup and
usage example, please refer to the sample application. The user-space
side is xdpsock_user.c and the XDP side xdpsock_kern.c.
Naive ring dequeue and enqueue could look like this::
// struct xdp_rxtx_ring {
// __u32 *producer;
// __u32 *consumer;
// struct xdp_desc *desc;
// };
// struct xdp_umem_ring {
// __u32 *producer;
// __u32 *consumer;
// __u64 *desc;
// };
// typedef struct xdp_rxtx_ring RING;
// typedef struct xdp_umem_ring RING;
// typedef struct xdp_desc RING_TYPE;
// typedef __u64 RING_TYPE;
int dequeue_one(RING *ring, RING_TYPE *item)
{
__u32 entries = *ring->producer - *ring->consumer;
if (entries == 0)
return -1;
// read-barrier!
*item = ring->desc[*ring->consumer & (RING_SIZE - 1)];
(*ring->consumer)++;
return 0;
}
int enqueue_one(RING *ring, const RING_TYPE *item)
{
u32 free_entries = RING_SIZE - (*ring->producer - *ring->consumer);
if (free_entries == 0)
return -1;
ring->desc[*ring->producer & (RING_SIZE - 1)] = *item;
// write-barrier!
(*ring->producer)++;
return 0;
}
For a more optimized version, please refer to the sample application.
Sample application
==================
There is a xdpsock benchmarking/test application included that
demonstrates how to use AF_XDP sockets with both private and shared
UMEMs. Say that you would like your UDP traffic from port 4242 to end
up in queue 16, that we will enable AF_XDP on. Here, we use ethtool
for this::
ethtool -N p3p2 rx-flow-hash udp4 fn
ethtool -N p3p2 flow-type udp4 src-port 4242 dst-port 4242 \
action 16
Running the rxdrop benchmark in XDP_DRV mode can then be done
using::
samples/bpf/xdpsock -i p3p2 -q 16 -r -N
For XDP_SKB mode, use the switch "-S" instead of "-N" and all options
can be displayed with "-h", as usual.
Credits
=======
- Björn Töpel (AF_XDP core)
- Magnus Karlsson (AF_XDP core)
- Alexander Duyck
- Alexei Starovoitov
- Daniel Borkmann
- Jesper Dangaard Brouer
- John Fastabend
- Jonathan Corbet (LWN coverage)
- Michael S. Tsirkin
- Qi Z Zhang
- Willem de Bruijn

View File

@@ -191,12 +191,11 @@ ad_actor_sys_prio
ad_actor_system
In an AD system, this specifies the mac-address for the actor in
protocol packet exchanges (LACPDUs). The value cannot be a multicast
address. If the all-zeroes MAC is specified, bonding will internally
use the MAC of the bond itself. It is preferred to have the
local-admin bit set for this mac but driver does not enforce it. If
the value is not given then system defaults to using the masters'
mac address as actors' system address.
protocol packet exchanges (LACPDUs). The value cannot be NULL or
multicast. It is preferred to have the local-admin bit set for this
mac but driver does not enforce it. If the value is not given then
system defaults to using the masters' mac address as actors' system
address.
This parameter has effect only in 802.3ad mode and is available through
SysFs interface.

View File

@@ -0,0 +1,232 @@
Linux DECnet Networking Layer Information
===========================================
1) Other documentation....
o Project Home Pages
http://www.chygwyn.com/ - Kernel info
http://linux-decnet.sourceforge.net/ - Userland tools
http://www.sourceforge.net/projects/linux-decnet/ - Status page
2) Configuring the kernel
Be sure to turn on the following options:
CONFIG_DECNET (obviously)
CONFIG_PROC_FS (to see what's going on)
CONFIG_SYSCTL (for easy configuration)
if you want to try out router support (not properly debugged yet)
you'll need the following options as well...
CONFIG_DECNET_ROUTER (to be able to add/delete routes)
CONFIG_NETFILTER (will be required for the DECnet routing daemon)
CONFIG_DECNET_ROUTE_FWMARK is optional
Don't turn on SIOCGIFCONF support for DECnet unless you are really sure
that you need it, in general you won't and it can cause ifconfig to
malfunction.
Run time configuration has changed slightly from the 2.4 system. If you
want to configure an endnode, then the simplified procedure is as follows:
o Set the MAC address on your ethernet card before starting _any_ other
network protocols.
As soon as your network card is brought into the UP state, DECnet should
start working. If you need something more complicated or are unsure how
to set the MAC address, see the next section. Also all configurations which
worked with 2.4 will work under 2.5 with no change.
3) Command line options
You can set a DECnet address on the kernel command line for compatibility
with the 2.4 configuration procedure, but in general it's not needed any more.
If you do st a DECnet address on the command line, it has only one purpose
which is that its added to the addresses on the loopback device.
With 2.4 kernels, DECnet would only recognise addresses as local if they
were added to the loopback device. In 2.5, any local interface address
can be used to loop back to the local machine. Of course this does not
prevent you adding further addresses to the loopback device if you
want to.
N.B. Since the address list of an interface determines the addresses for
which "hello" messages are sent, if you don't set an address on the loopback
interface then you won't see any entries in /proc/net/neigh for the local
host until such time as you start a connection. This doesn't affect the
operation of the local communications in any other way though.
The kernel command line takes options looking like the following:
decnet.addr=1,2
the two numbers are the node address 1,2 = 1.2 For 2.2.xx kernels
and early 2.3.xx kernels, you must use a comma when specifying the
DECnet address like this. For more recent 2.3.xx kernels, you may
use almost any character except space, although a `.` would be the most
obvious choice :-)
There used to be a third number specifying the node type. This option
has gone away in favour of a per interface node type. This is now set
using /proc/sys/net/decnet/conf/<dev>/forwarding. This file can be
set with a single digit, 0=EndNode, 1=L1 Router and 2=L2 Router.
There are also equivalent options for modules. The node address can
also be set through the /proc/sys/net/decnet/ files, as can other system
parameters.
Currently the only supported devices are ethernet and ip_gre. The
ethernet address of your ethernet card has to be set according to the DECnet
address of the node in order for it to be autoconfigured (and then appear in
/proc/net/decnet_dev). There is a utility available at the above
FTP sites called dn2ethaddr which can compute the correct ethernet
address to use. The address can be set by ifconfig either before or
at the time the device is brought up. If you are using RedHat you can
add the line:
MACADDR=AA:00:04:00:03:04
or something similar, to /etc/sysconfig/network-scripts/ifcfg-eth0 or
wherever your network card's configuration lives. Setting the MAC address
of your ethernet card to an address starting with "hi-ord" will cause a
DECnet address which matches to be added to the interface (which you can
verify with iproute2).
The default device for routing can be set through the /proc filesystem
by setting /proc/sys/net/decnet/default_device to the
device you want DECnet to route packets out of when no specific route
is available. Usually this will be eth0, for example:
echo -n "eth0" >/proc/sys/net/decnet/default_device
If you don't set the default device, then it will default to the first
ethernet card which has been autoconfigured as described above. You can
confirm that by looking in the default_device file of course.
There is a list of what the other files under /proc/sys/net/decnet/ do
on the kernel patch web site (shown above).
4) Run time kernel configuration
This is either done through the sysctl/proc interface (see the kernel web
pages for details on what the various options do) or through the iproute2
package in the same way as IPv4/6 configuration is performed.
Documentation for iproute2 is included with the package, although there is
as yet no specific section on DECnet, most of the features apply to both
IP and DECnet, albeit with DECnet addresses instead of IP addresses and
a reduced functionality.
If you want to configure a DECnet router you'll need the iproute2 package
since its the _only_ way to add and delete routes currently. Eventually
there will be a routing daemon to send and receive routing messages for
each interface and update the kernel routing tables accordingly. The
routing daemon will use netfilter to listen to routing packets, and
rtnetlink to update the kernels routing tables.
The DECnet raw socket layer has been removed since it was there purely
for use by the routing daemon which will now use netfilter (a much cleaner
and more generic solution) instead.
5) How can I tell if its working ?
Here is a quick guide of what to look for in order to know if your DECnet
kernel subsystem is working.
- Is the node address set (see /proc/sys/net/decnet/node_address)
- Is the node of the correct type
(see /proc/sys/net/decnet/conf/<dev>/forwarding)
- Is the Ethernet MAC address of each Ethernet card set to match
the DECnet address. If in doubt use the dn2ethaddr utility available
at the ftp archive.
- If the previous two steps are satisfied, and the Ethernet card is up,
you should find that it is listed in /proc/net/decnet_dev and also
that it appears as a directory in /proc/sys/net/decnet/conf/. The
loopback device (lo) should also appear and is required to communicate
within a node.
- If you have any DECnet routers on your network, they should appear
in /proc/net/decnet_neigh, otherwise this file will only contain the
entry for the node itself (if it doesn't check to see if lo is up).
- If you want to send to any node which is not listed in the
/proc/net/decnet_neigh file, you'll need to set the default device
to point to an Ethernet card with connection to a router. This is
again done with the /proc/sys/net/decnet/default_device file.
- Try starting a simple server and client, like the dnping/dnmirror
over the loopback interface. With luck they should communicate.
For this step and those after, you'll need the DECnet library
which can be obtained from the above ftp sites as well as the
actual utilities themselves.
- If this seems to work, then try talking to a node on your local
network, and see if you can obtain the same results.
- At this point you are on your own... :-)
6) How to send a bug report
If you've found a bug and want to report it, then there are several things
you can do to help me work out exactly what it is that is wrong. Useful
information (_most_ of which _is_ _essential_) includes:
- What kernel version are you running ?
- What version of the patch are you running ?
- How far though the above set of tests can you get ?
- What is in the /proc/decnet* files and /proc/sys/net/decnet/* files ?
- Which services are you running ?
- Which client caused the problem ?
- How much data was being transferred ?
- Was the network congested ?
- How can the problem be reproduced ?
- Can you use tcpdump to get a trace ? (N.B. Most (all?) versions of
tcpdump don't understand how to dump DECnet properly, so including
the hex listing of the packet contents is _essential_, usually the -x flag.
You may also need to increase the length grabbed with the -s flag. The
-e flag also provides very useful information (ethernet MAC addresses))
7) MAC FAQ
A quick FAQ on ethernet MAC addresses to explain how Linux and DECnet
interact and how to get the best performance from your hardware.
Ethernet cards are designed to normally only pass received network frames
to a host computer when they are addressed to it, or to the broadcast address.
Linux has an interface which allows the setting of extra addresses for
an ethernet card to listen to. If the ethernet card supports it, the
filtering operation will be done in hardware, if not the extra unwanted packets
received will be discarded by the host computer. In the latter case,
significant processor time and bus bandwidth can be used up on a busy
network (see the NAPI documentation for a longer explanation of these
effects).
DECnet makes use of this interface to allow running DECnet on an ethernet
card which has already been configured using TCP/IP (presumably using the
built in MAC address of the card, as usual) and/or to allow multiple DECnet
addresses on each physical interface. If you do this, be aware that if your
ethernet card doesn't support perfect hashing in its MAC address filter
then your computer will be doing more work than required. Some cards
will simply set themselves into promiscuous mode in order to receive
packets from the DECnet specified addresses. So if you have one of these
cards its better to set the MAC address of the card as described above
to gain the best efficiency. Better still is to use a card which supports
NAPI as well.
8) Mailing list
If you are keen to get involved in development, or want to ask questions
about configuration, or even just report bugs, then there is a mailing
list that you can join, details are at:
http://sourceforge.net/mail/?group_id=4993
9) Legal Info
The Linux DECnet project team have placed their code under the GPL. The
software is provided "as is" and without warranty express or implied.
DECnet is a trademark of Compaq. This software is not a product of
Compaq. We acknowledge the help of people at Compaq in providing extra
documentation above and beyond what was previously publicly available.
Steve Whitehouse <SteveW@ACM.org>

View File

@@ -857,7 +857,7 @@ Three LSB bits store instruction class which is one of:
BPF_STX 0x03 BPF_STX 0x03
BPF_ALU 0x04 BPF_ALU 0x04
BPF_JMP 0x05 BPF_JMP 0x05
BPF_RET 0x06 BPF_JMP32 0x06
BPF_RET 0x06 [ class 6 unused, for future if needed ]
BPF_MISC 0x07 BPF_ALU64 0x07
When BPF_CLASS(code) == BPF_ALU or BPF_JMP, 4th bit encodes source operand ...
@@ -894,9 +894,9 @@ If BPF_CLASS(code) == BPF_ALU or BPF_ALU64 [ in eBPF ], BPF_OP(code) is one of:
BPF_ARSH 0xc0 /* eBPF only: sign extending shift right */
BPF_END 0xd0 /* eBPF only: endianness conversion */
If BPF_CLASS(code) == BPF_JMP or BPF_JMP32 [ in eBPF ], BPF_OP(code) is one of:
If BPF_CLASS(code) == BPF_JMP, BPF_OP(code) is one of:
BPF_JA 0x00 /* BPF_JMP only */
BPF_JA 0x00
BPF_JEQ 0x10
BPF_JGT 0x20
BPF_JGE 0x30
@@ -904,8 +904,8 @@ If BPF_CLASS(code) == BPF_JMP or BPF_JMP32 [ in eBPF ], BPF_OP(code) is one of:
BPF_JNE 0x50 /* eBPF only: jump != */
BPF_JSGT 0x60 /* eBPF only: signed '>' */
BPF_JSGE 0x70 /* eBPF only: signed '>=' */
BPF_CALL 0x80 /* eBPF BPF_JMP only: function call */
BPF_EXIT 0x90 /* eBPF BPF_JMP only: function return */
BPF_CALL 0x80 /* eBPF only: function call */
BPF_EXIT 0x90 /* eBPF only: function return */
BPF_JLT 0xa0 /* eBPF only: unsigned '<' */
BPF_JLE 0xb0 /* eBPF only: unsigned '<=' */
BPF_JSLT 0xc0 /* eBPF only: signed '<' */
@@ -928,9 +928,8 @@ Classic BPF wastes the whole BPF_RET class to represent a single 'ret'
operation. Classic BPF_RET | BPF_K means copy imm32 into return register
and perform function exit. eBPF is modeled to match CPU, so BPF_JMP | BPF_EXIT
in eBPF means function exit only. The eBPF program needs to store return
value into register R0 before doing a BPF_EXIT. Class 6 in eBPF is used as
BPF_JMP32 to mean exactly the same operations as BPF_JMP, but with 32-bit wide
operands for the comparisons instead.
value into register R0 before doing a BPF_EXIT. Class 6 in eBPF is currently
unused and reserved for future use.
For load and store instructions the 8-bit 'code' field is divided as:

View File

@@ -6,7 +6,6 @@ Contents:
.. toctree::
:maxdepth: 2
af_xdp
batman-adv
kapi
z8530book

View File

@@ -612,7 +612,6 @@ tcp_fastopen_blackhole_timeout_sec - INTEGER
This time period will grow exponentially when more blackhole issues
get detected right after Fastopen is re-enabled and will reset to
initial value when the blackhole issue goes away.
0 to disable the blackhole detection.
By default, it is set to 1hr.
tcp_fwmark_accept - BOOLEAN
@@ -792,7 +791,7 @@ cipso_cache_enable - BOOLEAN
cipso_cache_bucket_size - INTEGER
The CIPSO label cache consists of a fixed size hash table with each
hash bucket containing a number of cache entries. This variable limits
the number of entries in each hash bucket; the larger the value is, the
the number of entries in each hash bucket; the larger the value the
more CIPSO label mappings that can be cached. When the number of
entries in a given hash bucket reaches this limit adding new entries
causes the oldest entry in the bucket to be removed to make room.
@@ -874,7 +873,7 @@ ip_nonlocal_bind - BOOLEAN
which can be quite useful - but may break some applications.
Default: 0
ip_dynaddr - INTEGER
ip_dynaddr - BOOLEAN
If set non-zero, enables support for dynamic addresses.
If set to a non-zero value larger than 1, a kernel log
message will be printed when dynamic address rewriting
@@ -1390,13 +1389,6 @@ flowlabel_reflect - BOOLEAN
FALSE: disabled
Default: FALSE
fib_multipath_hash_policy - INTEGER
Controls which hash policy to use for multipath routes.
Default: 0 (Layer 3)
Possible values:
0 - Layer 3 (source and destination addresses plus flow label)
1 - Layer 4 (standard 5-tuple)
anycast_src_echo_reply - BOOLEAN
Controls the use of anycast addresses as source addresses for ICMPv6
echo reply
@@ -1420,30 +1412,6 @@ mld_qrv - INTEGER
Default: 2 (as specified by RFC3810 9.1)
Minimum: 1 (as specified by RFC6636 4.5)
max_dst_opts_cnt - INTEGER
Maximum number of non-padding TLVs allowed in a Destination
options extension header. If this value is less than zero
then unknown options are disallowed and the number of known
TLVs allowed is the absolute value of this number.
Default: 8
max_hbh_opts_cnt - INTEGER
Maximum number of non-padding TLVs allowed in a Hop-by-Hop
options extension header. If this value is less than zero
then unknown options are disallowed and the number of known
TLVs allowed is the absolute value of this number.
Default: 8
max dst_opts_len - INTEGER
Maximum length allowed for a Destination options extension
header.
Default: INT_MAX (unlimited)
max hbh_opts_len - INTEGER
Maximum length allowed for a Hop-by-Hop options extension
header.
Default: INT_MAX (unlimited)
IPv6 Fragmentation:
ip6frag_high_thresh - INTEGER

View File

@@ -30,7 +30,8 @@ conn_reuse_mode - INTEGER
0: disable any special handling on port reuse. The new
connection will be delivered to the same real server that was
servicing the previous connection.
servicing the previous connection. This will effectively
disable expire_nodest_conn.
bit 1: enable rescheduling of new connections when it is safe.
That is, whenever expire_nodest_conn and for TCP sockets, when

View File

@@ -13,7 +13,6 @@ The following technologies are described:
* Generic Segmentation Offload - GSO
* Generic Receive Offload - GRO
* Partial Generic Segmentation Offload - GSO_PARTIAL
* SCTP accelleration with GSO - GSO_BY_FRAGS
TCP Segmentation Offload
========================
@@ -129,35 +128,3 @@ values for if the header was simply duplicated. The one exception to this
is the outer IPv4 ID field. It is up to the device drivers to guarantee
that the IPv4 ID field is incremented in the case that a given header does
not have the DF bit set.
SCTP accelleration with GSO
===========================
SCTP - despite the lack of hardware support - can still take advantage of
GSO to pass one large packet through the network stack, rather than
multiple small packets.
This requires a different approach to other offloads, as SCTP packets
cannot be just segmented to (P)MTU. Rather, the chunks must be contained in
IP segments, padding respected. So unlike regular GSO, SCTP can't just
generate a big skb, set gso_size to the fragmentation point and deliver it
to IP layer.
Instead, the SCTP protocol layer builds an skb with the segments correctly
padded and stored as chained skbs, and skb_segment() splits based on those.
To signal this, gso_size is set to the special value GSO_BY_FRAGS.
Therefore, any code in the core networking stack must be aware of the
possibility that gso_size will be GSO_BY_FRAGS and handle that case
appropriately.
There are a couple of helpers to make this easier:
- For size checks, the skb_gso_validate_*_len family of helpers correctly
considers GSO_BY_FRAGS.
- For manipulating packets, skb_increase_gso_size and skb_decrease_gso_size
will check for GSO_BY_FRAGS and WARN if asked to manipulate these skbs.
This also affects drivers with the NETIF_F_FRAGLIST & NETIF_F_GSO_SCTP bits
set. Note also that NETIF_F_GSO_SCTP is included in NETIF_F_GSO_SOFTWARE.

View File

@@ -1,132 +0,0 @@
===============================================
XFRM device - offloading the IPsec computations
===============================================
Shannon Nelson <shannon.nelson@oracle.com>
Overview
========
IPsec is a useful feature for securing network traffic, but the
computational cost is high: a 10Gbps link can easily be brought down
to under 1Gbps, depending on the traffic and link configuration.
Luckily, there are NICs that offer a hardware based IPsec offload which
can radically increase throughput and decrease CPU utilization. The XFRM
Device interface allows NIC drivers to offer to the stack access to the
hardware offload.
Userland access to the offload is typically through a system such as
libreswan or KAME/raccoon, but the iproute2 'ip xfrm' command set can
be handy when experimenting. An example command might look something
like this:
ip x s add proto esp dst 14.0.0.70 src 14.0.0.52 spi 0x07 mode transport \
reqid 0x07 replay-window 32 \
aead 'rfc4106(gcm(aes))' 0x44434241343332312423222114131211f4f3f2f1 128 \
sel src 14.0.0.52/24 dst 14.0.0.70/24 proto tcp \
offload dev eth4 dir in
Yes, that's ugly, but that's what shell scripts and/or libreswan are for.
Callbacks to implement
======================
/* from include/linux/netdevice.h */
struct xfrmdev_ops {
int (*xdo_dev_state_add) (struct xfrm_state *x);
void (*xdo_dev_state_delete) (struct xfrm_state *x);
void (*xdo_dev_state_free) (struct xfrm_state *x);
bool (*xdo_dev_offload_ok) (struct sk_buff *skb,
struct xfrm_state *x);
};
The NIC driver offering ipsec offload will need to implement these
callbacks to make the offload available to the network stack's
XFRM subsytem. Additionally, the feature bits NETIF_F_HW_ESP and
NETIF_F_HW_ESP_TX_CSUM will signal the availability of the offload.
Flow
====
At probe time and before the call to register_netdev(), the driver should
set up local data structures and XFRM callbacks, and set the feature bits.
The XFRM code's listener will finish the setup on NETDEV_REGISTER.
adapter->netdev->xfrmdev_ops = &ixgbe_xfrmdev_ops;
adapter->netdev->features |= NETIF_F_HW_ESP;
adapter->netdev->hw_enc_features |= NETIF_F_HW_ESP;
When new SAs are set up with a request for "offload" feature, the
driver's xdo_dev_state_add() will be given the new SA to be offloaded
and an indication of whether it is for Rx or Tx. The driver should
- verify the algorithm is supported for offloads
- store the SA information (key, salt, target-ip, protocol, etc)
- enable the HW offload of the SA
The driver can also set an offload_handle in the SA, an opaque void pointer
that can be used to convey context into the fast-path offload requests.
xs->xso.offload_handle = context;
When the network stack is preparing an IPsec packet for an SA that has
been setup for offload, it first calls into xdo_dev_offload_ok() with
the skb and the intended offload state to ask the driver if the offload
will serviceable. This can check the packet information to be sure the
offload can be supported (e.g. IPv4 or IPv6, no IPv4 options, etc) and
return true of false to signify its support.
When ready to send, the driver needs to inspect the Tx packet for the
offload information, including the opaque context, and set up the packet
send accordingly.
xs = xfrm_input_state(skb);
context = xs->xso.offload_handle;
set up HW for send
The stack has already inserted the appropriate IPsec headers in the
packet data, the offload just needs to do the encryption and fix up the
header values.
When a packet is received and the HW has indicated that it offloaded a
decryption, the driver needs to add a reference to the decoded SA into
the packet's skb. At this point the data should be decrypted but the
IPsec headers are still in the packet data; they are removed later up
the stack in xfrm_input().
find and hold the SA that was used to the Rx skb
get spi, protocol, and destination IP from packet headers
xs = find xs from (spi, protocol, dest_IP)
xfrm_state_hold(xs);
store the state information into the skb
skb->sp = secpath_dup(skb->sp);
skb->sp->xvec[skb->sp->len++] = xs;
skb->sp->olen++;
indicate the success and/or error status of the offload
xo = xfrm_offload(skb);
xo->flags = CRYPTO_DONE;
xo->status = crypto_status;
hand the packet to napi_gro_receive() as usual
When the SA is removed by the user, the driver's xdo_dev_state_delete()
is asked to disable the offload. Later, xdo_dev_state_free() is called
from a garbage collection routine after all reference counts to the state
have been removed and any remaining resources can be cleared for the
offload state. How these are used by the driver will depend on specific
hardware needs.
As a netdev is set to DOWN the XFRM stack's netdev listener will call
xdo_dev_state_delete() and xdo_dev_state_free() on any remaining offloaded
states.

Some files were not shown because too many files have changed in this diff Show More