Skip to content

Latest Rocky8.10 rebuild to kernel-4.18.0-553.32.1.el8_10 #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 135 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
96b1bc6
ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kerne…
PlaidCat Dec 16, 2024
efedb67
USB: serial: mos7840: fix crash on resume
PlaidCat Dec 16, 2024
3584ed7
ibmvnic: rename local variable index to bufidx
PlaidCat Dec 16, 2024
778d84d
ibmvnic: Add tx check to prevent skb leak
PlaidCat Dec 16, 2024
952dcf9
mlxsw: spectrum_acl_erp: Fix object nesting warning
PlaidCat Dec 16, 2024
78ee24b
ipv6: prevent possible NULL deref in fib6_nh_init()
PlaidCat Dec 16, 2024
e06a19a
drm/amdgpu: avoid using null object of framebuffer
PlaidCat Dec 16, 2024
68b8d26
gso: do not skip outer ip header in case of ipip and net_failover
PlaidCat Dec 16, 2024
2257ebc
block: initialize integrity buffer to zero before writing it to media
PlaidCat Dec 16, 2024
0ca98fa
tipc: force a dst refcount before doing decryption
PlaidCat Dec 16, 2024
3767e98
drm/i915/dpt: Make DPT object unshrinkable
PlaidCat Dec 16, 2024
db3eb10
Bluetooth: Fix TOCTOU in HCI debugfs implementation
PlaidCat Dec 16, 2024
fed92be
tipc: Return non-zero value from tipc_udp_addr2str() on error
PlaidCat Dec 16, 2024
3fdb275
bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq
PlaidCat Dec 16, 2024
11f9738
KVM: Always flush async #PF workqueue when vCPU is being destroyed
PlaidCat Dec 16, 2024
d2df715
dev/parport: fix the array out-of-bounds risk
PlaidCat Dec 16, 2024
edc6999
netfilter: nf_queue: remove excess nf_bridge variable
PlaidCat Dec 16, 2024
52d1d93
netfilter: nfnetlink_log: use proper helper for fetching physinif
PlaidCat Dec 16, 2024
3a34b68
netfilter: propagate net to nf_bridge_get_physindev
PlaidCat Dec 16, 2024
7013b49
netfilter: bridge: replace physindev with physinif in nf_bridge_info
PlaidCat Dec 16, 2024
bcee1a9
netfilter: nf_conntrack_h323: Add protection for bmp length out of range
PlaidCat Dec 16, 2024
0a828d3
netfilter: ipset: Add list flush to cancel_gc
PlaidCat Dec 16, 2024
cf4253f
netfilter: ipset: Fix race between namespace cleanup and gc in the li…
PlaidCat Dec 16, 2024
28b33f9
netfilter: ipset: Fix suspicious rcu_dereference_protected()
PlaidCat Dec 16, 2024
15d782f
netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type…
PlaidCat Dec 16, 2024
b734aec
netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data …
PlaidCat Dec 16, 2024
54f268c
netfilter: nf_tables: prefer nft_chain_validate
PlaidCat Dec 16, 2024
a896979
netfilter: nftables: add helper function to flush set elements
PlaidCat Dec 16, 2024
b4324f1
netfilter: nft_set_pipapo: walk over current view on netlink dump
PlaidCat Dec 16, 2024
456bd2a
netfilter: nf_tables: missing iterator type in lookup walk
PlaidCat Dec 16, 2024
233bb97
netfilter: nft_set_pipapo: do not free live element
PlaidCat Dec 16, 2024
35d3e1c
ethtool: check device is present when getting link settings
PlaidCat Dec 16, 2024
222f48f
ice: Add netif_device_attach/detach into PF reset flow
PlaidCat Dec 16, 2024
00823c7
mm/memcg: minor cleanup for MEM_CGROUP_ID_MAX
PlaidCat Dec 16, 2024
7c63ea0
mm: memcontrol: fix cannot alloc the maximum memcg ID
PlaidCat Dec 16, 2024
e3da767
memcontrol: ensure memcg acquired by id is properly set up
PlaidCat Dec 16, 2024
8c704b5
memcg: protect concurrent access to mem_cgroup_idr
PlaidCat Dec 16, 2024
4d82f82
netfilter: flowtable: initialise extack before use
PlaidCat Dec 16, 2024
0a77d48
r8169: Fix possible ring buffer corruption on fragmented Tx packets.
PlaidCat Dec 16, 2024
cbf1f1f
net/mlx5e: Add wrapping for auxiliary_driver ops and remove unused args
PlaidCat Dec 16, 2024
0684b47
net/mlx5e: Fix netif state handling
PlaidCat Dec 16, 2024
0908cf4
sctp: Fix null-ptr-deref in reuseport_add_sock().
PlaidCat Dec 16, 2024
42ba1c6
i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
PlaidCat Dec 16, 2024
64885a7
padata: Fix possible divide-by-0 panic in padata_mt_helper()
PlaidCat Dec 16, 2024
d148f36
of: module: add buffer overflow check in of_modalias()
PlaidCat Dec 16, 2024
68c303b
gfs2: Fix NULL pointer dereference in gfs2_log_flush
PlaidCat Dec 16, 2024
d373d9b
kobject_uevent: Fix OOB access within zap_modalias_env()
PlaidCat Dec 16, 2024
63450c8
drm/i915/gt: Fix potential UAF by revoke of fence registers
PlaidCat Dec 16, 2024
61c5c8d
cifs: Fix unix perm bits to cifsacl conversion for "other" bits.
PlaidCat Dec 16, 2024
dfdefa5
cifs: Enable sticky bit with cifsacl mount option.
PlaidCat Dec 16, 2024
1296dec
SMB3: Add support for getting and setting SACLs
PlaidCat Dec 16, 2024
f9c2c42
Add SMB 2 support for getting and setting SACLs
PlaidCat Dec 16, 2024
0573c5e
cifs: Fix cifsacl ACE mask for group and others.
PlaidCat Dec 16, 2024
b2ab740
cifs: Retain old ACEs when converting between mode bits and ACL.
PlaidCat Dec 16, 2024
d37d9f9
cifs: Change SIDs in ACEs while transferring file ownership.
PlaidCat Dec 16, 2024
ef1d237
cifs: cleanup a few le16 vs. le32 uses in cifsacl.c
PlaidCat Dec 16, 2024
232423a
cifs: If a corrupted DACL is returned by the server, bail out.
PlaidCat Dec 16, 2024
cf92dbd
cifs: update new ACE pointer after populate_new_aces.
PlaidCat Dec 16, 2024
1d7153d
cifs: Fix chmod with modefromsid when an older ACE already exists.
PlaidCat Dec 16, 2024
9672d36
cifs: remove two cases where rc is set unnecessarily in sid_to_id
PlaidCat Dec 16, 2024
1962708
smb3: fix possible access to uninitialized pointer to DACL
PlaidCat Dec 16, 2024
efdf667
smb3: correct smb3 ACL security descriptor
PlaidCat Dec 16, 2024
4ecb177
cifs: fix set of group SID via NTSD xattrs
PlaidCat Dec 16, 2024
b941fd6
cifs: do not use uninitialized data in the owner/group sid
PlaidCat Dec 16, 2024
43bee18
cifs: modefromsids must add an ACE for authenticated users
PlaidCat Dec 16, 2024
7554edd
cifs: fix oops during encryption
PlaidCat Dec 16, 2024
e36409a
cifs: Remove duplicated include in cifsglob.h
PlaidCat Dec 16, 2024
5c30020
cifs: Get rid of unneeded conditional in the smb2_get_aead_req()
PlaidCat Dec 16, 2024
b8e0d17
cifs: get rid of unneeded conditional in cifs_get_num_sgs()
PlaidCat Dec 16, 2024
1829acc
NFSv4: Always ask for type with READDIR
PlaidCat Dec 16, 2024
ebc5fde
dma-direct: Leak pages on dma_set_decrypted() failure
PlaidCat Dec 16, 2024
fed9fc3
dmaengine: fix NULL pointer in channel unregistration function
PlaidCat Dec 16, 2024
dd234f8
gfs2: nit: gfs2_drop_inode shouldn't return bool
PlaidCat Dec 16, 2024
3d763b5
gfs2: Improve gfs2_upgrade_iopen_glock comment
PlaidCat Dec 16, 2024
18c4ca8
gfs2: Cease delete work during unmount
PlaidCat Dec 16, 2024
7fc12c0
gfs2: Rename SDF_DEACTIVATING to SDF_KILL
PlaidCat Dec 16, 2024
1f85f39
gfs2: Simplify function gfs2_upgrade_iopen_glock
PlaidCat Dec 16, 2024
4776b7c
gfs2: make timeout values more explicit
PlaidCat Dec 16, 2024
b7b63f2
nouveau: lock the client object tree.
PlaidCat Dec 16, 2024
a870c88
loopback: create blackhole net device similar to loopack.
PlaidCat Dec 16, 2024
d1db136
blackhole_netdev: use blackhole_netdev to invalidate dst entries
PlaidCat Dec 16, 2024
81f8225
loopback: fix lockdep splat
PlaidCat Dec 16, 2024
08eed2c
xfrm: set dst dev to blackhole_netdev instead of loopback_dev in ifdown
PlaidCat Dec 16, 2024
4d3c4fe
ELF: fix kernel.randomize_va_space double read
PlaidCat Dec 16, 2024
0eda68f
tty: use 64-bit timstamp
PlaidCat Dec 16, 2024
fb4159f
tty: tty_io: update timestamps on all device nodes
PlaidCat Dec 16, 2024
cec5256
xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
PlaidCat Dec 16, 2024
3313f50
bpf: Fix overrunning reservations in ringbuf
PlaidCat Dec 16, 2024
5c2973c
bonding: fix null pointer deref in bond_ipsec_offload_ok
PlaidCat Dec 16, 2024
74c2ab3
bonding: fix xfrm real_dev null pointer dereference
PlaidCat Dec 16, 2024
db6b3cc
lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
PlaidCat Dec 16, 2024
c1970aa
Rebuild rocky8_10 with kernel-4.18.0-553.27.1.el8_10
PlaidCat Dec 16, 2024
5bfd6d2
raid1: fix use-after-free for original bio in raid1_write_request()
PlaidCat Dec 16, 2024
7e21088
KVM: selftests: x86: Fix test failure on arch lbr capable platforms
PlaidCat Dec 16, 2024
d0cae1e
audit: Send netlink ACK before setting connection in auditd_set
PlaidCat Dec 16, 2024
109c691
x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
PlaidCat Dec 16, 2024
cc048ff
Bluetooth: af_bluetooth: Fix deadlock
PlaidCat Dec 16, 2024
07cffaa
cifs: remove useless DeleteMidQEntry()
PlaidCat Dec 16, 2024
6697ccb
smb: client: fix potential deadlock when releasing mids
PlaidCat Dec 16, 2024
cd7e7cd
smb: client: fix deadlock in smb2_find_smb_tcon()
PlaidCat Dec 16, 2024
ca091a0
Bluetooth: l2cap: fix null-ptr-deref in l2cap_chan_timeout
PlaidCat Dec 16, 2024
8aa0ef9
bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK…
PlaidCat Dec 16, 2024
3109eca
cifs: convert the path to utf16 in smb2_query_info_compound
PlaidCat Dec 16, 2024
80fa25c
cifs: Fix uninitialized memory read for smb311 posix symlink create
PlaidCat Dec 16, 2024
db4ffbb
cifs: Fix uninitialized memory reads for oparms.mode
PlaidCat Dec 16, 2024
cd5668a
rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait
PlaidCat Dec 16, 2024
888660f
rbd: don't assume RBD_LOCK_STATE_LOCKED for exclusive mappings
PlaidCat Dec 16, 2024
560e3d9
rbd: don't assume rbd_is_lock_owner() for exclusive mappings
PlaidCat Dec 16, 2024
7cab8b2
blk-mq: fix missing blk_account_io_done() in error path
PlaidCat Dec 16, 2024
0149166
media: edia: dvbdev: fix a use-after-free
PlaidCat Dec 16, 2024
657b4d2
Rebuild rocky8_10 with kernel-4.18.0-553.30.1.el8_10
PlaidCat Dec 16, 2024
7b7257e
selinux,smack: don't bypass permissions check in inode_setsecctx hook
PlaidCat Dec 16, 2024
45c6d55
cifs: return ENOENT for DFS lookup_cache_entry()
PlaidCat Dec 16, 2024
784ee9c
cifs: don't refresh cached referrals from unactive mounts
PlaidCat Dec 16, 2024
c23035e
cifs: fix potential deadlock in cache_refresh_path()
PlaidCat Dec 16, 2024
8e73295
cifs: avoid re-lookups in dfs_cache_find()
PlaidCat Dec 16, 2024
15d234c
cifs: don't take exclusive lock for updating target hints
PlaidCat Dec 16, 2024
a25059d
cifs: handle cache lookup errors different than -ENOENT
PlaidCat Dec 16, 2024
2735718
cifs: fix return of uninitialized rc in dfs_cache_update_tgthint()
PlaidCat Dec 16, 2024
db98330
gfs2: Replace gfs2_glock_queue_put with gfs2_glock_put_async
PlaidCat Dec 16, 2024
5756ae8
gfs2: finish_xmote cleanup
PlaidCat Dec 16, 2024
9d072ce
gfs2: Remove unnecessary function prototype
PlaidCat Dec 16, 2024
8004cb6
gfs2: Remove useless return statement in run_queue
PlaidCat Dec 16, 2024
612b630
gfs2: Rename GLF_FREEING to GLF_UNLOCKED
PlaidCat Dec 16, 2024
9c164c7
gfs2: Rename GLF_REPLY_PENDING to GLF_HAVE_REPLY
PlaidCat Dec 16, 2024
4d57e06
gfs2: Rename GLF_FROZEN to GLF_HAVE_FROZEN_REPLY
PlaidCat Dec 16, 2024
c624f34
gfs2: Rename handle_callback to request_demote
PlaidCat Dec 16, 2024
cb4109a
gfs2: Invert the GLF_INITIAL flag
PlaidCat Dec 16, 2024
9a24ae6
gfs2: gfs2_glock_get cleanup
PlaidCat Dec 16, 2024
aebec59
gfs2: Report when glocks cannot be freed for a long time
PlaidCat Dec 16, 2024
b5c4028
gfs2: Switch to a per-filesystem glock workqueue
PlaidCat Dec 16, 2024
103232b
gfs2: Revise glock reference counting model
PlaidCat Dec 16, 2024
7f2dbad
gfs2: Use list_move_tail instead of list_del/list_add_tail
PlaidCat Dec 16, 2024
f61602d
Revert "GFS2: Don't add all glocks to the lru"
PlaidCat Dec 16, 2024
0570eb3
Rebuild rocky8_10 with kernel-4.18.0-553.32.1.el8_10
PlaidCat Dec 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.rhelver
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RHEL_MINOR = 10
#
# Use this spot to avoid future merge conflicts.
# Do not trim this comment.
RHEL_RELEASE = 553.22.1
RHEL_RELEASE = 553.32.1

#
# ZSTREAM
Expand Down
16 changes: 11 additions & 5 deletions arch/arm64/kernel/probes/decode-insn.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ arm_probe_decode_insn(probe_opcode_t insn, struct arch_probe_insn *api)
aarch64_insn_is_blr(insn) ||
aarch64_insn_is_ret(insn)) {
api->handler = simulate_br_blr_ret;
} else if (aarch64_insn_is_ldr_lit(insn)) {
api->handler = simulate_ldr_literal;
} else if (aarch64_insn_is_ldrsw_lit(insn)) {
api->handler = simulate_ldrsw_literal;
} else {
/*
* Instruction cannot be stepped out-of-line and we don't
Expand Down Expand Up @@ -145,6 +141,17 @@ arm_kprobe_decode_insn(kprobe_opcode_t *addr, struct arch_specific_insn *asi)
probe_opcode_t insn = le32_to_cpu(*addr);
probe_opcode_t *scan_end = NULL;
unsigned long size = 0, offset = 0;
struct arch_probe_insn *api = &asi->api;

if (aarch64_insn_is_ldr_lit(insn)) {
api->handler = simulate_ldr_literal;
decoded = INSN_GOOD_NO_SLOT;
} else if (aarch64_insn_is_ldrsw_lit(insn)) {
api->handler = simulate_ldrsw_literal;
decoded = INSN_GOOD_NO_SLOT;
} else {
decoded = arm_probe_decode_insn(insn, &asi->api);
}

/*
* If there's a symbol defined in front of and near enough to
Expand All @@ -162,7 +169,6 @@ arm_kprobe_decode_insn(kprobe_opcode_t *addr, struct arch_specific_insn *asi)
else
scan_end = addr - MAX_ATOMIC_CONTEXT_SIZE;
}
decoded = arm_probe_decode_insn(insn, &asi->api);

if (decoded != INSN_REJECTED && scan_end)
if (is_probed_address_atomic(addr - 1, scan_end))
Expand Down
18 changes: 17 additions & 1 deletion arch/s390/mm/cmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,12 @@ static long cmm_alloc_pages(long nr, long *counter,
(*counter)++;
spin_unlock(&cmm_lock);
nr--;
cond_resched();
}
return nr;
}

static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
static long __cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
{
struct cmm_page_array *pa;
unsigned long addr;
Expand All @@ -126,6 +127,21 @@ static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
return nr;
}

static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
{
long inc = 0;

while (nr) {
inc = min(256L, nr);
nr -= inc;
inc = __cmm_free_pages(inc, counter, list);
if (inc)
break;
cond_resched();
}
return nr + inc;
}

static int cmm_oom_notify(struct notifier_block *self,
unsigned long dummy, void *parm)
{
Expand Down
23 changes: 18 additions & 5 deletions arch/x86/mm/ident_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,31 @@ static int ident_pud_init(struct x86_mapping_info *info, pud_t *pud_page,
for (; addr < end; addr = next) {
pud_t *pud = pud_page + pud_index(addr);
pmd_t *pmd;
bool use_gbpage;

next = (addr & PUD_MASK) + PUD_SIZE;
if (next > end)
next = end;

if (info->direct_gbpages) {
pud_t pudval;
/* if this is already a gbpage, this portion is already mapped */
if (pud_leaf(*pud))
continue;

/* Is using a gbpage allowed? */
use_gbpage = info->direct_gbpages;

if (pud_present(*pud))
continue;
/* Don't use gbpage if it maps more than the requested region. */
/* at the begining: */
use_gbpage &= ((addr & ~PUD_MASK) == 0);
/* ... or at the end: */
use_gbpage &= ((next & ~PUD_MASK) == 0);

/* Never overwrite existing mappings */
use_gbpage &= !pud_present(*pud);

if (use_gbpage) {
pud_t pudval;

addr &= PUD_MASK;
pudval = __pud((addr - info->offset) | info->page_flag);
set_pud(pud, pudval);
continue;
Expand Down
11 changes: 10 additions & 1 deletion block/bio-integrity.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ bool bio_integrity_prep(struct bio *bio)
unsigned long start, end;
unsigned int len, nr_pages;
unsigned int bytes, offset, i;
gfp_t gfp = GFP_NOIO;
unsigned int intervals;
blk_status_t status;

Expand All @@ -245,12 +246,20 @@ bool bio_integrity_prep(struct bio *bio)
if (!bi->profile->generate_fn ||
!(bi->flags & BLK_INTEGRITY_GENERATE))
return true;

/*
* Zero the memory allocated to not leak uninitialized kernel
* memory to disk. For PI this only affects the app tag, but
* for non-integrity metadata it affects the entire metadata
* buffer.
*/
gfp |= __GFP_ZERO;
}
intervals = bio_integrity_intervals(bi, bio_sectors(bio));

/* Allocate kernel buffer for protection data */
len = intervals * bi->tuple_size;
buf = kmalloc(len, GFP_NOIO | q->bounce_gfp);
buf = kmalloc(len, gfp | q->bounce_gfp);
status = BLK_STS_RESOURCE;
if (unlikely(buf == NULL)) {
printk(KERN_ERR "could not allocate integrity buffer\n");
Expand Down
5 changes: 4 additions & 1 deletion block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,10 @@ blk_status_t blk_insert_cloned_request(struct request_queue *q, struct request *
* bypass a potential scheduler on the bottom device for
* insert.
*/
return blk_mq_request_issue_directly(rq, true);
ret = blk_mq_request_issue_directly(rq, true);
if (ret)
blk_account_io_done(rq, ktime_get_ns());
return ret;
}
EXPORT_SYMBOL_GPL(blk_insert_cloned_request);

Expand Down
2 changes: 1 addition & 1 deletion block/blk-rq-qos.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ static int rq_qos_wake_function(struct wait_queue_entry *curr,

data->got_token = true;
smp_wmb();
list_del_init(&curr->entry);
wake_up_process(data->task);
list_del_init_careful(&curr->entry);
return 1;
}

Expand Down
Loading