[LTS 9.2] igb: set max size RX buffer when store bad packet is enabled #297
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[LTS 9.2]
CVE-2023-45871
VULN-6698
Problem
From the company which discovered the bug:
https://www.omicronenergy.com/download/file/5ddf37266b0d79a7ba5818893202d9c1/
The CVSS 3.1 scoring is somewhat inconsistent, ranging from 7.5 (nist) to 9.8 (above).
Applicability
The
igb
module is enabled inciqlts9_2
configs/kernel-x86_64-rhel.config
:Solution
The mainline fix is given in bb5ed01. It was backported to multiple stable versions without any changes, also to CBR 7.9 in d3573f5, LTS 8.6 in 6ef78b9 and LTS 9.4 in aee509a (by RedHat). The commit applies to
ciqlts9_2
without any modifications as well.kABI check: passed
Boot test: passed
boot-test.log
Kselftests: passed relative
Coverage
bpf
(excepttest_progs
,test_progs-no_alu32
,test_xsk.sh
,test_sockmap
,test_kmod.sh
),breakpoints
,capabilities
,cgroup
(excepttest_memcontrol
),clone3
,core
,cpu-hotplug
,cpufreq
,drivers/dma-buf
,drivers/net/bonding
,drivers/net/team
,filesystems/binderfs
,firmware
,fpu
,ftrace
,futex
,gpio
,intel_pstate
,ipc
,ir
,kcmp
,kexec
,kvm
,landlock
,lib
,livepatch
,membarrier
,memfd
,memory-hotplug
,mincore
,mount
,mqueue
,nci
,net/forwarding
(exceptdual_vxlan_bridge.sh
,vxlan_bridge_1d_ipv6.sh
,tc_police.sh
,sch_ets.sh
,sch_tbf_ets.sh
,mirror_gre_vlan_bridge_1q.sh
,mirror_gre_bridge_1d_vlan.sh
,tc_actions.sh
,sch_red.sh
,ipip_hier_gre_keys.sh
,q_in_vni.sh
,sch_tbf_root.sh
,sch_tbf_prio.sh
),net/mptcp
(exceptsimult_flows.sh
,userspace_pm.sh
),net
(exceptreuseport_addr_any.sh
,gro.sh
,ip_defrag.sh
,udpgso_bench.sh
,fib_nexthops.sh
,udpgro_fwd.sh
,reuseaddr_conflict
,xfrm_policy.sh
,txtimestamp.sh
),netfilter
(exceptnft_trans_stress.sh
),nsfs
,openat2
,pid_namespace
,pidfd
,proc
(exceptproc-pid-vm
),pstore
,ptrace
,rlimits
,rseq
,seccomp
,sgx
,sigaltstack
,size
,splice
,static_keys
,syscall_user_dispatch
,tc-testing
,tdx
,timens
,timers
(exceptraw_skew
),tmpfs
,tpm2
,vDSO
,vm
,x86
,zram
Reference
kselftests–ciqlts9_2–run1.log
kselftests–ciqlts9_2–run2.log
kselftests–ciqlts9_2–run3.log
Patch
kselftests–ciqlts9_2-CVE-2023-45871–run1.log
kselftests–ciqlts9_2-CVE-2023-45871–run2.log
kselftests–ciqlts9_2-CVE-2023-45871–run3.log
Comparison
Some differences in test results may be observed, though they're not specific to the patch nor related to the modified module. Discussion below.
Note that
igb
doesn't have any selftests defined.Differences highlights
proc:proc-uptime-001
The test finishes with the
proc-uptime-001
binary failing an assert, dumping core and failing the testLooking at the history turns out this is pretty common occurence, on multiple architectures
Interestingly enough, this problem started occuring from version 9.2, in pre-9.2 the
proc-uptime-001
working fineTagging
proc:proc-uptime-001
for LTS 9.2 and LTS 9.4 as flappy in rocky.yml for now until some more meaningful investigation later.cgroup:test_freezer
The test fails with
/sys/fs/cgroup/cg_test_ptrace
not being frozenThe problem was always with
/sys/fs/cgroup/cg_test_ptrace
in all the historic 53 test runs so farThis behavior cannot be meaningfully compared to other versions as
cgroup:test_freezer
is skipped on Rockys < 9.2 withand for
ciqlts9_4
the sample is too small (4):Tagging
cgroup:test_freezer
as flappy for versionciqlts9_2
in rocky.yml until some more meaningful investigation later.Specific tests: skipped