syzbot


ID Workflow Result Correct Bug Created Started Finished Revision Error
afe5d617-6767-4025-9746-41a5ff62a35f patching KMSAN: kernel-infoleak in move_addr_to_user (7) 2026/05/21 20:55 2026/05/21 21:41 2026/05/21 23:30 d57425845dbe663f86e1e54a4997e95bd557b624

			
		
Agent: prod-syz-agent-4
External Bug ID: ---

Inputs:
BaseBranch master
BaseCommit RC
BaseRepository git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
BugTitle KMSAN: kernel-infoleak in move_addr_to_user
CrashLogID 5398128242458624
CrashReportID 5400730321551360
KernelCommit aacb0a6d604ac9953b261963efe25ae7521b7c58
KernelConfig
Show (270374 bytes)
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 syzkaller Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136)"
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
CONFIG_CLANG_VERSION=200108
CONFIG_AS_IS_LLVM=y
CONFIG_AS_VERSION=200108
CONFIG_LD_VERSION=0
CONFIG_LD_IS_LLD=y
CONFIG_LLD_VERSION=200108
CONFIG_RUSTC_VERSION=108700
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=200101
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
CONFIG_TOOLS_SUPPORT_RELR=y
CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_CC_HAS_ASSUME=y
CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y
CONFIG_CC_HAS_COUNTED_BY=y
CONFIG_RUSTC_HAS_SLICE_AS_FLATTENED=y
CONFIG_RUSTC_HAS_COERCE_POINTEE=y
CONFIG_PAHOLE_VERSION=124
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set
# CONFIG_WERROR is not set
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BUILD_SALT=""
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_HAVE_KERNEL_ZSTD=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
# CONFIG_KERNEL_ZSTD is not set
CONFIG_DEFAULT_INIT=""
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_WATCH_QUEUE=y
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem

CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_INIT=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST_IDLE=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_HAVE_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_CONTEXT_TRACKING=y
CONFIG_CONTEXT_TRACKING_IDLE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US=125
CONFIG_POSIX_AUX_CLOCKS=y
# end of Timers subsystem

CONFIG_BPF=y
CONFIG_HAVE_EBPF_JIT=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y

#
# BPF subsystem
#
CONFIG_BPF_SYSCALL=y
# CONFIG_BPF_JIT is not set
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set
CONFIG_BPF_PRELOAD=y
CONFIG_BPF_PRELOAD_UMD=y
# end of BPF subsystem

CONFIG_PREEMPT_BUILD=y
CONFIG_ARCH_HAS_PREEMPT_LAZY=y
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# CONFIG_PREEMPT_LAZY is not set
# CONFIG_PREEMPT_RT is not set
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
CONFIG_PREEMPT_DYNAMIC=y
CONFIG_SCHED_CORE=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
CONFIG_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_SCHED_AVG_IRQ=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_PSI=y
# CONFIG_PSI_DEFAULT_DISABLED is not set
# end of CPU/Task time and stats accounting

CONFIG_CPU_ISOLATION=y

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_TREE_SRCU=y
CONFIG_TASKS_RCU_GENERIC=y
CONFIG_NEED_TASKS_RCU=y
CONFIG_TASKS_RCU=y
CONFIG_TASKS_TRACE_RCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
# end of RCU Subsystem

CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_IKHEADERS is not set
CONFIG_LOG_BUF_SHIFT=18
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
# CONFIG_PRINTK_INDEX is not set
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y

#
# Scheduler features
#
# CONFIG_UCLAMP_TASK is not set
# CONFIG_SCHED_PROXY_EXEC is not set
# end of Scheduler features

CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
CONFIG_CC_HAS_INT128=y
CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough"
CONFIG_GCC10_NO_ARRAY_BOUNDS=y
CONFIG_GCC_NO_STRINGOP_OVERFLOW=y
CONFIG_ARCH_SUPPORTS_INT128=y
CONFIG_NUMA_BALANCING=y
CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y
CONFIG_SLAB_OBJ_EXT=y
CONFIG_CGROUPS=y
CONFIG_PAGE_COUNTER=y
# CONFIG_CGROUP_FAVOR_DYNMODS is not set
CONFIG_MEMCG=y
CONFIG_MEMCG_V1=y
CONFIG_BLK_CGROUP=y
CONFIG_CGROUP_WRITEBACK=y
CONFIG_CGROUP_SCHED=y
CONFIG_GROUP_SCHED_WEIGHT=y
CONFIG_GROUP_SCHED_BANDWIDTH=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_SCHED_MM_CID=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_RDMA=y
# CONFIG_CGROUP_DMEM is not set
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_HUGETLB=y
CONFIG_CPUSETS=y
# CONFIG_CPUSETS_V1 is not set
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
# CONFIG_CGROUP_BPF is not set
CONFIG_CGROUP_MISC=y
CONFIG_CGROUP_DEBUG=y
CONFIG_SOCK_CGROUP_DATA=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_TIME_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_CHECKPOINT_RESTORE=y
# CONFIG_SCHED_AUTOGROUP is not set
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
CONFIG_RD_ZSTD=y
# CONFIG_BOOT_CONFIG is not set
CONFIG_CMDLINE_LOG_WRAP_IDEAL_LEN=1021
CONFIG_INITRAMFS_PRESERVE_MTIME=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_LD_ORPHAN_WARN=y
CONFIG_LD_ORPHAN_WARN_LEVEL="warn"
CONFIG_SYSCTL=y
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_MULTIUSER=y
CONFIG_SGETMASK_SYSCALL=y
CONFIG_FHANDLE=y
CONFIG_POSIX_TIMERS=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
# CONFIG_BASE_SMALL is not set
CONFIG_FUTEX=y
CONFIG_FUTEX_PI=y
CONFIG_FUTEX_PRIVATE_HASH=y
CONFIG_FUTEX_MPOL=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_IO_URING=y
CONFIG_IO_URING_MOCK_FILE=y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_MEMBARRIER=y
CONFIG_KCMP=y
CONFIG_RSEQ=y
# CONFIG_RSEQ_STATS is not set
# CONFIG_RSEQ_DEBUG_DEFAULT_ENABLE is not set
CONFIG_CACHESTAT_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_SELFTEST is not set
CONFIG_KALLSYMS_ALL=y
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
CONFIG_ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_GUEST_PERF_EVENTS=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# end of Kernel Performance Events And Counters

CONFIG_SYSTEM_DATA_VERIFICATION=y
CONFIG_PROFILING=y
# CONFIG_RUST is not set
CONFIG_TRACEPOINTS=y

#
# Kexec and crash features
#
CONFIG_CRASH_RESERVE=y
CONFIG_VMCORE_INFO=y
CONFIG_KEXEC_CORE=y
CONFIG_KEXEC=y
# CONFIG_KEXEC_FILE is not set
# CONFIG_KEXEC_JUMP is not set
CONFIG_CRASH_DUMP=y
CONFIG_CRASH_HOTPLUG=y
CONFIG_CRASH_MAX_MEMORY_RANGES=8192
# end of Kexec and crash features

#
# Live Update and Kexec HandOver
#
# CONFIG_KEXEC_HANDOVER is not set
# end of Live Update and Kexec HandOver
# end of General setup

CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=28
CONFIG_ARCH_MMAP_RND_BITS_MAX=32
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_CSUM=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_AUDIT_ARCH=y
CONFIG_HAVE_INTEL_TXT=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=5

#
# Processor type and features
#
CONFIG_SMP=y
CONFIG_X86_X2APIC=y
# CONFIG_X86_POSTED_MSI is not set
CONFIG_X86_MPPARSE=y
# CONFIG_X86_CPU_RESCTRL is not set
CONFIG_X86_FRED=y
CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_NUMACHIP is not set
# CONFIG_X86_VSMP is not set
# CONFIG_X86_INTEL_MID is not set
# CONFIG_X86_GOLDFISH is not set
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
CONFIG_IOSF_MBI=y
# CONFIG_IOSF_MBI_DEBUG is not set
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_HYPERVISOR_GUEST=y
CONFIG_PARAVIRT=y
# CONFIG_PARAVIRT_DEBUG is not set
# CONFIG_PARAVIRT_SPINLOCKS is not set
CONFIG_X86_HV_CALLBACK_VECTOR=y
# CONFIG_XEN is not set
CONFIG_KVM_GUEST=y
CONFIG_ARCH_CPUIDLE_HALTPOLL=y
CONFIG_PVH=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
CONFIG_PARAVIRT_CLOCK=y
# CONFIG_JAILHOUSE_GUEST is not set
# CONFIG_ACRN_GUEST is not set
# CONFIG_BHYVE_GUEST is not set
CONFIG_CC_HAS_MARCH_NATIVE=y
# CONFIG_X86_NATIVE_CPU is not set
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_TSC=y
CONFIG_X86_HAVE_PAE=y
CONFIG_X86_CX8=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_IA32_FEAT_CTL=y
CONFIG_X86_VMX_FEATURE_NAMES=y
CONFIG_PROCESSOR_SELECT=y
CONFIG_BROADCAST_TLB_FLUSH=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
# CONFIG_CPU_SUP_HYGON is not set
# CONFIG_CPU_SUP_CENTAUR is not set
# CONFIG_CPU_SUP_ZHAOXIN is not set
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
# CONFIG_GART_IOMMU is not set
CONFIG_BOOT_VESA_SUPPORT=y
# CONFIG_MAXSMP is not set
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NR_CPUS_DEFAULT=64
CONFIG_NR_CPUS=8
CONFIG_SCHED_MC_PRIO=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_ACPI_MADT_WAKEUP=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCELOG_LEGACY is not set
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set

#
# Performance monitoring
#
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_PERF_EVENTS_INTEL_RAPL=y
CONFIG_PERF_EVENTS_INTEL_CSTATE=y
# CONFIG_PERF_EVENTS_AMD_POWER is not set
CONFIG_PERF_EVENTS_AMD_UNCORE=y
# CONFIG_PERF_EVENTS_AMD_BRS is not set
# end of Performance monitoring

CONFIG_X86_16BIT=y
CONFIG_X86_ESPFIX64=y
CONFIG_X86_VSYSCALL_EMULATION=y
CONFIG_X86_IOPL_IOPERM=y
CONFIG_MICROCODE=y
# CONFIG_MICROCODE_LATE_LOADING is not set
# CONFIG_MICROCODE_DBG is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_X86_DIRECT_GBPAGES=y
# CONFIG_X86_CPA_STATISTICS is not set
CONFIG_NUMA=y
CONFIG_AMD_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NODES_SHIFT=6
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
# CONFIG_ARCH_MEMORY_PROBE is not set
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
# CONFIG_X86_PMEM_LEGACY is not set
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set
CONFIG_X86_PAT=y
CONFIG_X86_UMIP=y
CONFIG_CC_HAS_IBT=y
CONFIG_X86_CET=y
CONFIG_X86_KERNEL_IBT=y
CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y
CONFIG_ARCH_PKEY_BITS=4
# CONFIG_X86_INTEL_TSX_MODE_OFF is not set
CONFIG_X86_INTEL_TSX_MODE_ON=y
# CONFIG_X86_INTEL_TSX_MODE_AUTO is not set
# CONFIG_X86_SGX is not set
CONFIG_X86_USER_SHADOW_STACK=y
# CONFIG_INTEL_TDX_HOST is not set
# CONFIG_EFI is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
CONFIG_ARCH_SUPPORTS_KEXEC=y
CONFIG_ARCH_SUPPORTS_KEXEC_FILE=y
CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY=y
CONFIG_ARCH_SUPPORTS_KEXEC_SIG=y
CONFIG_ARCH_SUPPORTS_KEXEC_SIG_FORCE=y
CONFIG_ARCH_SUPPORTS_KEXEC_BZIMAGE_VERIFY_SIG=y
CONFIG_ARCH_SUPPORTS_KEXEC_JUMP=y
CONFIG_ARCH_SUPPORTS_KEXEC_HANDOVER=y
CONFIG_ARCH_SUPPORTS_CRASH_DUMP=y
CONFIG_ARCH_DEFAULT_CRASH_DUMP=y
CONFIG_ARCH_SUPPORTS_CRASH_HOTPLUG=y
CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION=y
CONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x200000
CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set
CONFIG_LEGACY_VSYSCALL_XONLY=y
# CONFIG_LEGACY_VSYSCALL_NONE is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="earlyprintk=serial net.ifnames=0 sysctl.kernel.hung_task_all_cpu_backtrace=1 ima_policy=tcb nf-conntrack-ftp.ports=20000 nf-conntrack-tftp.ports=20000 nf-conntrack-sip.ports=20000 nf-conntrack-irc.ports=20000 nf-conntrack-sane.ports=20000 binder.debug_mask=0 rcupdate.rcu_expedited=1 rcupdate.rcu_cpu_stall_cputime=1 no_hash_pointers page_owner=on sysctl.vm.nr_hugepages=4 sysctl.vm.nr_overcommit_hugepages=4 secretmem.enable=1 sysctl.max_rcu_stall_to_panic=1 msr.allow_writes=off coredump_filter=0xffff root=/dev/sda console=ttyS0 vsyscall=native numa=fake=2 kvm-intel.nested=1 spec_store_bypass_disable=prctl nopcid vivid.n_devs=64 vivid.multiplanar=1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2 netrom.nr_ndevs=32 rose.rose_ndevs=32 smp.csd_lock_timeout=100000 watchdog_thresh=55 workqueue.watchdog_thresh=140 sysctl.net.core.netdev_unregister_timeout_secs=140 dummy_hcd.num=32 max_loop=32 nbds_max=32 comedi.comedi_num_legacy_minors=4 kmsan.panic=1"
# CONFIG_CMDLINE_OVERRIDE is not set
CONFIG_MODIFY_LDT_SYSCALL=y
# CONFIG_STRICT_SIGALTSTACK_SIZE is not set
CONFIG_HAVE_LIVEPATCH=y
CONFIG_HAVE_KLP_BUILD=y
CONFIG_X86_BUS_LOCK_DETECT=y
# end of Processor type and features

CONFIG_CC_HAS_NAMED_AS_FIXED_SANITIZERS=y
CONFIG_CC_HAS_SLS=y
CONFIG_CC_HAS_RETURN_THUNK=y
CONFIG_CC_HAS_ENTRY_PADDING=y
CONFIG_FUNCTION_PADDING_CFI=11
CONFIG_FUNCTION_PADDING_BYTES=16
CONFIG_CALL_PADDING=y
CONFIG_HAVE_CALL_THUNKS=y
CONFIG_CALL_THUNKS=y
CONFIG_PREFIX_SYMBOLS=y
CONFIG_CPU_MITIGATIONS=y
CONFIG_MITIGATION_PAGE_TABLE_ISOLATION=y
CONFIG_MITIGATION_RETPOLINE=y
CONFIG_MITIGATION_RETHUNK=y
CONFIG_MITIGATION_UNRET_ENTRY=y
CONFIG_MITIGATION_CALL_DEPTH_TRACKING=y
# CONFIG_CALL_THUNKS_DEBUG is not set
CONFIG_MITIGATION_IBPB_ENTRY=y
CONFIG_MITIGATION_IBRS_ENTRY=y
CONFIG_MITIGATION_SRSO=y
# CONFIG_MITIGATION_SLS is not set
CONFIG_MITIGATION_GDS=y
CONFIG_MITIGATION_RFDS=y
CONFIG_MITIGATION_SPECTRE_BHI=y
CONFIG_MITIGATION_MDS=y
CONFIG_MITIGATION_TAA=y
CONFIG_MITIGATION_MMIO_STALE_DATA=y
CONFIG_MITIGATION_L1TF=y
CONFIG_MITIGATION_RETBLEED=y
CONFIG_MITIGATION_SPECTRE_V1=y
CONFIG_MITIGATION_SPECTRE_V2=y
CONFIG_MITIGATION_SRBDS=y
CONFIG_MITIGATION_SSB=y
CONFIG_MITIGATION_ITS=y
CONFIG_MITIGATION_TSA=y
# CONFIG_MITIGATION_VMSCAPE is not set
CONFIG_ARCH_HAS_ADD_PAGES=y

#
# Power management and ACPI options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_SUSPEND_SKIP_SYNC is not set
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_HIBERNATION_SNAPSHOT_DEV=y
CONFIG_HIBERNATION_COMP_LZO=y
# CONFIG_HIBERNATION_COMP_LZ4 is not set
CONFIG_HIBERNATION_DEF_COMP="lzo"
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_USERSPACE_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
# CONFIG_PM_QOS_CPU_SYSTEM_WAKEUP is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
# CONFIG_PM_ADVANCED_DEBUG is not set
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
# CONFIG_DPM_WATCHDOG is not set
CONFIG_PM_TRACE=y
CONFIG_PM_TRACE_RTC=y
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
# CONFIG_ENERGY_MODEL is not set
CONFIG_ARCH_SUPPORTS_ACPI=y
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_THERMAL_LIB=y
# CONFIG_ACPI_DEBUGGER is not set
CONFIG_ACPI_SPCR_TABLE=y
# CONFIG_ACPI_FPDT is not set
CONFIG_ACPI_LPIT=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
CONFIG_ACPI_EC=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_TAD is not set
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_CPPC_LIB=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_PLATFORM_PROFILE=y
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_HOTPLUG_MEMORY is not set
CONFIG_ACPI_HOTPLUG_IOAPIC=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
CONFIG_ACPI_NFIT=y
# CONFIG_NFIT_SECURITY_DEBUG is not set
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_HMAT is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
# CONFIG_ACPI_APEI is not set
# CONFIG_ACPI_DPTF is not set
# CONFIG_ACPI_EXTLOG is not set
# CONFIG_ACPI_CONFIGFS is not set
# CONFIG_ACPI_PFRUT is not set
CONFIG_ACPI_PCC=y
# CONFIG_ACPI_FFH is not set
CONFIG_ACPI_MRRM=y
CONFIG_PMIC_OPREGION=y
CONFIG_BXT_WC_PMIC_OPREGION=y
# CONFIG_CHT_WC_PMIC_OPREGION is not set
CONFIG_X86_PM_TIMER=y

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
# CONFIG_CPU_FREQ_STAT is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y

#
# CPU frequency scaling drivers
#
# CONFIG_CPUFREQ_DT is not set
# CONFIG_CPUFREQ_DT_PLATDEV is not set
CONFIG_X86_INTEL_PSTATE=y
# CONFIG_X86_PCC_CPUFREQ is not set
CONFIG_X86_AMD_PSTATE=y
CONFIG_X86_AMD_PSTATE_DEFAULT_MODE=3
# CONFIG_X86_AMD_PSTATE_UT is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_AMD_FREQ_SENSITIVITY is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set

#
# shared options
#
CONFIG_CPUFREQ_ARCH_CUR_FREQ=y
# end of CPU Frequency scaling

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_CPU_IDLE_GOV_TEO is not set
CONFIG_CPU_IDLE_GOV_HALTPOLL=y
CONFIG_HALTPOLL_CPUIDLE=y
# end of CPU Idle

CONFIG_INTEL_IDLE=y
# end of Power management and ACPI options

#
# Bus options (PCI etc.)
#
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_MMCONF_FAM10H=y
CONFIG_ISA_BUS=y
CONFIG_ISA_DMA_API=y
CONFIG_AMD_NB=y
CONFIG_AMD_NODE=y
# end of Bus options (PCI etc.)

#
# Binary Emulations
#
CONFIG_IA32_EMULATION=y
# CONFIG_IA32_EMULATION_DEFAULT_DISABLED is not set
CONFIG_COMPAT_32=y
CONFIG_COMPAT=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
# end of Binary Emulations

CONFIG_KVM_COMMON=y
CONFIG_HAVE_KVM_PFNCACHE=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_DIRTY_RING=y
CONFIG_HAVE_KVM_DIRTY_RING_TSO=y
CONFIG_HAVE_KVM_DIRTY_RING_ACQ_REL=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_READONLY_MEM=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_GENERIC_PRE_FAULT_MEMORY=y
CONFIG_KVM_COMPAT=y
CONFIG_HAVE_KVM_IRQ_BYPASS=y
CONFIG_HAVE_KVM_NO_POLL=y
CONFIG_VIRT_XFER_TO_GUEST_WORK=y
CONFIG_HAVE_KVM_PM_NOTIFIER=y
CONFIG_KVM_GENERIC_HARDWARE_ENABLING=y
CONFIG_KVM_GENERIC_MMU_NOTIFIER=y
CONFIG_KVM_ELIDE_TLB_FLUSH_IF_YOUNG=y
CONFIG_KVM_MMU_LOCKLESS_AGING=y
CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES=y
CONFIG_KVM_GUEST_MEMFD=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM_X86=y
CONFIG_KVM=y
# CONFIG_KVM_WERROR is not set
CONFIG_KVM_SW_PROTECTED_VM=y
CONFIG_KVM_INTEL=y
# CONFIG_KVM_INTEL_PROVE_VE is not set
CONFIG_KVM_AMD=y
CONFIG_KVM_IOAPIC=y
# CONFIG_KVM_SMM is not set
CONFIG_KVM_HYPERV=y
CONFIG_KVM_XEN=y
CONFIG_KVM_PROVE_MMU=y
CONFIG_KVM_MAX_NR_VCPUS=1024
CONFIG_X86_REQUIRED_FEATURE_ALWAYS=y
CONFIG_X86_REQUIRED_FEATURE_NOPL=y
CONFIG_X86_REQUIRED_FEATURE_CX8=y
CONFIG_X86_REQUIRED_FEATURE_CMOV=y
CONFIG_X86_REQUIRED_FEATURE_CPUID=y
CONFIG_X86_REQUIRED_FEATURE_FPU=y
CONFIG_X86_REQUIRED_FEATURE_PAE=y
CONFIG_X86_REQUIRED_FEATURE_PSE=y
CONFIG_X86_REQUIRED_FEATURE_PGE=y
CONFIG_X86_REQUIRED_FEATURE_MSR=y
CONFIG_X86_REQUIRED_FEATURE_FXSR=y
CONFIG_X86_REQUIRED_FEATURE_XMM=y
CONFIG_X86_REQUIRED_FEATURE_XMM2=y
CONFIG_X86_REQUIRED_FEATURE_LM=y
CONFIG_X86_DISABLED_FEATURE_VME=y
CONFIG_X86_DISABLED_FEATURE_K6_MTRR=y
CONFIG_X86_DISABLED_FEATURE_CYRIX_ARR=y
CONFIG_X86_DISABLED_FEATURE_CENTAUR_MCR=y
CONFIG_X86_DISABLED_FEATURE_LAM=y
CONFIG_X86_DISABLED_FEATURE_SGX=y
CONFIG_X86_DISABLED_FEATURE_XENPV=y
CONFIG_X86_DISABLED_FEATURE_TDX_GUEST=y
CONFIG_X86_DISABLED_FEATURE_SEV_SNP=y
CONFIG_AS_WRUSS=y
CONFIG_ARCH_CONFIGURES_CPU_MITIGATIONS=y

#
# General architecture-dependent options
#
CONFIG_HOTPLUG_SMT=y
CONFIG_ARCH_SUPPORTS_SCHED_SMT=y
CONFIG_ARCH_SUPPORTS_SCHED_CLUSTER=y
CONFIG_ARCH_SUPPORTS_SCHED_MC=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_CLUSTER=y
CONFIG_SCHED_MC=y
CONFIG_HOTPLUG_CORE_SYNC=y
CONFIG_HOTPLUG_CORE_SYNC_DEAD=y
CONFIG_HOTPLUG_CORE_SYNC_FULL=y
CONFIG_HOTPLUG_SPLIT_STARTUP=y
CONFIG_HOTPLUG_PARALLEL=y
CONFIG_GENERIC_IRQ_ENTRY=y
CONFIG_GENERIC_SYSCALL=y
CONFIG_GENERIC_ENTRY=y
# CONFIG_KPROBES is not set
CONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not set
# CONFIG_STATIC_CALL_SELFTEST is not set
CONFIG_UPROBES=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y
CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y
CONFIG_HAVE_NMI=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
CONFIG_ARCH_HAS_SET_MEMORY=y
CONFIG_ARCH_HAS_SET_DIRECT_MAP=y
CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
CONFIG_ARCH_HAS_CPU_PASID=y
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
CONFIG_ARCH_WANTS_NO_INSTR=y
CONFIG_HAVE_ASM_MODVERSIONS=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_RSEQ=y
CONFIG_HAVE_RUST=y
CONFIG_HAVE_FUNCTION_ARG_ACCESS_API=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y
CONFIG_UNWIND_USER=y
CONFIG_HAVE_UNWIND_USER_FP=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_ARCH_JUMP_LABEL_RELATIVE=y
CONFIG_MMU_GATHER_TABLE_FREE=y
CONFIG_MMU_GATHER_RCU_TABLE_FREE=y
CONFIG_MMU_GATHER_MERGE_VMAS=y
CONFIG_ARCH_WANT_IRQS_OFF_ACTIVATE_MM=y
CONFIG_MMU_LAZY_TLB_REFCOUNT=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_ARCH_HAVE_EXTRA_ELF_NOTES=y
CONFIG_ARCH_HAS_NMI_SAFE_THIS_CPU_OPS=y
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
CONFIG_HAVE_ARCH_SECCOMP=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP=y
CONFIG_SECCOMP_FILTER=y
# CONFIG_SECCOMP_CACHE_DEBUG is not set
CONFIG_HAVE_ARCH_KSTACK_ERASE=y
CONFIG_HAVE_STACKPROTECTOR=y
# CONFIG_STACKPROTECTOR is not set
CONFIG_ARCH_SUPPORTS_LTO_CLANG=y
CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y
CONFIG_HAS_LTO_CLANG=y
CONFIG_LTO_NONE=y
# CONFIG_LTO_CLANG_FULL is not set
# CONFIG_LTO_CLANG_THIN is not set
CONFIG_ARCH_SUPPORTS_AUTOFDO_CLANG=y
# CONFIG_AUTOFDO_CLANG is not set
CONFIG_ARCH_SUPPORTS_PROPELLER_CLANG=y
# CONFIG_PROPELLER_CLANG is not set
CONFIG_ARCH_SUPPORTS_CFI=y
# CONFIG_CFI is not set
CONFIG_HAVE_CFI_ICALL_NORMALIZE_INTEGERS=y
CONFIG_HAVE_CFI_ICALL_NORMALIZE_INTEGERS_RUSTC=y
CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
CONFIG_HAVE_CONTEXT_TRACKING_USER=y
CONFIG_HAVE_CONTEXT_TRACKING_USER_OFFSTACK=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_MOVE_PUD=y
CONFIG_HAVE_MOVE_PMD=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_HAVE_ARCH_HUGE_VMALLOC=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_PMD_MKWRITE=y
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_ARCH_HAS_EXECMEM_ROX=y
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
CONFIG_HAVE_SOFTIRQ_ON_OWN_STACK=y
CONFIG_SOFTIRQ_ON_OWN_STACK=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_HAVE_EXIT_THREAD=y
CONFIG_ARCH_MMAP_RND_BITS=28
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
CONFIG_HAVE_ARCH_COMPAT_MMAP_BASES=y
CONFIG_HAVE_PAGE_SIZE_4KB=y
CONFIG_PAGE_SIZE_4KB=y
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
CONFIG_PAGE_SHIFT=12
CONFIG_HAVE_OBJTOOL=y
CONFIG_HAVE_JUMP_LABEL_HACK=y
CONFIG_HAVE_NOINSTR_HACK=y
CONFIG_HAVE_NOINSTR_VALIDATION=y
CONFIG_HAVE_UACCESS_VALIDATION=y
CONFIG_HAVE_STACK_VALIDATION=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_COMPAT_OLD_SIGACTION=y
CONFIG_COMPAT_32BIT_TIME=y
CONFIG_ARCH_SUPPORTS_RT=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
# CONFIG_VMAP_STACK is not set
CONFIG_HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET=y
CONFIG_RANDOMIZE_KSTACK_OFFSET=y
# CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT is not set
CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
CONFIG_STRICT_MODULE_RWX=y
CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y
# CONFIG_LOCK_EVENT_COUNTS is not set
CONFIG_ARCH_HAS_MEM_ENCRYPT=y
CONFIG_HAVE_STATIC_CALL=y
CONFIG_HAVE_STATIC_CALL_INLINE=y
CONFIG_HAVE_PREEMPT_DYNAMIC=y
CONFIG_HAVE_PREEMPT_DYNAMIC_CALL=y
CONFIG_ARCH_WANT_LD_ORPHAN_WARN=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_ARCH_SUPPORTS_PAGE_TABLE_CHECK=y
CONFIG_ARCH_HAS_ELFCORE_COMPAT=y
CONFIG_ARCH_HAS_PARANOID_L1D_FLUSH=y
CONFIG_DYNAMIC_SIGFRAME=y
CONFIG_ARCH_HAS_HW_PTE_YOUNG=y
CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG=y
CONFIG_ARCH_HAS_KERNEL_FPU_SUPPORT=y
CONFIG_HAVE_GENERIC_TIF_BITS=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# end of GCOV-based kernel profiling

CONFIG_HAVE_GCC_PLUGINS=y
CONFIG_FUNCTION_ALIGNMENT_4B=y
CONFIG_FUNCTION_ALIGNMENT_16B=y
CONFIG_FUNCTION_ALIGNMENT=16
CONFIG_CC_HAS_SANE_FUNCTION_ALIGNMENT=y
CONFIG_ARCH_HAS_CPU_ATTACK_VECTORS=y
# end of General architecture-dependent options

CONFIG_RT_MUTEXES=y
CONFIG_MODULE_SIG_FORMAT=y
CONFIG_MODULES=y
# CONFIG_MODULE_DEBUG is not set
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODULE_UNLOAD_TAINT_TRACKING is not set
CONFIG_MODVERSIONS=y
# CONFIG_GENKSYMS is not set
CONFIG_GENDWARFKSYMS=y
CONFIG_ASM_MODVERSIONS=y
# CONFIG_EXTENDED_MODVERSIONS is not set
# CONFIG_BASIC_MODVERSIONS is not set
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_MODULE_SIG=y
# CONFIG_MODULE_SIG_FORCE is not set
# CONFIG_MODULE_SIG_ALL is not set
CONFIG_MODULE_SIG_SHA1=y
# CONFIG_MODULE_SIG_SHA256 is not set
# CONFIG_MODULE_SIG_SHA384 is not set
# CONFIG_MODULE_SIG_SHA512 is not set
# CONFIG_MODULE_SIG_SHA3_256 is not set
# CONFIG_MODULE_SIG_SHA3_384 is not set
# CONFIG_MODULE_SIG_SHA3_512 is not set
CONFIG_MODULE_SIG_HASH="sha1"
# CONFIG_MODULE_COMPRESS is not set
# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set
CONFIG_MODPROBE_PATH="/sbin/modprobe"
# CONFIG_TRIM_UNUSED_KSYMS is not set
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_BLOCK=y
CONFIG_BLOCK_LEGACY_AUTOLOAD=y
CONFIG_BLK_RQ_ALLOC_TIME=y
CONFIG_BLK_CGROUP_RWSTAT=y
CONFIG_BLK_CGROUP_PUNT_BIO=y
CONFIG_BLK_DEV_BSG_COMMON=y
CONFIG_BLK_ICQ=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_BLK_DEV_WRITE_MOUNTED is not set
CONFIG_BLK_DEV_ZONED=y
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_BLK_WBT=y
CONFIG_BLK_WBT_MQ=y
CONFIG_BLK_CGROUP_IOLATENCY=y
# CONFIG_BLK_CGROUP_FC_APPID is not set
CONFIG_BLK_CGROUP_IOCOST=y
CONFIG_BLK_CGROUP_IOPRIO=y
CONFIG_BLK_DEBUG_FS=y
# CONFIG_BLK_SED_OPAL is not set
CONFIG_BLK_INLINE_ENCRYPTION=y
CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
CONFIG_ACORN_PARTITION=y
CONFIG_ACORN_PARTITION_CUMANA=y
CONFIG_ACORN_PARTITION_EESOX=y
CONFIG_ACORN_PARTITION_ICS=y
CONFIG_ACORN_PARTITION_ADFS=y
CONFIG_ACORN_PARTITION_POWERTEC=y
CONFIG_ACORN_PARTITION_RISCIX=y
CONFIG_AIX_PARTITION=y
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
CONFIG_ATARI_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not set
CONFIG_SGI_PARTITION=y
CONFIG_ULTRIX_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_SYSV68_PARTITION=y
CONFIG_CMDLINE_PARTITION=y
# CONFIG_OF_PARTITION is not set
# end of Partition Types

CONFIG_BLK_PM=y
CONFIG_BLOCK_HOLDER_DEPRECATED=y
CONFIG_BLK_MQ_STACKING=y

#
# IO Schedulers
#
CONFIG_MQ_IOSCHED_DEADLINE=y
CONFIG_MQ_IOSCHED_KYBER=y
CONFIG_IOSCHED_BFQ=y
CONFIG_BFQ_GROUP_IOSCHED=y
CONFIG_BFQ_CGROUP_DEBUG=y
# end of IO Schedulers

CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_PADATA=y
CONFIG_ASN1=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE=y
CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y
CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y
CONFIG_FREEZER=y

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_BINFMT_MISC=y
CONFIG_COREDUMP=y
# end of Executable file formats

#
# Memory Management options
#
CONFIG_SWAP=y
CONFIG_ZSWAP=y
CONFIG_ZSWAP_DEFAULT_ON=y
CONFIG_ZSWAP_SHRINKER_DEFAULT_ON=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO is not set
CONFIG_ZSWAP_COMPRESSOR_DEFAULT_842=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4HC is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD is not set
CONFIG_ZSWAP_COMPRESSOR_DEFAULT="842"
CONFIG_ZSMALLOC=y

#
# Zsmalloc allocator options
#

#
# Zsmalloc is a common backend allocator for zswap & zram
#
# CONFIG_ZSMALLOC_STAT is not set
CONFIG_ZSMALLOC_CHAIN_SIZE=8
# end of Zsmalloc allocator options

#
# Slab allocator options
#
CONFIG_SLUB=y
CONFIG_KVFREE_RCU_BATCHED=y
# CONFIG_SLUB_TINY is not set
CONFIG_SLAB_MERGE_DEFAULT=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
# CONFIG_SLAB_FREELIST_HARDENED is not set
# CONFIG_SLAB_BUCKETS is not set
# CONFIG_SLUB_STATS is not set
CONFIG_SLUB_CPU_PARTIAL=y
# CONFIG_RANDOM_KMALLOC_CACHES is not set
# end of Slab allocator options

# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set
# CONFIG_COMPAT_BRK is not set
CONFIG_SPARSEMEM=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_SPARSEMEM_VMEMMAP_PREINIT=y
CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=y
CONFIG_ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP=y
CONFIG_ARCH_WANT_HUGETLB_VMEMMAP_PREINIT=y
CONFIG_HAVE_GUP_FAST=y
CONFIG_NUMA_KEEP_MEMINFO=y
CONFIG_MEMORY_ISOLATION=y
CONFIG_EXCLUSIVE_SYSTEM_RAM=y
CONFIG_HAVE_BOOTMEM_INFO_NODE=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_MEMORY_HOTPLUG=y
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_OFFLINE is not set
CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO=y
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_KERNEL is not set
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_MOVABLE is not set
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_MHP_MEMMAP_ON_MEMORY=y
CONFIG_ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE=y
CONFIG_SPLIT_PTE_PTLOCKS=y
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_SPLIT_PMD_PTLOCKS=y
CONFIG_MEMORY_BALLOON=y
# CONFIG_BALLOON_COMPACTION is not set
CONFIG_COMPACTION=y
CONFIG_COMPACT_UNEVICTABLE_DEFAULT=1
CONFIG_PAGE_REPORTING=y
CONFIG_MIGRATION=y
CONFIG_DEVICE_MIGRATION=y
CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y
CONFIG_ARCH_ENABLE_THP_MIGRATION=y
CONFIG_CONTIG_ALLOC=y
CONFIG_PCP_BATCH_SCALE_MAX=5
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ARCH_WANTS_THP_SWAP=y
# CONFIG_PERSISTENT_HUGE_ZERO_FOLIO is not set
CONFIG_MM_ID=y
CONFIG_TRANSPARENT_HUGEPAGE=y
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
# CONFIG_TRANSPARENT_HUGEPAGE_NEVER is not set
CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_NEVER=y
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_ALWAYS is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_WITHIN_SIZE is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_ADVISE is not set
CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_NEVER=y
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_ALWAYS is not set
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_WITHIN_SIZE is not set
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_ADVISE is not set
CONFIG_THP_SWAP=y
CONFIG_READ_ONLY_THP_FOR_FS=y
# CONFIG_NO_PAGE_MAPCOUNT is not set
CONFIG_PAGE_MAPCOUNT=y
CONFIG_PGTABLE_HAS_HUGE_LEAVES=y
CONFIG_HAVE_GIGANTIC_FOLIOS=y
CONFIG_ASYNC_KERNEL_PGTABLE_FREE=y
CONFIG_ARCH_SUPPORTS_HUGE_PFNMAP=y
CONFIG_ARCH_SUPPORTS_PMD_PFNMAP=y
CONFIG_ARCH_SUPPORTS_PUD_PFNMAP=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_USE_PERCPU_NUMA_NODE_ID=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_CMA=y
# CONFIG_CMA_DEBUGFS is not set
# CONFIG_CMA_SYSFS is not set
CONFIG_CMA_AREAS=20
CONFIG_PAGE_BLOCK_MAX_ORDER=10
CONFIG_MEM_SOFT_DIRTY=y
CONFIG_GENERIC_EARLY_IOREMAP=y
CONFIG_PAGE_IDLE_FLAG=y
# CONFIG_IDLE_PAGE_TRACKING is not set
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_CURRENT_STACK_POINTER=y
CONFIG_ARCH_HAS_ZONE_DMA_SET=y
CONFIG_ZONE_DMA=y
CONFIG_ZONE_DMA32=y
CONFIG_ZONE_DEVICE=y
CONFIG_HMM_MIRROR=y
CONFIG_GET_FREE_REGION=y
CONFIG_DEVICE_PRIVATE=y
CONFIG_VMAP_PFN=y
CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y
CONFIG_ARCH_HAS_PKEYS=y
CONFIG_ARCH_USES_PG_ARCH_2=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PERCPU_STATS=y
# CONFIG_GUP_TEST is not set
# CONFIG_DMAPOOL_TEST is not set
CONFIG_ARCH_HAS_PTE_SPECIAL=y
CONFIG_MAPPING_DIRTY_HELPERS=y
CONFIG_MEMFD_CREATE=y
CONFIG_SECRETMEM=y
CONFIG_ANON_VMA_NAME=y
CONFIG_HAVE_ARCH_USERFAULTFD_WP=y
CONFIG_HAVE_ARCH_USERFAULTFD_MINOR=y
CONFIG_USERFAULTFD=y
# CONFIG_PTE_MARKER_UFFD_WP is not set
CONFIG_LRU_GEN=y
CONFIG_LRU_GEN_ENABLED=y
# CONFIG_LRU_GEN_STATS is not set
CONFIG_LRU_GEN_WALKS_MMU=y
CONFIG_ARCH_SUPPORTS_PER_VMA_LOCK=y
CONFIG_PER_VMA_LOCK=y
CONFIG_LOCK_MM_AND_FIND_VMA=y
CONFIG_IOMMU_MM_DATA=y
CONFIG_EXECMEM=y
CONFIG_NUMA_MEMBLKS=y
CONFIG_NUMA_EMU=y
CONFIG_ARCH_HAS_USER_SHADOW_STACK=y
CONFIG_ARCH_SUPPORTS_PT_RECLAIM=y
CONFIG_PT_RECLAIM=y

#
# Data Access Monitoring
#
CONFIG_DAMON=y
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
# CONFIG_DAMON_SYSFS is not set
CONFIG_DAMON_RECLAIM=y
# CONFIG_DAMON_LRU_SORT is not set
# CONFIG_DAMON_STAT is not set
# end of Data Access Monitoring
# end of Memory Management options

CONFIG_NET=y
CONFIG_WANT_COMPAT_NETLINK_MESSAGES=y
CONFIG_COMPAT_NETLINK_MESSAGES=y
CONFIG_NET_INGRESS=y
CONFIG_NET_EGRESS=y
CONFIG_NET_XGRESS=y
CONFIG_NET_REDIRECT=y
CONFIG_SKB_DECRYPTED=y
CONFIG_SKB_EXTENSIONS=y
CONFIG_NET_DEVMEM=y
CONFIG_NET_SHAPER=y
CONFIG_NET_CRC32C=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_DIAG=y
CONFIG_INET_PSP=y
CONFIG_UNIX=y
CONFIG_AF_UNIX_OOB=y
CONFIG_UNIX_DIAG=y
CONFIG_TLS=y
CONFIG_TLS_DEVICE=y
CONFIG_TLS_TOE=y
CONFIG_XFRM=y
CONFIG_XFRM_OFFLOAD=y
CONFIG_XFRM_ALGO=y
CONFIG_XFRM_USER=y
CONFIG_XFRM_USER_COMPAT=y
CONFIG_XFRM_INTERFACE=y
CONFIG_XFRM_SUB_POLICY=y
CONFIG_XFRM_MIGRATE=y
CONFIG_XFRM_STATISTICS=y
CONFIG_XFRM_AH=y
CONFIG_XFRM_ESP=y
CONFIG_XFRM_IPCOMP=y
CONFIG_NET_KEY=y
CONFIG_NET_KEY_MIGRATE=y
# CONFIG_XFRM_IPTFS is not set
CONFIG_XFRM_ESPINTCP=y
CONFIG_SMC=y
CONFIG_SMC_DIAG=y
CONFIG_DIBS=y
CONFIG_DIBS_LO=y
CONFIG_XDP_SOCKETS=y
CONFIG_XDP_SOCKETS_DIAG=y
CONFIG_NET_HANDSHAKE=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_FIB_TRIE_STATS=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_CLASSID=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_NET_IPIP=y
CONFIG_NET_IPGRE_DEMUX=y
CONFIG_NET_IP_TUNNEL=y
CONFIG_NET_IPGRE=y
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE_COMMON=y
CONFIG_IP_MROUTE=y
CONFIG_IP_MROUTE_MULTIPLE_TABLES=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
CONFIG_SYN_COOKIES=y
CONFIG_NET_IPVTI=y
CONFIG_NET_UDP_TUNNEL=y
CONFIG_NET_FOU=y
CONFIG_NET_FOU_IP_TUNNELS=y
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_ESP_OFFLOAD=y
CONFIG_INET_ESPINTCP=y
CONFIG_INET_IPCOMP=y
CONFIG_INET_TABLE_PERTURB_ORDER=16
CONFIG_INET_XFRM_TUNNEL=y
CONFIG_INET_TUNNEL=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_INET_UDP_DIAG=y
CONFIG_INET_RAW_DIAG=y
CONFIG_INET_DIAG_DESTROY=y
CONFIG_TCP_CONG_ADVANCED=y
CONFIG_TCP_CONG_BIC=y
CONFIG_TCP_CONG_CUBIC=y
CONFIG_TCP_CONG_WESTWOOD=y
CONFIG_TCP_CONG_HTCP=y
CONFIG_TCP_CONG_HSTCP=y
CONFIG_TCP_CONG_HYBLA=y
CONFIG_TCP_CONG_VEGAS=y
CONFIG_TCP_CONG_NV=y
CONFIG_TCP_CONG_SCALABLE=y
CONFIG_TCP_CONG_LP=y
CONFIG_TCP_CONG_VENO=y
CONFIG_TCP_CONG_YEAH=y
CONFIG_TCP_CONG_ILLINOIS=y
CONFIG_TCP_CONG_DCTCP=y
CONFIG_TCP_CONG_CDG=y
CONFIG_TCP_CONG_BBR=y
# CONFIG_DEFAULT_BIC is not set
CONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_HYBLA is not set
# CONFIG_DEFAULT_VEGAS is not set
# CONFIG_DEFAULT_VENO is not set
# CONFIG_DEFAULT_WESTWOOD is not set
# CONFIG_DEFAULT_DCTCP is not set
# CONFIG_DEFAULT_CDG is not set
# CONFIG_DEFAULT_BBR is not set
# CONFIG_DEFAULT_RENO is not set
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_AO is not set
CONFIG_TCP_MD5SIG=y
CONFIG_IPV6=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_INET6_AH=y
CONFIG_INET6_ESP=y
CONFIG_INET6_ESP_OFFLOAD=y
CONFIG_INET6_ESPINTCP=y
CONFIG_INET6_IPCOMP=y
CONFIG_IPV6_MIP6=y
CONFIG_IPV6_ILA=y
CONFIG_INET6_XFRM_TUNNEL=y
CONFIG_INET6_TUNNEL=y
CONFIG_IPV6_VTI=y
CONFIG_IPV6_SIT=y
CONFIG_IPV6_SIT_6RD=y
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=y
CONFIG_IPV6_GRE=y
CONFIG_IPV6_FOU=y
CONFIG_IPV6_FOU_TUNNEL=y
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y
CONFIG_IPV6_SEG6_LWTUNNEL=y
CONFIG_IPV6_SEG6_HMAC=y
CONFIG_IPV6_SEG6_BPF=y
CONFIG_IPV6_RPL_LWTUNNEL=y
# CONFIG_IPV6_IOAM6_LWTUNNEL is not set
CONFIG_NETLABEL=y
CONFIG_MPTCP=y
CONFIG_INET_MPTCP_DIAG=y
CONFIG_MPTCP_IPV6=y
CONFIG_NETWORK_SECMARK=y
CONFIG_NET_PTP_CLASSIFY=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=y

#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_INGRESS=y
CONFIG_NETFILTER_EGRESS=y
CONFIG_NETFILTER_SKIP_EGRESS=y
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_FAMILY_BRIDGE=y
CONFIG_NETFILTER_FAMILY_ARP=y
CONFIG_NETFILTER_BPF_LINK=y
# CONFIG_NETFILTER_NETLINK_HOOK is not set
CONFIG_NETFILTER_NETLINK_ACCT=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NETFILTER_NETLINK_OSF=y
CONFIG_NF_CONNTRACK=y
CONFIG_NF_LOG_SYSLOG=y
CONFIG_NETFILTER_CONNCOUNT=y
CONFIG_NF_CONNTRACK_MARK=y
CONFIG_NF_CONNTRACK_SECMARK=y
CONFIG_NF_CONNTRACK_ZONES=y
# CONFIG_NF_CONNTRACK_PROCFS is not set
CONFIG_NF_CONNTRACK_EVENTS=y
CONFIG_NF_CONNTRACK_TIMEOUT=y
CONFIG_NF_CONNTRACK_TIMESTAMP=y
CONFIG_NF_CONNTRACK_LABELS=y
CONFIG_NF_CONNTRACK_OVS=y
CONFIG_NF_CT_PROTO_GRE=y
CONFIG_NF_CT_PROTO_SCTP=y
CONFIG_NF_CT_PROTO_UDPLITE=y
CONFIG_NF_CONNTRACK_AMANDA=y
CONFIG_NF_CONNTRACK_FTP=y
CONFIG_NF_CONNTRACK_H323=y
CONFIG_NF_CONNTRACK_IRC=y
CONFIG_NF_CONNTRACK_BROADCAST=y
CONFIG_NF_CONNTRACK_NETBIOS_NS=y
CONFIG_NF_CONNTRACK_SNMP=y
CONFIG_NF_CONNTRACK_PPTP=y
CONFIG_NF_CONNTRACK_SANE=y
CONFIG_NF_CONNTRACK_SIP=y
CONFIG_NF_CONNTRACK_TFTP=y
CONFIG_NF_CT_NETLINK=y
CONFIG_NF_CT_NETLINK_TIMEOUT=y
CONFIG_NF_CT_NETLINK_HELPER=y
CONFIG_NETFILTER_NETLINK_GLUE_CT=y
CONFIG_NF_NAT=y
CONFIG_NF_NAT_AMANDA=y
CONFIG_NF_NAT_FTP=y
CONFIG_NF_NAT_IRC=y
CONFIG_NF_NAT_SIP=y
CONFIG_NF_NAT_TFTP=y
CONFIG_NF_NAT_REDIRECT=y
CONFIG_NF_NAT_MASQUERADE=y
CONFIG_NF_NAT_OVS=y
CONFIG_NETFILTER_SYNPROXY=y
CONFIG_NF_TABLES=y
CONFIG_NF_TABLES_INET=y
CONFIG_NF_TABLES_NETDEV=y
CONFIG_NFT_NUMGEN=y
CONFIG_NFT_CT=y
CONFIG_NFT_EXTHDR_DCCP=y
CONFIG_NFT_FLOW_OFFLOAD=y
CONFIG_NFT_CONNLIMIT=y
CONFIG_NFT_LOG=y
CONFIG_NFT_LIMIT=y
CONFIG_NFT_MASQ=y
CONFIG_NFT_REDIR=y
CONFIG_NFT_NAT=y
CONFIG_NFT_TUNNEL=y
CONFIG_NFT_QUEUE=y
CONFIG_NFT_QUOTA=y
CONFIG_NFT_REJECT=y
CONFIG_NFT_REJECT_INET=y
CONFIG_NFT_COMPAT=y
CONFIG_NFT_HASH=y
CONFIG_NFT_FIB=y
CONFIG_NFT_FIB_INET=y
CONFIG_NFT_XFRM=y
CONFIG_NFT_SOCKET=y
CONFIG_NFT_OSF=y
CONFIG_NFT_TPROXY=y
CONFIG_NFT_SYNPROXY=y
CONFIG_NF_DUP_NETDEV=y
CONFIG_NFT_DUP_NETDEV=y
CONFIG_NFT_FWD_NETDEV=y
CONFIG_NFT_FIB_NETDEV=y
CONFIG_NFT_REJECT_NETDEV=y
CONFIG_NF_FLOW_TABLE_INET=y
CONFIG_NF_FLOW_TABLE=y
# CONFIG_NF_FLOW_TABLE_PROCFS is not set
CONFIG_NETFILTER_XTABLES=y
CONFIG_NETFILTER_XTABLES_COMPAT=y
CONFIG_NETFILTER_XTABLES_LEGACY=y

#
# Xtables combined modules
#
CONFIG_NETFILTER_XT_MARK=y
CONFIG_NETFILTER_XT_CONNMARK=y
CONFIG_NETFILTER_XT_SET=y

#
# Xtables targets
#
CONFIG_NETFILTER_XT_TARGET_AUDIT=y
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=y
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=y
CONFIG_NETFILTER_XT_TARGET_CONNMARK=y
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
CONFIG_NETFILTER_XT_TARGET_CT=y
CONFIG_NETFILTER_XT_TARGET_DSCP=y
CONFIG_NETFILTER_XT_TARGET_HL=y
CONFIG_NETFILTER_XT_TARGET_HMARK=y
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y
CONFIG_NETFILTER_XT_TARGET_LED=y
CONFIG_NETFILTER_XT_TARGET_LOG=y
CONFIG_NETFILTER_XT_TARGET_MARK=y
CONFIG_NETFILTER_XT_NAT=y
CONFIG_NETFILTER_XT_TARGET_NETMAP=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y
CONFIG_NETFILTER_XT_TARGET_NOTRACK=y
CONFIG_NETFILTER_XT_TARGET_RATEEST=y
CONFIG_NETFILTER_XT_TARGET_REDIRECT=y
CONFIG_NETFILTER_XT_TARGET_MASQUERADE=y
CONFIG_NETFILTER_XT_TARGET_TEE=y
CONFIG_NETFILTER_XT_TARGET_TPROXY=y
CONFIG_NETFILTER_XT_TARGET_TRACE=y
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=y

#
# Xtables matches
#
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
CONFIG_NETFILTER_XT_MATCH_BPF=y
CONFIG_NETFILTER_XT_MATCH_CGROUP=y
CONFIG_NETFILTER_XT_MATCH_CLUSTER=y
CONFIG_NETFILTER_XT_MATCH_COMMENT=y
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=y
CONFIG_NETFILTER_XT_MATCH_CONNLABEL=y
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_NETFILTER_XT_MATCH_CPU=y
CONFIG_NETFILTER_XT_MATCH_DCCP=y
CONFIG_NETFILTER_XT_MATCH_DEVGROUP=y
CONFIG_NETFILTER_XT_MATCH_DSCP=y
CONFIG_NETFILTER_XT_MATCH_ECN=y
CONFIG_NETFILTER_XT_MATCH_ESP=y
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y
CONFIG_NETFILTER_XT_MATCH_HELPER=y
CONFIG_NETFILTER_XT_MATCH_HL=y
CONFIG_NETFILTER_XT_MATCH_IPCOMP=y
CONFIG_NETFILTER_XT_MATCH_IPRANGE=y
CONFIG_NETFILTER_XT_MATCH_IPVS=y
CONFIG_NETFILTER_XT_MATCH_L2TP=y
CONFIG_NETFILTER_XT_MATCH_LENGTH=y
CONFIG_NETFILTER_XT_MATCH_LIMIT=y
CONFIG_NETFILTER_XT_MATCH_MAC=y
CONFIG_NETFILTER_XT_MATCH_MARK=y
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
CONFIG_NETFILTER_XT_MATCH_NFACCT=y
CONFIG_NETFILTER_XT_MATCH_OSF=y
CONFIG_NETFILTER_XT_MATCH_OWNER=y
CONFIG_NETFILTER_XT_MATCH_POLICY=y
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y
CONFIG_NETFILTER_XT_MATCH_QUOTA=y
CONFIG_NETFILTER_XT_MATCH_RATEEST=y
CONFIG_NETFILTER_XT_MATCH_REALM=y
CONFIG_NETFILTER_XT_MATCH_RECENT=y
CONFIG_NETFILTER_XT_MATCH_SCTP=y
CONFIG_NETFILTER_XT_MATCH_SOCKET=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
CONFIG_NETFILTER_XT_MATCH_STATISTIC=y
CONFIG_NETFILTER_XT_MATCH_STRING=y
CONFIG_NETFILTER_XT_MATCH_TCPMSS=y
CONFIG_NETFILTER_XT_MATCH_TIME=y
CONFIG_NETFILTER_XT_MATCH_U32=y
# end of Core Netfilter Configuration

CONFIG_IP_SET=y
CONFIG_IP_SET_MAX=256
CONFIG_IP_SET_BITMAP_IP=y
CONFIG_IP_SET_BITMAP_IPMAC=y
CONFIG_IP_SET_BITMAP_PORT=y
CONFIG_IP_SET_HASH_IP=y
CONFIG_IP_SET_HASH_IPMARK=y
CONFIG_IP_SET_HASH_IPPORT=y
CONFIG_IP_SET_HASH_IPPORTIP=y
CONFIG_IP_SET_HASH_IPPORTNET=y
CONFIG_IP_SET_HASH_IPMAC=y
CONFIG_IP_SET_HASH_MAC=y
CONFIG_IP_SET_HASH_NETPORTNET=y
CONFIG_IP_SET_HASH_NET=y
CONFIG_IP_SET_HASH_NETNET=y
CONFIG_IP_SET_HASH_NETPORT=y
CONFIG_IP_SET_HASH_NETIFACE=y
CONFIG_IP_SET_LIST_SET=y
CONFIG_IP_VS=y
CONFIG_IP_VS_IPV6=y
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=12

#
# IPVS transport protocol load balancing support
#
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_PROTO_AH_ESP=y
CONFIG_IP_VS_PROTO_ESP=y
CONFIG_IP_VS_PROTO_AH=y
CONFIG_IP_VS_PROTO_SCTP=y

#
# IPVS scheduler
#
CONFIG_IP_VS_RR=y
CONFIG_IP_VS_WRR=y
CONFIG_IP_VS_LC=y
CONFIG_IP_VS_WLC=y
CONFIG_IP_VS_FO=y
CONFIG_IP_VS_OVF=y
CONFIG_IP_VS_LBLC=y
CONFIG_IP_VS_LBLCR=y
CONFIG_IP_VS_DH=y
CONFIG_IP_VS_SH=y
CONFIG_IP_VS_MH=y
CONFIG_IP_VS_SED=y
CONFIG_IP_VS_NQ=y
CONFIG_IP_VS_TWOS=y

#
# IPVS SH scheduler
#
CONFIG_IP_VS_SH_TAB_BITS=8

#
# IPVS MH scheduler
#
CONFIG_IP_VS_MH_TAB_INDEX=12

#
# IPVS application helper
#
CONFIG_IP_VS_FTP=y
CONFIG_IP_VS_NFCT=y
CONFIG_IP_VS_PE_SIP=y

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=y
CONFIG_IP_NF_IPTABLES_LEGACY=y
CONFIG_NF_SOCKET_IPV4=y
CONFIG_NF_TPROXY_IPV4=y
CONFIG_NF_TABLES_IPV4=y
CONFIG_NFT_REJECT_IPV4=y
CONFIG_NFT_DUP_IPV4=y
CONFIG_NFT_FIB_IPV4=y
CONFIG_NF_TABLES_ARP=y
CONFIG_NF_DUP_IPV4=y
CONFIG_NF_LOG_ARP=y
CONFIG_NF_LOG_IPV4=y
CONFIG_NF_REJECT_IPV4=y
CONFIG_NF_NAT_SNMP_BASIC=y
CONFIG_NF_NAT_PPTP=y
CONFIG_NF_NAT_H323=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_AH=y
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_RPFILTER=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_SYNPROXY=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_NETMAP=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_ECN=y
CONFIG_IP_NF_TARGET_TTL=y
CONFIG_IP_NF_RAW=y
CONFIG_IP_NF_SECURITY=y
CONFIG_IP_NF_ARPTABLES=y
CONFIG_NFT_COMPAT_ARP=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_IP_NF_ARP_MANGLE=y
# end of IP: Netfilter Configuration

#
# IPv6: Netfilter Configuration
#
CONFIG_IP6_NF_IPTABLES_LEGACY=y
CONFIG_NF_SOCKET_IPV6=y
CONFIG_NF_TPROXY_IPV6=y
CONFIG_NF_TABLES_IPV6=y
CONFIG_NFT_REJECT_IPV6=y
CONFIG_NFT_DUP_IPV6=y
CONFIG_NFT_FIB_IPV6=y
CONFIG_NF_DUP_IPV6=y
CONFIG_NF_REJECT_IPV6=y
CONFIG_NF_LOG_IPV6=y
CONFIG_IP6_NF_IPTABLES=y
CONFIG_IP6_NF_MATCH_AH=y
CONFIG_IP6_NF_MATCH_EUI64=y
CONFIG_IP6_NF_MATCH_FRAG=y
CONFIG_IP6_NF_MATCH_OPTS=y
CONFIG_IP6_NF_MATCH_HL=y
CONFIG_IP6_NF_MATCH_IPV6HEADER=y
CONFIG_IP6_NF_MATCH_MH=y
CONFIG_IP6_NF_MATCH_RPFILTER=y
CONFIG_IP6_NF_MATCH_RT=y
CONFIG_IP6_NF_MATCH_SRH=y
CONFIG_IP6_NF_TARGET_HL=y
CONFIG_IP6_NF_FILTER=y
CONFIG_IP6_NF_TARGET_REJECT=y
CONFIG_IP6_NF_TARGET_SYNPROXY=y
CONFIG_IP6_NF_MANGLE=y
CONFIG_IP6_NF_RAW=y
CONFIG_IP6_NF_SECURITY=y
CONFIG_IP6_NF_NAT=y
CONFIG_IP6_NF_TARGET_MASQUERADE=y
CONFIG_IP6_NF_TARGET_NPT=y
# end of IPv6: Netfilter Configuration

CONFIG_NF_DEFRAG_IPV6=y
CONFIG_NF_TABLES_BRIDGE=y
CONFIG_NFT_BRIDGE_META=y
CONFIG_NFT_BRIDGE_REJECT=y
CONFIG_NF_CONNTRACK_BRIDGE=y
CONFIG_BRIDGE_NF_EBTABLES_LEGACY=y
CONFIG_BRIDGE_NF_EBTABLES=y
CONFIG_BRIDGE_EBT_BROUTE=y
CONFIG_BRIDGE_EBT_T_FILTER=y
CONFIG_BRIDGE_EBT_T_NAT=y
CONFIG_BRIDGE_EBT_802_3=y
CONFIG_BRIDGE_EBT_AMONG=y
CONFIG_BRIDGE_EBT_ARP=y
CONFIG_BRIDGE_EBT_IP=y
CONFIG_BRIDGE_EBT_IP6=y
CONFIG_BRIDGE_EBT_LIMIT=y
CONFIG_BRIDGE_EBT_MARK=y
CONFIG_BRIDGE_EBT_PKTTYPE=y
CONFIG_BRIDGE_EBT_STP=y
CONFIG_BRIDGE_EBT_VLAN=y
CONFIG_BRIDGE_EBT_ARPREPLY=y
CONFIG_BRIDGE_EBT_DNAT=y
CONFIG_BRIDGE_EBT_MARK_T=y
CONFIG_BRIDGE_EBT_REDIRECT=y
CONFIG_BRIDGE_EBT_SNAT=y
CONFIG_BRIDGE_EBT_LOG=y
CONFIG_BRIDGE_EBT_NFLOG=y
CONFIG_IP_SCTP=y
# CONFIG_SCTP_DBG_OBJCNT is not set
CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA256=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set
CONFIG_INET_SCTP_DIAG=y
CONFIG_RDS=y
CONFIG_RDS_RDMA=y
CONFIG_RDS_TCP=y
# CONFIG_RDS_DEBUG is not set
CONFIG_TIPC=y
CONFIG_TIPC_MEDIA_IB=y
CONFIG_TIPC_MEDIA_UDP=y
CONFIG_TIPC_CRYPTO=y
CONFIG_TIPC_DIAG=y
CONFIG_ATM=y
CONFIG_ATM_CLIP=y
# CONFIG_ATM_CLIP_NO_ICMP is not set
CONFIG_ATM_LANE=y
CONFIG_ATM_MPOA=y
CONFIG_ATM_BR2684=y
# CONFIG_ATM_BR2684_IPFILTER is not set
CONFIG_L2TP=y
# CONFIG_L2TP_DEBUGFS is not set
CONFIG_L2TP_V3=y
CONFIG_L2TP_IP=y
CONFIG_L2TP_ETH=y
CONFIG_STP=y
CONFIG_GARP=y
CONFIG_MRP=y
CONFIG_BRIDGE=y
CONFIG_BRIDGE_IGMP_SNOOPING=y
CONFIG_BRIDGE_VLAN_FILTERING=y
CONFIG_BRIDGE_MRP=y
CONFIG_BRIDGE_CFM=y
CONFIG_NET_DSA=y
# CONFIG_NET_DSA_TAG_NONE is not set
# CONFIG_NET_DSA_TAG_AR9331 is not set
CONFIG_NET_DSA_TAG_BRCM_COMMON=y
CONFIG_NET_DSA_TAG_BRCM=y
# CONFIG_NET_DSA_TAG_BRCM_LEGACY is not set
# CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS is not set
CONFIG_NET_DSA_TAG_BRCM_PREPEND=y
# CONFIG_NET_DSA_TAG_HELLCREEK is not set
# CONFIG_NET_DSA_TAG_GSWIP is not set
# CONFIG_NET_DSA_TAG_DSA is not set
# CONFIG_NET_DSA_TAG_EDSA is not set
CONFIG_NET_DSA_TAG_MTK=y
# CONFIG_NET_DSA_TAG_MXL_GSW1XX is not set
# CONFIG_NET_DSA_TAG_KSZ is not set
# CONFIG_NET_DSA_TAG_OCELOT is not set
# CONFIG_NET_DSA_TAG_OCELOT_8021Q is not set
CONFIG_NET_DSA_TAG_QCA=y
CONFIG_NET_DSA_TAG_RTL4_A=y
# CONFIG_NET_DSA_TAG_RTL8_4 is not set
# CONFIG_NET_DSA_TAG_RZN1_A5PSW is not set
# CONFIG_NET_DSA_TAG_LAN9303 is not set
# CONFIG_NET_DSA_TAG_SJA1105 is not set
# CONFIG_NET_DSA_TAG_TRAILER is not set
# CONFIG_NET_DSA_TAG_VSC73XX_8021Q is not set
# CONFIG_NET_DSA_TAG_XRS700X is not set
# CONFIG_NET_DSA_TAG_YT921X is not set
CONFIG_VLAN_8021Q=y
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q_MVRP=y
CONFIG_LLC=y
CONFIG_LLC2=y
# CONFIG_ATALK is not set
CONFIG_X25=y
CONFIG_LAPB=y
CONFIG_PHONET=y
CONFIG_6LOWPAN=y
# CONFIG_6LOWPAN_DEBUGFS is not set
CONFIG_6LOWPAN_NHC=y
CONFIG_6LOWPAN_NHC_DEST=y
CONFIG_6LOWPAN_NHC_FRAGMENT=y
CONFIG_6LOWPAN_NHC_HOP=y
CONFIG_6LOWPAN_NHC_IPV6=y
CONFIG_6LOWPAN_NHC_MOBILITY=y
CONFIG_6LOWPAN_NHC_ROUTING=y
CONFIG_6LOWPAN_NHC_UDP=y
CONFIG_6LOWPAN_GHC_EXT_HDR_HOP=y
CONFIG_6LOWPAN_GHC_UDP=y
CONFIG_6LOWPAN_GHC_ICMPV6=y
CONFIG_6LOWPAN_GHC_EXT_HDR_DEST=y
CONFIG_6LOWPAN_GHC_EXT_HDR_FRAG=y
CONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE=y
CONFIG_IEEE802154=y
CONFIG_IEEE802154_NL802154_EXPERIMENTAL=y
CONFIG_IEEE802154_SOCKET=y
CONFIG_IEEE802154_6LOWPAN=y
CONFIG_MAC802154=y
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
CONFIG_NET_SCH_HTB=y
CONFIG_NET_SCH_HFSC=y
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_MULTIQ=y
CONFIG_NET_SCH_RED=y
CONFIG_NET_SCH_SFB=y
CONFIG_NET_SCH_SFQ=y
CONFIG_NET_SCH_TEQL=y
CONFIG_NET_SCH_TBF=y
CONFIG_NET_SCH_CBS=y
CONFIG_NET_SCH_ETF=y
CONFIG_NET_SCH_MQPRIO_LIB=y
CONFIG_NET_SCH_TAPRIO=y
CONFIG_NET_SCH_GRED=y
CONFIG_NET_SCH_NETEM=y
CONFIG_NET_SCH_DRR=y
CONFIG_NET_SCH_MQPRIO=y
CONFIG_NET_SCH_SKBPRIO=y
CONFIG_NET_SCH_CHOKE=y
CONFIG_NET_SCH_QFQ=y
CONFIG_NET_SCH_CODEL=y
CONFIG_NET_SCH_FQ_CODEL=y
CONFIG_NET_SCH_CAKE=y
CONFIG_NET_SCH_FQ=y
CONFIG_NET_SCH_HHF=y
CONFIG_NET_SCH_PIE=y
CONFIG_NET_SCH_FQ_PIE=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_SCH_PLUG=y
CONFIG_NET_SCH_ETS=y
# CONFIG_NET_SCH_DUALPI2 is not set
CONFIG_NET_SCH_DEFAULT=y
# CONFIG_DEFAULT_FQ is not set
CONFIG_DEFAULT_CODEL=y
# CONFIG_DEFAULT_FQ_CODEL is not set
# CONFIG_DEFAULT_FQ_PIE is not set
# CONFIG_DEFAULT_SFQ is not set
# CONFIG_DEFAULT_PFIFO_FAST is not set
CONFIG_DEFAULT_NET_SCH="pfifo_fast"

#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=y
CONFIG_NET_CLS_ROUTE4=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_U32=y
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_FLOW=y
CONFIG_NET_CLS_CGROUP=y
CONFIG_NET_CLS_BPF=y
CONFIG_NET_CLS_FLOWER=y
CONFIG_NET_CLS_MATCHALL=y
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
CONFIG_NET_EMATCH_CMP=y
CONFIG_NET_EMATCH_NBYTE=y
CONFIG_NET_EMATCH_U32=y
CONFIG_NET_EMATCH_META=y
CONFIG_NET_EMATCH_TEXT=y
CONFIG_NET_EMATCH_CANID=y
CONFIG_NET_EMATCH_IPSET=y
CONFIG_NET_EMATCH_IPT=y
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=y
CONFIG_NET_ACT_GACT=y
CONFIG_GACT_PROB=y
CONFIG_NET_ACT_MIRRED=y
CONFIG_NET_ACT_SAMPLE=y
CONFIG_NET_ACT_NAT=y
CONFIG_NET_ACT_PEDIT=y
CONFIG_NET_ACT_SIMP=y
CONFIG_NET_ACT_SKBEDIT=y
CONFIG_NET_ACT_CSUM=y
CONFIG_NET_ACT_MPLS=y
CONFIG_NET_ACT_VLAN=y
CONFIG_NET_ACT_BPF=y
CONFIG_NET_ACT_CONNMARK=y
CONFIG_NET_ACT_CTINFO=y
CONFIG_NET_ACT_SKBMOD=y
CONFIG_NET_ACT_IFE=y
CONFIG_NET_ACT_TUNNEL_KEY=y
CONFIG_NET_ACT_CT=y
CONFIG_NET_ACT_GATE=y
CONFIG_NET_IFE_SKBMARK=y
CONFIG_NET_IFE_SKBPRIO=y
CONFIG_NET_IFE_SKBTCINDEX=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_SCH_FIFO=y
CONFIG_DCB=y
CONFIG_DNS_RESOLVER=y
CONFIG_BATMAN_ADV=y
CONFIG_BATMAN_ADV_BATMAN_V=y
CONFIG_BATMAN_ADV_BLA=y
CONFIG_BATMAN_ADV_DAT=y
CONFIG_BATMAN_ADV_MCAST=y
# CONFIG_BATMAN_ADV_DEBUG is not set
# CONFIG_BATMAN_ADV_TRACING is not set
CONFIG_OPENVSWITCH=y
CONFIG_OPENVSWITCH_GRE=y
CONFIG_OPENVSWITCH_VXLAN=y
CONFIG_OPENVSWITCH_GENEVE=y
CONFIG_VSOCKETS=y
CONFIG_VSOCKETS_DIAG=y
CONFIG_VSOCKETS_LOOPBACK=y
# CONFIG_VMWARE_VMCI_VSOCKETS is not set
CONFIG_VIRTIO_VSOCKETS=y
CONFIG_VIRTIO_VSOCKETS_COMMON=y
CONFIG_NETLINK_DIAG=y
CONFIG_MPLS=y
CONFIG_NET_MPLS_GSO=y
CONFIG_MPLS_ROUTING=y
CONFIG_MPLS_IPTUNNEL=y
CONFIG_NET_NSH=y
CONFIG_HSR=y
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_L3_MASTER_DEV=y
CONFIG_QRTR=y
CONFIG_QRTR_TUN=y
# CONFIG_QRTR_MHI is not set
CONFIG_NET_NCSI=y
# CONFIG_NCSI_OEM_CMD_GET_MAC is not set
# CONFIG_NCSI_OEM_CMD_KEEP_PHY is not set
# CONFIG_PCPU_DEV_REFCNT is not set
CONFIG_MAX_SKB_FRAGS=17
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_SOCK_RX_QUEUE_MAPPING=y
CONFIG_XPS=y
CONFIG_CGROUP_NET_PRIO=y
CONFIG_CGROUP_NET_CLASSID=y
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NET_DROP_MONITOR=y
# end of Network testing
# end of Networking options

CONFIG_HAMRADIO=y

#
# Packet Radio protocols
#
CONFIG_AX25=y
CONFIG_AX25_DAMA_SLAVE=y
CONFIG_NETROM=y
CONFIG_ROSE=y

#
# AX.25 network device drivers
#
CONFIG_MKISS=y
CONFIG_6PACK=y
CONFIG_BPQETHER=y
# CONFIG_BAYCOM_SER_FDX is not set
# CONFIG_BAYCOM_SER_HDX is not set
# CONFIG_BAYCOM_PAR is not set
# CONFIG_YAM is not set
# end of AX.25 network device drivers

CONFIG_CAN=y
CONFIG_CAN_RAW=y
CONFIG_CAN_BCM=y
CONFIG_CAN_GW=y
CONFIG_CAN_J1939=y
CONFIG_CAN_ISOTP=y
CONFIG_BT=y
CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
CONFIG_BT_LE=y
CONFIG_BT_LE_L2CAP_ECRED=y
CONFIG_BT_6LOWPAN=y
CONFIG_BT_LEDS=y
CONFIG_BT_MSFTEXT=y
# CONFIG_BT_AOSPEXT is not set
# CONFIG_BT_DEBUGFS is not set
# CONFIG_BT_SELFTEST is not set
# CONFIG_BT_FEATURE_DEBUG is not set

#
# Bluetooth device drivers
#
CONFIG_BT_INTEL=y
CONFIG_BT_BCM=y
CONFIG_BT_RTL=y
CONFIG_BT_QCA=y
CONFIG_BT_MTK=y
CONFIG_BT_HCIBTUSB=y
CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y
CONFIG_BT_HCIBTUSB_POLL_SYNC=y
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_MTK=y
CONFIG_BT_HCIBTUSB_RTL=y
# CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_SERDEV=y
CONFIG_BT_HCIUART_H4=y
# CONFIG_BT_HCIUART_NOKIA is not set
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIUART_3WIRE=y
# CONFIG_BT_HCIUART_INTEL is not set
# CONFIG_BT_HCIUART_BCM is not set
# CONFIG_BT_HCIUART_RTL is not set
CONFIG_BT_HCIUART_QCA=y
CONFIG_BT_HCIUART_AG6XX=y
CONFIG_BT_HCIUART_MRVL=y
# CONFIG_BT_HCIUART_AML is not set
CONFIG_BT_HCIBCM203X=y
# CONFIG_BT_HCIBCM4377 is not set
CONFIG_BT_HCIBPA10X=y
CONFIG_BT_HCIBFUSB=y
# CONFIG_BT_HCIDTL1 is not set
# CONFIG_BT_HCIBT3C is not set
# CONFIG_BT_HCIBLUECARD is not set
CONFIG_BT_HCIVHCI=y
CONFIG_BT_MRVL=y
CONFIG_BT_MRVL_SDIO=y
CONFIG_BT_ATH3K=y
CONFIG_BT_MTKSDIO=y
CONFIG_BT_MTKUART=y
# CONFIG_BT_VIRTIO is not set
# CONFIG_BT_NXPUART is not set
# CONFIG_BT_INTEL_PCIE is not set
# end of Bluetooth device drivers

CONFIG_AF_RXRPC=y
CONFIG_AF_RXRPC_IPV6=y
# CONFIG_AF_RXRPC_INJECT_LOSS is not set
# CONFIG_AF_RXRPC_INJECT_RX_DELAY is not set
# CONFIG_AF_RXRPC_DEBUG is not set
CONFIG_RXKAD=y
# CONFIG_RXGK is not set
# CONFIG_RXPERF is not set
CONFIG_AF_KCM=y
CONFIG_STREAM_PARSER=y
CONFIG_MCTP=y
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEBUGFS=y
CONFIG_CFG80211_CRDA_SUPPORT=y
CONFIG_CFG80211_WEXT=y
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
CONFIG_MAC80211_MESH=y
CONFIG_MAC80211_LEDS=y
CONFIG_MAC80211_DEBUGFS=y
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
CONFIG_RFKILL=y
CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
# CONFIG_RFKILL_GPIO is not set
CONFIG_NET_9P=y
CONFIG_NET_9P_FD=y
CONFIG_NET_9P_VIRTIO=y
# CONFIG_NET_9P_USBG is not set
CONFIG_NET_9P_RDMA=y
# CONFIG_NET_9P_DEBUG is not set
CONFIG_CAIF=y
CONFIG_CAIF_DEBUG=y
CONFIG_CAIF_NETDEV=y
CONFIG_CAIF_USB=y
CONFIG_CEPH_LIB=y
# CONFIG_CEPH_LIB_PRETTYDEBUG is not set
CONFIG_CEPH_LIB_USE_DNS_RESOLVER=y
CONFIG_NFC=y
CONFIG_NFC_DIGITAL=y
CONFIG_NFC_NCI=y
# CONFIG_NFC_NCI_SPI is not set
CONFIG_NFC_NCI_UART=y
CONFIG_NFC_HCI=y
CONFIG_NFC_SHDLC=y

#
# Near Field Communication (NFC) devices
#
# CONFIG_NFC_TRF7970A is not set
# CONFIG_NFC_MEI_PHY is not set
CONFIG_NFC_SIM=y
CONFIG_NFC_PORT100=y
CONFIG_NFC_VIRTUAL_NCI=y
CONFIG_NFC_FDP=y
# CONFIG_NFC_FDP_I2C is not set
# CONFIG_NFC_PN544_I2C is not set
CONFIG_NFC_PN533=y
CONFIG_NFC_PN533_USB=y
# CONFIG_NFC_PN533_I2C is not set
# CONFIG_NFC_PN532_UART is not set
# CONFIG_NFC_MICROREAD_I2C is not set
CONFIG_NFC_MRVL=y
CONFIG_NFC_MRVL_USB=y
# CONFIG_NFC_MRVL_UART is not set
# CONFIG_NFC_MRVL_I2C is not set
# CONFIG_NFC_ST21NFCA_I2C is not set
# CONFIG_NFC_ST_NCI_I2C is not set
# CONFIG_NFC_ST_NCI_SPI is not set
# CONFIG_NFC_NXP_NCI is not set
# CONFIG_NFC_S3FWRN5_I2C is not set
# CONFIG_NFC_S3FWRN82_UART is not set
# CONFIG_NFC_ST95HF is not set
# end of Near Field Communication (NFC) devices

CONFIG_PSAMPLE=y
CONFIG_NET_IFE=y
CONFIG_LWTUNNEL=y
CONFIG_LWTUNNEL_BPF=y
CONFIG_DST_CACHE=y
CONFIG_GRO_CELLS=y
CONFIG_SOCK_VALIDATE_XMIT=y
CONFIG_NET_SELFTESTS=y
CONFIG_NET_SOCK_MSG=y
CONFIG_NET_DEVLINK=y
CONFIG_PAGE_POOL=y
# CONFIG_PAGE_POOL_STATS is not set
CONFIG_FAILOVER=y
CONFIG_ETHTOOL_NETLINK=y

#
# Device Drivers
#
CONFIG_HAVE_PCI=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIEAER_INJECT is not set
# CONFIG_PCIE_ECRC is not set
CONFIG_PCIEASPM=y
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIE_PME=y
# CONFIG_PCIE_DPC is not set
# CONFIG_PCIE_PTM is not set
CONFIG_PCI_MSI=y
CONFIG_PCI_QUIRKS=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not set
# CONFIG_PCI_PF_STUB is not set
CONFIG_PCI_ATS=y
# CONFIG_PCI_TSM is not set
# CONFIG_PCI_DOE is not set
CONFIG_PCI_ECAM=y
CONFIG_PCI_LOCKLESS_CONFIG=y
CONFIG_PCI_IOV=y
# CONFIG_PCI_NPEM is not set
CONFIG_PCI_PRI=y
CONFIG_PCI_PASID=y
# CONFIG_PCIE_TPH is not set
# CONFIG_PCI_P2PDMA is not set
CONFIG_PCI_LABEL=y
# CONFIG_PCI_DYNAMIC_OF_NODES is not set
# CONFIG_PCIE_BUS_TUNE_OFF is not set
CONFIG_PCIE_BUS_DEFAULT=y
# CONFIG_PCIE_BUS_SAFE is not set
# CONFIG_PCIE_BUS_PERFORMANCE is not set
# CONFIG_PCIE_BUS_PEER2PEER is not set
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_OCTEONEP is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

#
# PCI controller drivers
#
CONFIG_PCI_HOST_COMMON=y
# CONFIG_PCI_FTPCI100 is not set
CONFIG_PCI_HOST_GENERIC=y
# CONFIG_VMD is not set
# CONFIG_PCIE_XILINX is not set

#
# Cadence-based PCIe controllers
#
# CONFIG_PCIE_CADENCE_PLAT_HOST is not set
# CONFIG_PCIE_CADENCE_PLAT_EP is not set
# end of Cadence-based PCIe controllers

#
# DesignWare-based PCIe controllers
#
# CONFIG_PCI_MESON is not set
# CONFIG_PCIE_INTEL_GW is not set
# CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_PCIE_DW_PLAT_EP is not set
# end of DesignWare-based PCIe controllers

#
# Mobiveil-based PCIe controllers
#
# end of Mobiveil-based PCIe controllers

#
# PLDA-based PCIe controllers
#
# CONFIG_PCIE_MICROCHIP_HOST is not set
# end of PLDA-based PCIe controllers
# end of PCI controller drivers

#
# PCI Endpoint
#
CONFIG_PCI_ENDPOINT=y
# CONFIG_PCI_ENDPOINT_CONFIGFS is not set
# CONFIG_PCI_ENDPOINT_MSI_DOORBELL is not set
# CONFIG_PCI_EPF_TEST is not set
# CONFIG_PCI_EPF_NTB is not set
# end of PCI Endpoint

#
# PCI switch controller drivers
#
# CONFIG_PCI_SW_SWITCHTEC is not set
# end of PCI switch controller drivers

# CONFIG_PCI_PWRCTRL_SLOT is not set
# CONFIG_PCI_PWRCTRL_TC9563 is not set
# CONFIG_CXL_BUS is not set
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_CARDBUS=y

#
# PC-card bridges
#
CONFIG_YENTA=y
CONFIG_YENTA_O2=y
CONFIG_YENTA_RICOH=y
CONFIG_YENTA_TI=y
CONFIG_YENTA_ENE_TUNE=y
CONFIG_YENTA_TOSHIBA=y
# CONFIG_PD6729 is not set
# CONFIG_I82092 is not set
CONFIG_PCCARD_NONSTATIC=y
# CONFIG_RAPIDIO is not set
# CONFIG_PC104 is not set

#
# Generic Driver Options
#
CONFIG_AUXILIARY_BUS=y
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_DEVTMPFS_SAFE is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y

#
# Firmware loader
#
CONFIG_FW_LOADER=y
CONFIG_FW_LOADER_PAGED_BUF=y
CONFIG_FW_LOADER_SYSFS=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
CONFIG_FW_LOADER_COMPRESS=y
# CONFIG_FW_LOADER_COMPRESS_XZ is not set
# CONFIG_FW_LOADER_COMPRESS_ZSTD is not set
CONFIG_FW_CACHE=y
# CONFIG_FW_UPLOAD is not set
# end of Firmware loader

CONFIG_WANT_DEV_COREDUMP=y
CONFIG_ALLOW_DEV_COREDUMP=y
CONFIG_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
CONFIG_DEBUG_DEVRES=y
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set
CONFIG_GENERIC_CPU_DEVICES=y
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_SPI=y
CONFIG_REGMAP_MMIO=y
CONFIG_REGMAP_IRQ=y
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_DMA_FENCE_TRACE is not set
# CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT is not set
# end of Generic Driver Options

#
# Bus devices
#
# CONFIG_MOXTET is not set
CONFIG_MHI_BUS=y
# CONFIG_MHI_BUS_DEBUG is not set
# CONFIG_MHI_BUS_PCI_GENERIC is not set
# CONFIG_MHI_BUS_EP is not set
# end of Bus devices

CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y

#
# Firmware Drivers
#

#
# ARM System Control and Management Interface Protocol
#
# end of ARM System Control and Management Interface Protocol

# CONFIG_EDD is not set
CONFIG_FIRMWARE_MEMMAP=y
CONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not set
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# CONFIG_ISCSI_IBFT is not set
# CONFIG_FW_CFG_SYSFS is not set
CONFIG_SYSFB=y
# CONFIG_SYSFB_SIMPLEFB is not set
CONFIG_GOOGLE_FIRMWARE=y
# CONFIG_GOOGLE_SMI is not set
# CONFIG_GOOGLE_CBMEM is not set
CONFIG_GOOGLE_COREBOOT_TABLE=y
CONFIG_GOOGLE_MEMCONSOLE=y
# CONFIG_GOOGLE_MEMCONSOLE_X86_LEGACY is not set
# CONFIG_GOOGLE_FRAMEBUFFER_COREBOOT is not set
CONFIG_GOOGLE_MEMCONSOLE_COREBOOT=y
CONFIG_GOOGLE_VPD=y

#
# Qualcomm firmware drivers
#
# end of Qualcomm firmware drivers

#
# Tegra firmware driver
#
# end of Tegra firmware driver
# end of Firmware Drivers

# CONFIG_FWCTL is not set
CONFIG_GNSS=y
# CONFIG_GNSS_MTK_SERIAL is not set
# CONFIG_GNSS_SIRF_SERIAL is not set
# CONFIG_GNSS_UBX_SERIAL is not set
CONFIG_GNSS_USB=y
# CONFIG_MTD is not set
CONFIG_DTC=y
CONFIG_OF=y
# CONFIG_OF_UNITTEST is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_KOBJ=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_RESERVED_MEM=y
# CONFIG_OF_OVERLAY is not set
CONFIG_OF_NUMA=y
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_PARPORT_1284 is not set
CONFIG_PARPORT_NOT_PC=y
CONFIG_PNP=y
CONFIG_PNP_DEBUG_MESSAGES=y

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_NULL_BLK=y
CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=y
# CONFIG_BLK_DEV_FD is not set
CONFIG_CDROM=y
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
CONFIG_ZRAM=y
# CONFIG_ZRAM_BACKEND_LZ4 is not set
# CONFIG_ZRAM_BACKEND_LZ4HC is not set
# CONFIG_ZRAM_BACKEND_ZSTD is not set
# CONFIG_ZRAM_BACKEND_DEFLATE is not set
# CONFIG_ZRAM_BACKEND_842 is not set
CONFIG_ZRAM_BACKEND_FORCE_LZO=y
CONFIG_ZRAM_BACKEND_LZO=y
# CONFIG_ZRAM_DEF_COMP_LZORLE is not set
CONFIG_ZRAM_DEF_COMP_LZO=y
CONFIG_ZRAM_DEF_COMP="lzo"
# CONFIG_ZRAM_WRITEBACK is not set
# CONFIG_ZRAM_TRACK_ENTRY_ACTIME is not set
# CONFIG_ZRAM_MEMORY_TRACKING is not set
# CONFIG_ZRAM_MULTI_COMP is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=16
# CONFIG_BLK_DEV_DRBD is not set
CONFIG_BLK_DEV_NBD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_ATA_OVER_ETH=y
CONFIG_VIRTIO_BLK=y
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_BLK_DEV_UBLK is not set
CONFIG_BLK_DEV_RNBD=y
CONFIG_BLK_DEV_RNBD_CLIENT=y
# CONFIG_BLK_DEV_ZONED_LOOP is not set

#
# NVME Support
#
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_MULTIPATH=y
# CONFIG_NVME_VERBOSE_ERRORS is not set
# CONFIG_NVME_HWMON is not set
CONFIG_NVME_FABRICS=y
CONFIG_NVME_RDMA=y
CONFIG_NVME_FC=y
CONFIG_NVME_TCP=y
# CONFIG_NVME_TCP_TLS is not set
# CONFIG_NVME_HOST_AUTH is not set
CONFIG_NVME_TARGET=y
# CONFIG_NVME_TARGET_DEBUGFS is not set
# CONFIG_NVME_TARGET_PASSTHRU is not set
CONFIG_NVME_TARGET_LOOP=y
CONFIG_NVME_TARGET_RDMA=y
CONFIG_NVME_TARGET_FC=y
CONFIG_NVME_TARGET_FCLOOP=y
CONFIG_NVME_TARGET_TCP=y
# CONFIG_NVME_TARGET_TCP_TLS is not set
# CONFIG_NVME_TARGET_AUTH is not set
# CONFIG_NVME_TARGET_PCI_EPF is not set
# end of NVME Support

#
# Misc devices
#
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_RPMB is not set
# CONFIG_TI_FPC202 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_VMWARE_BALLOON is not set
# CONFIG_LATTICE_ECP3_CONFIG is not set
# CONFIG_SRAM is not set
# CONFIG_DW_XDATA_PCIE is not set
# CONFIG_PCI_ENDPOINT_TEST is not set
# CONFIG_XILINX_SDFEC is not set
CONFIG_MISC_RTSX=y
# CONFIG_HISI_HIKEY_USB is not set
# CONFIG_OPEN_DICE is not set
# CONFIG_NTSYNC is not set
# CONFIG_VCPU_STALL_DETECTOR is not set
# CONFIG_NSM is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_MAX6875 is not set
CONFIG_EEPROM_93CX6=y
# CONFIG_EEPROM_93XX46 is not set
# CONFIG_EEPROM_IDT_89HPESX is not set
# CONFIG_EEPROM_EE1004 is not set
# CONFIG_EEPROM_M24LR is not set
# end of EEPROM support

# CONFIG_CB710_CORE is not set
# CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_ALTERA_STAPL is not set
CONFIG_INTEL_MEI=y
CONFIG_INTEL_MEI_ME=y
# CONFIG_INTEL_MEI_TXE is not set
# CONFIG_INTEL_MEI_GSC is not set
# CONFIG_INTEL_MEI_VSC_HW is not set
# CONFIG_INTEL_MEI_HDCP is not set
# CONFIG_INTEL_MEI_PXP is not set
# CONFIG_INTEL_MEI_GSC_PROXY is not set
CONFIG_VMWARE_VMCI=y
# CONFIG_GENWQE is not set
# CONFIG_BCM_VK is not set
# CONFIG_MISC_ALCOR_PCI is not set
# CONFIG_MISC_RTSX_PCI is not set
CONFIG_MISC_RTSX_USB=y
# CONFIG_UACCE is not set
# CONFIG_PVPANIC is not set
# CONFIG_GP_PCI1XXXX is not set
# CONFIG_KEBA_CP500 is not set
# end of Misc devices

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
CONFIG_RAID_ATTRS=y
CONFIG_SCSI_COMMON=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
CONFIG_CHR_DEV_SG=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_ISCSI_ATTRS=y
CONFIG_SCSI_SAS_ATTRS=y
CONFIG_SCSI_SAS_LIBSAS=y
CONFIG_SCSI_SAS_ATA=y
# CONFIG_SCSI_SAS_HOST_SMP is not set
CONFIG_SCSI_SRP_ATTRS=y
# end of SCSI Transports

CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_CXGB3_ISCSI is not set
# CONFIG_SCSI_CXGB4_ISCSI is not set
# CONFIG_SCSI_BNX2_ISCSI is not set
# CONFIG_BE2ISCSI is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
CONFIG_SCSI_HPSA=y
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_3W_SAS is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_MVUMI is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_SCSI_ESAS2R is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_MPT3SAS is not set
# CONFIG_SCSI_MPT2SAS is not set
# CONFIG_SCSI_MPI3MR is not set
# CONFIG_SCSI_SMARTPQI is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_MYRB is not set
# CONFIG_SCSI_MYRS is not set
# CONFIG_VMWARE_PVSCSI is not set
# CONFIG_LIBFC is not set
# CONFIG_SCSI_SNIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_FDOMAIN_PCI is not set
# CONFIG_SCSI_ISCI is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_EFCT is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_WD719X is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
# CONFIG_SCSI_BFA_FC is not set
CONFIG_SCSI_VIRTIO=y
# CONFIG_SCSI_CHELSIO_FCOE is not set
# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
# CONFIG_SCSI_DH is not set
# end of SCSI device support

CONFIG_ATA=y
CONFIG_SATA_HOST=y
CONFIG_PATA_TIMINGS=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_FORCE=y
CONFIG_ATA_ACPI=y
# CONFIG_SATA_ZPODD is not set
CONFIG_SATA_PMP=y

#
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=y
CONFIG_SATA_MOBILE_LPM_POLICY=3
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_AHCI_DWC is not set
# CONFIG_AHCI_CEVA is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y

#
# SATA SFF controllers with BMDMA
#
CONFIG_ATA_PIIX=y
# CONFIG_SATA_DWC is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set

#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
CONFIG_PATA_AMD=y
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
CONFIG_PATA_OLDPIIX=y
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
CONFIG_PATA_SCH=y
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PCMCIA is not set
# CONFIG_PATA_OF_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set

#
# Generic fallback / legacy drivers
#
# CONFIG_PATA_ACPI is not set
CONFIG_ATA_GENERIC=y
# CONFIG_PATA_LEGACY is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_BITMAP=y
# CONFIG_MD_LLBITMAP is not set
CONFIG_MD_AUTODETECT=y
CONFIG_MD_BITMAP_FILE=y
# CONFIG_MD_LINEAR is not set
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID10=y
CONFIG_MD_RAID456=y
# CONFIG_MD_CLUSTER is not set
CONFIG_BCACHE=y
# CONFIG_BCACHE_DEBUG is not set
# CONFIG_BCACHE_ASYNC_REGISTRATION is not set
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_BUFIO=y
# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set
CONFIG_DM_BIO_PRISON=y
CONFIG_DM_PERSISTENT_DATA=y
# CONFIG_DM_UNSTRIPED is not set
CONFIG_DM_CRYPT=y
CONFIG_DM_SNAPSHOT=y
CONFIG_DM_THIN_PROVISIONING=y
CONFIG_DM_CACHE=y
CONFIG_DM_CACHE_SMQ=y
CONFIG_DM_WRITECACHE=y
# CONFIG_DM_EBS is not set
# CONFIG_DM_ERA is not set
CONFIG_DM_CLONE=y
CONFIG_DM_MIRROR=y
# CONFIG_DM_LOG_USERSPACE is not set
CONFIG_DM_RAID=y
CONFIG_DM_ZERO=y
CONFIG_DM_MULTIPATH=y
CONFIG_DM_MULTIPATH_QL=y
CONFIG_DM_MULTIPATH_ST=y
# CONFIG_DM_MULTIPATH_HST is not set
# CONFIG_DM_MULTIPATH_IOA is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_DUST is not set
# CONFIG_DM_INIT is not set
CONFIG_DM_UEVENT=y
CONFIG_DM_FLAKEY=y
CONFIG_DM_VERITY=y
# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set
CONFIG_DM_VERITY_FEC=y
# CONFIG_DM_SWITCH is not set
# CONFIG_DM_LOG_WRITES is not set
CONFIG_DM_INTEGRITY=y
CONFIG_DM_ZONED=y
CONFIG_DM_AUDIT=y
# CONFIG_DM_VDO is not set
# CONFIG_DM_PCACHE is not set
CONFIG_TARGET_CORE=y
# CONFIG_TCM_IBLOCK is not set
# CONFIG_TCM_FILEIO is not set
# CONFIG_TCM_PSCSI is not set
# CONFIG_LOOPBACK_TARGET is not set
# CONFIG_ISCSI_TARGET is not set
# CONFIG_SBP_TARGET is not set
# CONFIG_REMOTE_TARGET is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_FIREWIRE=y
CONFIG_FIREWIRE_OHCI=y
CONFIG_FIREWIRE_SBP2=y
CONFIG_FIREWIRE_NET=y
# CONFIG_FIREWIRE_NOSY is not set
# end of IEEE 1394 (FireWire) support

# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
CONFIG_BONDING=y
CONFIG_DUMMY=y
# CONFIG_WIREGUARD is not set
# CONFIG_OVPN is not set
CONFIG_EQUALIZER=y
CONFIG_NET_FC=y
CONFIG_IFB=y
CONFIG_NET_TEAM=y
CONFIG_NET_TEAM_MODE_BROADCAST=y
CONFIG_NET_TEAM_MODE_ROUNDROBIN=y
CONFIG_NET_TEAM_MODE_RANDOM=y
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=y
CONFIG_NET_TEAM_MODE_LOADBALANCE=y
CONFIG_MACVLAN=y
CONFIG_MACVTAP=y
CONFIG_IPVLAN_L3S=y
CONFIG_IPVLAN=y
CONFIG_IPVTAP=y
CONFIG_VXLAN=y
CONFIG_GENEVE=y
CONFIG_BAREUDP=y
CONFIG_GTP=y
# CONFIG_PFCP is not set
# CONFIG_AMT is not set
CONFIG_MACSEC=y
CONFIG_NETCONSOLE=y
# CONFIG_NETCONSOLE_DYNAMIC is not set
# CONFIG_NETCONSOLE_EXTENDED_LOG is not set
CONFIG_NETPOLL=y
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_TUN=y
CONFIG_TAP=y
CONFIG_TUN_VNET_CROSS_LE=y
CONFIG_VETH=y
CONFIG_VIRTIO_NET=y
CONFIG_NLMON=y
# CONFIG_NETKIT is not set
CONFIG_NET_VRF=y
CONFIG_VSOCKMON=y
# CONFIG_MHI_NET is not set
# CONFIG_ARCNET is not set
CONFIG_ATM_DRIVERS=y
# CONFIG_ATM_DUMMY is not set
CONFIG_ATM_TCP=y
# CONFIG_ATM_LANAI is not set
# CONFIG_ATM_ENI is not set
# CONFIG_ATM_NICSTAR is not set
# CONFIG_ATM_IDT77252 is not set
# CONFIG_ATM_IA is not set
# CONFIG_ATM_FORE200E is not set
# CONFIG_ATM_HE is not set
# CONFIG_ATM_SOLOS is not set
CONFIG_CAIF_DRIVERS=y
CONFIG_CAIF_TTY=y
CONFIG_CAIF_VIRTIO=y

#
# Distributed Switch Architecture drivers
#
# CONFIG_B53 is not set
# CONFIG_NET_DSA_BCM_SF2 is not set
# CONFIG_NET_DSA_LOOP is not set
# CONFIG_NET_DSA_HIRSCHMANN_HELLCREEK is not set
# CONFIG_NET_DSA_LANTIQ_GSWIP is not set
# CONFIG_NET_DSA_MXL_GSW1XX is not set
# CONFIG_NET_DSA_MT7530 is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON is not set
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_AR9331 is not set
# CONFIG_NET_DSA_QCA8K is not set
# CONFIG_NET_DSA_SJA1105 is not set
# CONFIG_NET_DSA_XRS700X_I2C is not set
# CONFIG_NET_DSA_XRS700X_MDIO is not set
# CONFIG_NET_DSA_REALTEK is not set
# CONFIG_NET_DSA_KS8995 is not set
# CONFIG_NET_DSA_SMSC_LAN9303_I2C is not set
# CONFIG_NET_DSA_SMSC_LAN9303_MDIO is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_SPI is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_PLATFORM is not set
# CONFIG_NET_DSA_YT921X is not set
# end of Distributed Switch Architecture drivers

CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
# CONFIG_NET_VENDOR_ALACRITECH is not set
CONFIG_NET_VENDOR_ALTEON=y
# CONFIG_ACENIC is not set
# CONFIG_ALTERA_TSE is not set
CONFIG_NET_VENDOR_AMAZON=y
# CONFIG_ENA_ETHERNET is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_AQUANTIA is not set
# CONFIG_NET_VENDOR_ARC is not set
CONFIG_NET_VENDOR_ASIX=y
# CONFIG_SPI_AX88796C is not set
# CONFIG_NET_VENDOR_ATHEROS is not set
# CONFIG_CX_ECAT is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_CADENCE is not set
# CONFIG_NET_VENDOR_CAVIUM is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
CONFIG_NET_VENDOR_CISCO=y
# CONFIG_ENIC is not set
# CONFIG_NET_VENDOR_CORTINA is not set
CONFIG_NET_VENDOR_DAVICOM=y
# CONFIG_DM9051 is not set
# CONFIG_DNET is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
CONFIG_NET_VENDOR_ENGLEDER=y
# CONFIG_TSNEP is not set
# CONFIG_NET_VENDOR_EZCHIP is not set
# CONFIG_NET_VENDOR_FUJITSU is not set
CONFIG_NET_VENDOR_FUNGIBLE=y
# CONFIG_FUN_ETH is not set
CONFIG_NET_VENDOR_GOOGLE=y
CONFIG_GVE=y
CONFIG_NET_VENDOR_HISILICON=y
# CONFIG_HIBMCGE is not set
# CONFIG_NET_VENDOR_HUAWEI is not set
CONFIG_NET_VENDOR_I825XX=y
CONFIG_NET_VENDOR_INTEL=y
CONFIG_E100=y
CONFIG_E1000=y
CONFIG_E1000E=y
CONFIG_E1000E_HWTS=y
# CONFIG_IGB is not set
# CONFIG_IGBVF is not set
# CONFIG_IXGBE is not set
# CONFIG_IXGBEVF is not set
# CONFIG_I40E is not set
# CONFIG_I40EVF is not set
# CONFIG_ICE is not set
# CONFIG_FM10K is not set
# CONFIG_IGC is not set
# CONFIG_IDPF is not set
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_ADI is not set
CONFIG_NET_VENDOR_LITEX=y
# CONFIG_LITEX_LITEETH is not set
# CONFIG_NET_VENDOR_MARVELL is not set
CONFIG_NET_VENDOR_MELLANOX=y
# CONFIG_MLX4_EN is not set
CONFIG_MLX4_CORE=y
# CONFIG_MLX4_DEBUG is not set
# CONFIG_MLX4_CORE_GEN2 is not set
# CONFIG_MLX5_CORE is not set
# CONFIG_MLXSW_CORE is not set
# CONFIG_MLXFW is not set
CONFIG_NET_VENDOR_META=y
# CONFIG_FBNIC is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MICROCHIP is not set
# CONFIG_NET_VENDOR_MICROSEMI is not set
CONFIG_NET_VENDOR_MICROSOFT=y
CONFIG_NET_VENDOR_MUCSE=y
# CONFIG_MGBE is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NI is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_NETERION is not set
# CONFIG_NET_VENDOR_NETRONOME is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_VENDOR_PACKET_ENGINES is not set
# CONFIG_NET_VENDOR_PENSANDO is not set
# CONFIG_NET_VENDOR_QLOGIC is not set
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_VENDOR_QUALCOMM is not set
# CONFIG_NET_VENDOR_RDC is not set
# CONFIG_NET_VENDOR_REALTEK is not set
# CONFIG_NET_VENDOR_RENESAS is not set
# CONFIG_NET_VENDOR_ROCKER is not set
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_NET_VENDOR_SOLARFLARE is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_SOCIONEXT is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_SYNOPSYS is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
CONFIG_NET_VENDOR_VERTEXCOM=y
# CONFIG_MSE102X is not set
# CONFIG_NET_VENDOR_VIA is not set
CONFIG_NET_VENDOR_WANGXUN=y
# CONFIG_NGBE is not set
# CONFIG_TXGBE is not set
# CONFIG_TXGBEVF is not set
# CONFIG_NGBEVF is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_NET_VENDOR_XILINX is not set
# CONFIG_NET_VENDOR_XIRCOM is not set
CONFIG_FDDI=y
# CONFIG_DEFXX is not set
# CONFIG_SKFP is not set
# CONFIG_HIPPI is not set
CONFIG_MDIO_BUS=y
CONFIG_PHYLINK=y
CONFIG_PHYLIB=y
CONFIG_SWPHY=y
# CONFIG_LED_TRIGGER_PHY is not set
CONFIG_PHYLIB_LEDS=y
CONFIG_FIXED_PHY=y
# CONFIG_SFP is not set

#
# MII PHY device drivers
#
# CONFIG_AS21XXX_PHY is not set
# CONFIG_AIR_EN8811H_PHY is not set
# CONFIG_AMD_PHY is not set
# CONFIG_ADIN_PHY is not set
# CONFIG_ADIN1100_PHY is not set
# CONFIG_AQUANTIA_PHY is not set
CONFIG_AX88796B_PHY=y
# CONFIG_BROADCOM_PHY is not set
# CONFIG_BCM54140_PHY is not set
# CONFIG_BCM7XXX_PHY is not set
# CONFIG_BCM84881_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_CORTINA_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_INTEL_XWAY_PHY is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_MARVELL_10G_PHY is not set
# CONFIG_MARVELL_88Q2XXX_PHY is not set
# CONFIG_MARVELL_88X2222_PHY is not set
# CONFIG_MAXLINEAR_GPHY is not set
# CONFIG_MAXLINEAR_86110_PHY is not set
# CONFIG_MEDIATEK_GE_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_MICROCHIP_T1S_PHY is not set
CONFIG_MICROCHIP_PHY=y
# CONFIG_MICROCHIP_T1_PHY is not set
# CONFIG_MICROSEMI_PHY is not set
# CONFIG_MOTORCOMM_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_NXP_CBTX_PHY is not set
# CONFIG_NXP_C45_TJA11XX_PHY is not set
# CONFIG_NXP_TJA11XX_PHY is not set
# CONFIG_NCN26000_PHY is not set
# CONFIG_AT803X_PHY is not set
# CONFIG_QCA83XX_PHY is not set
# CONFIG_QCA808X_PHY is not set
# CONFIG_QCA807X_PHY is not set
# CONFIG_QSEMI_PHY is not set
CONFIG_REALTEK_PHY=y
# CONFIG_REALTEK_PHY_HWMON is not set
# CONFIG_RENESAS_PHY is not set
# CONFIG_ROCKCHIP_PHY is not set
CONFIG_SMSC_PHY=y
# CONFIG_STE10XP is not set
# CONFIG_TERANETICS_PHY is not set
# CONFIG_DP83822_PHY is not set
# CONFIG_DP83TC811_PHY is not set
# CONFIG_DP83848_PHY is not set
# CONFIG_DP83867_PHY is not set
# CONFIG_DP83869_PHY is not set
# CONFIG_DP83TD510_PHY is not set
# CONFIG_DP83TG720_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_XILINX_GMII2RGMII is not set
# CONFIG_PSE_CONTROLLER is not set
CONFIG_CAN_DEV=y
CONFIG_CAN_VCAN=y
CONFIG_CAN_VXCAN=y
CONFIG_CAN_NETLINK=y
CONFIG_CAN_CALC_BITTIMING=y
CONFIG_CAN_RX_OFFLOAD=y
# CONFIG_CAN_CAN327 is not set
# CONFIG_CAN_DUMMY is not set
# CONFIG_CAN_FLEXCAN is not set
# CONFIG_CAN_GRCAN is not set
# CONFIG_CAN_KVASER_PCIEFD is not set
CONFIG_CAN_SLCAN=y
# CONFIG_CAN_C_CAN is not set
# CONFIG_CAN_CC770 is not set
# CONFIG_CAN_CTUCANFD_PCI is not set
# CONFIG_CAN_CTUCANFD_PLATFORM is not set
# CONFIG_CAN_ESD_402_PCI is not set
CONFIG_CAN_IFI_CANFD=y
# CONFIG_CAN_M_CAN is not set
# CONFIG_CAN_PEAK_PCIEFD is not set
# CONFIG_CAN_SJA1000 is not set
# CONFIG_CAN_SOFTING is not set

#
# CAN SPI interfaces
#
# CONFIG_CAN_HI311X is not set
# CONFIG_CAN_MCP251X is not set
# CONFIG_CAN_MCP251XFD is not set
# end of CAN SPI interfaces

#
# CAN USB interfaces
#
CONFIG_CAN_8DEV_USB=y
CONFIG_CAN_EMS_USB=y
CONFIG_CAN_ESD_USB=y
CONFIG_CAN_ETAS_ES58X=y
CONFIG_CAN_F81604=y
CONFIG_CAN_GS_USB=y
CONFIG_CAN_KVASER_USB=y
CONFIG_CAN_MCBA_USB=y
CONFIG_CAN_PEAK_USB=y
CONFIG_CAN_UCAN=y
# end of CAN USB interfaces

# CONFIG_CAN_DEBUG_DEVICES is not set

#
# MCTP Device Drivers
#
# CONFIG_MCTP_SERIAL is not set
# CONFIG_MCTP_TRANSPORT_I2C is not set
# CONFIG_MCTP_TRANSPORT_USB is not set
# end of MCTP Device Drivers

CONFIG_FWNODE_MDIO=y
CONFIG_OF_MDIO=y
CONFIG_ACPI_MDIO=y
# CONFIG_MDIO_BITBANG is not set
# CONFIG_MDIO_BCM_UNIMAC is not set
# CONFIG_MDIO_HISI_FEMAC is not set
CONFIG_MDIO_MVUSB=y
# CONFIG_MDIO_MSCC_MIIM is not set
# CONFIG_MDIO_OCTEON is not set
# CONFIG_MDIO_IPQ4019 is not set
# CONFIG_MDIO_IPQ8064 is not set
# CONFIG_MDIO_THUNDER is not set

#
# MDIO Multiplexers
#
# CONFIG_MDIO_BUS_MUX_GPIO is not set
# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set
# CONFIG_MDIO_BUS_MUX_MMIOREG is not set

#
# PCS device drivers
#
# CONFIG_PCS_XPCS is not set
# end of PCS device drivers

# CONFIG_PLIP is not set
CONFIG_PPP=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_MPPE=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPPOATM=y
CONFIG_PPPOE=y
CONFIG_PPPOE_HASH_BITS_1=y
# CONFIG_PPPOE_HASH_BITS_2 is not set
# CONFIG_PPPOE_HASH_BITS_4 is not set
# CONFIG_PPPOE_HASH_BITS_8 is not set
CONFIG_PPPOE_HASH_BITS=1
CONFIG_PPTP=y
CONFIG_PPPOL2TP=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_SLIP=y
CONFIG_SLHC=y
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
CONFIG_SLIP_MODE_SLIP6=y
CONFIG_USB_NET_DRIVERS=y
CONFIG_USB_CATC=y
CONFIG_USB_KAWETH=y
CONFIG_USB_PEGASUS=y
CONFIG_USB_RTL8150=y
CONFIG_USB_RTL8152=y
CONFIG_USB_LAN78XX=y
CONFIG_USB_USBNET=y
CONFIG_USB_NET_AX8817X=y
CONFIG_USB_NET_AX88179_178A=y
CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_CDC_EEM=y
CONFIG_USB_NET_CDC_NCM=y
CONFIG_USB_NET_HUAWEI_CDC_NCM=y
CONFIG_USB_NET_CDC_MBIM=y
CONFIG_USB_NET_DM9601=y
CONFIG_USB_NET_SR9700=y
CONFIG_USB_NET_SR9800=y
CONFIG_USB_NET_SMSC75XX=y
CONFIG_USB_NET_SMSC95XX=y
CONFIG_USB_NET_GL620A=y
CONFIG_USB_NET_NET1080=y
CONFIG_USB_NET_PLUSB=y
CONFIG_USB_NET_MCS7830=y
CONFIG_USB_NET_RNDIS_HOST=y
CONFIG_USB_NET_CDC_SUBSET_ENABLE=y
CONFIG_USB_NET_CDC_SUBSET=y
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_KC2190=y
CONFIG_USB_NET_ZAURUS=y
CONFIG_USB_NET_CX82310_ETH=y
CONFIG_USB_NET_KALMIA=y
CONFIG_USB_NET_QMI_WWAN=y
CONFIG_USB_HSO=y
CONFIG_USB_NET_INT51X1=y
CONFIG_USB_CDC_PHONET=y
CONFIG_USB_IPHETH=y
CONFIG_USB_SIERRA_NET=y
CONFIG_USB_VL600=y
CONFIG_USB_NET_CH9200=y
CONFIG_USB_NET_AQC111=y
CONFIG_USB_RTL8153_ECM=y
CONFIG_WLAN=y
CONFIG_WLAN_VENDOR_ADMTEK=y
# CONFIG_ADM8211 is not set
CONFIG_ATH_COMMON=y
CONFIG_WLAN_VENDOR_ATH=y
# CONFIG_ATH_DEBUG is not set
# CONFIG_ATH5K is not set
# CONFIG_ATH5K_PCI is not set
CONFIG_ATH9K_HW=y
CONFIG_ATH9K_COMMON=y
CONFIG_ATH9K_COMMON_DEBUG=y
CONFIG_ATH9K_BTCOEX_SUPPORT=y
CONFIG_ATH9K=y
CONFIG_ATH9K_PCI=y
CONFIG_ATH9K_AHB=y
CONFIG_ATH9K_DEBUGFS=y
# CONFIG_ATH9K_STATION_STATISTICS is not set
CONFIG_ATH9K_DYNACK=y
# CONFIG_ATH9K_WOW is not set
CONFIG_ATH9K_RFKILL=y
CONFIG_ATH9K_CHANNEL_CONTEXT=y
CONFIG_ATH9K_PCOEM=y
# CONFIG_ATH9K_PCI_NO_EEPROM is not set
CONFIG_ATH9K_HTC=y
CONFIG_ATH9K_HTC_DEBUGFS=y
# CONFIG_ATH9K_HWRNG is not set
CONFIG_ATH9K_COMMON_SPECTRAL=y
CONFIG_CARL9170=y
CONFIG_CARL9170_LEDS=y
# CONFIG_CARL9170_DEBUGFS is not set
CONFIG_CARL9170_WPC=y
CONFIG_CARL9170_HWRNG=y
CONFIG_ATH6KL=y
# CONFIG_ATH6KL_SDIO is not set
CONFIG_ATH6KL_USB=y
# CONFIG_ATH6KL_DEBUG is not set
# CONFIG_ATH6KL_TRACING is not set
CONFIG_AR5523=y
# CONFIG_WIL6210 is not set
CONFIG_ATH10K=y
CONFIG_ATH10K_CE=y
CONFIG_ATH10K_PCI=y
# CONFIG_ATH10K_AHB is not set
# CONFIG_ATH10K_SDIO is not set
CONFIG_ATH10K_USB=y
# CONFIG_ATH10K_DEBUG is not set
# CONFIG_ATH10K_DEBUGFS is not set
CONFIG_ATH10K_LEDS=y
# CONFIG_ATH10K_TRACING is not set
# CONFIG_WCN36XX is not set
CONFIG_ATH11K=y
# CONFIG_ATH11K_PCI is not set
# CONFIG_ATH11K_DEBUG is not set
# CONFIG_ATH11K_DEBUGFS is not set
# CONFIG_ATH11K_TRACING is not set
# CONFIG_ATH12K is not set
# CONFIG_WLAN_VENDOR_ATMEL is not set
# CONFIG_WLAN_VENDOR_BROADCOM is not set
# CONFIG_WLAN_VENDOR_INTEL is not set
# CONFIG_WLAN_VENDOR_INTERSIL is not set
# CONFIG_WLAN_VENDOR_MARVELL is not set
# CONFIG_WLAN_VENDOR_MEDIATEK is not set
# CONFIG_WLAN_VENDOR_MICROCHIP is not set
CONFIG_WLAN_VENDOR_PURELIFI=y
CONFIG_PLFXLC=y
# CONFIG_WLAN_VENDOR_RALINK is not set
# CONFIG_WLAN_VENDOR_REALTEK is not set
# CONFIG_WLAN_VENDOR_RSI is not set
CONFIG_WLAN_VENDOR_SILABS=y
# CONFIG_WFX is not set
# CONFIG_WLAN_VENDOR_ST is not set
# CONFIG_WLAN_VENDOR_TI is not set
# CONFIG_WLAN_VENDOR_ZYDAS is not set
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
CONFIG_MAC80211_HWSIM=y
CONFIG_VIRT_WIFI=y
CONFIG_WAN=y
CONFIG_HDLC=y
CONFIG_HDLC_RAW=y
CONFIG_HDLC_RAW_ETH=y
CONFIG_HDLC_CISCO=y
CONFIG_HDLC_FR=y
CONFIG_HDLC_PPP=y
CONFIG_HDLC_X25=y
# CONFIG_FRAMER is not set
# CONFIG_PCI200SYN is not set
# CONFIG_WANXL is not set
# CONFIG_PC300TOO is not set
# CONFIG_FARSYNC is not set
CONFIG_LAPBETHER=y
CONFIG_IEEE802154_DRIVERS=y
# CONFIG_IEEE802154_FAKELB is not set
# CONFIG_IEEE802154_AT86RF230 is not set
# CONFIG_IEEE802154_MRF24J40 is not set
# CONFIG_IEEE802154_CC2520 is not set
CONFIG_IEEE802154_ATUSB=y
# CONFIG_IEEE802154_ADF7242 is not set
# CONFIG_IEEE802154_CA8210 is not set
# CONFIG_IEEE802154_MCR20A is not set
CONFIG_IEEE802154_HWSIM=y

#
# Wireless WAN
#
CONFIG_WWAN=y
# CONFIG_WWAN_DEBUGFS is not set
# CONFIG_WWAN_HWSIM is not set
CONFIG_MHI_WWAN_CTRL=y
# CONFIG_MHI_WWAN_MBIM is not set
# CONFIG_IOSM is not set
# CONFIG_MTK_T7XX is not set
# end of Wireless WAN

CONFIG_VMXNET3=y
# CONFIG_FUJITSU_ES is not set
CONFIG_USB4_NET=y
CONFIG_NETDEVSIM=y
CONFIG_NET_FAILOVER=y
CONFIG_ISDN=y
CONFIG_ISDN_CAPI=y
CONFIG_MISDN=y
CONFIG_MISDN_DSP=y
CONFIG_MISDN_L1OIP=y

#
# mISDN hardware drivers
#
# CONFIG_MISDN_HFCPCI is not set
# CONFIG_MISDN_HFCMULTI is not set
CONFIG_MISDN_HFCUSB=y
# CONFIG_MISDN_AVMFRITZ is not set
# CONFIG_MISDN_SPEEDFAX is not set
# CONFIG_MISDN_INFINEON is not set
# CONFIG_MISDN_W6692 is not set
# CONFIG_MISDN_NETJET is not set

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_LEDS=y
CONFIG_INPUT_FF_MEMLESS=y
CONFIG_INPUT_SPARSEKMAP=y
# CONFIG_INPUT_MATRIXKMAP is not set
CONFIG_INPUT_VIVALDIFMAP=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADC is not set
# CONFIG_KEYBOARD_ADP5588 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1050 is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_DLINK_DIR685 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_PINEPHONE is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_OMAP4 is not set
# CONFIG_KEYBOARD_TM2_TOUCHKEY is not set
# CONFIG_KEYBOARD_TWL4030 is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_CAP11XX is not set
# CONFIG_KEYBOARD_BCM is not set
# CONFIG_KEYBOARD_CYPRESS_SF is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_BYD=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_PS2_FOCALTECH=y
# CONFIG_MOUSE_PS2_VMMOUSE is not set
CONFIG_MOUSE_PS2_SMBUS=y
# CONFIG_MOUSE_SERIAL is not set
CONFIG_MOUSE_APPLETOUCH=y
CONFIG_MOUSE_BCM5974=y
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_ELAN_I2C is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
CONFIG_MOUSE_SYNAPTICS_USB=y
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADC is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
CONFIG_JOYSTICK_IFORCE=y
CONFIG_JOYSTICK_IFORCE_USB=y
# CONFIG_JOYSTICK_IFORCE_232 is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_AS5011 is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
CONFIG_JOYSTICK_XPAD=y
CONFIG_JOYSTICK_XPAD_FF=y
CONFIG_JOYSTICK_XPAD_LEDS=y
# CONFIG_JOYSTICK_WALKERA0701 is not set
# CONFIG_JOYSTICK_PSXPAD_SPI is not set
CONFIG_JOYSTICK_PXRC=y
# CONFIG_JOYSTICK_QWIIC is not set
# CONFIG_JOYSTICK_FSIA6B is not set
# CONFIG_JOYSTICK_SENSEHAT is not set
# CONFIG_JOYSTICK_SEESAW is not set
CONFIG_INPUT_TABLET=y
CONFIG_TABLET_USB_ACECAD=y
CONFIG_TABLET_USB_AIPTEK=y
CONFIG_TABLET_USB_HANWANG=y
CONFIG_TABLET_USB_KBTAB=y
CONFIG_TABLET_USB_PEGASUS=y
# CONFIG_TABLET_SERIAL_WACOM4 is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_ADS7846 is not set
# CONFIG_TOUCHSCREEN_AD7877 is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ADC is not set
# CONFIG_TOUCHSCREEN_AR1021_I2C is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_BU21029 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8318 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8505 is not set
# CONFIG_TOUCHSCREEN_CY8CTMA140 is not set
# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_CYTTSP5 is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_EGALAX is not set
# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set
# CONFIG_TOUCHSCREEN_EXC3000 is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_GOODIX is not set
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C is not set
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI is not set
# CONFIG_TOUCHSCREEN_HIDEEP is not set
# CONFIG_TOUCHSCREEN_HIMAX_HX852X is not set
# CONFIG_TOUCHSCREEN_HYCON_HY46XX is not set
# CONFIG_TOUCHSCREEN_HYNITRON_CSTXXX is not set
# CONFIG_TOUCHSCREEN_HYNITRON_CST816X is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_ILITEK is not set
# CONFIG_TOUCHSCREEN_S6SY761 is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_EKTF2127 is not set
# CONFIG_TOUCHSCREEN_ELAN is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MELFAS_MIP4 is not set
# CONFIG_TOUCHSCREEN_MSG2638 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_NOVATEK_NVT_TS is not set
# CONFIG_TOUCHSCREEN_IMAGIS is not set
# CONFIG_TOUCHSCREEN_IMX6UL_TSC is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_WDT87XX_I2C is not set
CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
CONFIG_TOUCHSCREEN_USB_EGALAX=y
CONFIG_TOUCHSCREEN_USB_PANJIT=y
CONFIG_TOUCHSCREEN_USB_3M=y
CONFIG_TOUCHSCREEN_USB_ITM=y
CONFIG_TOUCHSCREEN_USB_ETURBO=y
CONFIG_TOUCHSCREEN_USB_GUNZE=y
CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y
CONFIG_TOUCHSCREEN_USB_IRTOUCH=y
CONFIG_TOUCHSCREEN_USB_IDEALTEK=y
CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
CONFIG_TOUCHSCREEN_USB_GOTOP=y
CONFIG_TOUCHSCREEN_USB_JASTEC=y
CONFIG_TOUCHSCREEN_USB_ELO=y
CONFIG_TOUCHSCREEN_USB_E2I=y
CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y
CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y
CONFIG_TOUCHSCREEN_USB_NEXIO=y
CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2004 is not set
# CONFIG_TOUCHSCREEN_TSC2005 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_RM_TS is not set
# CONFIG_TOUCHSCREEN_SILEAD is not set
# CONFIG_TOUCHSCREEN_SIS_I2C is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_STMFTS is not set
CONFIG_TOUCHSCREEN_SUR40=y
# CONFIG_TOUCHSCREEN_SURFACE3_SPI is not set
# CONFIG_TOUCHSCREEN_SX8654 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
# CONFIG_TOUCHSCREEN_ZET6223 is not set
# CONFIG_TOUCHSCREEN_ZFORCE is not set
# CONFIG_TOUCHSCREEN_COLIBRI_VF50 is not set
# CONFIG_TOUCHSCREEN_ROHM_BU21023 is not set
# CONFIG_TOUCHSCREEN_IQS5XX is not set
# CONFIG_TOUCHSCREEN_IQS7211 is not set
# CONFIG_TOUCHSCREEN_ZINITIX is not set
# CONFIG_TOUCHSCREEN_HIMAX_HX83112B is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_ATMEL_CAPTOUCH is not set
# CONFIG_INPUT_AW86927 is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_E3X0_BUTTON is not set
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_APANEL is not set
# CONFIG_INPUT_GPIO_BEEPER is not set
# CONFIG_INPUT_GPIO_DECODER is not set
# CONFIG_INPUT_GPIO_VIBRA is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
CONFIG_INPUT_ATI_REMOTE2=y
CONFIG_INPUT_KEYSPAN_REMOTE=y
# CONFIG_INPUT_KXTJ9 is not set
CONFIG_INPUT_POWERMATE=y
CONFIG_INPUT_YEALINK=y
CONFIG_INPUT_CM109=y
# CONFIG_INPUT_REGULATOR_HAPTIC is not set
# CONFIG_INPUT_RETU_PWRBUTTON is not set
# CONFIG_INPUT_TWL4030_PWRBUTTON is not set
# CONFIG_INPUT_TWL4030_VIBRA is not set
CONFIG_INPUT_UINPUT=y
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
# CONFIG_INPUT_DA7280_HAPTICS is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_IBM_PANEL is not set
CONFIG_INPUT_IMS_PCU=y
# CONFIG_INPUT_IQS269A is not set
# CONFIG_INPUT_IQS626A is not set
# CONFIG_INPUT_IQS7222 is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set
# CONFIG_INPUT_DRV260X_HAPTICS is not set
# CONFIG_INPUT_DRV2665_HAPTICS is not set
# CONFIG_INPUT_DRV2667_HAPTICS is not set
CONFIG_RMI4_CORE=y
# CONFIG_RMI4_I2C is not set
# CONFIG_RMI4_SPI is not set
# CONFIG_RMI4_SMB is not set
CONFIG_RMI4_F03=y
CONFIG_RMI4_F03_SERIO=y
CONFIG_RMI4_2D_SENSOR=y
CONFIG_RMI4_F11=y
CONFIG_RMI4_F12=y
# CONFIG_RMI4_F1A is not set
# CONFIG_RMI4_F21 is not set
CONFIG_RMI4_F30=y
# CONFIG_RMI4_F34 is not set
CONFIG_RMI4_F3A=y
# CONFIG_RMI4_F54 is not set
# CONFIG_RMI4_F55 is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_SERIO_APBPS2 is not set
# CONFIG_SERIO_GPIO_PS2 is not set
CONFIG_USERIO=y
# CONFIG_GAMEPORT is not set
# end of Hardware I/O ports
# end of Input device support

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_LEGACY_TIOCSTI=y
CONFIG_LDISC_AUTOLOAD=y

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_PNP=y
# CONFIG_SERIAL_8250_16550A_VARIANTS is not set
# CONFIG_SERIAL_8250_FINTEK is not set
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_8250_PCILIB=y
CONFIG_SERIAL_8250_PCI=y
# CONFIG_SERIAL_8250_EXAR is not set
# CONFIG_SERIAL_8250_CS is not set
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
# CONFIG_SERIAL_8250_PCI1XXXX is not set
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_8250_DWLIB=y
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_RT288X is not set
CONFIG_SERIAL_8250_LPSS=y
CONFIG_SERIAL_8250_MID=y
CONFIG_SERIAL_8250_PERICOM=y
# CONFIG_SERIAL_8250_NI is not set
# CONFIG_SERIAL_OF_PLATFORM is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX310X is not set
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SIFIVE is not set
# CONFIG_SERIAL_LANTIQ is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_FSL_LINFLEXUART is not set
# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set
# CONFIG_SERIAL_SPRD is not set
# end of Serial drivers

CONFIG_SERIAL_MCTRL_GPIO=y
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
CONFIG_N_HDLC=y
# CONFIG_IPWIRELESS is not set
CONFIG_N_GSM=y
CONFIG_NOZOMI=y
CONFIG_NULL_TTY=y
CONFIG_HVC_DRIVER=y
CONFIG_SERIAL_DEV_BUS=y
CONFIG_SERIAL_DEV_CTRL_TTYPORT=y
CONFIG_TTY_PRINTK=y
CONFIG_TTY_PRINTK_LEVEL=6
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
CONFIG_VIRTIO_CONSOLE=y
# CONFIG_IPMI_HANDLER is not set
# CONFIG_SSIF_IPMI_BMC is not set
# CONFIG_IPMB_DEVICE_INTERFACE is not set
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not set
# CONFIG_HW_RANDOM_BA431 is not set
# CONFIG_HW_RANDOM_VIA is not set
CONFIG_HW_RANDOM_VIRTIO=y
# CONFIG_HW_RANDOM_CCTRNG is not set
# CONFIG_HW_RANDOM_XIPHERA is not set
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not set
# CONFIG_DEVMEM is not set
CONFIG_NVRAM=y
# CONFIG_DEVPORT is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
CONFIG_HPET_MMAP_DEFAULT=y
# CONFIG_HANGCHECK_TIMER is not set
CONFIG_TCG_TPM=y
# CONFIG_TCG_TPM2_HMAC is not set
# CONFIG_HW_RANDOM_TPM is not set
CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_SPI is not set
# CONFIG_TCG_TIS_I2C is not set
# CONFIG_TCG_TIS_I2C_CR50 is not set
# CONFIG_TCG_TIS_I2C_ATMEL is not set
# CONFIG_TCG_TIS_I2C_INFINEON is not set
# CONFIG_TCG_TIS_I2C_NUVOTON is not set
# CONFIG_TCG_NSC is not set
# CONFIG_TCG_ATMEL is not set
# CONFIG_TCG_INFINEON is not set
CONFIG_TCG_CRB=y
# CONFIG_TCG_VTPM_PROXY is not set
# CONFIG_TCG_TIS_ST33ZP24_I2C is not set
# CONFIG_TCG_TIS_ST33ZP24_SPI is not set
# CONFIG_TELCLOCK is not set
CONFIG_XILLYBUS_CLASS=y
# CONFIG_XILLYBUS is not set
CONFIG_XILLYUSB=y
# end of Character devices

#
# I2C support
#
CONFIG_I2C=y
CONFIG_ACPI_I2C_OPREGION=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y

#
# Multiplexer I2C Chip support
#
# CONFIG_I2C_ARB_GPIO_CHALLENGE is not set
# CONFIG_I2C_MUX_GPIO is not set
# CONFIG_I2C_MUX_GPMUX is not set
# CONFIG_I2C_MUX_LTC4306 is not set
# CONFIG_I2C_MUX_PCA9541 is not set
# CONFIG_I2C_MUX_PCA954x is not set
CONFIG_I2C_MUX_REG=y
# CONFIG_I2C_MUX_MLXCPLD is not set
# end of Multiplexer I2C Chip support

CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_SMBUS=y
CONFIG_I2C_ALGOBIT=y

#
# I2C Hardware Bus support
#

#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_AMD_MP2 is not set
CONFIG_I2C_I801=y
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_ISMT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_CHT_WC is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_NVIDIA_GPU is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_ZHAOXIN is not set

#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_CBUS_GPIO is not set
CONFIG_I2C_DESIGNWARE_CORE=y
# CONFIG_I2C_DESIGNWARE_SLAVE is not set
CONFIG_I2C_DESIGNWARE_PLATFORM=y
# CONFIG_I2C_DESIGNWARE_BAYTRAIL is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_EMEV2 is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_RK3X is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
CONFIG_I2C_DIOLAN_U2C=y
CONFIG_I2C_DLN2=y
CONFIG_I2C_LJCA=y
CONFIG_I2C_CP2615=y
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PCI1XXXX is not set
CONFIG_I2C_ROBOTFUZZ_OSIF=y
# CONFIG_I2C_TAOS_EVM is not set
CONFIG_I2C_TINY_USB=y
CONFIG_I2C_VIPERBOARD=y

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_MLXCPLD is not set
# CONFIG_I2C_VIRTIO is not set
# end of I2C Hardware Bus support

# CONFIG_I2C_STUB is not set
CONFIG_I2C_SLAVE=y
CONFIG_I2C_SLAVE_EEPROM=y
# CONFIG_I2C_SLAVE_TESTUNIT is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# end of I2C support

# CONFIG_I3C is not set
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y
# CONFIG_SPI_MEM is not set

#
# SPI Master Controller Drivers
#
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_AXI_SPI_ENGINE is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_BUTTERFLY is not set
# CONFIG_SPI_CADENCE is not set
# CONFIG_SPI_CADENCE_QUADSPI is not set
# CONFIG_SPI_CH341 is not set
# CONFIG_SPI_DESIGNWARE is not set
CONFIG_SPI_DLN2=y
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_LM70_LLP is not set
# CONFIG_SPI_FSL_SPI is not set
CONFIG_SPI_LJCA=y
# CONFIG_SPI_MICROCHIP_CORE_QSPI is not set
# CONFIG_SPI_MICROCHIP_CORE_SPI is not set
# CONFIG_SPI_LANTIQ_SSC is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PCI1XXXX is not set
# CONFIG_SPI_PXA2XX is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_SIFIVE is not set
# CONFIG_SPI_MXIC is not set
# CONFIG_SPI_VIRTIO is not set
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set

#
# SPI Multiplexer support
#
# CONFIG_SPI_MUX is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_LOOPBACK_TEST is not set
# CONFIG_SPI_TLE62X0 is not set
# CONFIG_SPI_SLAVE is not set
CONFIG_SPI_DYNAMIC=y
# CONFIG_SPMI is not set
# CONFIG_HSI is not set
CONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set

#
# PPS clients support
#
# CONFIG_PPS_CLIENT_KTIMER is not set
# CONFIG_PPS_CLIENT_LDISC is not set
# CONFIG_PPS_CLIENT_PARPORT is not set
# CONFIG_PPS_CLIENT_GPIO is not set
# CONFIG_PPS_GENERATOR is not set

#
# PTP clock support
#
CONFIG_PTP_1588_CLOCK=y
CONFIG_PTP_1588_CLOCK_OPTIONAL=y

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_PTP_1588_CLOCK_KVM=y
CONFIG_PTP_1588_CLOCK_VMCLOCK=y
# CONFIG_PTP_1588_CLOCK_IDT82P33 is not set
# CONFIG_PTP_1588_CLOCK_IDTCM is not set
# CONFIG_PTP_1588_CLOCK_FC3W is not set
# CONFIG_PTP_1588_CLOCK_MOCK is not set
# CONFIG_PTP_1588_CLOCK_VMW is not set
# CONFIG_PTP_NETC_V4_TIMER is not set
# end of PTP clock support

#
# DPLL device support
#
# CONFIG_ZL3073X_I2C is not set
# CONFIG_ZL3073X_SPI is not set
# end of DPLL device support

# CONFIG_PINCTRL is not set
CONFIG_GPIOLIB_LEGACY=y
CONFIG_GPIOLIB=y
CONFIG_GPIOLIB_FASTPATH_LIMIT=512
CONFIG_OF_GPIO=y
CONFIG_GPIO_ACPI=y
CONFIG_GPIOLIB_IRQCHIP=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set
# CONFIG_GPIO_CDEV is not set

#
# Memory mapped GPIO drivers
#
# CONFIG_GPIO_74XX_MMIO is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMDPT is not set
# CONFIG_GPIO_CADENCE is not set
# CONFIG_GPIO_DWAPB is not set
# CONFIG_GPIO_FTGPIO010 is not set
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_GRANITERAPIDS is not set
# CONFIG_GPIO_GRGPIO is not set
# CONFIG_GPIO_HLWD is not set
# CONFIG_GPIO_ICH is not set
# CONFIG_GPIO_LOGICVC is not set
# CONFIG_GPIO_MB86S7X is not set
# CONFIG_GPIO_POLARFIRE_SOC is not set
# CONFIG_GPIO_SIFIVE is not set
# CONFIG_GPIO_SYSCON is not set
# CONFIG_GPIO_XILINX is not set
# CONFIG_GPIO_AMD_FCH is not set
# end of Memory mapped GPIO drivers

#
# Port-mapped I/O GPIO drivers
#
# CONFIG_GPIO_VX855 is not set
# CONFIG_GPIO_F7188X is not set
# CONFIG_GPIO_IT87 is not set
# CONFIG_GPIO_SCH311X is not set
# CONFIG_GPIO_WINBOND is not set
# CONFIG_GPIO_WS16C48 is not set
# end of Port-mapped I/O GPIO drivers

#
# I2C GPIO expanders
#
# CONFIG_GPIO_ADNP is not set
# CONFIG_GPIO_FXL6408 is not set
# CONFIG_GPIO_DS4520 is not set
# CONFIG_GPIO_GW_PLD is not set
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCA9570 is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_TPIC2810 is not set
# end of I2C GPIO expanders

#
# MFD GPIO expanders
#
CONFIG_GPIO_DLN2=y
CONFIG_GPIO_LJCA=y
# CONFIG_GPIO_TWL4030 is not set
# CONFIG_GPIO_WHISKEY_COVE is not set
# end of MFD GPIO expanders

#
# PCI GPIO expanders
#
# CONFIG_GPIO_AMD8111 is not set
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_ML_IOH is not set
# CONFIG_GPIO_PCI_IDIO_16 is not set
# CONFIG_GPIO_PCIE_IDIO_24 is not set
# CONFIG_GPIO_RDC321X is not set
# CONFIG_GPIO_SODAVILLE is not set
# end of PCI GPIO expanders

#
# SPI GPIO expanders
#
# CONFIG_GPIO_74X164 is not set
# CONFIG_GPIO_MAX3191X is not set
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MC33880 is not set
# CONFIG_GPIO_PISOSR is not set
# CONFIG_GPIO_XRA1403 is not set
# end of SPI GPIO expanders

#
# USB GPIO expanders
#
CONFIG_GPIO_VIPERBOARD=y
# CONFIG_GPIO_MPSSE is not set
# end of USB GPIO expanders

#
# Virtual GPIO drivers
#
# CONFIG_GPIO_AGGREGATOR is not set
# CONFIG_GPIO_LATCH is not set
# CONFIG_GPIO_MOCKUP is not set
# CONFIG_GPIO_VIRTIO is not set
# CONFIG_GPIO_SIM is not set
# end of Virtual GPIO drivers

#
# GPIO Debugging utilities
#
# CONFIG_GPIO_SLOPPY_LOGIC_ANALYZER is not set
# CONFIG_GPIO_VIRTUSER is not set
# end of GPIO Debugging utilities

# CONFIG_W1 is not set
# CONFIG_POWER_RESET is not set
# CONFIG_POWER_SEQUENCING is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
CONFIG_POWER_SUPPLY_HWMON=y
# CONFIG_GENERIC_ADC_BATTERY is not set
# CONFIG_IP5XXX_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_CHARGER_ADP5061 is not set
# CONFIG_BATTERY_CHAGALL is not set
# CONFIG_BATTERY_CW2015 is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SAMSUNG_SDI is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_CHARGER_SBS is not set
# CONFIG_MANAGER_SBS is not set
# CONFIG_BATTERY_BQ27XXX is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_BATTERY_MAX1720X is not set
CONFIG_CHARGER_ISP1704=y
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_TWL4030 is not set
# CONFIG_CHARGER_TWL6030 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_CHARGER_MANAGER is not set
# CONFIG_CHARGER_LT3651 is not set
# CONFIG_CHARGER_LTC4162L is not set
# CONFIG_CHARGER_DETECTOR_MAX14656 is not set
# CONFIG_CHARGER_MAX77976 is not set
# CONFIG_CHARGER_MAX8971 is not set
# CONFIG_CHARGER_MT6360 is not set
# CONFIG_CHARGER_MT6370 is not set
# CONFIG_CHARGER_BQ2415X is not set
CONFIG_CHARGER_BQ24190=y
# CONFIG_CHARGER_BQ24257 is not set
# CONFIG_CHARGER_BQ24735 is not set
# CONFIG_CHARGER_BQ2515X is not set
# CONFIG_CHARGER_BQ25890 is not set
# CONFIG_CHARGER_BQ25980 is not set
# CONFIG_CHARGER_BQ256XX is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
# CONFIG_BATTERY_GOLDFISH is not set
# CONFIG_BATTERY_RT5033 is not set
# CONFIG_CHARGER_RT9455 is not set
# CONFIG_CHARGER_RT9467 is not set
# CONFIG_CHARGER_RT9471 is not set
# CONFIG_CHARGER_RT9756 is not set
# CONFIG_FUEL_GAUGE_STC3117 is not set
# CONFIG_CHARGER_UCS1002 is not set
# CONFIG_CHARGER_BD99954 is not set
# CONFIG_BATTERY_SURFACE is not set
# CONFIG_CHARGER_SURFACE is not set
# CONFIG_BATTERY_UG3105 is not set
# CONFIG_FUEL_GAUGE_MM8013 is not set
CONFIG_HWMON=y
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7314 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM1177 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7310 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_AHT10 is not set
CONFIG_SENSORS_AQUACOMPUTER_D5NEXT=y
# CONFIG_SENSORS_AS370 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_ASUS_ROG_RYUJIN is not set
# CONFIG_SENSORS_AXI_FAN_CONTROL is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_K10TEMP is not set
# CONFIG_SENSORS_FAM15H_POWER is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_CHIPCAP2 is not set
CONFIG_SENSORS_CORSAIR_CPRO=y
CONFIG_SENSORS_CORSAIR_PSU=y
# CONFIG_SENSORS_DRIVETEMP is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_DELL_SMM is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_FTSTEUTATES is not set
CONFIG_SENSORS_GIGABYTE_WATERFORCE=y
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_GPD is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_GPIO_FAN is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_HS3001 is not set
# CONFIG_SENSORS_HTU31 is not set
# CONFIG_SENSORS_IIO_HWMON is not set
# CONFIG_SENSORS_I5500 is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_ISL28022 is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
CONFIG_SENSORS_POWERZ=y
# CONFIG_SENSORS_POWR1220 is not set
# CONFIG_SENSORS_LENOVO_EC is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LTC2945 is not set
# CONFIG_SENSORS_LTC2947_I2C is not set
# CONFIG_SENSORS_LTC2947_SPI is not set
# CONFIG_SENSORS_LTC2990 is not set
# CONFIG_SENSORS_LTC2991 is not set
# CONFIG_SENSORS_LTC2992 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4222 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4260 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_LTC4282 is not set
# CONFIG_SENSORS_MAX1111 is not set
# CONFIG_SENSORS_MAX127 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX31722 is not set
# CONFIG_SENSORS_MAX31730 is not set
# CONFIG_SENSORS_MAX31760 is not set
# CONFIG_MAX31827 is not set
# CONFIG_SENSORS_MAX6620 is not set
# CONFIG_SENSORS_MAX6621 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_MAX31790 is not set
# CONFIG_SENSORS_MC34VR500 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_TC654 is not set
# CONFIG_SENSORS_TPS23861 is not set
# CONFIG_SENSORS_MR75203 is not set
# CONFIG_SENSORS_ADCXX is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM70 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LM95234 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_NCT6683 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NCT6775_I2C is not set
# CONFIG_SENSORS_NCT7363 is not set
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
# CONFIG_SENSORS_NPCM7XX is not set
CONFIG_SENSORS_NZXT_KRAKEN2=y
# CONFIG_SENSORS_NZXT_KRAKEN3 is not set
CONFIG_SENSORS_NZXT_SMART2=y
# CONFIG_SENSORS_OCC_P8_I2C is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_PT5161L is not set
# CONFIG_SENSORS_SBTSI is not set
# CONFIG_SENSORS_SHT15 is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SHT3x is not set
# CONFIG_SENSORS_SHT4x is not set
# CONFIG_SENSORS_SHTC1 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC2305 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH5627 is not set
# CONFIG_SENSORS_SCH5636 is not set
# CONFIG_SENSORS_STTS751 is not set
# CONFIG_SENSORS_SURFACE_FAN is not set
# CONFIG_SENSORS_SURFACE_TEMP is not set
# CONFIG_SENSORS_ADC128D818 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_ADS7871 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA209 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_INA238 is not set
# CONFIG_SENSORS_INA3221 is not set
# CONFIG_SENSORS_SPD5118 is not set
# CONFIG_SENSORS_TC74 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP103 is not set
# CONFIG_SENSORS_TMP108 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_TMP464 is not set
# CONFIG_SENSORS_TMP513 is not set
# CONFIG_SENSORS_TSC1641 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83773G is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_XGENE is not set

#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not set
# CONFIG_SENSORS_ASUS_WMI is not set
# CONFIG_SENSORS_ASUS_EC is not set
# CONFIG_SENSORS_HP_WMI is not set
CONFIG_THERMAL=y
CONFIG_THERMAL_NETLINK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_THERMAL_DEBUGFS is not set
# CONFIG_THERMAL_CORE_TESTING is not set
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
CONFIG_THERMAL_HWMON=y
# CONFIG_THERMAL_OF is not set
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
# CONFIG_THERMAL_GOV_BANG_BANG is not set
# CONFIG_THERMAL_GOV_USER_SPACE is not set
# CONFIG_PCIE_THERMAL is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_THERMAL_MMIO is not set

#
# Intel thermal drivers
#
# CONFIG_INTEL_POWERCLAMP is not set
CONFIG_X86_THERMAL_VECTOR=y
# CONFIG_X86_PKG_TEMP_THERMAL is not set
# CONFIG_INTEL_SOC_DTS_THERMAL is not set

#
# ACPI INT340X thermal drivers
#
# CONFIG_INT340X_THERMAL is not set
# end of ACPI INT340X thermal drivers

# CONFIG_INTEL_BXT_PMIC_THERMAL is not set
# CONFIG_INTEL_PCH_THERMAL is not set
# CONFIG_INTEL_TCC_COOLING is not set
# CONFIG_INTEL_HFI_THERMAL is not set
# end of Intel thermal drivers

# CONFIG_GENERIC_ADC_THERMAL is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_CORE is not set
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
CONFIG_WATCHDOG_OPEN_TIMEOUT=0
# CONFIG_WATCHDOG_SYSFS is not set
# CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT is not set

#
# Watchdog Pretimeout Governors
#

#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_LENOVO_SE10_WDT is not set
# CONFIG_LENOVO_SE30_WDT is not set
# CONFIG_WDAT_WDT is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_TWL4030_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_RETU_WATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADVANTECH_EC_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_EBC_C384_WDT is not set
# CONFIG_EXAR_WDT is not set
# CONFIG_F71808E_WDT is not set
# CONFIG_SP5100_TCO is not set
# CONFIG_SBC_FITPC2_WATCHDOG is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_IE6XX_WDT is not set
# CONFIG_INTEL_OC_WATCHDOG is not set
# CONFIG_ITCO_WDT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_NV_TCO is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_TQMX86_WDT is not set
# CONFIG_VIA_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SBC_EPX_C3_WATCHDOG is not set
# CONFIG_INTEL_MEI_WDT is not set
# CONFIG_NI903X_WDT is not set
# CONFIG_NIC7018_WDT is not set
# CONFIG_MEN_A21_WDT is not set

#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set

#
# USB-based Watchdog Cards
#
CONFIG_USBPCWATCHDOG=y
CONFIG_SSB_POSSIBLE=y
CONFIG_SSB=y
CONFIG_SSB_PCIHOST_POSSIBLE=y
# CONFIG_SSB_PCIHOST is not set
CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
# CONFIG_SSB_PCMCIAHOST is not set
CONFIG_SSB_SDIOHOST_POSSIBLE=y
# CONFIG_SSB_SDIOHOST is not set
# CONFIG_SSB_DRIVER_GPIO is not set
CONFIG_BCMA_POSSIBLE=y
CONFIG_BCMA=y
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
# CONFIG_BCMA_HOST_PCI is not set
# CONFIG_BCMA_HOST_SOC is not set
# CONFIG_BCMA_DRIVER_PCI is not set
# CONFIG_BCMA_DRIVER_GMAC_CMN is not set
# CONFIG_BCMA_DRIVER_GPIO is not set
# CONFIG_BCMA_DEBUG is not set

#
# Multifunction device drivers
#
CONFIG_MFD_CORE=y
# CONFIG_MFD_ADP5585 is not set
# CONFIG_MFD_ACT8945A is not set
# CONFIG_MFD_AS3711 is not set
# CONFIG_MFD_SMPRO is not set
# CONFIG_MFD_AS3722 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_ATMEL_FLEXCOM is not set
# CONFIG_MFD_ATMEL_HLCDC is not set
# CONFIG_MFD_BCM590XX is not set
# CONFIG_MFD_BD9571MWV is not set
# CONFIG_MFD_AXP20X_I2C is not set
# CONFIG_MFD_CGBC is not set
# CONFIG_MFD_CS40L50_I2C is not set
# CONFIG_MFD_CS40L50_SPI is not set
# CONFIG_MFD_CS42L43_I2C is not set
# CONFIG_MFD_CS42L43_SDW is not set
# CONFIG_MFD_LOCHNAGAR is not set
# CONFIG_MFD_MADERA is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
CONFIG_MFD_DLN2=y
# CONFIG_MFD_GATEWORKS_GSC is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_MFD_MP2629 is not set
# CONFIG_MFD_PF1550 is not set
# CONFIG_MFD_HI6421_PMIC is not set
# CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not set
CONFIG_LPC_ICH=y
# CONFIG_LPC_SCH is not set
# CONFIG_INTEL_SOC_PMIC is not set
CONFIG_INTEL_SOC_PMIC_BXTWC=y
CONFIG_INTEL_SOC_PMIC_CHTWC=y
# CONFIG_INTEL_SOC_PMIC_CHTDC_TI is not set
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set
CONFIG_MFD_INTEL_PMC_BXT=y
# CONFIG_MFD_IQS62X is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_88PM886_PMIC is not set
# CONFIG_MFD_MAX5970 is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77541 is not set
# CONFIG_MFD_MAX77620 is not set
# CONFIG_MFD_MAX77650 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX77705 is not set
# CONFIG_MFD_MAX77714 is not set
# CONFIG_MFD_MAX77759 is not set
# CONFIG_MFD_MAX77843 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
CONFIG_MFD_MT6360=y
CONFIG_MFD_MT6370=y
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
# CONFIG_MFD_NCT6694 is not set
# CONFIG_MFD_OCELOT is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_CPCAP is not set
CONFIG_MFD_VIPERBOARD=y
# CONFIG_MFD_NTXEC is not set
CONFIG_MFD_RETU=y
# CONFIG_MFD_SY7636A is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RT4831 is not set
# CONFIG_MFD_RT5033 is not set
# CONFIG_MFD_RT5120 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_RK8XX_I2C is not set
# CONFIG_MFD_RK8XX_SPI is not set
# CONFIG_MFD_RN5T618 is not set
# CONFIG_MFD_SEC_I2C is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SKY81452 is not set
# CONFIG_MFD_STMPE is not set
CONFIG_MFD_SYSCON=y
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_TI_LMU is not set
# CONFIG_MFD_BQ257XX is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65086 is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TI_LP873X is not set
# CONFIG_MFD_TI_LP87565 is not set
# CONFIG_MFD_TPS65218 is not set
# CONFIG_MFD_TPS65219 is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_TPS6594_I2C is not set
# CONFIG_MFD_TPS6594_SPI is not set
CONFIG_TWL4030_CORE=y
# CONFIG_MFD_TWL4030_AUDIO is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TQMX86 is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_ROHM_BD718XX is not set
# CONFIG_MFD_ROHM_BD71828 is not set
# CONFIG_MFD_ROHM_BD957XMUF is not set
# CONFIG_MFD_ROHM_BD96801 is not set
# CONFIG_MFD_STPMIC1 is not set
# CONFIG_MFD_STMFX is not set
# CONFIG_MFD_ATC260X_I2C is not set
# CONFIG_MFD_QCOM_PM8008 is not set
# CONFIG_RAVE_SP_CORE is not set
# CONFIG_MFD_INTEL_M10_BMC_SPI is not set
# CONFIG_MFD_QNAP_MCU is not set
# CONFIG_MFD_RSMU_I2C is not set
# CONFIG_MFD_RSMU_SPI is not set
# CONFIG_MFD_UPBOARD_FPGA is not set
# CONFIG_MFD_MAX7360 is not set
# end of Multifunction device drivers

CONFIG_REGULATOR=y
# CONFIG_REGULATOR_DEBUG is not set
CONFIG_REGULATOR_FIXED_VOLTAGE=y
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_NETLINK_EVENTS is not set
# CONFIG_REGULATOR_88PG86X is not set
# CONFIG_REGULATOR_ACT8865 is not set
# CONFIG_REGULATOR_AD5398 is not set
# CONFIG_REGULATOR_ADP5055 is not set
# CONFIG_REGULATOR_AW37503 is not set
# CONFIG_REGULATOR_DA9121 is not set
# CONFIG_REGULATOR_DA9210 is not set
# CONFIG_REGULATOR_DA9211 is not set
# CONFIG_REGULATOR_FAN53555 is not set
# CONFIG_REGULATOR_FAN53880 is not set
# CONFIG_REGULATOR_GPIO is not set
# CONFIG_REGULATOR_ISL9305 is not set
# CONFIG_REGULATOR_ISL6271A is not set
# CONFIG_REGULATOR_FP9931 is not set
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_LP3972 is not set
# CONFIG_REGULATOR_LP872X is not set
# CONFIG_REGULATOR_LP8755 is not set
# CONFIG_REGULATOR_LTC3589 is not set
# CONFIG_REGULATOR_LTC3676 is not set
# CONFIG_REGULATOR_MAX1586 is not set
# CONFIG_REGULATOR_MAX77503 is not set
# CONFIG_REGULATOR_MAX77857 is not set
# CONFIG_REGULATOR_MAX8649 is not set
# CONFIG_REGULATOR_MAX8660 is not set
# CONFIG_REGULATOR_MAX8893 is not set
# CONFIG_REGULATOR_MAX8952 is not set
# CONFIG_REGULATOR_MAX20086 is not set
# CONFIG_REGULATOR_MAX20411 is not set
# CONFIG_REGULATOR_MAX77826 is not set
# CONFIG_REGULATOR_MAX77838 is not set
# CONFIG_REGULATOR_MCP16502 is not set
# CONFIG_REGULATOR_MP5416 is not set
# CONFIG_REGULATOR_MP8859 is not set
# CONFIG_REGULATOR_MP886X is not set
# CONFIG_REGULATOR_MPQ7920 is not set
# CONFIG_REGULATOR_MT6311 is not set
# CONFIG_REGULATOR_MT6360 is not set
# CONFIG_REGULATOR_MT6370 is not set
# CONFIG_REGULATOR_PCA9450 is not set
# CONFIG_REGULATOR_PF9453 is not set
# CONFIG_REGULATOR_PF0900 is not set
# CONFIG_REGULATOR_PF530X is not set
# CONFIG_REGULATOR_PF8X00 is not set
# CONFIG_REGULATOR_PFUZE100 is not set
# CONFIG_REGULATOR_PV88060 is not set
# CONFIG_REGULATOR_PV88080 is not set
# CONFIG_REGULATOR_PV88090 is not set
# CONFIG_REGULATOR_RAA215300 is not set
# CONFIG_REGULATOR_RT4801 is not set
# CONFIG_REGULATOR_RT4803 is not set
# CONFIG_REGULATOR_RT5133 is not set
# CONFIG_REGULATOR_RT5190A is not set
# CONFIG_REGULATOR_RT5739 is not set
# CONFIG_REGULATOR_RT5759 is not set
# CONFIG_REGULATOR_RT6160 is not set
# CONFIG_REGULATOR_RT6190 is not set
# CONFIG_REGULATOR_RT6245 is not set
# CONFIG_REGULATOR_RTQ2134 is not set
# CONFIG_REGULATOR_RTMV20 is not set
# CONFIG_REGULATOR_RTQ6752 is not set
# CONFIG_REGULATOR_RTQ2208 is not set
# CONFIG_REGULATOR_SLG51000 is not set
# CONFIG_REGULATOR_SY8106A is not set
# CONFIG_REGULATOR_SY8824X is not set
# CONFIG_REGULATOR_SY8827N is not set
# CONFIG_REGULATOR_TPS51632 is not set
# CONFIG_REGULATOR_TPS62360 is not set
# CONFIG_REGULATOR_TPS6286X is not set
# CONFIG_REGULATOR_TPS6287X is not set
# CONFIG_REGULATOR_TPS65023 is not set
# CONFIG_REGULATOR_TPS6507X is not set
# CONFIG_REGULATOR_TPS65132 is not set
# CONFIG_REGULATOR_TPS6524X is not set
CONFIG_REGULATOR_TWL4030=y
# CONFIG_REGULATOR_VCTRL is not set
CONFIG_RC_CORE=y
# CONFIG_LIRC is not set
# CONFIG_RC_MAP is not set
# CONFIG_RC_DECODERS is not set
CONFIG_RC_DEVICES=y
# CONFIG_IR_ENE is not set
# CONFIG_IR_FINTEK is not set
# CONFIG_IR_GPIO_CIR is not set
# CONFIG_IR_HIX5HD2 is not set
CONFIG_IR_IGORPLUGUSB=y
CONFIG_IR_IGUANA=y
CONFIG_IR_IMON=y
CONFIG_IR_IMON_RAW=y
# CONFIG_IR_ITE_CIR is not set
CONFIG_IR_MCEUSB=y
# CONFIG_IR_NUVOTON is not set
CONFIG_IR_REDRAT3=y
# CONFIG_IR_SERIAL is not set
CONFIG_IR_STREAMZAP=y
CONFIG_IR_TOY=y
CONFIG_IR_TTUSBIR=y
# CONFIG_IR_WINBOND_CIR is not set
CONFIG_RC_ATI_REMOTE=y
# CONFIG_RC_LOOPBACK is not set
CONFIG_RC_XBOX_DVD=y
CONFIG_CEC_CORE=y

#
# CEC support
#
# CONFIG_MEDIA_CEC_RC is not set
CONFIG_MEDIA_CEC_SUPPORT=y
# CONFIG_CEC_CH7322 is not set
# CONFIG_CEC_NXP_TDA9950 is not set
# CONFIG_CEC_GPIO is not set
# CONFIG_CEC_SECO is not set
# CONFIG_USB_EXTRON_DA_HD_4K_PLUS_CEC is not set
CONFIG_USB_PULSE8_CEC=y
CONFIG_USB_RAINSHADOW_CEC=y
# end of CEC support

CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_SUPPORT_FILTER=y
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set

#
# Media device types
#
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
CONFIG_MEDIA_RADIO_SUPPORT=y
CONFIG_MEDIA_SDR_SUPPORT=y
CONFIG_MEDIA_PLATFORM_SUPPORT=y
CONFIG_MEDIA_TEST_SUPPORT=y
# end of Media device types

CONFIG_VIDEO_DEV=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_DVB_CORE=y

#
# Video4Linux options
#
CONFIG_VIDEO_V4L2_I2C=y
CONFIG_VIDEO_V4L2_SUBDEV_API=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
CONFIG_VIDEO_TUNER=y
CONFIG_V4L2_MEM2MEM_DEV=y
# end of Video4Linux options

#
# Media controller options
#
CONFIG_MEDIA_CONTROLLER_DVB=y
# end of Media controller options

#
# Digital TV options
#
# CONFIG_DVB_MMAP is not set
# CONFIG_DVB_NET is not set
CONFIG_DVB_MAX_ADAPTERS=16
# CONFIG_DVB_DYNAMIC_MINORS is not set
# CONFIG_DVB_DEMUX_SECTION_LOSS_LOG is not set
# CONFIG_DVB_ULE_DEBUG is not set
# end of Digital TV options

#
# Media drivers
#

#
# Drivers filtered as selected at 'Filter media drivers'
#

#
# Media drivers
#
CONFIG_MEDIA_USB_SUPPORT=y

#
# Webcam devices
#
CONFIG_USB_GSPCA=y
CONFIG_USB_GSPCA_BENQ=y
CONFIG_USB_GSPCA_CONEX=y
CONFIG_USB_GSPCA_CPIA1=y
CONFIG_USB_GSPCA_DTCS033=y
CONFIG_USB_GSPCA_ETOMS=y
CONFIG_USB_GSPCA_FINEPIX=y
CONFIG_USB_GSPCA_JEILINJ=y
CONFIG_USB_GSPCA_JL2005BCD=y
CONFIG_USB_GSPCA_KINECT=y
CONFIG_USB_GSPCA_KONICA=y
CONFIG_USB_GSPCA_MARS=y
CONFIG_USB_GSPCA_MR97310A=y
CONFIG_USB_GSPCA_NW80X=y
CONFIG_USB_GSPCA_OV519=y
CONFIG_USB_GSPCA_OV534=y
CONFIG_USB_GSPCA_OV534_9=y
CONFIG_USB_GSPCA_PAC207=y
CONFIG_USB_GSPCA_PAC7302=y
CONFIG_USB_GSPCA_PAC7311=y
CONFIG_USB_GSPCA_SE401=y
CONFIG_USB_GSPCA_SN9C2028=y
CONFIG_USB_GSPCA_SN9C20X=y
CONFIG_USB_GSPCA_SONIXB=y
CONFIG_USB_GSPCA_SONIXJ=y
CONFIG_USB_GSPCA_SPCA1528=y
CONFIG_USB_GSPCA_SPCA500=y
CONFIG_USB_GSPCA_SPCA501=y
CONFIG_USB_GSPCA_SPCA505=y
CONFIG_USB_GSPCA_SPCA506=y
CONFIG_USB_GSPCA_SPCA508=y
CONFIG_USB_GSPCA_SPCA561=y
CONFIG_USB_GSPCA_SQ905=y
CONFIG_USB_GSPCA_SQ905C=y
CONFIG_USB_GSPCA_SQ930X=y
CONFIG_USB_GSPCA_STK014=y
CONFIG_USB_GSPCA_STK1135=y
CONFIG_USB_GSPCA_STV0680=y
CONFIG_USB_GSPCA_SUNPLUS=y
CONFIG_USB_GSPCA_T613=y
CONFIG_USB_GSPCA_TOPRO=y
CONFIG_USB_GSPCA_TOUPTEK=y
CONFIG_USB_GSPCA_TV8532=y
CONFIG_USB_GSPCA_VC032X=y
CONFIG_USB_GSPCA_VICAM=y
CONFIG_USB_GSPCA_XIRLINK_CIT=y
CONFIG_USB_GSPCA_ZC3XX=y
CONFIG_USB_GL860=y
CONFIG_USB_M5602=y
CONFIG_USB_STV06XX=y
CONFIG_USB_PWC=y
# CONFIG_USB_PWC_DEBUG is not set
CONFIG_USB_PWC_INPUT_EVDEV=y
CONFIG_USB_S2255=y
CONFIG_VIDEO_USBTV=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

#
# Analog TV USB devices
#
CONFIG_VIDEO_GO7007=y
CONFIG_VIDEO_GO7007_USB=y
CONFIG_VIDEO_GO7007_LOADER=y
CONFIG_VIDEO_GO7007_USB_S2250_BOARD=y
CONFIG_VIDEO_HDPVR=y
CONFIG_VIDEO_PVRUSB2=y
CONFIG_VIDEO_PVRUSB2_SYSFS=y
CONFIG_VIDEO_PVRUSB2_DVB=y
# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
CONFIG_VIDEO_STK1160=y

#
# Analog/digital TV USB devices
#
CONFIG_VIDEO_AU0828=y
CONFIG_VIDEO_AU0828_V4L2=y
CONFIG_VIDEO_AU0828_RC=y
CONFIG_VIDEO_CX231XX=y
CONFIG_VIDEO_CX231XX_RC=y
CONFIG_VIDEO_CX231XX_ALSA=y
CONFIG_VIDEO_CX231XX_DVB=y

#
# Digital TV USB devices
#
CONFIG_DVB_AS102=y
CONFIG_DVB_B2C2_FLEXCOP_USB=y
# CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set
CONFIG_DVB_USB_V2=y
CONFIG_DVB_USB_AF9015=y
CONFIG_DVB_USB_AF9035=y
CONFIG_DVB_USB_ANYSEE=y
CONFIG_DVB_USB_AU6610=y
CONFIG_DVB_USB_AZ6007=y
CONFIG_DVB_USB_CE6230=y
CONFIG_DVB_USB_DVBSKY=y
CONFIG_DVB_USB_EC168=y
CONFIG_DVB_USB_GL861=y
CONFIG_DVB_USB_LME2510=y
CONFIG_DVB_USB_MXL111SF=y
CONFIG_DVB_USB_RTL28XXU=y
CONFIG_DVB_USB_ZD1301=y
CONFIG_DVB_USB=y
# CONFIG_DVB_USB_DEBUG is not set
CONFIG_DVB_USB_A800=y
CONFIG_DVB_USB_AF9005=y
CONFIG_DVB_USB_AF9005_REMOTE=y
CONFIG_DVB_USB_AZ6027=y
CONFIG_DVB_USB_CINERGY_T2=y
CONFIG_DVB_USB_CXUSB=y
CONFIG_DVB_USB_CXUSB_ANALOG=y
CONFIG_DVB_USB_DIB0700=y
CONFIG_DVB_USB_DIB3000MC=y
CONFIG_DVB_USB_DIBUSB_MB=y
# CONFIG_DVB_USB_DIBUSB_MB_FAULTY is not set
CONFIG_DVB_USB_DIBUSB_MC=y
CONFIG_DVB_USB_DIGITV=y
CONFIG_DVB_USB_DTT200U=y
CONFIG_DVB_USB_DTV5100=y
CONFIG_DVB_USB_DW2102=y
CONFIG_DVB_USB_GP8PSK=y
CONFIG_DVB_USB_M920X=y
CONFIG_DVB_USB_NOVA_T_USB2=y
CONFIG_DVB_USB_OPERA1=y
CONFIG_DVB_USB_PCTV452E=y
CONFIG_DVB_USB_TECHNISAT_USB2=y
CONFIG_DVB_USB_TTUSB2=y
CONFIG_DVB_USB_UMT_010=y
CONFIG_DVB_USB_VP702X=y
CONFIG_DVB_USB_VP7045=y
CONFIG_SMS_USB_DRV=y
CONFIG_DVB_TTUSB_BUDGET=y
CONFIG_DVB_TTUSB_DEC=y

#
# Webcam, TV (analog/digital) USB devices
#
CONFIG_VIDEO_EM28XX=y
CONFIG_VIDEO_EM28XX_V4L2=y
CONFIG_VIDEO_EM28XX_ALSA=y
CONFIG_VIDEO_EM28XX_DVB=y
CONFIG_VIDEO_EM28XX_RC=y

#
# Software defined radio USB devices
#
CONFIG_USB_AIRSPY=y
CONFIG_USB_HACKRF=y
CONFIG_USB_MSI2500=y
# CONFIG_MEDIA_PCI_SUPPORT is not set
CONFIG_RADIO_ADAPTERS=y
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_SAA7706H is not set
CONFIG_RADIO_SHARK=y
CONFIG_RADIO_SHARK2=y
CONFIG_RADIO_SI4713=y
CONFIG_RADIO_TEA575X=y
# CONFIG_RADIO_TEA5764 is not set
# CONFIG_RADIO_TEF6862 is not set
CONFIG_USB_DSBR=y
CONFIG_USB_KEENE=y
CONFIG_USB_MA901=y
CONFIG_USB_MR800=y
CONFIG_USB_RAREMONO=y
CONFIG_RADIO_SI470X=y
CONFIG_USB_SI470X=y
# CONFIG_I2C_SI470X is not set
CONFIG_USB_SI4713=y
# CONFIG_PLATFORM_SI4713 is not set
CONFIG_I2C_SI4713=y
# CONFIG_MEDIA_PLATFORM_DRIVERS is not set

#
# MMC/SDIO DVB adapters
#
CONFIG_SMS_SDIO_DRV=y
CONFIG_V4L_TEST_DRIVERS=y
CONFIG_VIDEO_VIM2M=y
CONFIG_VIDEO_VICODEC=y
CONFIG_VIDEO_VIMC=y
CONFIG_VIDEO_VIVID=y
CONFIG_VIDEO_VIVID_CEC=y
# CONFIG_VIDEO_VIVID_OSD is not set
CONFIG_VIDEO_VIVID_MAX_DEVS=64
# CONFIG_VIDEO_VISL is not set
CONFIG_DVB_TEST_DRIVERS=y
CONFIG_DVB_VIDTV=y

#
# FireWire (IEEE 1394) Adapters
#
# CONFIG_DVB_FIREDTV is not set
CONFIG_MEDIA_COMMON_OPTIONS=y

#
# common driver options
#
CONFIG_CYPRESS_FIRMWARE=y
CONFIG_TTPCI_EEPROM=y
CONFIG_UVC_COMMON=y
CONFIG_VIDEO_CX2341X=y
CONFIG_VIDEO_TVEEPROM=y
CONFIG_DVB_B2C2_FLEXCOP=y
CONFIG_SMS_SIANO_MDTV=y
CONFIG_SMS_SIANO_RC=y
CONFIG_SMS_SIANO_DEBUGFS=y
CONFIG_VIDEO_V4L2_TPG=y
CONFIG_VIDEOBUF2_CORE=y
CONFIG_VIDEOBUF2_V4L2=y
CONFIG_VIDEOBUF2_MEMOPS=y
CONFIG_VIDEOBUF2_DMA_CONTIG=y
CONFIG_VIDEOBUF2_VMALLOC=y
CONFIG_VIDEOBUF2_DMA_SG=y
# end of Media drivers

#
# Media ancillary drivers
#
CONFIG_MEDIA_ATTACH=y
# CONFIG_VIDEO_IR_I2C is not set
# CONFIG_VIDEO_CAMERA_SENSOR is not set

#
# Camera ISPs
#
# CONFIG_VIDEO_THP7312 is not set
# end of Camera ISPs

# CONFIG_VIDEO_CAMERA_LENS is not set

#
# Flash devices
#
# CONFIG_VIDEO_ADP1653 is not set
# CONFIG_VIDEO_LM3560 is not set
# CONFIG_VIDEO_LM3646 is not set
# end of Flash devices

#
# Audio decoders, processors and mixers
#
# CONFIG_VIDEO_CS3308 is not set
# CONFIG_VIDEO_CS5345 is not set
CONFIG_VIDEO_CS53L32A=y
CONFIG_VIDEO_MSP3400=y
# CONFIG_VIDEO_SONY_BTF_MPX is not set
# CONFIG_VIDEO_TDA1997X is not set
# CONFIG_VIDEO_TDA7432 is not set
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not set
# CONFIG_VIDEO_TLV320AIC23B is not set
# CONFIG_VIDEO_TVAUDIO is not set
# CONFIG_VIDEO_UDA1342 is not set
# CONFIG_VIDEO_VP27SMPX is not set
# CONFIG_VIDEO_WM8739 is not set
CONFIG_VIDEO_WM8775=y
# end of Audio decoders, processors and mixers

#
# RDS decoders
#
# CONFIG_VIDEO_SAA6588 is not set
# end of RDS decoders

#
# Video decoders
#
# CONFIG_VIDEO_ADV7180 is not set
# CONFIG_VIDEO_ADV7183 is not set
# CONFIG_VIDEO_ADV748X is not set
# CONFIG_VIDEO_ADV7604 is not set
# CONFIG_VIDEO_ADV7842 is not set
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_ISL7998X is not set
# CONFIG_VIDEO_LT6911UXE is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_MAX9286 is not set
# CONFIG_VIDEO_ML86V7667 is not set
# CONFIG_VIDEO_SAA7110 is not set
CONFIG_VIDEO_SAA711X=y
# CONFIG_VIDEO_TC358743 is not set
# CONFIG_VIDEO_TC358746 is not set
# CONFIG_VIDEO_TVP514X is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_TVP7002 is not set
# CONFIG_VIDEO_TW2804 is not set
# CONFIG_VIDEO_TW9900 is not set
# CONFIG_VIDEO_TW9903 is not set
# CONFIG_VIDEO_TW9906 is not set
# CONFIG_VIDEO_TW9910 is not set
# CONFIG_VIDEO_VPX3220 is not set

#
# Video and audio decoders
#
# CONFIG_VIDEO_SAA717X is not set
CONFIG_VIDEO_CX25840=y
# end of Video decoders

#
# Video encoders
#
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set
# CONFIG_VIDEO_ADV7343 is not set
# CONFIG_VIDEO_ADV7393 is not set
# CONFIG_VIDEO_ADV7511 is not set
# CONFIG_VIDEO_AK881X is not set
# CONFIG_VIDEO_SAA7127 is not set
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_THS8200 is not set
# end of Video encoders

#
# Video improvement chips
#
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set
# end of Video improvement chips

#
# Audio/Video compression chips
#
# CONFIG_VIDEO_SAA6752HS is not set
# end of Audio/Video compression chips

#
# SDR tuner chips
#
# CONFIG_SDR_MAX2175 is not set
# end of SDR tuner chips

#
# Miscellaneous helper chips
#
# CONFIG_VIDEO_I2C is not set
# CONFIG_VIDEO_M52790 is not set
# CONFIG_VIDEO_ST_MIPID02 is not set
# CONFIG_VIDEO_THS7303 is not set
# end of Miscellaneous helper chips

#
# Video serializers and deserializers
#
# CONFIG_VIDEO_DS90UB913 is not set
# CONFIG_VIDEO_DS90UB953 is not set
# CONFIG_VIDEO_DS90UB960 is not set
# CONFIG_VIDEO_MAX96714 is not set
# CONFIG_VIDEO_MAX96717 is not set
# end of Video serializers and deserializers

#
# Media SPI Adapters
#
# CONFIG_CXD2880_SPI_DRV is not set
# CONFIG_VIDEO_GS1662 is not set
# end of Media SPI Adapters

CONFIG_MEDIA_TUNER=y

#
# Customize TV tuners
#
# CONFIG_MEDIA_TUNER_E4000 is not set
# CONFIG_MEDIA_TUNER_FC0011 is not set
# CONFIG_MEDIA_TUNER_FC0012 is not set
# CONFIG_MEDIA_TUNER_FC0013 is not set
# CONFIG_MEDIA_TUNER_FC2580 is not set
# CONFIG_MEDIA_TUNER_IT913X is not set
# CONFIG_MEDIA_TUNER_M88RS6000T is not set
# CONFIG_MEDIA_TUNER_MAX2165 is not set
# CONFIG_MEDIA_TUNER_MC44S803 is not set
CONFIG_MEDIA_TUNER_MSI001=y
# CONFIG_MEDIA_TUNER_MT2060 is not set
# CONFIG_MEDIA_TUNER_MT2063 is not set
# CONFIG_MEDIA_TUNER_MT20XX is not set
# CONFIG_MEDIA_TUNER_MT2131 is not set
# CONFIG_MEDIA_TUNER_MT2266 is not set
# CONFIG_MEDIA_TUNER_MXL301RF is not set
# CONFIG_MEDIA_TUNER_MXL5005S is not set
# CONFIG_MEDIA_TUNER_MXL5007T is not set
# CONFIG_MEDIA_TUNER_QM1D1B0004 is not set
# CONFIG_MEDIA_TUNER_QM1D1C0042 is not set
# CONFIG_MEDIA_TUNER_QT1010 is not set
# CONFIG_MEDIA_TUNER_R820T is not set
# CONFIG_MEDIA_TUNER_SI2157 is not set
# CONFIG_MEDIA_TUNER_SIMPLE is not set
# CONFIG_MEDIA_TUNER_TDA18212 is not set
# CONFIG_MEDIA_TUNER_TDA18218 is not set
# CONFIG_MEDIA_TUNER_TDA18250 is not set
# CONFIG_MEDIA_TUNER_TDA18271 is not set
# CONFIG_MEDIA_TUNER_TDA827X is not set
# CONFIG_MEDIA_TUNER_TDA8290 is not set
# CONFIG_MEDIA_TUNER_TDA9887 is not set
# CONFIG_MEDIA_TUNER_TEA5761 is not set
# CONFIG_MEDIA_TUNER_TEA5767 is not set
# CONFIG_MEDIA_TUNER_TUA9001 is not set
# CONFIG_MEDIA_TUNER_XC2028 is not set
# CONFIG_MEDIA_TUNER_XC4000 is not set
# CONFIG_MEDIA_TUNER_XC5000 is not set
# end of Customize TV tuners

#
# Customise DVB Frontends
#

#
# Multistandard (satellite) frontends
#
# CONFIG_DVB_M88DS3103 is not set
# CONFIG_DVB_MXL5XX is not set
# CONFIG_DVB_STB0899 is not set
# CONFIG_DVB_STB6100 is not set
# CONFIG_DVB_STV090x is not set
# CONFIG_DVB_STV0910 is not set
# CONFIG_DVB_STV6110x is not set
# CONFIG_DVB_STV6111 is not set

#
# Multistandard (cable + terrestrial) frontends
#
# CONFIG_DVB_DRXK is not set
# CONFIG_DVB_MN88472 is not set
# CONFIG_DVB_MN88473 is not set
# CONFIG_DVB_SI2165 is not set
# CONFIG_DVB_TDA18271C2DD is not set

#
# DVB-S (satellite) frontends
#
# CONFIG_DVB_CX24110 is not set
# CONFIG_DVB_CX24116 is not set
# CONFIG_DVB_CX24117 is not set
# CONFIG_DVB_CX24120 is not set
# CONFIG_DVB_CX24123 is not set
# CONFIG_DVB_DS3000 is not set
# CONFIG_DVB_MB86A16 is not set
# CONFIG_DVB_MT312 is not set
# CONFIG_DVB_S5H1420 is not set
# CONFIG_DVB_SI21XX is not set
# CONFIG_DVB_STB6000 is not set
# CONFIG_DVB_STV0288 is not set
# CONFIG_DVB_STV0299 is not set
# CONFIG_DVB_STV0900 is not set
# CONFIG_DVB_STV6110 is not set
# CONFIG_DVB_TDA10071 is not set
# CONFIG_DVB_TDA10086 is not set
# CONFIG_DVB_TDA8083 is not set
# CONFIG_DVB_TDA8261 is not set
# CONFIG_DVB_TDA826X is not set
# CONFIG_DVB_TS2020 is not set
# CONFIG_DVB_TUA6100 is not set
# CONFIG_DVB_TUNER_CX24113 is not set
# CONFIG_DVB_TUNER_ITD1000 is not set
# CONFIG_DVB_VES1X93 is not set
# CONFIG_DVB_ZL10036 is not set
# CONFIG_DVB_ZL10039 is not set

#
# DVB-T (terrestrial) frontends
#
CONFIG_DVB_AF9013=y
CONFIG_DVB_AS102_FE=y
# CONFIG_DVB_CX22700 is not set
# CONFIG_DVB_CX22702 is not set
# CONFIG_DVB_CXD2820R is not set
# CONFIG_DVB_CXD2841ER is not set
CONFIG_DVB_DIB3000MB=y
CONFIG_DVB_DIB3000MC=y
# CONFIG_DVB_DIB7000M is not set
# CONFIG_DVB_DIB7000P is not set
# CONFIG_DVB_DIB9000 is not set
# CONFIG_DVB_DRXD is not set
CONFIG_DVB_EC100=y
CONFIG_DVB_GP8PSK_FE=y
# CONFIG_DVB_L64781 is not set
# CONFIG_DVB_MT352 is not set
# CONFIG_DVB_NXT6000 is not set
CONFIG_DVB_RTL2830=y
CONFIG_DVB_RTL2832=y
CONFIG_DVB_RTL2832_SDR=y
# CONFIG_DVB_S5H1432 is not set
# CONFIG_DVB_SI2168 is not set
# CONFIG_DVB_SP887X is not set
# CONFIG_DVB_STV0367 is not set
# CONFIG_DVB_TDA10048 is not set
# CONFIG_DVB_TDA1004X is not set
# CONFIG_DVB_ZD1301_DEMOD is not set
CONFIG_DVB_ZL10353=y
# CONFIG_DVB_CXD2880 is not set

#
# DVB-C (cable) frontends
#
# CONFIG_DVB_STV0297 is not set
# CONFIG_DVB_TDA10021 is not set
# CONFIG_DVB_TDA10023 is not set
# CONFIG_DVB_VES1820 is not set

#
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
#
# CONFIG_DVB_AU8522_DTV is not set
# CONFIG_DVB_AU8522_V4L is not set
# CONFIG_DVB_BCM3510 is not set
# CONFIG_DVB_LG2160 is not set
# CONFIG_DVB_LGDT3305 is not set
# CONFIG_DVB_LGDT3306A is not set
# CONFIG_DVB_LGDT330X is not set
# CONFIG_DVB_MXL692 is not set
# CONFIG_DVB_NXT200X is not set
# CONFIG_DVB_OR51132 is not set
# CONFIG_DVB_OR51211 is not set
# CONFIG_DVB_S5H1409 is not set
# CONFIG_DVB_S5H1411 is not set

#
# ISDB-T (terrestrial) frontends
#
# CONFIG_DVB_DIB8000 is not set
# CONFIG_DVB_MB86A20S is not set
# CONFIG_DVB_S921 is not set

#
# ISDB-S (satellite) & ISDB-T (terrestrial) frontends
#
# CONFIG_DVB_MN88443X is not set
# CONFIG_DVB_TC90522 is not set

#
# Digital terrestrial only tuners/PLL
#
# CONFIG_DVB_PLL is not set
# CONFIG_DVB_TUNER_DIB0070 is not set
# CONFIG_DVB_TUNER_DIB0090 is not set

#
# SEC control devices for DVB-S
#
# CONFIG_DVB_A8293 is not set
CONFIG_DVB_AF9033=y
# CONFIG_DVB_ASCOT2E is not set
# CONFIG_DVB_ATBM8830 is not set
# CONFIG_DVB_HELENE is not set
# CONFIG_DVB_HORUS3A is not set
# CONFIG_DVB_ISL6405 is not set
# CONFIG_DVB_ISL6421 is not set
# CONFIG_DVB_ISL6423 is not set
# CONFIG_DVB_IX2505V is not set
# CONFIG_DVB_LGS8GL5 is not set
# CONFIG_DVB_LGS8GXX is not set
# CONFIG_DVB_LNBH25 is not set
# CONFIG_DVB_LNBH29 is not set
# CONFIG_DVB_LNBP21 is not set
# CONFIG_DVB_LNBP22 is not set
# CONFIG_DVB_M88RS2000 is not set
# CONFIG_DVB_TDA665x is not set
# CONFIG_DVB_DRX39XYJ is not set

#
# Common Interface (EN50221) controller drivers
#
# CONFIG_DVB_CXD2099 is not set
# CONFIG_DVB_SP2 is not set
# end of Customise DVB Frontends

#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set
# end of Media ancillary drivers

#
# Graphics support
#
CONFIG_APERTURE_HELPERS=y
CONFIG_SCREEN_INFO=y
CONFIG_VIDEO=y
# CONFIG_AUXDISPLAY is not set
# CONFIG_PANEL is not set
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_INTEL_GTT=y
# CONFIG_VGA_SWITCHEROO is not set
CONFIG_DRM=y

#
# DRM debugging options
#
# CONFIG_DRM_WERROR is not set
CONFIG_DRM_DEBUG_MM=y
# end of DRM debugging options

CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_KMS_HELPER=y
# CONFIG_DRM_PANIC is not set
# CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS is not set
# CONFIG_DRM_DEBUG_MODESET_LOCK is not set
CONFIG_DRM_CLIENT=y
CONFIG_DRM_CLIENT_LIB=y
CONFIG_DRM_CLIENT_SELECTION=y
CONFIG_DRM_CLIENT_SETUP=y

#
# Supported DRM clients
#
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM is not set
# CONFIG_DRM_CLIENT_LOG is not set
CONFIG_DRM_CLIENT_DEFAULT_FBDEV=y
CONFIG_DRM_CLIENT_DEFAULT="fbdev"
# end of Supported DRM clients

# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_DISPLAY_DP_AUX_BUS=y
CONFIG_DRM_DISPLAY_HELPER=y
# CONFIG_DRM_DISPLAY_DP_AUX_CEC is not set
# CONFIG_DRM_DISPLAY_DP_AUX_CHARDEV is not set
CONFIG_DRM_DISPLAY_DP_HELPER=y
CONFIG_DRM_DISPLAY_DSC_HELPER=y
CONFIG_DRM_DISPLAY_HDCP_HELPER=y
CONFIG_DRM_DISPLAY_HDMI_HELPER=y
CONFIG_DRM_TTM=y
CONFIG_DRM_BUDDY=y
CONFIG_DRM_TTM_HELPER=y
CONFIG_DRM_GEM_SHMEM_HELPER=y

#
# Drivers for system framebuffers
#
CONFIG_DRM_SYSFB_HELPER=y
CONFIG_DRM_SIMPLEDRM=y
# CONFIG_DRM_VESADRM is not set
# end of Drivers for system framebuffers

#
# ARM devices
#
# CONFIG_DRM_KOMEDA is not set
# end of ARM devices

# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_AMDGPU is not set
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_I915=y
CONFIG_DRM_I915_FORCE_PROBE=""
CONFIG_DRM_I915_CAPTURE_ERROR=y
CONFIG_DRM_I915_COMPRESS_ERROR=y
CONFIG_DRM_I915_USERPTR=y
# CONFIG_DRM_I915_GVT_KVMGT is not set
# CONFIG_DRM_I915_DP_TUNNEL is not set

#
# drm/i915 Debugging
#
# CONFIG_DRM_I915_WERROR is not set
# CONFIG_DRM_I915_REPLAY_GPU_HANGS_API is not set
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_I915_DEBUG_MMIO is not set
# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set
# CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set
# CONFIG_DRM_I915_DEBUG_GUC is not set
# CONFIG_DRM_I915_SELFTEST is not set
# CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set
# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set
# CONFIG_DRM_I915_DEBUG_RUNTIME_PM is not set
# CONFIG_DRM_I915_DEBUG_WAKEREF is not set
# end of drm/i915 Debugging

#
# drm/i915 Profile Guided Optimisation
#
CONFIG_DRM_I915_REQUEST_TIMEOUT=20000
CONFIG_DRM_I915_FENCE_TIMEOUT=10000
CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250
CONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500
CONFIG_DRM_I915_PREEMPT_TIMEOUT=640
CONFIG_DRM_I915_PREEMPT_TIMEOUT_COMPUTE=7500
CONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=8000
CONFIG_DRM_I915_STOP_TIMEOUT=100
CONFIG_DRM_I915_TIMESLICE_DURATION=1
# end of drm/i915 Profile Guided Optimisation

# CONFIG_DRM_XE is not set
CONFIG_DRM_VGEM=y
CONFIG_DRM_VKMS=y
CONFIG_DRM_VMWGFX=y
# CONFIG_DRM_VMWGFX_MKSSTATS is not set
# CONFIG_DRM_GMA500 is not set
CONFIG_DRM_UDL=y
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_QXL is not set
CONFIG_DRM_VIRTIO_GPU=y
CONFIG_DRM_VIRTIO_GPU_KMS=y
CONFIG_DRM_PANEL=y

#
# Display Panels
#
# CONFIG_DRM_PANEL_ABT_Y030XX067A is not set
# CONFIG_DRM_PANEL_ARM_VERSATILE is not set
# CONFIG_DRM_PANEL_ASUS_Z00T_TM5P5_NT35596 is not set
# CONFIG_DRM_PANEL_AUO_A030JTN01 is not set
# CONFIG_DRM_PANEL_BOE_BF060Y8M_AJ0 is not set
# CONFIG_DRM_PANEL_BOE_HIMAX8279D is not set
# CONFIG_DRM_PANEL_BOE_TD4320 is not set
# CONFIG_DRM_PANEL_BOE_TH101MB31UIG002_28A is not set
# CONFIG_DRM_PANEL_BOE_TV101WUM_NL6 is not set
# CONFIG_DRM_PANEL_BOE_TV101WUM_LL2 is not set
# CONFIG_DRM_PANEL_EBBG_FT8719 is not set
# CONFIG_DRM_PANEL_ELIDA_KD35T133 is not set
# CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02 is not set
# CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D is not set
# CONFIG_DRM_PANEL_DSI_CM is not set
# CONFIG_DRM_PANEL_LVDS is not set
# CONFIG_DRM_PANEL_HIMAX_HX8279 is not set
# CONFIG_DRM_PANEL_HIMAX_HX83102 is not set
# CONFIG_DRM_PANEL_HIMAX_HX83112A is not set
# CONFIG_DRM_PANEL_HIMAX_HX83112B is not set
# CONFIG_DRM_PANEL_HIMAX_HX8394 is not set
# CONFIG_DRM_PANEL_HYDIS_HV101HD1 is not set
# CONFIG_DRM_PANEL_ILITEK_IL9322 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9341 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9805 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9806E is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9881C is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9882T is not set
# CONFIG_DRM_PANEL_INNOLUX_EJ030NA is not set
# CONFIG_DRM_PANEL_INNOLUX_P079ZCA is not set
# CONFIG_DRM_PANEL_JADARD_JD9365DA_H3 is not set
# CONFIG_DRM_PANEL_JDI_LPM102A188A is not set
# CONFIG_DRM_PANEL_JDI_LT070ME05000 is not set
# CONFIG_DRM_PANEL_JDI_R63452 is not set
# CONFIG_DRM_PANEL_KHADAS_TS050 is not set
# CONFIG_DRM_PANEL_KINGDISPLAY_KD097D04 is not set
# CONFIG_DRM_PANEL_LEADTEK_LTK050H3146W is not set
# CONFIG_DRM_PANEL_LEADTEK_LTK500HD1829 is not set
# CONFIG_DRM_PANEL_LINCOLNTECH_LCD197 is not set
# CONFIG_DRM_PANEL_LG_LB035Q02 is not set
# CONFIG_DRM_PANEL_LG_LD070WX3 is not set
# CONFIG_DRM_PANEL_LG_LG4573 is not set
# CONFIG_DRM_PANEL_LG_SW43408 is not set
# CONFIG_DRM_PANEL_MAGNACHIP_D53E6EA8966 is not set
# CONFIG_DRM_PANEL_MANTIX_MLAF057WE51 is not set
# CONFIG_DRM_PANEL_NEC_NL8048HL11 is not set
# CONFIG_DRM_PANEL_NEWVISION_NV3051D is not set
# CONFIG_DRM_PANEL_NEWVISION_NV3052C is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35510 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35560 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35950 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36523 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36672A is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36672E is not set
# CONFIG_DRM_PANEL_NOVATEK_NT37801 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT39016 is not set
# CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO is not set
# CONFIG_DRM_PANEL_ORISETECH_OTA5601A is not set
# CONFIG_DRM_PANEL_ORISETECH_OTM8009A is not set
# CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS is not set
# CONFIG_DRM_PANEL_PANASONIC_VVX10F034N00 is not set
# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM67191 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM67200 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM68200 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM692E5 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM69380 is not set
# CONFIG_DRM_PANEL_RENESAS_R61307 is not set
# CONFIG_DRM_PANEL_RENESAS_R69328 is not set
# CONFIG_DRM_PANEL_RONBO_RB070D30 is not set
# CONFIG_DRM_PANEL_SAMSUNG_AMS581VF01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_AMS639RQ08 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS427AP24 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 is not set
# CONFIG_DRM_PANEL_SAMSUNG_DB7430 is not set
# CONFIG_DRM_PANEL_SAMSUNG_LD9040 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3FA7 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D16D0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D27A1 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D7AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3FC2X01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA2 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA8 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E63M0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA5X01_AMS561RA01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_SOFEF00 is not set
# CONFIG_DRM_PANEL_SEIKO_43WVF1G is not set
# CONFIG_DRM_PANEL_SHARP_LQ079L1SX01 is not set
# CONFIG_DRM_PANEL_SHARP_LQ101R1SX01 is not set
# CONFIG_DRM_PANEL_SHARP_LS037V7DW01 is not set
# CONFIG_DRM_PANEL_SHARP_LS043T1LE01 is not set
# CONFIG_DRM_PANEL_SHARP_LS060T1SX01 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7701 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7703 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7789V is not set
# CONFIG_DRM_PANEL_SONY_ACX565AKM is not set
# CONFIG_DRM_PANEL_SONY_TD4353_JDI is not set
# CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521 is not set
# CONFIG_DRM_PANEL_STARTEK_KD070FHFID015 is not set
CONFIG_DRM_PANEL_EDP=y
# CONFIG_DRM_PANEL_SIMPLE is not set
# CONFIG_DRM_PANEL_SUMMIT is not set
# CONFIG_DRM_PANEL_SYNAPTICS_R63353 is not set
# CONFIG_DRM_PANEL_SYNAPTICS_TDDI is not set
# CONFIG_DRM_PANEL_TDO_TL070WSH30 is not set
# CONFIG_DRM_PANEL_TPO_TD028TTEC1 is not set
# CONFIG_DRM_PANEL_TPO_TD043MTEA1 is not set
# CONFIG_DRM_PANEL_TPO_TPG110 is not set
# CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA is not set
# CONFIG_DRM_PANEL_VISIONOX_G2647FB105 is not set
# CONFIG_DRM_PANEL_VISIONOX_R66451 is not set
# CONFIG_DRM_PANEL_VISIONOX_RM69299 is not set
# CONFIG_DRM_PANEL_VISIONOX_RM692E5 is not set
# CONFIG_DRM_PANEL_VISIONOX_VTDR6130 is not set
# CONFIG_DRM_PANEL_WIDECHIPS_WS2401 is not set
# CONFIG_DRM_PANEL_XINPENG_XPP055C272 is not set
# end of Display Panels

CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y
CONFIG_DRM_AUX_BRIDGE=y

#
# Display Interface Bridges
#
# CONFIG_DRM_CHIPONE_ICN6211 is not set
# CONFIG_DRM_CHRONTEL_CH7033 is not set
# CONFIG_DRM_DISPLAY_CONNECTOR is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_ITE_IT6263 is not set
# CONFIG_DRM_ITE_IT6505 is not set
# CONFIG_DRM_LONTIUM_LT8912B is not set
# CONFIG_DRM_LONTIUM_LT9211 is not set
# CONFIG_DRM_LONTIUM_LT9611 is not set
# CONFIG_DRM_LONTIUM_LT9611UXC is not set
# CONFIG_DRM_ITE_IT66121 is not set
# CONFIG_DRM_LVDS_CODEC is not set
# CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW is not set
# CONFIG_DRM_NWL_MIPI_DSI is not set
# CONFIG_DRM_NXP_PTN3460 is not set
# CONFIG_DRM_PARADE_PS8622 is not set
# CONFIG_DRM_PARADE_PS8640 is not set
# CONFIG_DRM_SAMSUNG_DSIM is not set
# CONFIG_DRM_SIL_SII8620 is not set
# CONFIG_DRM_SII902X is not set
# CONFIG_DRM_SII9234 is not set
# CONFIG_DRM_SIMPLE_BRIDGE is not set
# CONFIG_DRM_SOLOMON_SSD2825 is not set
# CONFIG_DRM_THINE_THC63LVD1024 is not set
# CONFIG_DRM_TOSHIBA_TC358762 is not set
# CONFIG_DRM_TOSHIBA_TC358764 is not set
# CONFIG_DRM_TOSHIBA_TC358767 is not set
# CONFIG_DRM_TOSHIBA_TC358768 is not set
# CONFIG_DRM_TOSHIBA_TC358775 is not set
# CONFIG_DRM_TI_DLPC3433 is not set
# CONFIG_DRM_TI_TDP158 is not set
# CONFIG_DRM_TI_TFP410 is not set
# CONFIG_DRM_TI_SN65DSI83 is not set
# CONFIG_DRM_TI_SN65DSI86 is not set
# CONFIG_DRM_TI_TPD12S015 is not set
# CONFIG_DRM_WAVESHARE_BRIDGE is not set
# CONFIG_DRM_ANALOGIX_ANX6345 is not set
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# CONFIG_DRM_ANALOGIX_ANX7625 is not set
# CONFIG_DRM_I2C_ADV7511 is not set
# CONFIG_DRM_CDNS_DSI is not set
# CONFIG_DRM_CDNS_MHDP8546 is not set
# end of Display Interface Bridges

# CONFIG_DRM_ETNAVIV is not set
# CONFIG_DRM_HISI_HIBMC is not set
# CONFIG_DRM_LOGICVC is not set
# CONFIG_DRM_APPLETBDRM is not set
# CONFIG_DRM_ARCPGU is not set
CONFIG_DRM_BOCHS=y
CONFIG_DRM_CIRRUS_QEMU=y
CONFIG_DRM_GM12U320=y
# CONFIG_DRM_PANEL_MIPI_DBI is not set
# CONFIG_DRM_PIXPAPER is not set
# CONFIG_TINYDRM_HX8357D is not set
# CONFIG_TINYDRM_ILI9163 is not set
# CONFIG_TINYDRM_ILI9225 is not set
# CONFIG_TINYDRM_ILI9341 is not set
# CONFIG_TINYDRM_ILI9486 is not set
# CONFIG_TINYDRM_MI0283QT is not set
# CONFIG_TINYDRM_REPAPER is not set
# CONFIG_TINYDRM_SHARP_MEMORY is not set
# CONFIG_DRM_VBOXVIDEO is not set
CONFIG_DRM_GUD=y
# CONFIG_DRM_ST7571_I2C is not set
# CONFIG_DRM_ST7586 is not set
# CONFIG_DRM_ST7735R is not set
# CONFIG_DRM_SSD130X is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y

#
# Frame buffer Devices
#
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=y
# CONFIG_FB_UVESA is not set
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
CONFIG_FB_VIRTUAL=y
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_SSD1307 is not set
# CONFIG_FB_SM712 is not set
CONFIG_FB_CORE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB_DEVICE=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYSMEM_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_IOMEM_FOPS=y
CONFIG_FB_IOMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS_DEFERRED=y
CONFIG_FB_TILEBLITTING=y
# end of Frame buffer Devices

#
# Backlight & LCD device support
#
CONFIG_LCD_CLASS_DEVICE=y
# CONFIG_LCD_L4F00242T03 is not set
# CONFIG_LCD_LMS283GF05 is not set
# CONFIG_LCD_LTV350QV is not set
# CONFIG_LCD_ILI922X is not set
# CONFIG_LCD_ILI9320 is not set
# CONFIG_LCD_TDO24M is not set
# CONFIG_LCD_VGG2432A4 is not set
# CONFIG_LCD_PLATFORM is not set
# CONFIG_LCD_AMS369FG06 is not set
# CONFIG_LCD_LMS501KF03 is not set
# CONFIG_LCD_HX8357 is not set
# CONFIG_LCD_OTM3225A is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_AW99706 is not set
# CONFIG_BACKLIGHT_KTD253 is not set
# CONFIG_BACKLIGHT_KTD2801 is not set
# CONFIG_BACKLIGHT_KTZ8866 is not set
# CONFIG_BACKLIGHT_MT6370 is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_QCOM_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3509 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_PANDORA is not set
# CONFIG_BACKLIGHT_GPIO is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_BACKLIGHT_ARCXCNN is not set
# CONFIG_BACKLIGHT_LED is not set
# end of Backlight & LCD device support

CONFIG_VGASTATE=y
CONFIG_VIDEOMODE_HELPERS=y
CONFIG_HDMI=y
# CONFIG_FIRMWARE_EDID is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is not set
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set
# end of Console display driver support

CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
# CONFIG_LOGO_LINUX_CLUT224 is not set
# CONFIG_TRACE_GPU_MEM is not set
# end of Graphics support

# CONFIG_DRM_ACCEL is not set
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_SEQ_DEVICE=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_UMP=y
CONFIG_SND_UMP_LEGACY_RAWMIDI=y
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_CTL_FAST_LOOKUP=y
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_CTL_INPUT_VALIDATION is not set
# CONFIG_SND_UTIMER is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_SEQ_MIDI_EVENT=y
CONFIG_SND_SEQ_MIDI=y
CONFIG_SND_SEQ_VIRMIDI=y
# CONFIG_SND_SEQ_UMP is not set
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
CONFIG_SND_DUMMY=y
CONFIG_SND_ALOOP=y
# CONFIG_SND_PCMTEST is not set
CONFIG_SND_VIRMIDI=y
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_SERIAL_GENERIC is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDA_ACPI is not set
# end of HD-Audio

# CONFIG_SND_SPI is not set
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
CONFIG_SND_USB_AUDIO_MIDI_V2=y
CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=y
CONFIG_SND_USB_UA101=y
CONFIG_SND_USB_USX2Y=y
CONFIG_SND_USB_CAIAQ=y
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_US122L=y
# CONFIG_SND_USB_US144MKII is not set
CONFIG_SND_USB_6FIRE=y
CONFIG_SND_USB_HIFACE=y
CONFIG_SND_BCD2000=y
CONFIG_SND_USB_LINE6=y
CONFIG_SND_USB_POD=y
CONFIG_SND_USB_PODHD=y
CONFIG_SND_USB_TONEPORT=y
CONFIG_SND_USB_VARIAX=y
# CONFIG_SND_FIREWIRE is not set
CONFIG_SND_PCMCIA=y
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set
CONFIG_SND_SOC=y
# CONFIG_SND_SOC_USB is not set

#
# Analog Devices
#
# CONFIG_SND_SOC_ADI_AXI_I2S is not set
# CONFIG_SND_SOC_ADI_AXI_SPDIF is not set
# end of Analog Devices

#
# AMD
#
# CONFIG_SND_SOC_AMD_ACP is not set
# CONFIG_SND_SOC_AMD_ACP3x is not set
# CONFIG_SND_SOC_AMD_RENOIR is not set
# CONFIG_SND_SOC_AMD_ACP5x is not set
# CONFIG_SND_SOC_AMD_ACP6x is not set
# CONFIG_SND_AMD_ACP_CONFIG is not set
# CONFIG_SND_SOC_AMD_ACP_COMMON is not set
# CONFIG_SND_SOC_AMD_RPL_ACP6x is not set
# end of AMD

#
# Apple
#
# end of Apple

#
# Atmel
#
# CONFIG_SND_SOC_MIKROE_PROTO is not set
# end of Atmel

#
# Au1x
#
# end of Au1x

#
# Broadcom
#
# CONFIG_SND_BCM63XX_I2S_WHISTLER is not set
# end of Broadcom

#
# Cirrus Logic
#
# end of Cirrus Logic

#
# DesignWare
#
# CONFIG_SND_DESIGNWARE_I2S is not set
# end of DesignWare

#
# Freescale
#

#
# Common SoC Audio options for Freescale CPUs:
#
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
# CONFIG_SND_SOC_FSL_AUDMIX is not set
# CONFIG_SND_SOC_FSL_SSI is not set
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_FSL_MICFIL is not set
# CONFIG_SND_SOC_FSL_XCVR is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
# end of Freescale

#
# Google
#
# CONFIG_SND_SOC_CHV3_I2S is not set
# end of Google

#
# Hisilicon
#
# CONFIG_SND_I2S_HI6210_I2S is not set
# end of Hisilicon

#
# JZ4740
#
# end of JZ4740

#
# Kirkwood
#
# end of Kirkwood

#
# Loongson
#
# end of Loongson

#
# Intel
#
# CONFIG_SND_SOC_INTEL_SST_TOPLEVEL is not set
# CONFIG_SND_SOC_INTEL_AVS is not set
# end of Intel

#
# Mediatek
#
# CONFIG_SND_SOC_MTK_BTCVSD is not set
# end of Mediatek

#
# PXA
#
# end of PXA

#
# SoundWire (SDCA)
#
CONFIG_SND_SOC_SDCA_OPTIONAL=y
# end of SoundWire (SDCA)

#
# ST SPEAr
#
# end of ST SPEAr

#
# Spreadtrum
#
# end of Spreadtrum

#
# STMicroelectronics STM32
#
# end of STMicroelectronics STM32

#
# Tegra
#
# end of Tegra

#
# Xilinx
#
# CONFIG_SND_SOC_XILINX_I2S is not set
# CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER is not set
# CONFIG_SND_SOC_XILINX_SPDIF is not set
# end of Xilinx

#
# Xtensa
#
# CONFIG_SND_SOC_XTFPGA_I2S is not set
# end of Xtensa

# CONFIG_SND_SOC_SOF_TOPLEVEL is not set
CONFIG_SND_SOC_I2C_AND_SPI=y

#
# CODEC drivers
#
# CONFIG_SND_SOC_AC97_CODEC is not set
# CONFIG_SND_SOC_ADAU1372_I2C is not set
# CONFIG_SND_SOC_ADAU1372_SPI is not set
# CONFIG_SND_SOC_ADAU1373 is not set
# CONFIG_SND_SOC_ADAU1701 is not set
# CONFIG_SND_SOC_ADAU1761_I2C is not set
# CONFIG_SND_SOC_ADAU1761_SPI is not set
# CONFIG_SND_SOC_ADAU7002 is not set
# CONFIG_SND_SOC_ADAU7118_HW is not set
# CONFIG_SND_SOC_ADAU7118_I2C is not set
# CONFIG_SND_SOC_AK4104 is not set
# CONFIG_SND_SOC_AK4118 is not set
# CONFIG_SND_SOC_AK4375 is not set
# CONFIG_SND_SOC_AK4458 is not set
# CONFIG_SND_SOC_AK4554 is not set
# CONFIG_SND_SOC_AK4613 is not set
# CONFIG_SND_SOC_AK4619 is not set
# CONFIG_SND_SOC_AK4642 is not set
# CONFIG_SND_SOC_AK5386 is not set
# CONFIG_SND_SOC_AK5558 is not set
# CONFIG_SND_SOC_ALC5623 is not set
# CONFIG_SND_SOC_AUDIO_IIO_AUX is not set
# CONFIG_SND_SOC_AW8738 is not set
# CONFIG_SND_SOC_AW88395 is not set
# CONFIG_SND_SOC_AW88166 is not set
# CONFIG_SND_SOC_AW88261 is not set
# CONFIG_SND_SOC_AW88081 is not set
# CONFIG_SND_SOC_AW87390 is not set
# CONFIG_SND_SOC_AW88399 is not set
# CONFIG_SND_SOC_BD28623 is not set
# CONFIG_SND_SOC_BT_SCO is not set
# CONFIG_SND_SOC_CHV3_CODEC is not set
# CONFIG_SND_SOC_CS35L32 is not set
# CONFIG_SND_SOC_CS35L33 is not set
# CONFIG_SND_SOC_CS35L34 is not set
# CONFIG_SND_SOC_CS35L35 is not set
# CONFIG_SND_SOC_CS35L36 is not set
# CONFIG_SND_SOC_CS35L41_SPI is not set
# CONFIG_SND_SOC_CS35L41_I2C is not set
# CONFIG_SND_SOC_CS35L45_SPI is not set
# CONFIG_SND_SOC_CS35L45_I2C is not set
# CONFIG_SND_SOC_CS35L56_I2C is not set
# CONFIG_SND_SOC_CS35L56_SPI is not set
# CONFIG_SND_SOC_CS35L56_SDW is not set
# CONFIG_SND_SOC_CS42L42 is not set
# CONFIG_SND_SOC_CS42L42_SDW is not set
# CONFIG_SND_SOC_CS42L51_I2C is not set
# CONFIG_SND_SOC_CS42L52 is not set
# CONFIG_SND_SOC_CS42L56 is not set
# CONFIG_SND_SOC_CS42L73 is not set
# CONFIG_SND_SOC_CS42L83 is not set
# CONFIG_SND_SOC_CS42L84 is not set
# CONFIG_SND_SOC_CS4234 is not set
# CONFIG_SND_SOC_CS4265 is not set
# CONFIG_SND_SOC_CS4270 is not set
# CONFIG_SND_SOC_CS4271_I2C is not set
# CONFIG_SND_SOC_CS4271_SPI is not set
# CONFIG_SND_SOC_CS42XX8_I2C is not set
# CONFIG_SND_SOC_CS43130 is not set
# CONFIG_SND_SOC_CS4341 is not set
# CONFIG_SND_SOC_CS4349 is not set
# CONFIG_SND_SOC_CS48L32 is not set
# CONFIG_SND_SOC_CS53L30 is not set
# CONFIG_SND_SOC_CS530X_I2C is not set
# CONFIG_SND_SOC_CS530X_SPI is not set
# CONFIG_SND_SOC_CX2072X is not set
# CONFIG_SND_SOC_DA7213 is not set
# CONFIG_SND_SOC_DMIC is not set
# CONFIG_SND_SOC_ES7134 is not set
# CONFIG_SND_SOC_ES7241 is not set
# CONFIG_SND_SOC_ES8311 is not set
# CONFIG_SND_SOC_ES8316 is not set
# CONFIG_SND_SOC_ES8323 is not set
# CONFIG_SND_SOC_ES8326 is not set
# CONFIG_SND_SOC_ES8328_I2C is not set
# CONFIG_SND_SOC_ES8328_SPI is not set
# CONFIG_SND_SOC_ES8375 is not set
# CONFIG_SND_SOC_ES8389 is not set
# CONFIG_SND_SOC_FS210X is not set
# CONFIG_SND_SOC_GTM601 is not set
# CONFIG_SND_SOC_HDA is not set
# CONFIG_SND_SOC_ICS43432 is not set
# CONFIG_SND_SOC_IDT821034 is not set
# CONFIG_SND_SOC_MAX98088 is not set
# CONFIG_SND_SOC_MAX98090 is not set
# CONFIG_SND_SOC_MAX98357A is not set
# CONFIG_SND_SOC_MAX98504 is not set
# CONFIG_SND_SOC_MAX9867 is not set
# CONFIG_SND_SOC_MAX98927 is not set
# CONFIG_SND_SOC_MAX98520 is not set
# CONFIG_SND_SOC_MAX98363 is not set
# CONFIG_SND_SOC_MAX98373_I2C is not set
# CONFIG_SND_SOC_MAX98373_SDW is not set
# CONFIG_SND_SOC_MAX98388 is not set
# CONFIG_SND_SOC_MAX98390 is not set
# CONFIG_SND_SOC_MAX98396 is not set
# CONFIG_SND_SOC_MAX9860 is not set
# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set
# CONFIG_SND_SOC_PCM1681 is not set
# CONFIG_SND_SOC_PCM1754 is not set
# CONFIG_SND_SOC_PCM1789_I2C is not set
# CONFIG_SND_SOC_PCM179X_I2C is not set
# CONFIG_SND_SOC_PCM179X_SPI is not set
# CONFIG_SND_SOC_PCM186X_I2C is not set
# CONFIG_SND_SOC_PCM186X_SPI is not set
# CONFIG_SND_SOC_PCM3060_I2C is not set
# CONFIG_SND_SOC_PCM3060_SPI is not set
# CONFIG_SND_SOC_PCM3168A_I2C is not set
# CONFIG_SND_SOC_PCM3168A_SPI is not set
# CONFIG_SND_SOC_PCM5102A is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_PCM512x_SPI is not set
# CONFIG_SND_SOC_PCM6240 is not set
# CONFIG_SND_SOC_PEB2466 is not set
# CONFIG_SND_SOC_PM4125_SDW is not set
# CONFIG_SND_SOC_RT1017_SDCA_SDW is not set
# CONFIG_SND_SOC_RT1308_SDW is not set
# CONFIG_SND_SOC_RT1316_SDW is not set
# CONFIG_SND_SOC_RT1318_SDW is not set
# CONFIG_SND_SOC_RT1320_SDW is not set
# CONFIG_SND_SOC_RT5616 is not set
# CONFIG_SND_SOC_RT5631 is not set
# CONFIG_SND_SOC_RT5640 is not set
# CONFIG_SND_SOC_RT5659 is not set
# CONFIG_SND_SOC_RT5682_SDW is not set
# CONFIG_SND_SOC_RT700_SDW is not set
# CONFIG_SND_SOC_RT711_SDW is not set
# CONFIG_SND_SOC_RT711_SDCA_SDW is not set
# CONFIG_SND_SOC_RT712_SDCA_SDW is not set
# CONFIG_SND_SOC_RT712_SDCA_DMIC_SDW is not set
# CONFIG_SND_SOC_RT721_SDCA_SDW is not set
# CONFIG_SND_SOC_RT722_SDCA_SDW is not set
# CONFIG_SND_SOC_RT715_SDW is not set
# CONFIG_SND_SOC_RT715_SDCA_SDW is not set
# CONFIG_SND_SOC_RT9120 is not set
# CONFIG_SND_SOC_RT9123 is not set
# CONFIG_SND_SOC_RT9123P is not set
# CONFIG_SND_SOC_RTQ9124 is not set
# CONFIG_SND_SOC_RTQ9128 is not set
# CONFIG_SND_SOC_SDW_MOCKUP is not set
# CONFIG_SND_SOC_SGTL5000 is not set
# CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set
# CONFIG_SND_SOC_SIMPLE_MUX is not set
# CONFIG_SND_SOC_SMA1303 is not set
# CONFIG_SND_SOC_SMA1307 is not set
# CONFIG_SND_SOC_SPDIF is not set
# CONFIG_SND_SOC_SRC4XXX_I2C is not set
# CONFIG_SND_SOC_SSM2305 is not set
# CONFIG_SND_SOC_SSM2518 is not set
# CONFIG_SND_SOC_SSM2602_SPI is not set
# CONFIG_SND_SOC_SSM2602_I2C is not set
# CONFIG_SND_SOC_SSM3515 is not set
# CONFIG_SND_SOC_SSM4567 is not set
# CONFIG_SND_SOC_STA32X is not set
# CONFIG_SND_SOC_STA350 is not set
# CONFIG_SND_SOC_STI_SAS is not set
# CONFIG_SND_SOC_TAS2552 is not set
# CONFIG_SND_SOC_TAS2562 is not set
# CONFIG_SND_SOC_TAS2764 is not set
# CONFIG_SND_SOC_TAS2770 is not set
# CONFIG_SND_SOC_TAS2780 is not set
# CONFIG_SND_SOC_TAS2781_I2C is not set
# CONFIG_SND_SOC_TAS5086 is not set
# CONFIG_SND_SOC_TAS571X is not set
# CONFIG_SND_SOC_TAS5720 is not set
# CONFIG_SND_SOC_TAS5805M is not set
# CONFIG_SND_SOC_TAS6424 is not set
# CONFIG_SND_SOC_TDA7419 is not set
# CONFIG_SND_SOC_TFA9879 is not set
# CONFIG_SND_SOC_TFA989X is not set
# CONFIG_SND_SOC_TLV320ADC3XXX is not set
# CONFIG_SND_SOC_TLV320AIC23_I2C is not set
# CONFIG_SND_SOC_TLV320AIC23_SPI is not set
# CONFIG_SND_SOC_TLV320AIC31XX is not set
# CONFIG_SND_SOC_TLV320AIC32X4_I2C is not set
# CONFIG_SND_SOC_TLV320AIC32X4_SPI is not set
# CONFIG_SND_SOC_TLV320AIC3X_I2C is not set
# CONFIG_SND_SOC_TLV320AIC3X_SPI is not set
# CONFIG_SND_SOC_TLV320ADCX140 is not set
# CONFIG_SND_SOC_TS3A227E is not set
# CONFIG_SND_SOC_TSCS42XX is not set
# CONFIG_SND_SOC_TSCS454 is not set
# CONFIG_SND_SOC_UDA1334 is not set
# CONFIG_SND_SOC_UDA1342 is not set
# CONFIG_SND_SOC_WCD937X_SDW is not set
# CONFIG_SND_SOC_WCD938X_SDW is not set
# CONFIG_SND_SOC_WCD939X_SDW is not set
# CONFIG_SND_SOC_WM8510 is not set
# CONFIG_SND_SOC_WM8523 is not set
# CONFIG_SND_SOC_WM8524 is not set
# CONFIG_SND_SOC_WM8580 is not set
# CONFIG_SND_SOC_WM8711 is not set
# CONFIG_SND_SOC_WM8728 is not set
# CONFIG_SND_SOC_WM8731_I2C is not set
# CONFIG_SND_SOC_WM8731_SPI is not set
# CONFIG_SND_SOC_WM8737 is not set
# CONFIG_SND_SOC_WM8741 is not set
# CONFIG_SND_SOC_WM8750 is not set
# CONFIG_SND_SOC_WM8753 is not set
# CONFIG_SND_SOC_WM8770 is not set
# CONFIG_SND_SOC_WM8776 is not set
# CONFIG_SND_SOC_WM8782 is not set
# CONFIG_SND_SOC_WM8804_I2C is not set
# CONFIG_SND_SOC_WM8804_SPI is not set
# CONFIG_SND_SOC_WM8903 is not set
# CONFIG_SND_SOC_WM8904 is not set
# CONFIG_SND_SOC_WM8940 is not set
# CONFIG_SND_SOC_WM8960 is not set
# CONFIG_SND_SOC_WM8961 is not set
# CONFIG_SND_SOC_WM8962 is not set
# CONFIG_SND_SOC_WM8974 is not set
# CONFIG_SND_SOC_WM8978 is not set
# CONFIG_SND_SOC_WM8985 is not set
# CONFIG_SND_SOC_WSA881X is not set
# CONFIG_SND_SOC_WSA883X is not set
# CONFIG_SND_SOC_WSA884X is not set
# CONFIG_SND_SOC_ZL38060 is not set
# CONFIG_SND_SOC_MAX9759 is not set
# CONFIG_SND_SOC_MT6351 is not set
# CONFIG_SND_SOC_MT6357 is not set
# CONFIG_SND_SOC_MT6358 is not set
# CONFIG_SND_SOC_MT6660 is not set
# CONFIG_SND_SOC_NAU8315 is not set
# CONFIG_SND_SOC_NAU8325 is not set
# CONFIG_SND_SOC_NAU8540 is not set
# CONFIG_SND_SOC_NAU8810 is not set
# CONFIG_SND_SOC_NAU8821 is not set
# CONFIG_SND_SOC_NAU8822 is not set
# CONFIG_SND_SOC_NAU8824 is not set
# CONFIG_SND_SOC_NTP8918 is not set
# CONFIG_SND_SOC_NTP8835 is not set
# CONFIG_SND_SOC_TPA6130A2 is not set
# CONFIG_SND_SOC_LPASS_WSA_MACRO is not set
# CONFIG_SND_SOC_LPASS_VA_MACRO is not set
# CONFIG_SND_SOC_LPASS_RX_MACRO is not set
# CONFIG_SND_SOC_LPASS_TX_MACRO is not set
# end of CODEC drivers

#
# Generic drivers
#
# CONFIG_SND_SIMPLE_CARD is not set
# CONFIG_SND_AUDIO_GRAPH_CARD is not set
# CONFIG_SND_AUDIO_GRAPH_CARD2 is not set
# CONFIG_SND_TEST_COMPONENT is not set
# end of Generic drivers

CONFIG_SND_X86=y
# CONFIG_HDMI_LPE_AUDIO is not set
CONFIG_SND_VIRTIO=y
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y
CONFIG_UHID=y
CONFIG_HID_GENERIC=y
CONFIG_HID_HAPTIC=y

#
# Special HID drivers
#
CONFIG_HID_A4TECH=y
CONFIG_HID_ACCUTOUCH=y
CONFIG_HID_ACRUX=y
CONFIG_HID_ACRUX_FF=y
CONFIG_HID_APPLE=y
CONFIG_HID_APPLEIR=y
# CONFIG_HID_APPLETB_BL is not set
# CONFIG_HID_APPLETB_KBD is not set
CONFIG_HID_ASUS=y
CONFIG_HID_AUREAL=y
CONFIG_HID_BELKIN=y
CONFIG_HID_BETOP_FF=y
CONFIG_HID_BIGBEN_FF=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CORSAIR=y
CONFIG_HID_COUGAR=y
CONFIG_HID_MACALLY=y
CONFIG_HID_PRODIKEYS=y
CONFIG_HID_CMEDIA=y
CONFIG_HID_CP2112=y
CONFIG_HID_CREATIVE_SB0540=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DRAGONRISE=y
CONFIG_DRAGONRISE_FF=y
CONFIG_HID_EMS_FF=y
CONFIG_HID_ELAN=y
CONFIG_HID_ELECOM=y
CONFIG_HID_ELO=y
CONFIG_HID_EVISION=y
CONFIG_HID_EZKEY=y
CONFIG_HID_FT260=y
CONFIG_HID_GEMBIRD=y
CONFIG_HID_GFRM=y
CONFIG_HID_GLORIOUS=y
CONFIG_HID_HOLTEK=y
CONFIG_HOLTEK_FF=y
CONFIG_HID_VIVALDI_COMMON=y
# CONFIG_HID_GOODIX_SPI is not set
CONFIG_HID_GOOGLE_STADIA_FF=y
CONFIG_HID_VIVALDI=y
CONFIG_HID_GT683R=y
CONFIG_HID_KEYTOUCH=y
CONFIG_HID_KYE=y
# CONFIG_HID_KYSONA is not set
CONFIG_HID_UCLOGIC=y
CONFIG_HID_WALTOP=y
CONFIG_HID_VIEWSONIC=y
CONFIG_HID_VRC2=y
CONFIG_HID_XIAOMI=y
CONFIG_HID_GYRATION=y
CONFIG_HID_ICADE=y
CONFIG_HID_ITE=y
CONFIG_HID_JABRA=y
CONFIG_HID_TWINHAN=y
CONFIG_HID_KENSINGTON=y
CONFIG_HID_LCPOWER=y
CONFIG_HID_LED=y
CONFIG_HID_LENOVO=y
CONFIG_HID_LETSKETCH=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_LOGITECH_DJ=y
CONFIG_HID_LOGITECH_HIDPP=y
CONFIG_LOGITECH_FF=y
CONFIG_LOGIRUMBLEPAD2_FF=y
CONFIG_LOGIG940_FF=y
CONFIG_LOGIWHEELS_FF=y
CONFIG_HID_MAGICMOUSE=y
CONFIG_HID_MALTRON=y
CONFIG_HID_MAYFLASH=y
CONFIG_HID_MEGAWORLD_FF=y
CONFIG_HID_REDRAGON=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_MULTITOUCH=y
CONFIG_HID_NINTENDO=y
CONFIG_NINTENDO_FF=y
CONFIG_HID_NTI=y
CONFIG_HID_NTRIG=y
CONFIG_HID_NVIDIA_SHIELD=y
CONFIG_NVIDIA_SHIELD_FF=y
CONFIG_HID_ORTEK=y
CONFIG_HID_PANTHERLORD=y
CONFIG_PANTHERLORD_FF=y
CONFIG_HID_PENMOUNT=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_PICOLCD=y
CONFIG_HID_PICOLCD_FB=y
CONFIG_HID_PICOLCD_BACKLIGHT=y
CONFIG_HID_PICOLCD_LCD=y
CONFIG_HID_PICOLCD_LEDS=y
CONFIG_HID_PICOLCD_CIR=y
CONFIG_HID_PLANTRONICS=y
CONFIG_HID_PLAYSTATION=y
CONFIG_PLAYSTATION_FF=y
CONFIG_HID_PXRC=y
CONFIG_HID_RAZER=y
CONFIG_HID_PRIMAX=y
CONFIG_HID_RETRODE=y
CONFIG_HID_ROCCAT=y
CONFIG_HID_SAITEK=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SEMITEK=y
CONFIG_HID_SIGMAMICRO=y
CONFIG_HID_SONY=y
CONFIG_SONY_FF=y
CONFIG_HID_SPEEDLINK=y
CONFIG_HID_STEAM=y
CONFIG_STEAM_FF=y
CONFIG_HID_STEELSERIES=y
CONFIG_HID_SUNPLUS=y
CONFIG_HID_RMI=y
CONFIG_HID_GREENASIA=y
CONFIG_GREENASIA_FF=y
CONFIG_HID_SMARTJOYPLUS=y
CONFIG_SMARTJOYPLUS_FF=y
CONFIG_HID_TIVO=y
CONFIG_HID_TOPSEED=y
CONFIG_HID_TOPRE=y
CONFIG_HID_THINGM=y
CONFIG_HID_THRUSTMASTER=y
CONFIG_THRUSTMASTER_FF=y
CONFIG_HID_UDRAW_PS3=y
CONFIG_HID_U2FZERO=y
# CONFIG_HID_UNIVERSAL_PIDFF is not set
CONFIG_HID_WACOM=y
CONFIG_HID_WIIMOTE=y
# CONFIG_HID_WINWING is not set
CONFIG_HID_XINMO=y
CONFIG_HID_ZEROPLUS=y
CONFIG_ZEROPLUS_FF=y
CONFIG_HID_ZYDACRON=y
CONFIG_HID_SENSOR_HUB=y
CONFIG_HID_SENSOR_CUSTOM_SENSOR=y
CONFIG_HID_ALPS=y
CONFIG_HID_MCP2200=y
CONFIG_HID_MCP2221=y
# end of Special HID drivers

#
# HID-BPF support
#
# end of HID-BPF support

CONFIG_I2C_HID=y
CONFIG_I2C_HID_ACPI=y
CONFIG_I2C_HID_OF=y
# CONFIG_I2C_HID_OF_ELAN is not set
# CONFIG_I2C_HID_OF_GOODIX is not set
CONFIG_I2C_HID_CORE=y

#
# Intel ISH HID support
#
CONFIG_INTEL_ISH_HID=y
CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER=y
# end of Intel ISH HID support

#
# AMD SFH HID Support
#
CONFIG_AMD_SFH_HID=y
# end of AMD SFH HID Support

#
# Surface System Aggregator Module HID support
#
CONFIG_SURFACE_HID=y
CONFIG_SURFACE_KBD=y
# end of Surface System Aggregator Module HID support

CONFIG_SURFACE_HID_CORE=y

#
# Intel THC HID Support
#
# CONFIG_INTEL_THC_HID is not set
# end of Intel THC HID Support

#
# USB HID support
#
CONFIG_USB_HID=y
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
# end of USB HID support

CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_LED_TRIG=y
CONFIG_USB_ULPI_BUS=y
CONFIG_USB_CONN_GPIO=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_PCI=y
CONFIG_USB_PCI_AMD=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_FEW_INIT_RETRIES=y
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_OTG=y
# CONFIG_USB_OTG_PRODUCTLIST is not set
# CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB is not set
CONFIG_USB_OTG_FSM=y
CONFIG_USB_LEDS_TRIGGER_USBPORT=y
CONFIG_USB_AUTOSUSPEND_DELAY=2
CONFIG_USB_DEFAULT_AUTHORIZATION_MODE=1
CONFIG_USB_MON=y

#
# USB Host Controller Drivers
#
CONFIG_USB_C67X00_HCD=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DBGCAP=y
CONFIG_USB_XHCI_PCI=y
CONFIG_USB_XHCI_PCI_RENESAS=y
CONFIG_USB_XHCI_PLATFORM=y
# CONFIG_USB_XHCI_SIDEBAND is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_EHCI_FSL=y
CONFIG_USB_EHCI_HCD_PLATFORM=y
CONFIG_USB_OXU210HP_HCD=y
CONFIG_USB_ISP116X_HCD=y
CONFIG_USB_MAX3421_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
# CONFIG_USB_OHCI_HCD_SSB is not set
CONFIG_USB_OHCI_HCD_PLATFORM=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_SL811_HCD=y
CONFIG_USB_SL811_HCD_ISO=y
CONFIG_USB_SL811_CS=y
CONFIG_USB_R8A66597_HCD=y
CONFIG_USB_HCD_BCMA=y
CONFIG_USB_HCD_SSB=y
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
CONFIG_USB_ACM=y
CONFIG_USB_PRINTER=y
CONFIG_USB_WDM=y
CONFIG_USB_TMC=y

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=y
CONFIG_REALTEK_AUTOPM=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_ONETOUCH=y
CONFIG_USB_STORAGE_KARMA=y
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
CONFIG_USB_STORAGE_ENE_UB6250=y
CONFIG_USB_UAS=y

#
# USB Imaging devices
#
CONFIG_USB_MDC800=y
CONFIG_USB_MICROTEK=y
CONFIG_USBIP_CORE=y
CONFIG_USBIP_VHCI_HCD=y
CONFIG_USBIP_VHCI_HC_PORTS=8
CONFIG_USBIP_VHCI_NR_HCS=16
CONFIG_USBIP_HOST=y
CONFIG_USBIP_VUDC=y
# CONFIG_USBIP_DEBUG is not set

#
# USB dual-mode controller drivers
#
CONFIG_USB_CDNS_SUPPORT=y
CONFIG_USB_CDNS_HOST=y
CONFIG_USB_CDNS3=y
CONFIG_USB_CDNS3_GADGET=y
CONFIG_USB_CDNS3_HOST=y
CONFIG_USB_CDNS3_PCI_WRAP=y
CONFIG_USB_CDNSP_PCI=y
CONFIG_USB_CDNSP_GADGET=y
CONFIG_USB_CDNSP_HOST=y
CONFIG_USB_MUSB_HDRC=y
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_GADGET is not set
CONFIG_USB_MUSB_DUAL_ROLE=y

#
# Platform Glue Layer
#

#
# MUSB DMA mode
#
CONFIG_MUSB_PIO_ONLY=y
CONFIG_USB_DWC3=y
CONFIG_USB_DWC3_ULPI=y
# CONFIG_USB_DWC3_HOST is not set
CONFIG_USB_DWC3_GADGET=y
# CONFIG_USB_DWC3_DUAL_ROLE is not set

#
# Platform Glue Driver Support
#
CONFIG_USB_DWC3_PCI=y
CONFIG_USB_DWC3_HAPS=y
CONFIG_USB_DWC3_OF_SIMPLE=y
CONFIG_USB_DWC3_GENERIC_PLAT=y
CONFIG_USB_DWC2=y
CONFIG_USB_DWC2_HOST=y

#
# Gadget/Dual-role mode requires USB Gadget support to be enabled
#
# CONFIG_USB_DWC2_PERIPHERAL is not set
# CONFIG_USB_DWC2_DUAL_ROLE is not set
CONFIG_USB_DWC2_PCI=y
# CONFIG_USB_DWC2_DEBUG is not set
# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
CONFIG_USB_CHIPIDEA=y
CONFIG_USB_CHIPIDEA_UDC=y
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_USB_CHIPIDEA_PCI=y
CONFIG_USB_CHIPIDEA_MSM=y
CONFIG_USB_CHIPIDEA_NPCM=y
# CONFIG_USB_CHIPIDEA_IMX is not set
CONFIG_USB_CHIPIDEA_GENERIC=y
# CONFIG_USB_CHIPIDEA_TEGRA is not set
CONFIG_USB_ISP1760=y
CONFIG_USB_ISP1760_HCD=y
CONFIG_USB_ISP1761_UDC=y
# CONFIG_USB_ISP1760_HOST_ROLE is not set
# CONFIG_USB_ISP1760_GADGET_ROLE is not set
CONFIG_USB_ISP1760_DUAL_ROLE=y

#
# USB port drivers
#
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_SIMPLE=y
CONFIG_USB_SERIAL_AIRCABLE=y
CONFIG_USB_SERIAL_ARK3116=y
CONFIG_USB_SERIAL_BELKIN=y
CONFIG_USB_SERIAL_CH341=y
CONFIG_USB_SERIAL_WHITEHEAT=y
CONFIG_USB_SERIAL_DIGI_ACCELEPORT=y
CONFIG_USB_SERIAL_CP210X=y
CONFIG_USB_SERIAL_CYPRESS_M8=y
CONFIG_USB_SERIAL_EMPEG=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_VISOR=y
CONFIG_USB_SERIAL_IPAQ=y
CONFIG_USB_SERIAL_IR=y
CONFIG_USB_SERIAL_EDGEPORT=y
CONFIG_USB_SERIAL_EDGEPORT_TI=y
CONFIG_USB_SERIAL_F81232=y
CONFIG_USB_SERIAL_F8153X=y
CONFIG_USB_SERIAL_GARMIN=y
CONFIG_USB_SERIAL_IPW=y
CONFIG_USB_SERIAL_IUU=y
CONFIG_USB_SERIAL_KEYSPAN_PDA=y
CONFIG_USB_SERIAL_KEYSPAN=y
CONFIG_USB_SERIAL_KLSI=y
CONFIG_USB_SERIAL_KOBIL_SCT=y
CONFIG_USB_SERIAL_MCT_U232=y
CONFIG_USB_SERIAL_METRO=y
CONFIG_USB_SERIAL_MOS7720=y
CONFIG_USB_SERIAL_MOS7715_PARPORT=y
CONFIG_USB_SERIAL_MOS7840=y
CONFIG_USB_SERIAL_MXUPORT=y
CONFIG_USB_SERIAL_NAVMAN=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_USB_SERIAL_OTI6858=y
CONFIG_USB_SERIAL_QCAUX=y
CONFIG_USB_SERIAL_QUALCOMM=y
CONFIG_USB_SERIAL_SPCP8X5=y
CONFIG_USB_SERIAL_SAFE=y
# CONFIG_USB_SERIAL_SAFE_PADDED is not set
CONFIG_USB_SERIAL_SIERRAWIRELESS=y
CONFIG_USB_SERIAL_SYMBOL=y
CONFIG_USB_SERIAL_TI=y
CONFIG_USB_SERIAL_CYBERJACK=y
CONFIG_USB_SERIAL_WWAN=y
CONFIG_USB_SERIAL_OPTION=y
CONFIG_USB_SERIAL_OMNINET=y
CONFIG_USB_SERIAL_OPTICON=y
CONFIG_USB_SERIAL_XSENS_MT=y
CONFIG_USB_SERIAL_WISHBONE=y
CONFIG_USB_SERIAL_SSU100=y
CONFIG_USB_SERIAL_QT2=y
CONFIG_USB_SERIAL_UPD78F0730=y
CONFIG_USB_SERIAL_XR=y
CONFIG_USB_SERIAL_DEBUG=y

#
# USB Miscellaneous drivers
#
CONFIG_USB_USS720=y
CONFIG_USB_EMI62=y
CONFIG_USB_EMI26=y
CONFIG_USB_ADUTUX=y
CONFIG_USB_SEVSEG=y
CONFIG_USB_LEGOTOWER=y
CONFIG_USB_LCD=y
CONFIG_USB_CYPRESS_CY7C63=y
CONFIG_USB_CYTHERM=y
CONFIG_USB_IDMOUSE=y
CONFIG_USB_APPLEDISPLAY=y
CONFIG_APPLE_MFI_FASTCHARGE=y
CONFIG_USB_LJCA=y
# CONFIG_USB_USBIO is not set
CONFIG_USB_SISUSBVGA=y
CONFIG_USB_LD=y
CONFIG_USB_TRANCEVIBRATOR=y
CONFIG_USB_IOWARRIOR=y
CONFIG_USB_TEST=y
CONFIG_USB_EHSET_TEST_FIXTURE=y
CONFIG_USB_ISIGHTFW=y
CONFIG_USB_YUREX=y
CONFIG_USB_EZUSB_FX2=y
CONFIG_USB_HUB_USB251XB=y
CONFIG_USB_HSIC_USB3503=y
CONFIG_USB_HSIC_USB4604=y
CONFIG_USB_LINK_LAYER_TEST=y
CONFIG_USB_CHAOSKEY=y
# CONFIG_USB_ONBOARD_DEV is not set
CONFIG_USB_ATM=y
CONFIG_USB_SPEEDTOUCH=y
CONFIG_USB_CXACRU=y
CONFIG_USB_UEAGLEATM=y
CONFIG_USB_XUSBATM=y

#
# USB Physical Layer drivers
#
CONFIG_USB_PHY=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_TAHVO_USB=y
CONFIG_TAHVO_USB_HOST_BY_DEFAULT=y
CONFIG_USB_ISP1301=y
# end of USB Physical Layer drivers

CONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG is not set
CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_DEBUG_FS=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
CONFIG_U_SERIAL_CONSOLE=y

#
# USB Peripheral Controller
#
CONFIG_USB_GR_UDC=y
CONFIG_USB_R8A66597=y
CONFIG_USB_PXA27X=y
CONFIG_USB_SNP_CORE=y
# CONFIG_USB_SNP_UDC_PLAT is not set
# CONFIG_USB_M66592 is not set
CONFIG_USB_BDC_UDC=y
CONFIG_USB_AMD5536UDC=y
CONFIG_USB_NET2280=y
CONFIG_USB_GOKU=y
CONFIG_USB_EG20T=y
# CONFIG_USB_GADGET_XILINX is not set
CONFIG_USB_MAX3420_UDC=y
CONFIG_USB_CDNS2_UDC=y
CONFIG_USB_DUMMY_HCD=y
# end of USB Peripheral Controller

CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_F_ACM=y
CONFIG_USB_F_SS_LB=y
CONFIG_USB_U_SERIAL=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_U_AUDIO=y
CONFIG_USB_F_SERIAL=y
CONFIG_USB_F_OBEX=y
CONFIG_USB_F_NCM=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_PHONET=y
CONFIG_USB_F_EEM=y
CONFIG_USB_F_SUBSET=y
CONFIG_USB_F_RNDIS=y
CONFIG_USB_F_MASS_STORAGE=y
CONFIG_USB_F_FS=y
CONFIG_USB_F_UAC1=y
CONFIG_USB_F_UAC1_LEGACY=y
CONFIG_USB_F_UAC2=y
CONFIG_USB_F_UVC=y
CONFIG_USB_F_MIDI=y
CONFIG_USB_F_MIDI2=y
CONFIG_USB_F_HID=y
CONFIG_USB_F_PRINTER=y
CONFIG_USB_F_TCM=y
CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_SERIAL=y
CONFIG_USB_CONFIGFS_ACM=y
CONFIG_USB_CONFIGFS_OBEX=y
CONFIG_USB_CONFIGFS_NCM=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_EEM=y
CONFIG_USB_CONFIGFS_PHONET=y
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
CONFIG_USB_CONFIGFS_F_LB_SS=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_F_UAC1=y
CONFIG_USB_CONFIGFS_F_UAC1_LEGACY=y
CONFIG_USB_CONFIGFS_F_UAC2=y
CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_CONFIGFS_F_MIDI2=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_USB_CONFIGFS_F_UVC=y
CONFIG_USB_CONFIGFS_F_PRINTER=y
CONFIG_USB_CONFIGFS_F_TCM=y

#
# USB Gadget precomposed configurations
#
# CONFIG_USB_ZERO is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_ETH is not set
# CONFIG_USB_G_NCM is not set
CONFIG_USB_GADGETFS=y
# CONFIG_USB_FUNCTIONFS is not set
# CONFIG_USB_MASS_STORAGE is not set
# CONFIG_USB_GADGET_TARGET is not set
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set
# CONFIG_USB_G_PRINTER is not set
# CONFIG_USB_CDC_COMPOSITE is not set
# CONFIG_USB_G_NOKIA is not set
# CONFIG_USB_G_ACM_MS is not set
# CONFIG_USB_G_MULTI is not set
# CONFIG_USB_G_HID is not set
# CONFIG_USB_G_DBGP is not set
# CONFIG_USB_G_WEBCAM is not set
CONFIG_USB_RAW_GADGET=y
# end of USB Gadget precomposed configurations

CONFIG_TYPEC=y
CONFIG_TYPEC_TCPM=y
CONFIG_TYPEC_TCPCI=y
CONFIG_TYPEC_RT1711H=y
CONFIG_TYPEC_MT6360=y
CONFIG_TYPEC_TCPCI_MT6370=y
CONFIG_TYPEC_TCPCI_MAXIM=y
CONFIG_TYPEC_FUSB302=y
CONFIG_TYPEC_WCOVE=y
CONFIG_TYPEC_UCSI=y
CONFIG_UCSI_CCG=y
CONFIG_UCSI_ACPI=y
CONFIG_UCSI_STM32G0=y
CONFIG_TYPEC_TPS6598X=y
CONFIG_TYPEC_ANX7411=y
CONFIG_TYPEC_RT1719=y
CONFIG_TYPEC_HD3SS3220=y
CONFIG_TYPEC_STUSB160X=y
CONFIG_TYPEC_WUSB3801=y

#
# USB Type-C Multiplexer/DeMultiplexer Switch support
#
CONFIG_TYPEC_MUX_FSA4480=y
CONFIG_TYPEC_MUX_GPIO_SBU=y
CONFIG_TYPEC_MUX_PI3USB30532=y
CONFIG_TYPEC_MUX_INTEL_PMC=y
# CONFIG_TYPEC_MUX_IT5205 is not set
CONFIG_TYPEC_MUX_NB7VPQ904M=y
# CONFIG_TYPEC_MUX_PS883X is not set
CONFIG_TYPEC_MUX_PTN36502=y
# CONFIG_TYPEC_MUX_TUSB1046 is not set
CONFIG_TYPEC_MUX_WCD939X_USBSS=y
# end of USB Type-C Multiplexer/DeMultiplexer Switch support

#
# USB Type-C Alternate Mode drivers
#
CONFIG_TYPEC_DP_ALTMODE=y
CONFIG_TYPEC_NVIDIA_ALTMODE=y
# CONFIG_TYPEC_TBT_ALTMODE is not set
# end of USB Type-C Alternate Mode drivers

CONFIG_USB_ROLE_SWITCH=y
CONFIG_USB_ROLES_INTEL_XHCI=y
CONFIG_MMC=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SD8787 is not set
# CONFIG_PWRSEQ_SIMPLE is not set
# CONFIG_MMC_BLOCK is not set
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set
# CONFIG_MMC_CRYPTO is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_WBSD is not set
# CONFIG_MMC_TIFM_SD is not set
# CONFIG_MMC_SPI is not set
# CONFIG_MMC_SDRICOH_CS is not set
# CONFIG_MMC_CB710 is not set
# CONFIG_MMC_VIA_SDMMC is not set
CONFIG_MMC_VUB300=y
CONFIG_MMC_USHC=y
# CONFIG_MMC_USDHI6ROL0 is not set
CONFIG_MMC_REALTEK_USB=y
# CONFIG_MMC_CQHCI is not set
# CONFIG_MMC_HSQ is not set
# CONFIG_MMC_TOSHIBA_PCI is not set
# CONFIG_MMC_MTK is not set
# CONFIG_SCSI_UFSHCD is not set
CONFIG_MEMSTICK=y
# CONFIG_MEMSTICK_DEBUG is not set

#
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MSPRO_BLOCK is not set
# CONFIG_MS_BLOCK is not set

#
# MemoryStick Host Controller Drivers
#
# CONFIG_MEMSTICK_TIFM_MS is not set
# CONFIG_MEMSTICK_JMICRON_38X is not set
# CONFIG_MEMSTICK_R592 is not set
CONFIG_MEMSTICK_REALTEK_USB=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
# CONFIG_LEDS_CLASS_FLASH is not set
CONFIG_LEDS_CLASS_MULTICOLOR=y
# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set

#
# LED drivers
#
# CONFIG_LEDS_AN30259A is not set
# CONFIG_LEDS_APU is not set
# CONFIG_LEDS_AW200XX is not set
# CONFIG_LEDS_AW2013 is not set
# CONFIG_LEDS_BCM6328 is not set
# CONFIG_LEDS_BCM6358 is not set
# CONFIG_LEDS_CHT_WCOVE is not set
# CONFIG_LEDS_CR0014114 is not set
# CONFIG_LEDS_EL15203000 is not set
# CONFIG_LEDS_LM3530 is not set
# CONFIG_LEDS_LM3532 is not set
# CONFIG_LEDS_LM3642 is not set
# CONFIG_LEDS_LM3692X is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_LP3952 is not set
# CONFIG_LEDS_LP50XX is not set
# CONFIG_LEDS_LP55XX_COMMON is not set
# CONFIG_LEDS_LP8860 is not set
# CONFIG_LEDS_LP8864 is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_PCA963X is not set
# CONFIG_LEDS_PCA995X is not set
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_REGULATOR is not set
# CONFIG_LEDS_BD2606MVV is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_INTEL_SS4200 is not set
# CONFIG_LEDS_LT3593 is not set
# CONFIG_LEDS_TCA6507 is not set
# CONFIG_LEDS_TLC591XX is not set
# CONFIG_LEDS_LM355x is not set
# CONFIG_LEDS_IS31FL319X is not set
# CONFIG_LEDS_IS31FL32XX is not set

#
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)
#
# CONFIG_LEDS_BLINKM is not set
# CONFIG_LEDS_SYSCON is not set
# CONFIG_LEDS_MLXCPLD is not set
# CONFIG_LEDS_MLXREG is not set
# CONFIG_LEDS_USER is not set
# CONFIG_LEDS_NIC78BX is not set
# CONFIG_LEDS_SPI_BYTE is not set
# CONFIG_LEDS_LM3697 is not set
# CONFIG_LEDS_ST1202 is not set
# CONFIG_LEDS_LGM is not set

#
# Flash and Torch LED drivers
#

#
# RGB LED drivers
#
# CONFIG_LEDS_GROUP_MULTICOLOR is not set
# CONFIG_LEDS_KTD202X is not set
# CONFIG_LEDS_NCP5623 is not set
# CONFIG_LEDS_MT6370_RGB is not set

#
# LED Triggers
#
CONFIG_LEDS_TRIGGERS=y
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
# CONFIG_LEDS_TRIGGER_DISK is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_CPU is not set
# CONFIG_LEDS_TRIGGER_ACTIVITY is not set
# CONFIG_LEDS_TRIGGER_GPIO is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set

#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
# CONFIG_LEDS_TRIGGER_CAMERA is not set
# CONFIG_LEDS_TRIGGER_PANIC is not set
# CONFIG_LEDS_TRIGGER_NETDEV is not set
# CONFIG_LEDS_TRIGGER_PATTERN is not set
# CONFIG_LEDS_TRIGGER_TTY is not set
# CONFIG_LEDS_TRIGGER_INPUT_EVENTS is not set

#
# Simatic LED drivers
#
# CONFIG_ACCESSIBILITY is not set
CONFIG_INFINIBAND=y
CONFIG_INFINIBAND_USER_MAD=y
CONFIG_INFINIBAND_USER_ACCESS=y
CONFIG_INFINIBAND_USER_MEM=y
CONFIG_INFINIBAND_ON_DEMAND_PAGING=y
CONFIG_INFINIBAND_ADDR_TRANS=y
CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y
CONFIG_INFINIBAND_VIRT_DMA=y
# CONFIG_INFINIBAND_EFA is not set
# CONFIG_INFINIBAND_ERDMA is not set
CONFIG_MLX4_INFINIBAND=y
# CONFIG_INFINIBAND_MTHCA is not set
# CONFIG_INFINIBAND_OCRDMA is not set
# CONFIG_INFINIBAND_USNIC is not set
# CONFIG_INFINIBAND_VMWARE_PVRDMA is not set
# CONFIG_INFINIBAND_RDMAVT is not set
CONFIG_RDMA_RXE=y
CONFIG_RDMA_SIW=y
CONFIG_INFINIBAND_IPOIB=y
CONFIG_INFINIBAND_IPOIB_CM=y
CONFIG_INFINIBAND_IPOIB_DEBUG=y
# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
CONFIG_INFINIBAND_SRP=y
# CONFIG_INFINIBAND_SRPT is not set
CONFIG_INFINIBAND_ISER=y
CONFIG_INFINIBAND_RTRS=y
CONFIG_INFINIBAND_RTRS_CLIENT=y
# CONFIG_INFINIBAND_RTRS_SERVER is not set
# CONFIG_INFINIBAND_OPA_VNIC is not set
CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_SUPPORT=y
CONFIG_EDAC=y
# CONFIG_EDAC_DEBUG is not set
# CONFIG_EDAC_DECODE_MCE is not set
# CONFIG_EDAC_SCRUB is not set
# CONFIG_EDAC_ECS is not set
# CONFIG_EDAC_MEM_REPAIR is not set
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82975X is not set
# CONFIG_EDAC_I3000 is not set
# CONFIG_EDAC_I3200 is not set
# CONFIG_EDAC_IE31200 is not set
# CONFIG_EDAC_X38 is not set
# CONFIG_EDAC_I5400 is not set
# CONFIG_EDAC_I7CORE is not set
# CONFIG_EDAC_I5100 is not set
# CONFIG_EDAC_I7300 is not set
# CONFIG_EDAC_SBRIDGE is not set
# CONFIG_EDAC_SKX is not set
# CONFIG_EDAC_I10NM is not set
# CONFIG_EDAC_IMH is not set
# CONFIG_EDAC_PND2 is not set
# CONFIG_EDAC_IGEN6 is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_CLASS=y
# CONFIG_RTC_HCTOSYS is not set
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
# CONFIG_RTC_NVMEM is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_ABB5ZES3 is not set
# CONFIG_RTC_DRV_ABEOZ9 is not set
# CONFIG_RTC_DRV_ABX80X is not set
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_HYM8563 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_MAX31335 is not set
# CONFIG_RTC_DRV_NVIDIA_VRS10 is not set
# CONFIG_RTC_DRV_NCT3018Y is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_ISL12026 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF85363 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_TWL4030 is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8010 is not set
# CONFIG_RTC_DRV_RX8111 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV3028 is not set
# CONFIG_RTC_DRV_RV3032 is not set
# CONFIG_RTC_DRV_RV8803 is not set
# CONFIG_RTC_DRV_SD2405AL is not set
# CONFIG_RTC_DRV_SD3078 is not set

#
# SPI RTC drivers
#
# CONFIG_RTC_DRV_M41T93 is not set
# CONFIG_RTC_DRV_M41T94 is not set
# CONFIG_RTC_DRV_DS1302 is not set
# CONFIG_RTC_DRV_DS1305 is not set
# CONFIG_RTC_DRV_DS1343 is not set
# CONFIG_RTC_DRV_DS1347 is not set
# CONFIG_RTC_DRV_DS1390 is not set
# CONFIG_RTC_DRV_MAX6916 is not set
# CONFIG_RTC_DRV_R9701 is not set
# CONFIG_RTC_DRV_RX4581 is not set
# CONFIG_RTC_DRV_RS5C348 is not set
# CONFIG_RTC_DRV_MAX6902 is not set
# CONFIG_RTC_DRV_PCF2123 is not set
# CONFIG_RTC_DRV_MCP795 is not set
CONFIG_RTC_I2C_AND_SPI=y

#
# SPI and I2C RTC drivers
#
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_PCF2127 is not set
# CONFIG_RTC_DRV_PCF85063 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set
# CONFIG_RTC_DRV_RX6110 is not set

#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1685_FAMILY is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_DS2404 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_ZYNQMP is not set

#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_CADENCE is not set
# CONFIG_RTC_DRV_FTRTC010 is not set
# CONFIG_RTC_DRV_R7301 is not set
# CONFIG_RTC_DRV_GOLDFISH is not set

#
# HID Sensor RTC drivers
#
CONFIG_RTC_DRV_HID_SENSOR_TIME=y
CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set

#
# DMA Devices
#
CONFIG_DMA_ENGINE=y
CONFIG_DMA_VIRTUAL_CHANNELS=y
CONFIG_DMA_ACPI=y
CONFIG_DMA_OF=y
# CONFIG_ALTERA_MSGDMA is not set
# CONFIG_DW_AXI_DMAC is not set
# CONFIG_FSL_EDMA is not set
CONFIG_INTEL_IDMA64=y
# CONFIG_INTEL_IDXD is not set
# CONFIG_INTEL_IDXD_COMPAT is not set
CONFIG_INTEL_IOATDMA=y
# CONFIG_PLX_DMA is not set
# CONFIG_XILINX_DMA is not set
# CONFIG_XILINX_XDMA is not set
# CONFIG_XILINX_ZYNQMP_DPDMA is not set
# CONFIG_AMD_PTDMA is not set
# CONFIG_AMD_QDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
# CONFIG_QCOM_HIDMA is not set
CONFIG_DW_DMAC_CORE=y
# CONFIG_DW_DMAC is not set
# CONFIG_DW_DMAC_PCI is not set
# CONFIG_DW_EDMA is not set
CONFIG_HSU_DMA=y
# CONFIG_SF_PDMA is not set
# CONFIG_INTEL_LDMA is not set

#
# DMA Clients
#
CONFIG_ASYNC_TX_DMA=y
# CONFIG_DMATEST is not set
CONFIG_DMA_ENGINE_RAID=y

#
# DMABUF options
#
CONFIG_SYNC_FILE=y
CONFIG_SW_SYNC=y
CONFIG_UDMABUF=y
CONFIG_DMABUF_MOVE_NOTIFY=y
# CONFIG_DMABUF_DEBUG is not set
# CONFIG_DMABUF_SELFTESTS is not set
CONFIG_DMABUF_HEAPS=y
# CONFIG_DMABUF_SYSFS_STATS is not set
CONFIG_DMABUF_HEAPS_SYSTEM=y
CONFIG_DMABUF_HEAPS_CMA=y
# end of DMABUF options

CONFIG_DCA=y
# CONFIG_UIO is not set
CONFIG_VFIO=y
CONFIG_VFIO_DEVICE_CDEV=y
# CONFIG_VFIO_GROUP is not set
CONFIG_VFIO_VIRQFD=y
# CONFIG_VFIO_DEBUGFS is not set

#
# VFIO support for PCI devices
#
CONFIG_VFIO_PCI_CORE=y
CONFIG_VFIO_PCI_INTX=y
CONFIG_VFIO_PCI=y
# CONFIG_VFIO_PCI_VGA is not set
# CONFIG_VFIO_PCI_IGD is not set
# CONFIG_VIRTIO_VFIO_PCI is not set
# end of VFIO support for PCI devices

CONFIG_IRQ_BYPASS_MANAGER=y
# CONFIG_VIRT_DRIVERS is not set
CONFIG_VIRTIO_ANCHOR=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_PCI_LIB_LEGACY=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_ADMIN_LEGACY=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=y
CONFIG_VIRTIO_PMEM=y
CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_MEM=y
CONFIG_VIRTIO_INPUT=y
CONFIG_VIRTIO_MMIO=y
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
CONFIG_VIRTIO_DMA_SHARED_BUFFER=y
# CONFIG_VIRTIO_DEBUG is not set
# CONFIG_VIRTIO_RTC is not set
CONFIG_VDPA=y
CONFIG_VDPA_SIM=y
CONFIG_VDPA_SIM_NET=y
CONFIG_VDPA_SIM_BLOCK=y
# CONFIG_VDPA_USER is not set
# CONFIG_IFCVF is not set
# CONFIG_MLX5_VDPA_STEERING_DEBUG is not set
CONFIG_VP_VDPA=y
# CONFIG_ALIBABA_ENI_VDPA is not set
# CONFIG_SNET_VDPA is not set
# CONFIG_OCTEONEP_VDPA is not set
CONFIG_VHOST_IOTLB=y
CONFIG_VHOST_RING=y
CONFIG_VHOST_TASK=y
CONFIG_VHOST=y
CONFIG_VHOST_MENU=y
CONFIG_VHOST_NET=y
# CONFIG_VHOST_SCSI is not set
CONFIG_VHOST_VSOCK=y
CONFIG_VHOST_VDPA=y
CONFIG_VHOST_CROSS_ENDIAN_LEGACY=y
CONFIG_VHOST_ENABLE_FORK_OWNER_CONTROL=y

#
# Microsoft Hyper-V guest support
#
# CONFIG_HYPERV is not set
# end of Microsoft Hyper-V guest support

CONFIG_GREYBUS=y
# CONFIG_GREYBUS_BEAGLEPLAY is not set
CONFIG_GREYBUS_ES2=y
CONFIG_COMEDI=y
# CONFIG_COMEDI_DEBUG is not set
CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB=2048
CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB=20480
CONFIG_COMEDI_MISC_DRIVERS=y
CONFIG_COMEDI_BOND=y
CONFIG_COMEDI_TEST=y
CONFIG_COMEDI_PARPORT=y
CONFIG_COMEDI_ISA_DRIVERS=y
CONFIG_COMEDI_PCL711=y
CONFIG_COMEDI_PCL724=y
CONFIG_COMEDI_PCL726=y
CONFIG_COMEDI_PCL730=y
CONFIG_COMEDI_PCL812=y
CONFIG_COMEDI_PCL816=y
CONFIG_COMEDI_PCL818=y
CONFIG_COMEDI_PCM3724=y
CONFIG_COMEDI_AMPLC_DIO200_ISA=y
CONFIG_COMEDI_AMPLC_PC236_ISA=y
CONFIG_COMEDI_AMPLC_PC263_ISA=y
CONFIG_COMEDI_RTI800=y
CONFIG_COMEDI_RTI802=y
CONFIG_COMEDI_DAC02=y
CONFIG_COMEDI_DAS16M1=y
CONFIG_COMEDI_DAS08_ISA=y
# CONFIG_COMEDI_DAS16 is not set
CONFIG_COMEDI_DAS800=y
CONFIG_COMEDI_DAS1800=y
CONFIG_COMEDI_DAS6402=y
CONFIG_COMEDI_DT2801=y
CONFIG_COMEDI_DT2811=y
CONFIG_COMEDI_DT2814=y
CONFIG_COMEDI_DT2815=y
CONFIG_COMEDI_DT2817=y
CONFIG_COMEDI_DT282X=y
CONFIG_COMEDI_DMM32AT=y
CONFIG_COMEDI_FL512=y
CONFIG_COMEDI_AIO_AIO12_8=y
CONFIG_COMEDI_AIO_IIRO_16=y
# CONFIG_COMEDI_II_PCI20KC is not set
CONFIG_COMEDI_C6XDIGIO=y
CONFIG_COMEDI_MPC624=y
CONFIG_COMEDI_ADQ12B=y
CONFIG_COMEDI_NI_AT_A2150=y
CONFIG_COMEDI_NI_AT_AO=y
# CONFIG_COMEDI_NI_ATMIO is not set
CONFIG_COMEDI_NI_ATMIO16D=y
CONFIG_COMEDI_NI_LABPC_ISA=y
CONFIG_COMEDI_PCMAD=y
CONFIG_COMEDI_PCMDA12=y
CONFIG_COMEDI_PCMMIO=y
CONFIG_COMEDI_PCMUIO=y
CONFIG_COMEDI_MULTIQ3=y
CONFIG_COMEDI_S526=y
CONFIG_COMEDI_PCI_DRIVERS=y
CONFIG_COMEDI_8255_PCI=y
# CONFIG_COMEDI_ADDI_APCI_1032 is not set
# CONFIG_COMEDI_ADDI_APCI_1500 is not set
# CONFIG_COMEDI_ADDI_APCI_1516 is not set
# CONFIG_COMEDI_ADDI_APCI_1564 is not set
# CONFIG_COMEDI_ADDI_APCI_16XX is not set
# CONFIG_COMEDI_ADDI_APCI_2032 is not set
# CONFIG_COMEDI_ADDI_APCI_2200 is not set
# CONFIG_COMEDI_ADDI_APCI_3120 is not set
# CONFIG_COMEDI_ADDI_APCI_3501 is not set
# CONFIG_COMEDI_ADDI_APCI_3XXX is not set
# CONFIG_COMEDI_ADL_PCI6208 is not set
# CONFIG_COMEDI_ADL_PCI7250 is not set
# CONFIG_COMEDI_ADL_PCI7X3X is not set
# CONFIG_COMEDI_ADL_PCI8164 is not set
# CONFIG_COMEDI_ADL_PCI9111 is not set
CONFIG_COMEDI_ADL_PCI9118=y
# CONFIG_COMEDI_ADV_PCI1710 is not set
# CONFIG_COMEDI_ADV_PCI1720 is not set
# CONFIG_COMEDI_ADV_PCI1723 is not set
# CONFIG_COMEDI_ADV_PCI1724 is not set
# CONFIG_COMEDI_ADV_PCI1760 is not set
# CONFIG_COMEDI_ADV_PCI_DIO is not set
# CONFIG_COMEDI_AMPLC_DIO200_PCI is not set
# CONFIG_COMEDI_AMPLC_PC236_PCI is not set
# CONFIG_COMEDI_AMPLC_PC263_PCI is not set
# CONFIG_COMEDI_AMPLC_PCI224 is not set
# CONFIG_COMEDI_AMPLC_PCI230 is not set
# CONFIG_COMEDI_CONTEC_PCI_DIO is not set
# CONFIG_COMEDI_DAS08_PCI is not set
# CONFIG_COMEDI_DT3000 is not set
# CONFIG_COMEDI_DYNA_PCI10XX is not set
# CONFIG_COMEDI_GSC_HPDI is not set
# CONFIG_COMEDI_MF6X4 is not set
# CONFIG_COMEDI_ICP_MULTI is not set
# CONFIG_COMEDI_DAQBOARD2000 is not set
# CONFIG_COMEDI_JR3_PCI is not set
# CONFIG_COMEDI_KE_COUNTER is not set
# CONFIG_COMEDI_CB_PCIDAS64 is not set
# CONFIG_COMEDI_CB_PCIDAS is not set
# CONFIG_COMEDI_CB_PCIDDA is not set
# CONFIG_COMEDI_CB_PCIMDAS is not set
# CONFIG_COMEDI_CB_PCIMDDA is not set
# CONFIG_COMEDI_ME4000 is not set
# CONFIG_COMEDI_ME_DAQ is not set
# CONFIG_COMEDI_NI_6527 is not set
# CONFIG_COMEDI_NI_65XX is not set
# CONFIG_COMEDI_NI_660X is not set
# CONFIG_COMEDI_NI_670X is not set
CONFIG_COMEDI_NI_LABPC_PCI=y
# CONFIG_COMEDI_NI_PCIDIO is not set
# CONFIG_COMEDI_NI_PCIMIO is not set
# CONFIG_COMEDI_RTD520 is not set
# CONFIG_COMEDI_S626 is not set
CONFIG_COMEDI_PCMCIA_DRIVERS=y
# CONFIG_COMEDI_CB_DAS16_CS is not set
# CONFIG_COMEDI_DAS08_CS is not set
CONFIG_COMEDI_NI_DAQ_700_CS=y
# CONFIG_COMEDI_NI_DAQ_DIO24_CS is not set
CONFIG_COMEDI_NI_LABPC_CS=y
# CONFIG_COMEDI_NI_MIO_CS is not set
# CONFIG_COMEDI_QUATECH_DAQP_CS is not set
CONFIG_COMEDI_USB_DRIVERS=y
CONFIG_COMEDI_DT9812=y
CONFIG_COMEDI_NI_USB6501=y
CONFIG_COMEDI_USBDUX=y
CONFIG_COMEDI_USBDUXFAST=y
CONFIG_COMEDI_USBDUXSIGMA=y
CONFIG_COMEDI_VMK80XX=y
CONFIG_COMEDI_8254=y
CONFIG_COMEDI_8255=y
CONFIG_COMEDI_8255_SA=y
CONFIG_COMEDI_KCOMEDILIB=y
CONFIG_COMEDI_AMPLC_DIO200=y
CONFIG_COMEDI_AMPLC_PC236=y
CONFIG_COMEDI_DAS08=y
CONFIG_COMEDI_ISADMA=y
CONFIG_COMEDI_NI_LABPC=y
CONFIG_COMEDI_NI_LABPC_ISADMA=y
# CONFIG_COMEDI_TESTS is not set
# CONFIG_GPIB is not set
CONFIG_STAGING=y
# CONFIG_RTL8723BS is not set

#
# IIO staging drivers
#

#
# Accelerometers
#
# CONFIG_ADIS16203 is not set
# end of Accelerometers

#
# Analog to digital converters
#
# CONFIG_AD7816 is not set
# end of Analog to digital converters

#
# Analog digital bi-direction converters
#
# CONFIG_ADT7316 is not set
# end of Analog digital bi-direction converters

#
# Direct Digital Synthesis
#
# CONFIG_AD9832 is not set
# CONFIG_AD9834 is not set
# end of Direct Digital Synthesis

#
# Network Analyzer, Impedance Converters
#
# CONFIG_AD5933 is not set
# end of Network Analyzer, Impedance Converters
# end of IIO staging drivers

# CONFIG_FB_SM750 is not set
# CONFIG_STAGING_MEDIA is not set
# CONFIG_FB_TFT is not set
# CONFIG_MOST_COMPONENTS is not set
# CONFIG_GREYBUS_AUDIO is not set
# CONFIG_GREYBUS_BOOTROM is not set
# CONFIG_GREYBUS_FIRMWARE is not set
CONFIG_GREYBUS_HID=y
# CONFIG_GREYBUS_LOG is not set
# CONFIG_GREYBUS_LOOPBACK is not set
# CONFIG_GREYBUS_POWER is not set
# CONFIG_GREYBUS_RAW is not set
# CONFIG_GREYBUS_VIBRATOR is not set
CONFIG_GREYBUS_BRIDGED_PHY=y
# CONFIG_GREYBUS_GPIO is not set
# CONFIG_GREYBUS_I2C is not set
# CONFIG_GREYBUS_SDIO is not set
# CONFIG_GREYBUS_SPI is not set
# CONFIG_GREYBUS_UART is not set
CONFIG_GREYBUS_USB=y
# CONFIG_XIL_AXIS_FIFO is not set
# CONFIG_VME_BUS is not set
# CONFIG_GOLDFISH is not set
# CONFIG_CHROME_PLATFORMS is not set
# CONFIG_MELLANOX_PLATFORM is not set
CONFIG_SURFACE_PLATFORMS=y
# CONFIG_SURFACE3_WMI is not set
# CONFIG_SURFACE_3_POWER_OPREGION is not set
# CONFIG_SURFACE_ACPI_NOTIFY is not set
# CONFIG_SURFACE_AGGREGATOR_CDEV is not set
# CONFIG_SURFACE_AGGREGATOR_HUB is not set
CONFIG_SURFACE_AGGREGATOR_REGISTRY=y
# CONFIG_SURFACE_AGGREGATOR_TABLET_SWITCH is not set
# CONFIG_SURFACE_DTX is not set
# CONFIG_SURFACE_GPE is not set
# CONFIG_SURFACE_HOTPLUG is not set
# CONFIG_SURFACE_PLATFORM_PROFILE is not set
# CONFIG_SURFACE_PRO3_BUTTON is not set
CONFIG_SURFACE_AGGREGATOR=y
CONFIG_SURFACE_AGGREGATOR_BUS=y
CONFIG_X86_PLATFORM_DEVICES=y
CONFIG_WMI_BMOF=y
# CONFIG_HUAWEI_WMI is not set
# CONFIG_X86_PLATFORM_DRIVERS_UNIWILL is not set
# CONFIG_MXM_WMI is not set
# CONFIG_NVIDIA_WMI_EC_BACKLIGHT is not set
# CONFIG_XIAOMI_WMI is not set
# CONFIG_REDMI_WMI is not set
# CONFIG_GIGABYTE_WMI is not set
# CONFIG_ACERHDF is not set
# CONFIG_ACER_WIRELESS is not set
# CONFIG_ACER_WMI is not set

#
# AMD HSMP Driver
#
# CONFIG_AMD_HSMP_ACPI is not set
# CONFIG_AMD_HSMP_PLAT is not set
# end of AMD HSMP Driver

# CONFIG_AMD_PMC is not set
# CONFIG_AMD_HFI is not set
# CONFIG_AMD_3D_VCACHE is not set
# CONFIG_AMD_WBRF is not set
# CONFIG_AMD_ISP_PLATFORM is not set
# CONFIG_ADV_SWBUTTON is not set
# CONFIG_APPLE_GMUX is not set
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_ASUS_WIRELESS is not set
# CONFIG_ASUS_ARMOURY is not set
CONFIG_ASUS_WMI=y
CONFIG_ASUS_WMI_DEPRECATED_ATTRS=y
# CONFIG_ASUS_NB_WMI is not set
CONFIG_ASUS_TF103C_DOCK=y
# CONFIG_AYANEO_EC is not set
CONFIG_EEEPC_LAPTOP=y
# CONFIG_EEEPC_WMI is not set
# CONFIG_X86_PLATFORM_DRIVERS_DELL is not set
# CONFIG_AMILO_RFKILL is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_FUJITSU_TABLET is not set
# CONFIG_GPD_POCKET_FAN is not set
# CONFIG_X86_PLATFORM_DRIVERS_HP is not set
# CONFIG_WIRELESS_HOTKEY is not set
# CONFIG_IBM_RTL is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_INTEL_ATOMISP2_PM is not set
# CONFIG_INTEL_IFS is not set
# CONFIG_INTEL_SAR_INT1092 is not set
# CONFIG_INTEL_SKL_INT3472 is not set

#
# Intel Speed Select Technology interface support
#
# CONFIG_INTEL_SPEED_SELECT_INTERFACE is not set
# end of Intel Speed Select Technology interface support

# CONFIG_INTEL_WMI_SBL_FW_UPDATE is not set
# CONFIG_INTEL_WMI_THUNDERBOLT is not set

#
# Intel Uncore Frequency Control
#
# CONFIG_INTEL_UNCORE_FREQ_CONTROL is not set
# end of Intel Uncore Frequency Control

# CONFIG_INTEL_HID_EVENT is not set
# CONFIG_INTEL_VBTN is not set
# CONFIG_INTEL_EHL_PSE_IO is not set
# CONFIG_INTEL_INT0002_VGPIO is not set
# CONFIG_INTEL_OAKTRAIL is not set
# CONFIG_INTEL_BXTWC_PMIC_TMU is not set
CONFIG_INTEL_CHTWC_INT33FE=y
CONFIG_INTEL_ISHTP_ECLITE=y
# CONFIG_INTEL_PUNIT_IPC is not set
# CONFIG_INTEL_RST is not set
# CONFIG_INTEL_SMARTCONNECT is not set
# CONFIG_INTEL_TURBO_MAX_3 is not set
# CONFIG_INTEL_VSEC is not set
# CONFIG_IDEAPAD_LAPTOP is not set
# CONFIG_LENOVO_WMI_HOTKEY_UTILITIES is not set
# CONFIG_LENOVO_WMI_CAMERA is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_THINKPAD_LMI is not set
# CONFIG_YOGABOOK is not set
# CONFIG_YT2_1380 is not set
# CONFIG_LENOVO_WMI_GAMEZONE is not set
# CONFIG_LENOVO_WMI_TUNING is not set
# CONFIG_ACPI_QUICKSTART is not set
# CONFIG_MEEGOPAD_ANX7428 is not set
# CONFIG_MSI_EC is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_MSI_WMI is not set
# CONFIG_MSI_WMI_PLATFORM is not set
# CONFIG_PCENGINES_APU2 is not set
# CONFIG_PORTWELL_EC is not set
# CONFIG_BARCO_P50_GPIO is not set
# CONFIG_SAMSUNG_GALAXYBOOK is not set
# CONFIG_SAMSUNG_LAPTOP is not set
# CONFIG_SAMSUNG_Q10 is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_TOSHIBA_HAPS is not set
# CONFIG_TOSHIBA_WMI is not set
# CONFIG_ACPI_CMPC is not set
# CONFIG_COMPAL_LAPTOP is not set
# CONFIG_LG_LAPTOP is not set
# CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set
# CONFIG_SYSTEM76_ACPI is not set
# CONFIG_TOPSTAR_LAPTOP is not set
# CONFIG_SERIAL_MULTI_INSTANTIATE is not set
# CONFIG_INSPUR_PLATFORM_PROFILE is not set
# CONFIG_DASHARO_ACPI is not set
# CONFIG_INTEL_IPS is not set
CONFIG_INTEL_SCU_IPC=y
# CONFIG_INTEL_SCU_PCI is not set
# CONFIG_INTEL_SCU_PLATFORM is not set
# CONFIG_SIEMENS_SIMATIC_IPC is not set
# CONFIG_SILICOM_PLATFORM is not set
# CONFIG_WINMATE_FM07_KEYS is not set
# CONFIG_OXP_EC is not set
# CONFIG_TUXEDO_NB04_WMI_AB is not set
CONFIG_P2SB=y
CONFIG_ACPI_WMI=y
# CONFIG_ACPI_WMI_LEGACY_DEVICE_NAMES is not set
CONFIG_HAVE_CLK=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y
# CONFIG_LMK04832 is not set
# CONFIG_COMMON_CLK_MAX9485 is not set
# CONFIG_COMMON_CLK_SI5341 is not set
# CONFIG_COMMON_CLK_SI5351 is not set
# CONFIG_COMMON_CLK_SI514 is not set
# CONFIG_COMMON_CLK_SI544 is not set
# CONFIG_COMMON_CLK_SI570 is not set
# CONFIG_COMMON_CLK_CDCE706 is not set
# CONFIG_COMMON_CLK_CDCE925 is not set
# CONFIG_COMMON_CLK_CS2000_CP is not set
# CONFIG_CLK_TWL is not set
# CONFIG_COMMON_CLK_AXI_CLKGEN is not set
# CONFIG_COMMON_CLK_RS9_PCIE is not set
# CONFIG_COMMON_CLK_SI521XX is not set
# CONFIG_COMMON_CLK_VC3 is not set
# CONFIG_COMMON_CLK_VC5 is not set
# CONFIG_COMMON_CLK_VC7 is not set
# CONFIG_COMMON_CLK_FIXED_MMIO is not set
# CONFIG_CLK_LGM_CGU is not set
# CONFIG_XILINX_VCU is not set
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
# CONFIG_HWSPINLOCK is not set

#
# Clock Source drivers
#
CONFIG_CLKEVT_I8253=y
CONFIG_I8253_LOCK=y
CONFIG_CLKBLD_I8253=y
# end of Clock Source drivers

CONFIG_MAILBOX=y
# CONFIG_PLATFORM_MHU is not set
CONFIG_PCC=y
# CONFIG_ALTERA_MBOX is not set
# CONFIG_MAILBOX_TEST is not set
CONFIG_IOMMU_IOVA=y
CONFIG_IOMMU_API=y
CONFIG_IOMMUFD_DRIVER=y
CONFIG_IOMMU_SUPPORT=y

#
# Generic IOMMU Pagetable Support
#
# end of Generic IOMMU Pagetable Support

# CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
CONFIG_OF_IOMMU=y
CONFIG_IOMMU_DMA=y
CONFIG_IOMMU_SVA=y
CONFIG_IOMMU_IOPF=y
# CONFIG_AMD_IOMMU is not set
CONFIG_DMAR_TABLE=y
CONFIG_INTEL_IOMMU=y
CONFIG_INTEL_IOMMU_SVM=y
CONFIG_INTEL_IOMMU_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_PERF_EVENTS=y
CONFIG_IOMMUFD_DRIVER_CORE=y
CONFIG_IOMMUFD=y
CONFIG_IRQ_REMAP=y
# CONFIG_VIRTIO_IOMMU is not set
CONFIG_GENERIC_PT=y
# CONFIG_DEBUG_GENERIC_PT is not set
CONFIG_IOMMU_PT=y
# CONFIG_IOMMU_PT_AMDV1 is not set
CONFIG_IOMMU_PT_VTDSS=y
CONFIG_IOMMU_PT_X86_64=y

#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set
# end of Remoteproc drivers

#
# Rpmsg drivers
#
# CONFIG_RPMSG_QCOM_GLINK_RPM is not set
# CONFIG_RPMSG_VIRTIO is not set
# end of Rpmsg drivers

CONFIG_SOUNDWIRE=y

#
# SoundWire Devices
#
# CONFIG_SOUNDWIRE_AMD is not set
# CONFIG_SOUNDWIRE_INTEL is not set
# CONFIG_SOUNDWIRE_QCOM is not set

#
# SOC (System On Chip) specific Drivers
#

#
# Amlogic SoC drivers
#
# end of Amlogic SoC drivers

#
# Broadcom SoC drivers
#
# end of Broadcom SoC drivers

#
# NXP/Freescale QorIQ SoC drivers
#
# end of NXP/Freescale QorIQ SoC drivers

#
# fujitsu SoC drivers
#
# end of fujitsu SoC drivers

#
# i.MX SoC drivers
#
# end of i.MX SoC drivers

#
# Enable LiteX SoC Builder specific drivers
#
# CONFIG_LITEX_SOC_CONTROLLER is not set
# end of Enable LiteX SoC Builder specific drivers

# CONFIG_WPCM450_SOC is not set

#
# Qualcomm SoC drivers
#
CONFIG_QCOM_QMI_HELPERS=y
# end of Qualcomm SoC drivers

# CONFIG_SOC_TI is not set

#
# Xilinx SoC drivers
#
# end of Xilinx SoC drivers
# end of SOC (System On Chip) specific Drivers

#
# PM Domains
#

#
# Amlogic PM Domains
#
# end of Amlogic PM Domains

#
# Broadcom PM Domains
#
# end of Broadcom PM Domains

#
# i.MX PM Domains
#
# end of i.MX PM Domains

#
# Qualcomm PM Domains
#
# end of Qualcomm PM Domains
# end of PM Domains

# CONFIG_PM_DEVFREQ is not set
CONFIG_EXTCON=y

#
# Extcon Device Drivers
#
# CONFIG_EXTCON_ADC_JACK is not set
# CONFIG_EXTCON_FSA9480 is not set
# CONFIG_EXTCON_GPIO is not set
# CONFIG_EXTCON_INTEL_INT3496 is not set
CONFIG_EXTCON_INTEL_CHT_WC=y
# CONFIG_EXTCON_LC824206XA is not set
# CONFIG_EXTCON_MAX3355 is not set
# CONFIG_EXTCON_MAX14526 is not set
CONFIG_EXTCON_PTN5150=y
# CONFIG_EXTCON_RT8973A is not set
# CONFIG_EXTCON_SM5502 is not set
# CONFIG_EXTCON_USB_GPIO is not set
CONFIG_EXTCON_USBC_TUSB320=y
# CONFIG_MEMORY is not set
CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not set
# CONFIG_IIO_BUFFER_DMA is not set
# CONFIG_IIO_BUFFER_DMAENGINE is not set
# CONFIG_IIO_BUFFER_HW_CONSUMER is not set
CONFIG_IIO_KFIFO_BUF=y
CONFIG_IIO_TRIGGERED_BUFFER=y
# CONFIG_IIO_CONFIGFS is not set
CONFIG_IIO_TRIGGER=y
CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
# CONFIG_IIO_SW_DEVICE is not set
# CONFIG_IIO_SW_TRIGGER is not set
# CONFIG_IIO_TRIGGERED_EVENT is not set

#
# Accelerometers
#
# CONFIG_ADIS16201 is not set
# CONFIG_ADIS16209 is not set
# CONFIG_ADXL313_I2C is not set
# CONFIG_ADXL313_SPI is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
# CONFIG_ADXL355_I2C is not set
# CONFIG_ADXL355_SPI is not set
# CONFIG_ADXL367_SPI is not set
# CONFIG_ADXL367_I2C is not set
# CONFIG_ADXL372_SPI is not set
# CONFIG_ADXL372_I2C is not set
# CONFIG_ADXL380_SPI is not set
# CONFIG_ADXL380_I2C is not set
# CONFIG_BMA180 is not set
# CONFIG_BMA220 is not set
# CONFIG_BMA400 is not set
# CONFIG_BMC150_ACCEL is not set
# CONFIG_BMI088_ACCEL is not set
# CONFIG_DA280 is not set
# CONFIG_DA311 is not set
# CONFIG_DMARD06 is not set
# CONFIG_DMARD09 is not set
# CONFIG_DMARD10 is not set
# CONFIG_FXLS8962AF_I2C is not set
# CONFIG_FXLS8962AF_SPI is not set
CONFIG_HID_SENSOR_ACCEL_3D=y
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
# CONFIG_IIO_KX022A_SPI is not set
# CONFIG_IIO_KX022A_I2C is not set
# CONFIG_KXSD9 is not set
# CONFIG_KXCJK1013 is not set
# CONFIG_MC3230 is not set
# CONFIG_MMA7455_I2C is not set
# CONFIG_MMA7455_SPI is not set
# CONFIG_MMA7660 is not set
# CONFIG_MMA8452 is not set
# CONFIG_MMA9551 is not set
# CONFIG_MMA9553 is not set
# CONFIG_MSA311 is not set
# CONFIG_MXC4005 is not set
# CONFIG_MXC6255 is not set
# CONFIG_SCA3000 is not set
# CONFIG_SCA3300 is not set
# CONFIG_STK8312 is not set
# CONFIG_STK8BA50 is not set
# end of Accelerometers

#
# Analog to digital converters
#
# CONFIG_AD4000 is not set
# CONFIG_AD4030 is not set
# CONFIG_AD4080 is not set
# CONFIG_AD4130 is not set
# CONFIG_AD4170_4 is not set
# CONFIG_AD4695 is not set
# CONFIG_AD7091R5 is not set
# CONFIG_AD7091R8 is not set
# CONFIG_AD7124 is not set
# CONFIG_AD7173 is not set
# CONFIG_AD7191 is not set
# CONFIG_AD7192 is not set
# CONFIG_AD7266 is not set
# CONFIG_AD7280 is not set
# CONFIG_AD7291 is not set
# CONFIG_AD7292 is not set
# CONFIG_AD7298 is not set
# CONFIG_AD7380 is not set
# CONFIG_AD7476 is not set
# CONFIG_AD7606_IFACE_PARALLEL is not set
# CONFIG_AD7606_IFACE_SPI is not set
# CONFIG_AD7766 is not set
# CONFIG_AD7768_1 is not set
# CONFIG_AD7779 is not set
# CONFIG_AD7780 is not set
# CONFIG_AD7791 is not set
# CONFIG_AD7793 is not set
# CONFIG_AD7887 is not set
# CONFIG_AD7923 is not set
# CONFIG_AD7944 is not set
# CONFIG_AD7949 is not set
# CONFIG_AD799X is not set
# CONFIG_AD9467 is not set
# CONFIG_ADE9000 is not set
# CONFIG_CC10001_ADC is not set
CONFIG_DLN2_ADC=y
# CONFIG_ENVELOPE_DETECTOR is not set
# CONFIG_GEHC_PMC_ADC is not set
# CONFIG_HI8435 is not set
# CONFIG_HX711 is not set
# CONFIG_INA2XX_ADC is not set
# CONFIG_LTC2309 is not set
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2496 is not set
# CONFIG_LTC2497 is not set
# CONFIG_MAX1027 is not set
# CONFIG_MAX11100 is not set
# CONFIG_MAX1118 is not set
# CONFIG_MAX11205 is not set
# CONFIG_MAX11410 is not set
# CONFIG_MAX1241 is not set
# CONFIG_MAX1363 is not set
# CONFIG_MAX14001 is not set
# CONFIG_MAX34408 is not set
# CONFIG_MAX9611 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
# CONFIG_MCP3564 is not set
# CONFIG_MCP3911 is not set
# CONFIG_MEDIATEK_MT6360_ADC is not set
# CONFIG_MEDIATEK_MT6370_ADC is not set
# CONFIG_NAU7802 is not set
# CONFIG_NCT7201 is not set
# CONFIG_PAC1921 is not set
# CONFIG_PAC1934 is not set
# CONFIG_ROHM_BD79112 is not set
# CONFIG_ROHM_BD79124 is not set
# CONFIG_RICHTEK_RTQ6056 is not set
# CONFIG_SD_ADC_MODULATOR is not set
# CONFIG_TI_ADC081C is not set
# CONFIG_TI_ADC0832 is not set
# CONFIG_TI_ADC084S021 is not set
# CONFIG_TI_ADC108S102 is not set
# CONFIG_TI_ADC12138 is not set
# CONFIG_TI_ADC128S052 is not set
# CONFIG_TI_ADC161S626 is not set
# CONFIG_TI_ADS1015 is not set
# CONFIG_TI_ADS1100 is not set
# CONFIG_TI_ADS1119 is not set
# CONFIG_TI_ADS124S08 is not set
# CONFIG_TI_ADS1298 is not set
# CONFIG_TI_ADS131E08 is not set
# CONFIG_TI_ADS7138 is not set
# CONFIG_TI_ADS7924 is not set
# CONFIG_TI_ADS7950 is not set
# CONFIG_TI_ADS8344 is not set
# CONFIG_TI_ADS8688 is not set
# CONFIG_TI_LMP92064 is not set
# CONFIG_TI_TLC4541 is not set
# CONFIG_TI_TSC2046 is not set
# CONFIG_TWL4030_MADC is not set
# CONFIG_TWL6030_GPADC is not set
# CONFIG_VF610_ADC is not set
CONFIG_VIPERBOARD_ADC=y
# CONFIG_XILINX_XADC is not set
# end of Analog to digital converters

#
# Analog to digital and digital to analog converters
#
# CONFIG_AD74115 is not set
# CONFIG_AD74413R is not set
# end of Analog to digital and digital to analog converters

#
# Analog Front Ends
#
# CONFIG_IIO_RESCALE is not set
# end of Analog Front Ends

#
# Amplifiers
#
# CONFIG_AD8366 is not set
# CONFIG_ADA4250 is not set
# CONFIG_HMC425 is not set
# end of Amplifiers

#
# Capacitance to digital converters
#
# CONFIG_AD7150 is not set
# CONFIG_AD7746 is not set
# end of Capacitance to digital converters

#
# Chemical Sensors
#
# CONFIG_AOSONG_AGS02MA is not set
# CONFIG_ATLAS_PH_SENSOR is not set
# CONFIG_ATLAS_EZO_SENSOR is not set
# CONFIG_BME680 is not set
# CONFIG_CCS811 is not set
# CONFIG_ENS160 is not set
# CONFIG_IAQCORE is not set
# CONFIG_MHZ19B is not set
# CONFIG_PMS7003 is not set
# CONFIG_SCD30_CORE is not set
# CONFIG_SCD4X is not set
# CONFIG_SEN0322 is not set
# CONFIG_SENSIRION_SGP30 is not set
# CONFIG_SENSIRION_SGP40 is not set
# CONFIG_SPS30_I2C is not set
# CONFIG_SPS30_SERIAL is not set
# CONFIG_SENSEAIR_SUNRISE_CO2 is not set
# CONFIG_VZ89X is not set
# end of Chemical Sensors

#
# Hid Sensor IIO Common
#
CONFIG_HID_SENSOR_IIO_COMMON=y
CONFIG_HID_SENSOR_IIO_TRIGGER=y
# end of Hid Sensor IIO Common

#
# IIO SCMI Sensors
#
# end of IIO SCMI Sensors

#
# SSP Sensor Common
#
# CONFIG_IIO_SSP_SENSORHUB is not set
# end of SSP Sensor Common

#
# Digital to analog converters
#
# CONFIG_AD3530R is not set
# CONFIG_AD3552R_HS is not set
# CONFIG_AD3552R is not set
# CONFIG_AD5064 is not set
# CONFIG_AD5360 is not set
# CONFIG_AD5380 is not set
# CONFIG_AD5421 is not set
# CONFIG_AD5446_SPI is not set
# CONFIG_AD5446_I2C is not set
# CONFIG_AD5449 is not set
# CONFIG_AD5592R is not set
# CONFIG_AD5593R is not set
# CONFIG_AD5504 is not set
# CONFIG_AD5624R_SPI is not set
# CONFIG_AD9739A is not set
# CONFIG_LTC2688 is not set
# CONFIG_AD5686_SPI is not set
# CONFIG_AD5696_I2C is not set
# CONFIG_AD5755 is not set
# CONFIG_AD5758 is not set
# CONFIG_AD5761 is not set
# CONFIG_AD5764 is not set
# CONFIG_AD5766 is not set
# CONFIG_AD5770R is not set
# CONFIG_AD5791 is not set
# CONFIG_AD7293 is not set
# CONFIG_AD7303 is not set
# CONFIG_AD8460 is not set
# CONFIG_AD8801 is not set
# CONFIG_BD79703 is not set
# CONFIG_CIO_DAC is not set
# CONFIG_DPOT_DAC is not set
# CONFIG_DS4424 is not set
# CONFIG_LTC1660 is not set
# CONFIG_LTC2632 is not set
# CONFIG_LTC2664 is not set
# CONFIG_M62332 is not set
# CONFIG_MAX517 is not set
# CONFIG_MAX5522 is not set
# CONFIG_MAX5821 is not set
# CONFIG_MCP4725 is not set
# CONFIG_MCP4728 is not set
# CONFIG_MCP4821 is not set
# CONFIG_MCP4922 is not set
# CONFIG_TI_DAC082S085 is not set
# CONFIG_TI_DAC5571 is not set
# CONFIG_TI_DAC7311 is not set
# CONFIG_TI_DAC7612 is not set
# CONFIG_VF610_DAC is not set
# end of Digital to analog converters

#
# IIO dummy driver
#
# end of IIO dummy driver

#
# Filters
#
# CONFIG_ADMV8818 is not set
# end of Filters

#
# Frequency Synthesizers DDS/PLL
#

#
# Clock Generator/Distribution
#
# CONFIG_AD9523 is not set
# end of Clock Generator/Distribution

#
# Phase-Locked Loop (PLL) frequency synthesizers
#
# CONFIG_ADF4350 is not set
# CONFIG_ADF4371 is not set
# CONFIG_ADF4377 is not set
# CONFIG_ADMFM2000 is not set
# CONFIG_ADMV1013 is not set
# CONFIG_ADMV1014 is not set
# CONFIG_ADMV4420 is not set
# CONFIG_ADRF6780 is not set
# end of Phase-Locked Loop (PLL) frequency synthesizers
# end of Frequency Synthesizers DDS/PLL

#
# Digital gyroscope sensors
#
# CONFIG_ADIS16080 is not set
# CONFIG_ADIS16130 is not set
# CONFIG_ADIS16136 is not set
# CONFIG_ADIS16260 is not set
# CONFIG_ADXRS290 is not set
# CONFIG_ADXRS450 is not set
# CONFIG_BMG160 is not set
# CONFIG_FXAS21002C is not set
CONFIG_HID_SENSOR_GYRO_3D=y
# CONFIG_MPU3050_I2C is not set
# CONFIG_IIO_ST_GYRO_3AXIS is not set
# CONFIG_ITG3200 is not set
# end of Digital gyroscope sensors

#
# Health Sensors
#

#
# Heart Rate Monitors
#
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
# CONFIG_MAX30100 is not set
# CONFIG_MAX30102 is not set
# end of Heart Rate Monitors
# end of Health Sensors

#
# Humidity sensors
#
# CONFIG_AM2315 is not set
# CONFIG_DHT11 is not set
# CONFIG_ENS210 is not set
# CONFIG_HDC100X is not set
# CONFIG_HDC2010 is not set
# CONFIG_HDC3020 is not set
CONFIG_HID_SENSOR_HUMIDITY=y
# CONFIG_HTS221 is not set
# CONFIG_HTU21 is not set
# CONFIG_SI7005 is not set
# CONFIG_SI7020 is not set
# end of Humidity sensors

#
# Inertial measurement units
#
# CONFIG_ADIS16400 is not set
# CONFIG_ADIS16460 is not set
# CONFIG_ADIS16475 is not set
# CONFIG_ADIS16480 is not set
# CONFIG_ADIS16550 is not set
# CONFIG_BMI160_I2C is not set
# CONFIG_BMI160_SPI is not set
# CONFIG_BMI270_I2C is not set
# CONFIG_BMI270_SPI is not set
# CONFIG_BMI323_I2C is not set
# CONFIG_BMI323_SPI is not set
# CONFIG_BOSCH_BNO055_SERIAL is not set
# CONFIG_BOSCH_BNO055_I2C is not set
# CONFIG_FXOS8700_I2C is not set
# CONFIG_FXOS8700_SPI is not set
# CONFIG_KMX61 is not set
# CONFIG_INV_ICM42600_I2C is not set
# CONFIG_INV_ICM42600_SPI is not set
# CONFIG_INV_ICM45600_I2C is not set
# CONFIG_INV_ICM45600_SPI is not set
# CONFIG_INV_MPU6050_I2C is not set
# CONFIG_INV_MPU6050_SPI is not set
# CONFIG_SMI240 is not set
# CONFIG_SMI330_I2C is not set
# CONFIG_SMI330_SPI is not set
# CONFIG_IIO_ST_LSM6DSX is not set
# CONFIG_IIO_ST_LSM9DS0 is not set
# end of Inertial measurement units

#
# Light sensors
#
# CONFIG_ACPI_ALS is not set
# CONFIG_ADJD_S311 is not set
# CONFIG_ADUX1020 is not set
# CONFIG_AL3000A is not set
# CONFIG_AL3010 is not set
# CONFIG_AL3320A is not set
# CONFIG_APDS9160 is not set
# CONFIG_APDS9300 is not set
# CONFIG_APDS9306 is not set
# CONFIG_APDS9960 is not set
# CONFIG_AS73211 is not set
# CONFIG_BH1745 is not set
# CONFIG_BH1750 is not set
# CONFIG_BH1780 is not set
# CONFIG_CM32181 is not set
# CONFIG_CM3232 is not set
# CONFIG_CM3323 is not set
# CONFIG_CM3605 is not set
# CONFIG_CM36651 is not set
# CONFIG_GP2AP002 is not set
# CONFIG_GP2AP020A00F is not set
# CONFIG_SENSORS_ISL29018 is not set
# CONFIG_SENSORS_ISL29028 is not set
# CONFIG_ISL29125 is not set
# CONFIG_ISL76682 is not set
CONFIG_HID_SENSOR_ALS=y
CONFIG_HID_SENSOR_PROX=y
# CONFIG_JSA1212 is not set
# CONFIG_ROHM_BU27034 is not set
# CONFIG_RPR0521 is not set
# CONFIG_LTR390 is not set
# CONFIG_LTR501 is not set
# CONFIG_LTRF216A is not set
# CONFIG_LV0104CS is not set
# CONFIG_MAX44000 is not set
# CONFIG_MAX44009 is not set
# CONFIG_NOA1305 is not set
# CONFIG_OPT3001 is not set
# CONFIG_OPT4001 is not set
# CONFIG_OPT4060 is not set
# CONFIG_PA12203001 is not set
# CONFIG_SI1133 is not set
# CONFIG_SI1145 is not set
# CONFIG_STK3310 is not set
# CONFIG_ST_UVIS25 is not set
# CONFIG_TCS3414 is not set
# CONFIG_TCS3472 is not set
# CONFIG_SENSORS_TSL2563 is not set
# CONFIG_TSL2583 is not set
# CONFIG_TSL2591 is not set
# CONFIG_TSL2772 is not set
# CONFIG_TSL4531 is not set
# CONFIG_US5182D is not set
# CONFIG_VCNL4000 is not set
# CONFIG_VCNL4035 is not set
# CONFIG_VEML3235 is not set
# CONFIG_VEML6030 is not set
# CONFIG_VEML6040 is not set
# CONFIG_VEML6046X00 is not set
# CONFIG_VEML6070 is not set
# CONFIG_VEML6075 is not set
# CONFIG_VL6180 is not set
# CONFIG_ZOPT2201 is not set
# end of Light sensors

#
# Magnetometer sensors
#
# CONFIG_AF8133J is not set
# CONFIG_AK8974 is not set
# CONFIG_AK8975 is not set
# CONFIG_AK09911 is not set
# CONFIG_ALS31300 is not set
# CONFIG_BMC150_MAGN_I2C is not set
# CONFIG_BMC150_MAGN_SPI is not set
# CONFIG_MAG3110 is not set
CONFIG_HID_SENSOR_MAGNETOMETER_3D=y
# CONFIG_MMC35240 is not set
# CONFIG_IIO_ST_MAGN_3AXIS is not set
# CONFIG_INFINEON_TLV493D is not set
# CONFIG_SENSORS_HMC5843_I2C is not set
# CONFIG_SENSORS_HMC5843_SPI is not set
# CONFIG_SENSORS_RM3100_I2C is not set
# CONFIG_SENSORS_RM3100_SPI is not set
# CONFIG_SI7210 is not set
# CONFIG_TI_TMAG5273 is not set
# CONFIG_YAMAHA_YAS530 is not set
# end of Magnetometer sensors

#
# Multiplexers
#
# CONFIG_IIO_MUX is not set
# end of Multiplexers

#
# Inclinometer sensors
#
CONFIG_HID_SENSOR_INCLINOMETER_3D=y
CONFIG_HID_SENSOR_DEVICE_ROTATION=y
# end of Inclinometer sensors

#
# Triggers - standalone
#
# CONFIG_IIO_INTERRUPT_TRIGGER is not set
# CONFIG_IIO_SYSFS_TRIGGER is not set
# end of Triggers - standalone

#
# Linear and angular position sensors
#
CONFIG_HID_SENSOR_CUSTOM_INTEL_HINGE=y
# end of Linear and angular position sensors

#
# Digital potentiometers
#
# CONFIG_AD5110 is not set
# CONFIG_AD5272 is not set
# CONFIG_DS1803 is not set
# CONFIG_MAX5432 is not set
# CONFIG_MAX5481 is not set
# CONFIG_MAX5487 is not set
# CONFIG_MCP4018 is not set
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
# CONFIG_MCP41010 is not set
# CONFIG_TPL0102 is not set
# CONFIG_X9250 is not set
# end of Digital potentiometers

#
# Digital potentiostats
#
# CONFIG_LMP91000 is not set
# end of Digital potentiostats

#
# Pressure sensors
#
# CONFIG_ABP060MG is not set
# CONFIG_ROHM_BM1390 is not set
# CONFIG_BMP280 is not set
# CONFIG_DLHL60D is not set
# CONFIG_DPS310 is not set
CONFIG_HID_SENSOR_PRESS=y
# CONFIG_HP03 is not set
# CONFIG_HSC030PA is not set
# CONFIG_ICP10100 is not set
# CONFIG_MPL115_I2C is not set
# CONFIG_MPL115_SPI is not set
# CONFIG_MPL3115 is not set
# CONFIG_MPRLS0025PA is not set
# CONFIG_MS5611 is not set
# CONFIG_MS5637 is not set
# CONFIG_SDP500 is not set
# CONFIG_IIO_ST_PRESS is not set
# CONFIG_T5403 is not set
# CONFIG_HP206C is not set
# CONFIG_ZPA2326 is not set
# CONFIG_ADP810 is not set
# end of Pressure sensors

#
# Lightning sensors
#
# CONFIG_AS3935 is not set
# end of Lightning sensors

#
# Proximity and distance sensors
#
# CONFIG_D3323AA is not set
# CONFIG_HX9023S is not set
# CONFIG_IRSD200 is not set
# CONFIG_ISL29501 is not set
# CONFIG_LIDAR_LITE_V2 is not set
# CONFIG_MB1232 is not set
# CONFIG_PING is not set
# CONFIG_RFD77402 is not set
# CONFIG_SRF04 is not set
# CONFIG_SX9310 is not set
# CONFIG_SX9324 is not set
# CONFIG_SX9360 is not set
# CONFIG_SX9500 is not set
# CONFIG_SRF08 is not set
# CONFIG_VCNL3020 is not set
# CONFIG_VL53L0X_I2C is not set
# CONFIG_AW96103 is not set
# end of Proximity and distance sensors

#
# Resolver to digital converters
#
# CONFIG_AD2S90 is not set
# CONFIG_AD2S1200 is not set
# CONFIG_AD2S1210 is not set
# end of Resolver to digital converters

#
# Temperature sensors
#
# CONFIG_LTC2983 is not set
# CONFIG_MAXIM_THERMOCOUPLE is not set
CONFIG_HID_SENSOR_TEMP=y
# CONFIG_MLX90614 is not set
# CONFIG_MLX90632 is not set
# CONFIG_MLX90635 is not set
# CONFIG_TMP006 is not set
# CONFIG_TMP007 is not set
# CONFIG_TMP117 is not set
# CONFIG_TSYS01 is not set
# CONFIG_TSYS02D is not set
# CONFIG_MAX30208 is not set
# CONFIG_MAX31856 is not set
# CONFIG_MAX31865 is not set
# CONFIG_MCP9600 is not set
# end of Temperature sensors

# CONFIG_NTB is not set
# CONFIG_PWM is not set

#
# IRQ chip support
#
CONFIG_IRQCHIP=y
CONFIG_IRQ_MSI_LIB=y
# CONFIG_AL_FIC is not set
# CONFIG_XILINX_INTC is not set
# end of IRQ chip support

# CONFIG_IPACK_BUS is not set
CONFIG_RESET_CONTROLLER=y
# CONFIG_RESET_GPIO is not set
# CONFIG_RESET_INTEL_GW is not set
# CONFIG_RESET_SIMPLE is not set
# CONFIG_RESET_TI_SYSCON is not set
# CONFIG_RESET_TI_TPS380X is not set

#
# PHY Subsystem
#
CONFIG_GENERIC_PHY=y
CONFIG_USB_LGM_PHY=y
# CONFIG_PHY_CAN_TRANSCEIVER is not set
# CONFIG_PHY_NXP_PTN3222 is not set

#
# PHY drivers for Broadcom platforms
#
# CONFIG_BCM_KONA_USB2_PHY is not set
# end of PHY drivers for Broadcom platforms

# CONFIG_PHY_CADENCE_TORRENT is not set
# CONFIG_PHY_CADENCE_DPHY is not set
# CONFIG_PHY_CADENCE_DPHY_RX is not set
# CONFIG_PHY_CADENCE_SIERRA is not set
# CONFIG_PHY_CADENCE_SALVO is not set
# CONFIG_PHY_PXA_28NM_HSIC is not set
# CONFIG_PHY_PXA_28NM_USB2 is not set
CONFIG_PHY_CPCAP_USB=y
# CONFIG_PHY_MAPPHONE_MDM6600 is not set
# CONFIG_PHY_OCELOT_SERDES is not set
CONFIG_PHY_QCOM_USB_HS=y
CONFIG_PHY_QCOM_USB_HSIC=y
CONFIG_PHY_SAMSUNG_USB2=y
CONFIG_PHY_TUSB1210=y
# CONFIG_PHY_INTEL_LGM_COMBO is not set
# CONFIG_PHY_INTEL_LGM_EMMC is not set
# end of PHY Subsystem

# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

#
# Performance monitor support
#
# CONFIG_DWC_PCIE_PMU is not set
# end of Performance monitor support

CONFIG_RAS=y
CONFIG_USB4=y
# CONFIG_USB4_DEBUGFS_WRITE is not set
# CONFIG_USB4_DMA_TEST is not set

#
# Android
#
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder0,binder1"
# end of Android

CONFIG_LIBNVDIMM=y
CONFIG_BLK_DEV_PMEM=y
CONFIG_ND_CLAIM=y
CONFIG_ND_BTT=y
CONFIG_BTT=y
CONFIG_ND_PFN=y
CONFIG_NVDIMM_PFN=y
CONFIG_NVDIMM_DAX=y
CONFIG_OF_PMEM=y
CONFIG_RAMDAX=y
CONFIG_NVDIMM_KEYS=y
# CONFIG_NVDIMM_SECURITY_TEST is not set
CONFIG_DAX=y
CONFIG_DEV_DAX=y
# CONFIG_DEV_DAX_PMEM is not set
# CONFIG_DEV_DAX_KMEM is not set
CONFIG_NVMEM=y
CONFIG_NVMEM_SYSFS=y
CONFIG_NVMEM_LAYOUTS=y

#
# Layout Types
#
# CONFIG_NVMEM_LAYOUT_SL28_VPD is not set
# CONFIG_NVMEM_LAYOUT_ONIE_TLV is not set
# CONFIG_NVMEM_LAYOUT_U_BOOT_ENV is not set
# end of Layout Types

# CONFIG_NVMEM_RMEM is not set

#
# HW tracing support
#
# CONFIG_STM is not set
# CONFIG_INTEL_TH is not set
# end of HW tracing support

# CONFIG_FPGA is not set
# CONFIG_FSI is not set
CONFIG_TEE=y
CONFIG_TEE_DMABUF_HEAPS=y
CONFIG_OPTEE_STATIC_PROTMEM_POOL=y
# CONFIG_SIOX is not set
# CONFIG_SLIMBUS is not set
# CONFIG_INTERCONNECT is not set
CONFIG_COUNTER=y
# CONFIG_INTEL_QEP is not set
# CONFIG_INTERRUPT_CNT is not set
CONFIG_MOST=y
CONFIG_MOST_USB_HDM=y
# CONFIG_MOST_CDEV is not set
# CONFIG_MOST_SND is not set
# CONFIG_PECI is not set
# CONFIG_HTE is not set
# end of Device Drivers

#
# File systems
#
CONFIG_VALIDATE_FS_PARSER=y
CONFIG_FS_IOMAP=y
CONFIG_FS_STACK=y
CONFIG_BUFFER_HEAD=y
CONFIG_LEGACY_DIRECT_IO=y
# CONFIG_EXT2_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_JFS_FS=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
CONFIG_JFS_DEBUG=y
# CONFIG_JFS_STATISTICS is not set
CONFIG_XFS_FS=y
# CONFIG_XFS_SUPPORT_V4 is not set
# CONFIG_XFS_SUPPORT_ASCII_CI is not set
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y
# CONFIG_XFS_ONLINE_SCRUB is not set
# CONFIG_XFS_WARN is not set
# CONFIG_XFS_DEBUG is not set
CONFIG_GFS2_FS=y
CONFIG_GFS2_FS_LOCKING_DLM=y
CONFIG_OCFS2_FS=y
CONFIG_OCFS2_FS_O2CB=y
CONFIG_OCFS2_FS_USERSPACE_CLUSTER=y
CONFIG_OCFS2_FS_STATS=y
# CONFIG_OCFS2_DEBUG_MASKLOG is not set
CONFIG_OCFS2_DEBUG_FS=y
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
# CONFIG_BTRFS_DEBUG is not set
CONFIG_BTRFS_ASSERT=y
# CONFIG_BTRFS_EXPERIMENTAL is not set
CONFIG_NILFS2_FS=y
CONFIG_F2FS_FS=y
CONFIG_F2FS_STAT_FS=y
CONFIG_F2FS_FS_XATTR=y
CONFIG_F2FS_FS_POSIX_ACL=y
CONFIG_F2FS_FS_SECURITY=y
CONFIG_F2FS_CHECK_FS=y
CONFIG_F2FS_FAULT_INJECTION=y
CONFIG_F2FS_FS_COMPRESSION=y
CONFIG_F2FS_FS_LZO=y
CONFIG_F2FS_FS_LZORLE=y
CONFIG_F2FS_FS_LZ4=y
CONFIG_F2FS_FS_LZ4HC=y
CONFIG_F2FS_FS_ZSTD=y
# CONFIG_F2FS_IOSTAT is not set
# CONFIG_F2FS_UNFAIR_RWSEM is not set
CONFIG_ZONEFS_FS=y
CONFIG_FS_DAX=y
CONFIG_FS_DAX_PMD=y
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_EXPORTFS_BLOCK_OPS=y
CONFIG_FILE_LOCKING=y
CONFIG_FS_ENCRYPTION=y
CONFIG_FS_ENCRYPTION_ALGS=y
# CONFIG_FS_ENCRYPTION_INLINE_CRYPT is not set
CONFIG_FS_VERITY=y
CONFIG_FS_VERITY_BUILTIN_SIGNATURES=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_QUOTA_DEBUG is not set
CONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_AUTOFS_FS=y
CONFIG_FUSE_FS=y
CONFIG_CUSE=y
CONFIG_VIRTIO_FS=y
CONFIG_FUSE_DAX=y
# CONFIG_FUSE_PASSTHROUGH is not set
# CONFIG_FUSE_IO_URING is not set
CONFIG_OVERLAY_FS=y
CONFIG_OVERLAY_FS_REDIRECT_DIR=y
CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
CONFIG_OVERLAY_FS_INDEX=y
# CONFIG_OVERLAY_FS_NFS_EXPORT is not set
# CONFIG_OVERLAY_FS_XINO_AUTO is not set
# CONFIG_OVERLAY_FS_METACOPY is not set
CONFIG_OVERLAY_FS_DEBUG=y

#
# Caches
#
CONFIG_NETFS_SUPPORT=y
# CONFIG_NETFS_STATS is not set
# CONFIG_NETFS_DEBUG is not set
CONFIG_FSCACHE=y
# CONFIG_FSCACHE_STATS is not set
CONFIG_CACHEFILES=y
# CONFIG_CACHEFILES_DEBUG is not set
# CONFIG_CACHEFILES_ERROR_INJECTION is not set
# CONFIG_CACHEFILES_ONDEMAND is not set
# end of Caches

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=y
# end of CD-ROM/DVD Filesystems

#
# DOS/FAT/EXFAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
CONFIG_EXFAT_FS=y
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
CONFIG_NTFS3_FS=y
# CONFIG_NTFS3_64BIT_CLUSTER is not set
CONFIG_NTFS3_LZX_XPRESS=y
CONFIG_NTFS3_FS_POSIX_ACL=y
# CONFIG_NTFS_FS is not set
# end of DOS/FAT/EXFAT/NT Filesystems

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_VMCORE=y
# CONFIG_PROC_VMCORE_DEVICE_DUMP is not set
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_PROC_CHILDREN=y
CONFIG_PROC_PID_ARCH_STATUS=y
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_TMPFS_INODE64 is not set
CONFIG_TMPFS_QUOTA=y
CONFIG_ARCH_SUPPORTS_HUGETLBFS=y
CONFIG_HUGETLBFS=y
# CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON is not set
CONFIG_HUGETLB_PAGE=y
CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP=y
CONFIG_HUGETLB_PMD_PAGE_TABLE_SHARING=y
CONFIG_ARCH_HAS_GIGANTIC_PAGE=y
CONFIG_CONFIGFS_FS=y
# end of Pseudo filesystems

CONFIG_MISC_FILESYSTEMS=y
CONFIG_ORANGEFS_FS=y
CONFIG_ADFS_FS=y
# CONFIG_ADFS_FS_RW is not set
CONFIG_AFFS_FS=y
CONFIG_ECRYPT_FS=y
CONFIG_ECRYPT_FS_MESSAGING=y
CONFIG_HFS_FS=y
CONFIG_HFSPLUS_FS=y
CONFIG_BEFS_FS=y
# CONFIG_BEFS_DEBUG is not set
CONFIG_BFS_FS=y
CONFIG_EFS_FS=y
CONFIG_CRAMFS=y
CONFIG_CRAMFS_BLOCKDEV=y
CONFIG_SQUASHFS=y
# CONFIG_SQUASHFS_FILE_CACHE is not set
CONFIG_SQUASHFS_FILE_DIRECT=y
CONFIG_SQUASHFS_DECOMP_MULTI=y
# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is not set
# CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is not set
CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI=y
# CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU is not set
# CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS is not set
CONFIG_SQUASHFS_XATTR=y
# CONFIG_SQUASHFS_COMP_CACHE_FULL is not set
CONFIG_SQUASHFS_ZLIB=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_ZSTD=y
CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_VXFS_FS=y
CONFIG_MINIX_FS=y
CONFIG_OMFS_FS=y
CONFIG_HPFS_FS=y
CONFIG_QNX4FS_FS=y
CONFIG_QNX6FS_FS=y
# CONFIG_QNX6FS_DEBUG is not set
CONFIG_ROMFS_FS=y
CONFIG_ROMFS_BACKED_BY_BLOCK=y
CONFIG_ROMFS_ON_BLOCK=y
CONFIG_PSTORE=y
CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240
CONFIG_PSTORE_COMPRESS=y
# CONFIG_PSTORE_CONSOLE is not set
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_RAM is not set
# CONFIG_PSTORE_BLK is not set
CONFIG_UFS_FS=y
CONFIG_UFS_FS_WRITE=y
# CONFIG_UFS_DEBUG is not set
CONFIG_EROFS_FS=y
# CONFIG_EROFS_FS_DEBUG is not set
CONFIG_EROFS_FS_XATTR=y
CONFIG_EROFS_FS_POSIX_ACL=y
CONFIG_EROFS_FS_SECURITY=y
# CONFIG_EROFS_FS_BACKED_BY_FILE is not set
CONFIG_EROFS_FS_ZIP=y
# CONFIG_EROFS_FS_ZIP_LZMA is not set
# CONFIG_EROFS_FS_ZIP_DEFLATE is not set
# CONFIG_EROFS_FS_ZIP_ZSTD is not set
# CONFIG_EROFS_FS_ZIP_ACCEL is not set
# CONFIG_EROFS_FS_ONDEMAND is not set
# CONFIG_EROFS_FS_PCPU_KTHREAD is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
# CONFIG_NFS_V2 is not set
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
# CONFIG_NFS_SWAP is not set
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_PNFS_FILE_LAYOUT=y
CONFIG_PNFS_BLOCK=y
CONFIG_PNFS_FLEXFILE_LAYOUT=y
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org"
# CONFIG_NFS_V4_1_MIGRATION is not set
CONFIG_NFS_V4_SECURITY_LABEL=y
CONFIG_ROOT_NFS=y
CONFIG_NFS_FSCACHE=y
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
# CONFIG_NFS_DISABLE_UDP_SUPPORT is not set
CONFIG_NFS_V4_2_READ_PLUS=y
CONFIG_NFSD=y
# CONFIG_NFSD_V2 is not set
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_PNFS=y
CONFIG_NFSD_BLOCKLAYOUT=y
CONFIG_NFSD_SCSILAYOUT=y
CONFIG_NFSD_FLEXFILELAYOUT=y
CONFIG_NFSD_V4_2_INTER_SSC=y
CONFIG_NFSD_V4_SECURITY_LABEL=y
# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set
# CONFIG_NFSD_V4_DELEG_TIMESTAMPS is not set
CONFIG_GRACE_PERIOD=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
# CONFIG_NFS_LOCALIO is not set
CONFIG_NFS_V4_2_SSC_HELPER=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_SUNRPC_BACKCHANNEL=y
CONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA1 is not set
# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_CAMELLIA is not set
# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA2 is not set
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_SUNRPC_XPRT_RDMA is not set
CONFIG_CEPH_FS=y
CONFIG_CEPH_FSCACHE=y
CONFIG_CEPH_FS_POSIX_ACL=y
# CONFIG_CEPH_FS_SECURITY_LABEL is not set
CONFIG_CIFS=y
# CONFIG_CIFS_STATS2 is not set
CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_CIFS_DEBUG=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DEBUG_DUMP_KEYS is not set
CONFIG_CIFS_DFS_UPCALL=y
CONFIG_CIFS_SWN_UPCALL=y
CONFIG_CIFS_SMB_DIRECT=y
CONFIG_CIFS_FSCACHE=y
# CONFIG_CIFS_ROOT is not set
# CONFIG_CIFS_COMPRESSION is not set
CONFIG_SMB_SERVER=y
# CONFIG_SMB_SERVER_SMBDIRECT is not set
# CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN is not set
# CONFIG_SMB_SERVER_KERBEROS5 is not set
CONFIG_SMBFS=y
# CONFIG_CODA_FS is not set
CONFIG_AFS_FS=y
# CONFIG_AFS_DEBUG is not set
CONFIG_AFS_FSCACHE=y
# CONFIG_AFS_DEBUG_CURSOR is not set
CONFIG_9P_FS=y
CONFIG_9P_FSCACHE=y
CONFIG_9P_FS_POSIX_ACL=y
CONFIG_9P_FS_SECURITY=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_737=y
CONFIG_NLS_CODEPAGE_775=y
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_CODEPAGE_852=y
CONFIG_NLS_CODEPAGE_855=y
CONFIG_NLS_CODEPAGE_857=y
CONFIG_NLS_CODEPAGE_860=y
CONFIG_NLS_CODEPAGE_861=y
CONFIG_NLS_CODEPAGE_862=y
CONFIG_NLS_CODEPAGE_863=y
CONFIG_NLS_CODEPAGE_864=y
CONFIG_NLS_CODEPAGE_865=y
CONFIG_NLS_CODEPAGE_866=y
CONFIG_NLS_CODEPAGE_869=y
CONFIG_NLS_CODEPAGE_936=y
CONFIG_NLS_CODEPAGE_950=y
CONFIG_NLS_CODEPAGE_932=y
CONFIG_NLS_CODEPAGE_949=y
CONFIG_NLS_CODEPAGE_874=y
CONFIG_NLS_ISO8859_8=y
CONFIG_NLS_CODEPAGE_1250=y
CONFIG_NLS_CODEPAGE_1251=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
CONFIG_NLS_ISO8859_3=y
CONFIG_NLS_ISO8859_4=y
CONFIG_NLS_ISO8859_5=y
CONFIG_NLS_ISO8859_6=y
CONFIG_NLS_ISO8859_7=y
CONFIG_NLS_ISO8859_9=y
CONFIG_NLS_ISO8859_13=y
CONFIG_NLS_ISO8859_14=y
CONFIG_NLS_ISO8859_15=y
CONFIG_NLS_KOI8_R=y
CONFIG_NLS_KOI8_U=y
CONFIG_NLS_MAC_ROMAN=y
CONFIG_NLS_MAC_CELTIC=y
CONFIG_NLS_MAC_CENTEURO=y
CONFIG_NLS_MAC_CROATIAN=y
CONFIG_NLS_MAC_CYRILLIC=y
CONFIG_NLS_MAC_GAELIC=y
CONFIG_NLS_MAC_GREEK=y
CONFIG_NLS_MAC_ICELAND=y
CONFIG_NLS_MAC_INUIT=y
CONFIG_NLS_MAC_ROMANIAN=y
CONFIG_NLS_MAC_TURKISH=y
CONFIG_NLS_UTF8=y
CONFIG_NLS_UCS2_UTILS=y
CONFIG_DLM=y
# CONFIG_DLM_DEBUG is not set
CONFIG_UNICODE=y
CONFIG_IO_WQ=y
# end of File systems

#
# Security options
#
CONFIG_KEYS=y
CONFIG_KEYS_REQUEST_CACHE=y
CONFIG_PERSISTENT_KEYRINGS=y
# CONFIG_BIG_KEYS is not set
CONFIG_TRUSTED_KEYS=y
# CONFIG_TRUSTED_KEYS_TPM is not set
# CONFIG_TRUSTED_KEYS_TEE is not set

#
# No trust source selected!
#
CONFIG_ENCRYPTED_KEYS=y
# CONFIG_USER_DECRYPTED_DATA is not set
CONFIG_KEY_DH_OPERATIONS=y
CONFIG_KEY_NOTIFICATIONS=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_PROC_MEM_ALWAYS_FORCE=y
# CONFIG_PROC_MEM_FORCE_PTRACE is not set
# CONFIG_PROC_MEM_NO_FORCE is not set
CONFIG_SECURITY=y
CONFIG_HAS_SECURITY_AUDIT=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_INFINIBAND=y
CONFIG_SECURITY_NETWORK_XFRM=y
CONFIG_SECURITY_PATH=y
# CONFIG_INTEL_TXT is not set
# CONFIG_STATIC_USERMODEHELPER is not set
# CONFIG_SECURITY_SELINUX is not set
# CONFIG_SECURITY_SMACK is not set
CONFIG_SECURITY_TOMOYO=y
CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=64
CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=32
CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER=y
CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING=y
CONFIG_SECURITY_APPARMOR=y
CONFIG_SECURITY_APPARMOR_DEBUG=y
CONFIG_SECURITY_APPARMOR_DEBUG_ASSERTS=y
# CONFIG_SECURITY_APPARMOR_DEBUG_MESSAGES is not set
CONFIG_SECURITY_APPARMOR_INTROSPECT_POLICY=y
CONFIG_SECURITY_APPARMOR_HASH=y
CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
# CONFIG_SECURITY_APPARMOR_EXPORT_BINARY is not set
# CONFIG_SECURITY_APPARMOR_PARANOID_LOAD is not set
# CONFIG_SECURITY_LOADPIN is not set
CONFIG_SECURITY_YAMA=y
CONFIG_SECURITY_SAFESETID=y
CONFIG_SECURITY_LOCKDOWN_LSM=y
CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y
CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y
# CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set
# CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set
CONFIG_SECURITY_LANDLOCK=y
# CONFIG_SECURITY_IPE is not set
CONFIG_INTEGRITY=y
CONFIG_INTEGRITY_SIGNATURE=y
CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y
CONFIG_INTEGRITY_TRUSTED_KEYRING=y
CONFIG_INTEGRITY_AUDIT=y
CONFIG_IMA=y
CONFIG_IMA_MEASURE_PCR_IDX=10
CONFIG_IMA_LSM_RULES=y
CONFIG_IMA_NG_TEMPLATE=y
# CONFIG_IMA_SIG_TEMPLATE is not set
CONFIG_IMA_DEFAULT_TEMPLATE="ima-ng"
# CONFIG_IMA_DEFAULT_HASH_SHA1 is not set
CONFIG_IMA_DEFAULT_HASH_SHA256=y
# CONFIG_IMA_DEFAULT_HASH_SHA512 is not set
# CONFIG_IMA_DEFAULT_HASH_WP512 is not set
CONFIG_IMA_DEFAULT_HASH="sha256"
CONFIG_IMA_WRITE_POLICY=y
CONFIG_IMA_READ_POLICY=y
CONFIG_IMA_APPRAISE=y
# CONFIG_IMA_ARCH_POLICY is not set
# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set
# CONFIG_IMA_APPRAISE_BOOTPARAM is not set
CONFIG_IMA_APPRAISE_MODSIG=y
# CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY is not set
# CONFIG_IMA_BLACKLIST_KEYRING is not set
# CONFIG_IMA_LOAD_X509 is not set
CONFIG_IMA_MEASURE_ASYMMETRIC_KEYS=y
CONFIG_IMA_QUEUE_EARLY_BOOT_KEYS=y
# CONFIG_IMA_DISABLE_HTABLE is not set
CONFIG_EVM=y
CONFIG_EVM_ATTR_FSUUID=y
CONFIG_EVM_ADD_XATTRS=y
# CONFIG_EVM_LOAD_X509 is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
CONFIG_DEFAULT_SECURITY_APPARMOR=y
# CONFIG_DEFAULT_SECURITY_DAC is not set
CONFIG_LSM="landlock,lockdown,yama,safesetid,integrity,tomoyo,apparmor,bpf"

#
# Kernel hardening options
#

#
# Memory initialization
#
CONFIG_CC_HAS_AUTO_VAR_INIT_PATTERN=y
CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_BARE=y
CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO=y
CONFIG_INIT_STACK_NONE=y
CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y
# CONFIG_ZERO_CALL_USED_REGS is not set
# end of Memory initialization

#
# Bounds checking
#
CONFIG_FORTIFY_SOURCE=y
# CONFIG_HARDENED_USERCOPY is not set
# end of Bounds checking

#
# Hardening of kernel data structures
#
CONFIG_LIST_HARDENED=y
CONFIG_BUG_ON_DATA_CORRUPTION=y
# end of Hardening of kernel data structures

CONFIG_CC_HAS_RANDSTRUCT=y
CONFIG_RANDSTRUCT_NONE=y
# CONFIG_RANDSTRUCT_FULL is not set
# end of Kernel hardening options
# end of Security options

CONFIG_XOR_BLOCKS=y
CONFIG_ASYNC_CORE=y
CONFIG_ASYNC_MEMCPY=y
CONFIG_ASYNC_XOR=y
CONFIG_ASYNC_PQ=y
CONFIG_ASYNC_RAID6_RECOV=y
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_SIG=y
CONFIG_CRYPTO_SIG2=y
CONFIG_CRYPTO_SKCIPHER=y
CONFIG_CRYPTO_SKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_RNG_DEFAULT=y
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_AKCIPHER=y
CONFIG_CRYPTO_KPP2=y
CONFIG_CRYPTO_KPP=y
CONFIG_CRYPTO_ACOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_USER=y
# CONFIG_CRYPTO_SELFTESTS is not set
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_PCRYPT=y
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_KRB5ENC=y
# CONFIG_CRYPTO_BENCHMARK is not set
CONFIG_CRYPTO_ENGINE=y
# end of Crypto core or helper

#
# Public-key cryptography
#
CONFIG_CRYPTO_RSA=y
CONFIG_CRYPTO_DH=y
# CONFIG_CRYPTO_DH_RFC7919_GROUPS is not set
CONFIG_CRYPTO_ECC=y
CONFIG_CRYPTO_ECDH=y
CONFIG_CRYPTO_ECDSA=y
CONFIG_CRYPTO_ECRDSA=y
# end of Public-key cryptography

#
# Block ciphers
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_TI=y
CONFIG_CRYPTO_ANUBIS=y
CONFIG_CRYPTO_ARIA=y
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_BLOWFISH_COMMON=y
CONFIG_CRYPTO_CAMELLIA=y
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_FCRYPT=y
CONFIG_CRYPTO_KHAZAD=y
CONFIG_CRYPTO_SEED=y
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_SM4=y
CONFIG_CRYPTO_SM4_GENERIC=y
CONFIG_CRYPTO_TEA=y
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y
# end of Block ciphers

#
# Length-preserving ciphers and modes
#
CONFIG_CRYPTO_ADIANTUM=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_CHACHA20=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_CTR=y
CONFIG_CRYPTO_CTS=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_HCTR2=y
CONFIG_CRYPTO_LRW=y
CONFIG_CRYPTO_PCBC=y
CONFIG_CRYPTO_XCTR=y
CONFIG_CRYPTO_XTS=y
CONFIG_CRYPTO_NHPOLY1305=y
# end of Length-preserving ciphers and modes

#
# AEAD (authenticated encryption with associated data) ciphers
#
CONFIG_CRYPTO_AEGIS128=y
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CRYPTO_CCM=y
CONFIG_CRYPTO_GCM=y
CONFIG_CRYPTO_GENIV=y
CONFIG_CRYPTO_SEQIV=y
CONFIG_CRYPTO_ECHAINIV=y
CONFIG_CRYPTO_ESSIV=y
# end of AEAD (authenticated encryption with associated data) ciphers

#
# Hashes, digests, and MACs
#
CONFIG_CRYPTO_BLAKE2B=y
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_GHASH=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_MICHAEL_MIC=y
CONFIG_CRYPTO_RMD160=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_SHA3=y
# CONFIG_CRYPTO_SM3_GENERIC is not set
CONFIG_CRYPTO_STREEBOG=y
CONFIG_CRYPTO_WP512=y
CONFIG_CRYPTO_XCBC=y
CONFIG_CRYPTO_XXHASH=y
# end of Hashes, digests, and MACs

#
# CRCs (cyclic redundancy checks)
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32 is not set
# end of CRCs (cyclic redundancy checks)

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_LZO=y
CONFIG_CRYPTO_842=y
CONFIG_CRYPTO_LZ4=y
CONFIG_CRYPTO_LZ4HC=y
# CONFIG_CRYPTO_ZSTD is not set
# end of Compression

#
# Random number generation
#
CONFIG_CRYPTO_DRBG_MENU=y
CONFIG_CRYPTO_DRBG_HMAC=y
CONFIG_CRYPTO_DRBG_HASH=y
CONFIG_CRYPTO_DRBG_CTR=y
CONFIG_CRYPTO_DRBG=y
CONFIG_CRYPTO_JITTERENTROPY=y
CONFIG_CRYPTO_JITTERENTROPY_MEMORY_BLOCKS=64
CONFIG_CRYPTO_JITTERENTROPY_MEMORY_BLOCKSIZE=32
CONFIG_CRYPTO_JITTERENTROPY_OSR=1
CONFIG_CRYPTO_KDF800108_CTR=y
CONFIG_CRYPTO_DF80090A=y
# end of Random number generation

#
# Userspace interface
#
CONFIG_CRYPTO_USER_API=y
CONFIG_CRYPTO_USER_API_HASH=y
CONFIG_CRYPTO_USER_API_SKCIPHER=y
CONFIG_CRYPTO_USER_API_RNG=y
# CONFIG_CRYPTO_USER_API_RNG_CAVP is not set
CONFIG_CRYPTO_USER_API_AEAD=y
CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE=y
# end of Userspace interface

CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_DEV_PADLOCK=y
CONFIG_CRYPTO_DEV_PADLOCK_AES=y
CONFIG_CRYPTO_DEV_PADLOCK_SHA=y
# CONFIG_CRYPTO_DEV_ATMEL_ECC is not set
# CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set
CONFIG_CRYPTO_DEV_CCP=y
CONFIG_CRYPTO_DEV_CCP_DD=y
# CONFIG_CRYPTO_DEV_SP_CCP is not set
# CONFIG_CRYPTO_DEV_NITROX_CNN55XX is not set
CONFIG_CRYPTO_DEV_QAT=y
CONFIG_CRYPTO_DEV_QAT_DH895xCC=y
CONFIG_CRYPTO_DEV_QAT_C3XXX=y
CONFIG_CRYPTO_DEV_QAT_C62X=y
# CONFIG_CRYPTO_DEV_QAT_4XXX is not set
# CONFIG_CRYPTO_DEV_QAT_420XX is not set
# CONFIG_CRYPTO_DEV_QAT_6XXX is not set
CONFIG_CRYPTO_DEV_QAT_DH895xCCVF=y
CONFIG_CRYPTO_DEV_QAT_C3XXXVF=y
CONFIG_CRYPTO_DEV_QAT_C62XVF=y
# CONFIG_CRYPTO_DEV_QAT_ERROR_INJECTION is not set
CONFIG_CRYPTO_DEV_VIRTIO=y
# CONFIG_CRYPTO_DEV_SAFEXCEL is not set
# CONFIG_CRYPTO_DEV_CCREE is not set
# CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_PKCS8_PRIVATE_KEY_PARSER=y
CONFIG_PKCS7_MESSAGE_PARSER=y
CONFIG_PKCS7_TEST_KEY=y
CONFIG_SIGNED_PE_FILE_VERIFICATION=y
# CONFIG_FIPS_SIGNATURE_SELFTEST is not set

#
# Certificates for signature checking
#
CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"
# CONFIG_MODULE_SIG_KEY_TYPE_RSA is not set
CONFIG_MODULE_SIG_KEY_TYPE_ECDSA=y
CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_SYSTEM_TRUSTED_KEYS=""
# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
CONFIG_SECONDARY_TRUSTED_KEYRING=y
# CONFIG_SECONDARY_TRUSTED_KEYRING_SIGNED_BY_BUILTIN is not set
# CONFIG_SYSTEM_BLACKLIST_KEYRING is not set
# end of Certificates for signature checking

CONFIG_CRYPTO_KRB5=y
# CONFIG_CRYPTO_KRB5_SELFTESTS is not set
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_RAID6_PQ=y
# CONFIG_RAID6_PQ_BENCHMARK is not set
CONFIG_LINEAR_RANGES=y
# CONFIG_PACKING is not set
CONFIG_BITREVERSE=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
# CONFIG_CORDIC is not set
# CONFIG_PRIME_NUMBERS is not set
CONFIG_RATIONAL=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
CONFIG_ARCH_USE_SYM_ANNOTATIONS=y
CONFIG_CRC8=y
CONFIG_CRC16=y
CONFIG_CRC_CCITT=y
CONFIG_CRC_ITU_T=y
CONFIG_CRC_T10DIF=y
CONFIG_CRC_T10DIF_ARCH=y
CONFIG_CRC32=y
CONFIG_CRC32_ARCH=y
CONFIG_CRC64=y
CONFIG_CRC64_ARCH=y
CONFIG_CRC_OPTIMIZATIONS=y

#
# Crypto library routines
#
CONFIG_CRYPTO_HASH_INFO=y
CONFIG_CRYPTO_LIB_UTILS=y
CONFIG_CRYPTO_LIB_AES=y
CONFIG_CRYPTO_LIB_ARC4=y
CONFIG_CRYPTO_LIB_GF128MUL=y
CONFIG_CRYPTO_LIB_BLAKE2B=y
CONFIG_CRYPTO_LIB_BLAKE2S_ARCH=y
CONFIG_CRYPTO_LIB_CHACHA=y
CONFIG_CRYPTO_LIB_DES=y
CONFIG_CRYPTO_LIB_MD5=y
CONFIG_CRYPTO_LIB_POLY1305=y
CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y
CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11
CONFIG_CRYPTO_LIB_POLYVAL=y
CONFIG_CRYPTO_LIB_POLYVAL_ARCH=y
CONFIG_CRYPTO_LIB_SHA1=y
CONFIG_CRYPTO_LIB_SHA1_ARCH=y
CONFIG_CRYPTO_LIB_SHA256=y
CONFIG_CRYPTO_LIB_SHA256_ARCH=y
CONFIG_CRYPTO_LIB_SHA512=y
CONFIG_CRYPTO_LIB_SHA512_ARCH=y
CONFIG_CRYPTO_LIB_SHA3=y
# end of Crypto library routines

CONFIG_XXHASH=y
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_842_COMPRESS=y
CONFIG_842_DECOMPRESS=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_LZ4_COMPRESS=y
CONFIG_LZ4HC_COMPRESS=y
CONFIG_LZ4_DECOMPRESS=y
CONFIG_ZSTD_COMMON=y
CONFIG_ZSTD_COMPRESS=y
CONFIG_ZSTD_DECOMPRESS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_ARM64=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_RISCV=y
# CONFIG_XZ_DEC_MICROLZMA is not set
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_XZ=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_DECOMPRESS_LZ4=y
CONFIG_DECOMPRESS_ZSTD=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_REED_SOLOMON=y
CONFIG_REED_SOLOMON_DEC8=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=y
CONFIG_TEXTSEARCH_BM=y
CONFIG_TEXTSEARCH_FSM=y
CONFIG_INTERVAL_TREE=y
CONFIG_INTERVAL_TREE_SPAN_ITER=y
CONFIG_XARRAY_MULTI=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_CLOSURES=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAS_DMA=y
CONFIG_DMA_OPS_HELPERS=y
CONFIG_NEED_SG_DMA_FLAGS=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_DMA_DECLARE_COHERENT=y
CONFIG_SWIOTLB=y
# CONFIG_SWIOTLB_DYNAMIC is not set
CONFIG_DMA_NEED_SYNC=y
# CONFIG_DMA_RESTRICTED_POOL is not set
CONFIG_DMA_CMA=y
# CONFIG_DMA_NUMA_CMA is not set

#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=0
CONFIG_CMA_SIZE_PERCENTAGE=0
# CONFIG_CMA_SIZE_SEL_MBYTES is not set
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
CONFIG_CMA_SIZE_SEL_MAX=y
CONFIG_CMA_ALIGNMENT=8
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_DMA_MAP_BENCHMARK is not set
CONFIG_SGL_ALLOC=y
CONFIG_CHECK_SIGNATURE=y
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_GLOB=y
# CONFIG_GLOB_SELFTEST is not set
CONFIG_NLATTR=y
CONFIG_CLZ_TAB=y
CONFIG_IRQ_POLL=y
CONFIG_MPILIB=y
CONFIG_SIGNATURE=y
CONFIG_DIMLIB=y
CONFIG_LIBFDT=y
CONFIG_OID_REGISTRY=y
CONFIG_HAVE_GENERIC_VDSO=y
CONFIG_GENERIC_GETTIMEOFDAY=y
CONFIG_GENERIC_VDSO_OVERFLOW_PROTECT=y
CONFIG_VDSO_GETRANDOM=y
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_SG_POOL=y
CONFIG_ARCH_HAS_PMEM_API=y
CONFIG_MEMREGION=y
CONFIG_ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION=y
CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE=y
CONFIG_ARCH_HAS_COPY_MC=y
CONFIG_ARCH_STACKWALK=y
CONFIG_STACKDEPOT=y
CONFIG_STACKDEPOT_ALWAYS_INIT=y
CONFIG_STACKDEPOT_MAX_FRAMES=64
CONFIG_REF_TRACKER=y
CONFIG_SBITMAP=y
# CONFIG_LWQ_TEST is not set
# end of Library routines

CONFIG_FIRMWARE_TABLE=y
CONFIG_UNION_FIND=y

#
# Kernel hacking
#

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_PRINTK_CALLER=y
# CONFIG_STACKTRACE_BUILD_ID is not set
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_CONSOLE_LOGLEVEL_QUIET=4
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_DYNAMIC_DEBUG_CORE is not set
CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_BUGVERBOSE_DETAILED is not set
# end of printk and dmesg options

CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_MISC=y

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
CONFIG_AS_HAS_NON_CONST_ULEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
CONFIG_DEBUG_INFO_DWARF4=y
# CONFIG_DEBUG_INFO_DWARF5 is not set
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set
# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_BTF is not set
CONFIG_PAHOLE_HAS_SPLIT_BTF=y
CONFIG_PAHOLE_HAS_BTF_TAG=y
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
# CONFIG_GDB_SCRIPTS is not set
CONFIG_FRAME_WARN=2048
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_HEADERS_INSTALL is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B is not set
CONFIG_ARCH_WANT_FRAME_POINTERS=y
CONFIG_FRAME_POINTER=y
CONFIG_OBJTOOL=y
# CONFIG_OBJTOOL_WERROR is not set
# CONFIG_STACK_VALIDATION is not set
CONFIG_NOINSTR_VALIDATION=y
# CONFIG_VMLINUX_MAP is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# end of Compile-time checks and compiler options

#
# Generic Kernel Debugging Instruments
#
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_FS_ALLOW_ALL=y
# CONFIG_DEBUG_FS_ALLOW_NONE is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_ARCH_HAS_UBSAN=y
# CONFIG_UBSAN is not set
CONFIG_HAVE_ARCH_KCSAN=y
CONFIG_HAVE_KCSAN_COMPILER=y
# CONFIG_KCSAN is not set
# end of Generic Kernel Debugging Instruments

#
# Networking Debugging
#
CONFIG_NET_DEV_REFCNT_TRACKER=y
CONFIG_NET_NS_REFCNT_TRACKER=y
CONFIG_DEBUG_NET=y
# CONFIG_DEBUG_NET_SMALL_RTNL is not set
# end of Networking Debugging

#
# Memory Debugging
#
# CONFIG_PAGE_EXTENSION is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_SLUB_DEBUG=y
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_PAGE_OWNER is not set
# CONFIG_PAGE_TABLE_CHECK is not set
# CONFIG_PAGE_POISONING is not set
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_RODATA_TEST is not set
CONFIG_ARCH_HAS_DEBUG_WX=y
CONFIG_DEBUG_WX=y
CONFIG_ARCH_HAS_PTDUMP=y
CONFIG_PTDUMP=y
# CONFIG_PTDUMP_DEBUGFS is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_PER_VMA_LOCK_STATS is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SHRINKER_DEBUG is not set
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_SCHED_STACK_END_CHECK=y
CONFIG_ARCH_HAS_DEBUG_VM_PGTABLE=y
CONFIG_DEBUG_VFS=y
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VM_PGTABLE is not set
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
# CONFIG_DEBUG_VIRTUAL is not set
CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_PER_CPU_MAPS is not set
CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y
# CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP is not set
# CONFIG_MEM_ALLOC_PROFILING is not set
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_HAVE_ARCH_KASAN_VMALLOC=y
CONFIG_CC_HAS_KASAN_GENERIC=y
CONFIG_CC_HAS_KASAN_SW_TAGS=y
CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
# CONFIG_KASAN is not set
CONFIG_HAVE_ARCH_KFENCE=y
# CONFIG_KFENCE is not set
CONFIG_HAVE_ARCH_KMSAN=y
CONFIG_HAVE_KMSAN_COMPILER=y
CONFIG_KMSAN=y
CONFIG_KMSAN_CHECK_PARAM_RETVAL=y
# end of Memory Debugging

# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Oops, Lockups and Hangs
#
CONFIG_PANIC_ON_OOPS=y
CONFIG_PANIC_TIMEOUT=86400
# CONFIG_SOFTLOCKUP_DETECTOR is not set
CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y
# CONFIG_HARDLOCKUP_DETECTOR is not set
CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y
# CONFIG_DETECT_HUNG_TASK is not set
# CONFIG_WQ_WATCHDOG is not set
# CONFIG_WQ_CPU_INTENSIVE_REPORT is not set
# CONFIG_TEST_LOCKUP is not set
# end of Debug Oops, Lockups and Hangs

#
# Scheduler Debugging
#
CONFIG_SCHED_INFO=y
CONFIG_SCHEDSTATS=y
# end of Scheduler Debugging

# CONFIG_DEBUG_PREEMPT is not set

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
CONFIG_LOCK_DEBUGGING_SUPPORT=y
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
# CONFIG_DEBUG_RWSEMS is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_LOCK_TORTURE_TEST is not set
# CONFIG_WW_MUTEX_SELFTEST is not set
# CONFIG_SCF_TORTURE_TEST is not set
# CONFIG_CSD_LOCK_WAIT_DEBUG is not set
# end of Lock Debugging (spinlocks, mutexes, etc...)

CONFIG_NMI_CHECK_CPU=y
# CONFIG_DEBUG_IRQFLAGS is not set
CONFIG_STACKTRACE=y
# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set
# CONFIG_DEBUG_KOBJECT is not set

#
# Debug kernel data structures
#
# CONFIG_DEBUG_LIST is not set
CONFIG_DEBUG_PLIST=y
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CLOSURES is not set
# CONFIG_DEBUG_MAPLE_TREE is not set
# end of Debug kernel data structures

#
# RCU Debugging
#
# CONFIG_RCU_SCALE_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_REF_SCALE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=100
CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0
# CONFIG_RCU_CPU_STALL_CPUTIME is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_RCU_EQS_DEBUG is not set
# end of RCU Debugging

# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set
# CONFIG_LATENCYTOP is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_RETHOOK=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=y
CONFIG_HAVE_FTRACE_REGS_HAVING_PT_REGS=y
CONFIG_HAVE_DYNAMIC_FTRACE_NO_PATCHABLE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_JMP=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_FENTRY=y
CONFIG_HAVE_OBJTOOL_MCOUNT=y
CONFIG_HAVE_OBJTOOL_NOP_MCOUNT=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_HAVE_BUILDTIME_MCOUNT_SORT=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_TRACING=y
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
CONFIG_TRACEFS_AUTOMOUNT_DEPRECATED=y
# CONFIG_BOOTTIME_TRACING is not set
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_HWLAT_TRACER is not set
# CONFIG_OSNOISE_TRACER is not set
# CONFIG_TIMERLAT_TRACER is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_UPROBE_EVENTS=y
CONFIG_EPROBE_EVENTS=y
CONFIG_BPF_EVENTS=y
CONFIG_DYNAMIC_EVENTS=y
CONFIG_PROBE_EVENTS=y
# CONFIG_SYNTH_EVENTS is not set
# CONFIG_USER_EVENTS is not set
# CONFIG_HIST_TRIGGERS is not set
CONFIG_TRACE_EVENT_INJECT=y
# CONFIG_TRACEPOINT_BENCHMARK is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_TRACE_EVAL_MAP_FILE is not set
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
# CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS is not set
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set
# CONFIG_RV is not set
CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
# CONFIG_SAMPLES is not set
CONFIG_HAVE_SAMPLE_FTRACE_DIRECT=y
CONFIG_HAVE_SAMPLE_FTRACE_DIRECT_MULTI=y
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y

#
# x86 Debugging
#
CONFIG_EARLY_PRINTK_USB=y
CONFIG_X86_VERBOSE_BOOTUP=y
CONFIG_EARLY_PRINTK=y
CONFIG_EARLY_PRINTK_DBGP=y
# CONFIG_EARLY_PRINTK_USB_XDBC is not set
# CONFIG_DEBUG_TLBFLUSH is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
# CONFIG_X86_DECODER_SELFTEST is not set
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEBUG_BOOT_PARAMS=y
# CONFIG_CPA_DEBUG is not set
CONFIG_DEBUG_ENTRY=y
# CONFIG_DEBUG_NMI_SELFTEST is not set
CONFIG_X86_DEBUG_FPU=y
# CONFIG_PUNIT_ATOM_DEBUG is not set
# CONFIG_UNWINDER_ORC is not set
CONFIG_UNWINDER_FRAME_POINTER=y
# end of x86 Debugging

#
# Kernel Testing and Coverage
#
# CONFIG_KUNIT is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
CONFIG_FAULT_INJECTION=y
CONFIG_FAILSLAB=y
CONFIG_FAIL_PAGE_ALLOC=y
CONFIG_FAULT_INJECTION_USERCOPY=y
CONFIG_FAIL_MAKE_REQUEST=y
CONFIG_FAIL_IO_TIMEOUT=y
CONFIG_FAIL_FUTEX=y
CONFIG_FAULT_INJECTION_DEBUG_FS=y
# CONFIG_FAIL_MMC_REQUEST is not set
# CONFIG_FAIL_SKB_REALLOC is not set
CONFIG_FAULT_INJECTION_CONFIGFS=y
# CONFIG_FAULT_INJECTION_STACKTRACE_FILTER is not set
CONFIG_ARCH_HAS_KCOV=y
CONFIG_KCOV=y
CONFIG_KCOV_ENABLE_COMPARISONS=y
CONFIG_KCOV_INSTRUMENT_ALL=y
CONFIG_KCOV_IRQ_AREA_SIZE=0x40000
# CONFIG_KCOV_SELFTEST is not set
CONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_TEST_DHRY is not set
# CONFIG_LKDTM is not set
# CONFIG_TEST_MIN_HEAP is not set
# CONFIG_TEST_DIV64 is not set
# CONFIG_TEST_MULDIV64 is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_TEST_REF_TRACKER is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_REED_SOLOMON_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_ASYNC_RAID6_TEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_BITMAP is not set
# CONFIG_TEST_UUID is not set
# CONFIG_TEST_XARRAY is not set
# CONFIG_TEST_MAPLE_TREE is not set
# CONFIG_TEST_RHASHTABLE is not set
# CONFIG_TEST_IDA is not set
# CONFIG_TEST_LKM is not set
# CONFIG_TEST_BITOPS is not set
# CONFIG_TEST_VMALLOC is not set
# CONFIG_TEST_BPF is not set
# CONFIG_FIND_BIT_BENCHMARK is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_SYSCTL is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_TEST_STATIC_KEYS is not set
# CONFIG_TEST_KMOD is not set
# CONFIG_TEST_KALLSYMS is not set
# CONFIG_TEST_MEMCAT_P is not set
# CONFIG_TEST_MEMINIT is not set
# CONFIG_TEST_HMM is not set
# CONFIG_TEST_FREE_PAGES is not set
# CONFIG_TEST_CLOCKSOURCE_WATCHDOG is not set
# CONFIG_TEST_OBJPOOL is not set
CONFIG_ARCH_USE_MEMTEST=y
# CONFIG_MEMTEST is not set
# end of Kernel Testing and Coverage

#
# Rust hacking
#
# end of Rust hacking
# end of Kernel hacking

CONFIG_IO_URING_ZCRX=y
KernelRepo git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
ReproCID 5622741845147648
ReproOpts
Show (139 bytes)
{"threaded":true,"repeat":true,"procs":1,"slowdown":1,"sandbox":"","sandbox_arg":0,"close_fds":false,"ieee802154":true,"callcomments":true}
ReproSyzID 5625455996043264
SyzkallerCommit d6526ea3e6ad9081c902859bbb80f9f840377cb4

Current Stage: moderation
Next Stage: upstream

Reporting Stages and Comments:
Stage Source Reported At Ext ID Comments
moderation lore 2026/05/22 07:31 <3d57ee87-f29b-43a2-8e22-2ca4d86cb799@mail.kernel.org>
2 Comments
  • syzbot@kernel.org (2026/05/22 07:34):
    KMSAN reports a kernel-infoleak in dgram_recvmsg(). The issue occurs
    because the `pan_id` field of the IEEE 802.15.4 MAC header is
    unconditionally copied to a socket address structure and subsequently
    leaked to user space during a `recvmsg` syscall.
    
    In `dgram_recvmsg()`, the kernel zeroes out a `struct
    sockaddr_ieee802154` and then populates it using
    `ieee802154_addr_to_sa()`. Inside `ieee802154_addr_to_sa()`, the
    `pan_id` is unconditionally copied from the source address to the socket
    address.
    
    The source of the uninitialized memory is a local, uninitialized `struct
    ieee802154_hdr hdr` variable in `__ieee802154_rx_handle_packet()`. The
    header is parsed by `ieee802154_parse_frame_start()`, which eventually
    calls `ieee802154_hdr_get_addr()` to extract the destination and source
    addresses. If the address mode is `IEEE802154_ADDR_NONE`, the function
    returns early and leaves `addr->pan_id` uninitialized (containing stack
    garbage).
    
    To fix this issue, explicitly initialize `addr->pan_id` to `0` when the
    address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`.
    This ensures that no uninitialized stack memory is ever propagated or
    copied to user space.
    
    Fixes: 94b4f6c21cf5 ("ieee802154: add header structs with endiannes and operations")
    Assisted-by: Gemini:gemini-3.1-pro-preview syzbot
    Reported-by: syzbot+346474e3bf0b26bd3090@syzkaller.appspotmail.com
    Closes: https://syzkaller.appspot.com/bug?extid=346474e3bf0b26bd3090
    Link: https://syzkaller.appspot.com/ai_job?id=afe5d617-6767-4025-9746-41a5ff62a35f
    To: "Alexander Aring" <alex.aring@gmail.com>
    To: "David S. Miller" <davem@davemloft.net>
    To: "Eric Dumazet" <edumazet@google.com>
    To: "Jakub Kicinski" <kuba@kernel.org>
    To: <linux-wpan@vger.kernel.org>
    To: "Miquel Raynal" <miquel.raynal@bootlin.com>
    To: <netdev@vger.kernel.org>
    To: "Paolo Abeni" <pabeni@redhat.com>
    To: "Stefan Schmidt" <stefan@datenfreihafen.org>
    Cc: "Simon Horman" <horms@kernel.org>
    Cc: <linux-kernel@vger.kernel.org>
    
    ---
    diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
    index 41a556be1..8f2ec62de 100644
    --- a/net/ieee802154/header_ops.c
    +++ b/net/ieee802154/header_ops.c
    @@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
     
     	addr->mode = mode;
     
    -	if (mode == IEEE802154_ADDR_NONE)
    +	if (mode == IEEE802154_ADDR_NONE) {
    +		addr->pan_id = 0;
     		return 0;
    +	}
     
     	if (!omit_pan) {
     		memcpy(&addr->pan_id, buf + pos, 2);
    
    
    base-commit: 5200f5f493f79f14bbdc349e402a40dfb32f23c8
    -- 
    This is an AI-generated patch subject to moderation.
    Reply with '#syz upstream' to Sign-off the patch as a human author
    and send it to the upstream kernel mailing lists.
    Reply with '#syz reject' to reject it ('#syz unreject' to undo).
    
    See https://github.com/google/syzkaller/blob/master/docs/syzbot_ai_patches.md for information about AI-generated patches.
    You can comment on the patch as usual, syzbot will try to address
    the comments and send a new version of the patch if necessary.
    syzbot engineers can be reached at syzkaller@googlegroups.com.
    
  • nogikh@google.com (2026/05/22 15:49):
    On Fri, May 22, 2026 at 9:31 AM 'syzbot' via
    syzkaller-upstream-moderation
    <syzkaller-upstream-moderation@googlegroups.com> wrote:
    >
    > KMSAN reports a kernel-infoleak in dgram_recvmsg(). The issue occurs
    > because the `pan_id` field of the IEEE 802.15.4 MAC header is
    > unconditionally copied to a socket address structure and subsequently
    > leaked to user space during a `recvmsg` syscall.
    >
    > In `dgram_recvmsg()`, the kernel zeroes out a `struct
    > sockaddr_ieee802154` and then populates it using
    > `ieee802154_addr_to_sa()`. Inside `ieee802154_addr_to_sa()`, the
    > `pan_id` is unconditionally copied from the source address to the socket
    > address.
    >
    > The source of the uninitialized memory is a local, uninitialized `struct
    > ieee802154_hdr hdr` variable in `__ieee802154_rx_handle_packet()`. The
    > header is parsed by `ieee802154_parse_frame_start()`, which eventually
    > calls `ieee802154_hdr_get_addr()` to extract the destination and source
    > addresses. If the address mode is `IEEE802154_ADDR_NONE`, the function
    > returns early and leaves `addr->pan_id` uninitialized (containing stack
    > garbage).
    >
    > To fix this issue, explicitly initialize `addr->pan_id` to `0` when the
    > address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`.
    > This ensures that no uninitialized stack memory is ever propagated or
    > copied to user space.
    
    Please include the original KMSAN error in the description (truncated
    to save space).
    Also prepare a clearer step-by-step explanation of why the memory was
    left uninitialized and how execution reached the point of accessing
    the uninitialized part.
    
    >
    > Fixes: 94b4f6c21cf5 ("ieee802154: add header structs with endiannes and operations")
    > Assisted-by: Gemini:gemini-3.1-pro-preview syzbot
    > Reported-by: syzbot+346474e3bf0b26bd3090@syzkaller.appspotmail.com
    > Closes: https://syzkaller.appspot.com/bug?extid=346474e3bf0b26bd3090
    > Link: https://syzkaller.appspot.com/ai_job?id=afe5d617-6767-4025-9746-41a5ff62a35f
    > To: "Alexander Aring" <alex.aring@gmail.com>
    > To: "David S. Miller" <davem@davemloft.net>
    > To: "Eric Dumazet" <edumazet@google.com>
    > To: "Jakub Kicinski" <kuba@kernel.org>
    > To: <linux-wpan@vger.kernel.org>
    > To: "Miquel Raynal" <miquel.raynal@bootlin.com>
    > To: <netdev@vger.kernel.org>
    > To: "Paolo Abeni" <pabeni@redhat.com>
    > To: "Stefan Schmidt" <stefan@datenfreihafen.org>
    > Cc: "Simon Horman" <horms@kernel.org>
    > Cc: <linux-kernel@vger.kernel.org>
    >
    > ---
    > diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
    > index 41a556be1..8f2ec62de 100644
    > --- a/net/ieee802154/header_ops.c
    > +++ b/net/ieee802154/header_ops.c
    > @@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
    >
    >         addr->mode = mode;
    >
    > -       if (mode == IEEE802154_ADDR_NONE)
    > +       if (mode == IEEE802154_ADDR_NONE) {
    > +               addr->pan_id = 0;
    >                 return 0;
    
    I think it may be more reliable to zero whole of addr on
    IEEE802154_ADDR_NONE (except mode, of course).
    
    > +       }
    >
    >         if (!omit_pan) {
    >                 memcpy(&addr->pan_id, buf + pos, 2);
    >
    >
    > base-commit: 5200f5f493f79f14bbdc349e402a40dfb32f23c8
    > --
    > This is an AI-generated patch subject to moderation.
    > Reply with '#syz upstream' to Sign-off the patch as a human author
    > and send it to the upstream kernel mailing lists.
    > Reply with '#syz reject' to reject it ('#syz unreject' to undo).
    >
    > See https://github.com/google/syzkaller/blob/master/docs/syzbot_ai_patches.md for information about AI-generated patches.
    > You can comment on the patch as usual, syzbot will try to address
    > the comments and send a new version of the patch if necessary.
    > syzbot engineers can be reached at syzkaller@googlegroups.com.
    >
    

Outputs:
AckedBy
Fixes
map[Hash:94b4f6c21cf54029377a0645675a9d81b6cf890d Title:ieee802154: add header structs with endiannes and operations]
KernelBranch
master
KernelCommit
5200f5f493f79f14bbdc349e402a40dfb32f23c8
KernelRepo
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
PatchDescription
ieee802154: fix kernel-infoleak in dgram_recvmsg()

KMSAN reports a kernel-infoleak in dgram_recvmsg(). The issue occurs
because the `pan_id` field of the IEEE 802.15.4 MAC header is
unconditionally copied to a socket address structure and subsequently
leaked to user space during a `recvmsg` syscall.

In `dgram_recvmsg()`, the kernel zeroes out a `struct
sockaddr_ieee802154` and then populates it using
`ieee802154_addr_to_sa()`. Inside `ieee802154_addr_to_sa()`, the
`pan_id` is unconditionally copied from the source address to the socket
address.

The source of the uninitialized memory is a local, uninitialized `struct
ieee802154_hdr hdr` variable in `__ieee802154_rx_handle_packet()`. The
header is parsed by `ieee802154_parse_frame_start()`, which eventually
calls `ieee802154_hdr_get_addr()` to extract the destination and source
addresses. If the address mode is `IEEE802154_ADDR_NONE`, the function
returns early and leaves `addr->pan_id` uninitialized (containing stack
garbage).

To fix this issue, explicitly initialize `addr->pan_id` to `0` when the
address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`.
This ensures that no uninitialized stack memory is ever propagated or
copied to user space.
PatchDiff
diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index 41a556be1..8f2ec62de 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
Recipients
[map[Email:alex.aring@gmail.com Name:Alexander Aring To:true] map[Email:davem@davemloft.net Name:David S. Miller To:true] map[Email:edumazet@google.com Name:Eric Dumazet To:true] map[Email:horms@kernel.org Name:Simon Horman To:false] map[Email:kuba@kernel.org Name:Jakub Kicinski To:true] map[Email:linux-kernel@vger.kernel.org Name: To:false] map[Email:linux-wpan@vger.kernel.org Name: To:true] map[Email:miquel.raynal@bootlin.com Name:Miquel Raynal To:true] map[Email:netdev@vger.kernel.org Name: To:true] map[Email:pabeni@redhat.com Name:Paolo Abeni To:true] map[Email:stefan@datenfreihafen.org Name:Stefan Schmidt To:true]]
ReportedBy
ReviewedBy
TestedBy

Crash report:
=====================================================
BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:114 [inline]
BUG: KMSAN: kernel-infoleak in _inline_copy_to_user include/linux/uaccess.h:205 [inline]
BUG: KMSAN: kernel-infoleak in _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 instrument_copy_to_user include/linux/instrumented.h:114 [inline]
 _inline_copy_to_user include/linux/uaccess.h:205 [inline]
 _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 copy_to_user include/linux/uaccess.h:236 [inline]
 move_addr_to_user+0x29a/0x400 net/socket.c:306
 ____sys_recvmsg+0x232/0x610 net/socket.c:2819
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2854
 do_recvmmsg+0x40e/0xdf0 net/socket.c:2949
 __sys_recvmmsg net/socket.c:3023 [inline]
 __do_sys_recvmmsg net/socket.c:3046 [inline]
 __se_sys_recvmmsg net/socket.c:3039 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3039
 x64_sys_call+0x365f/0x3e70 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd3/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 ieee802154_addr_to_sa include/net/ieee802154_netdev.h:369 [inline]
 dgram_recvmsg+0xa17/0xbe0 net/ieee802154/socket.c:739
 sock_common_recvmsg+0xd5/0x1d0 net/core/sock.c:3956
 sock_recvmsg_nosec+0x240/0x2f0 net/socket.c:1078
 ____sys_recvmsg+0x4e5/0x610 net/socket.c:2810
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2854
 do_recvmmsg+0x40e/0xdf0 net/socket.c:2949
 __sys_recvmmsg net/socket.c:3023 [inline]
 __do_sys_recvmmsg net/socket.c:3046 [inline]
 __se_sys_recvmmsg net/socket.c:3039 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3039
 x64_sys_call+0x365f/0x3e70 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd3/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 __copy_skb_header+0xa3/0x840 net/core/skbuff.c:1532
 __skb_clone+0x57/0x650 net/core/skbuff.c:1584
 skb_clone+0x473/0x580 net/core/skbuff.c:2094
 __ieee802154_rx_handle_packet net/mac802154/rx.c:363 [inline]
 ieee802154_rx+0xdeb/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x34b/0xcf0 kernel/softirq.c:925
 tasklet_action+0x2d/0x40 kernel/softirq.c:953
 handle_softirqs+0x169/0x6e0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_parse_frame_start net/mac802154/rx.c:299 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xb4d/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x34b/0xcf0 kernel/softirq.c:925
 tasklet_action+0x2d/0x40 kernel/softirq.c:953
 handle_softirqs+0x169/0x6e0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_hdr_get_addrs net/ieee802154/header_ops.c:275 [inline]
 ieee802154_hdr_pull+0xbf1/0xd60 net/ieee802154/header_ops.c:294
 ieee802154_parse_frame_start net/mac802154/rx.c:283 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xa3d/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x34b/0xcf0 kernel/softirq.c:925
 tasklet_action+0x2d/0x40 kernel/softirq.c:953
 handle_softirqs+0x169/0x6e0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Local variable hdr.i created at:
 __ieee802154_rx_handle_packet net/mac802154/rx.c:340 [inline]
 ieee802154_rx+0x96e/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35

Bytes 8-9 of 20 are uninitialized
Memory access of size 20 starts at ffff88804e467a38
Data copied to user address 0000200000000800

CPU: 0 UID: 0 PID: 6040 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(none) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
=====================================================

Trajectory: (Expand/Collapse All)
Seq Timestamp Type Name Duration
0/0 2026/05/21 21:41 flow patching
1h48m Results:
map[AckedBy:<nil> Fixes:map[Hash:94b4f6c21cf54029377a0645675a9d81b6cf890d Title:ieee802154: add header structs with endiannes and operations] KernelBranch:master KernelCommit:5200f5f493f79f14bbdc349e402a40dfb32f23c8 KernelRepo:git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git PatchDescription:ieee802154: fix kernel-infoleak in dgram_recvmsg()

KMSAN reports a kernel-infoleak in dgram_recvmsg(). The issue occurs
because the `pan_id` field of the IEEE 802.15.4 MAC header is
unconditionally copied to a socket address structure and subsequently
leaked to user space during a `recvmsg` syscall.

In `dgram_recvmsg()`, the kernel zeroes out a `struct
sockaddr_ieee802154` and then populates it using
`ieee802154_addr_to_sa()`. Inside `ieee802154_addr_to_sa()`, the
`pan_id` is unconditionally copied from the source address to the socket
address.

The source of the uninitialized memory is a local, uninitialized `struct
ieee802154_hdr hdr` variable in `__ieee802154_rx_handle_packet()`. The
header is parsed by `ieee802154_parse_frame_start()`, which eventually
calls `ieee802154_hdr_get_addr()` to extract the destination and source
addresses. If the address mode is `IEEE802154_ADDR_NONE`, the function
returns early and leaves `addr->pan_id` uninitialized (containing stack
garbage).

To fix this issue, explicitly initialize `addr->pan_id` to `0` when the
address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`.
This ensures that no uninitialized stack memory is ever propagated or
copied to user space. PatchDiff:diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index 41a556be1..8f2ec62de 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
 Recipients:[map[Email:alex.aring@gmail.com Name:Alexander Aring To:true] map[Email:davem@davemloft.net Name:David S. Miller To:true] map[Email:edumazet@google.com Name:Eric Dumazet To:true] map[Email:horms@kernel.org Name:Simon Horman To:false] map[Email:kuba@kernel.org Name:Jakub Kicinski To:true] map[Email:linux-kernel@vger.kernel.org Name: To:false] map[Email:linux-wpan@vger.kernel.org Name: To:true] map[Email:miquel.raynal@bootlin.com Name:Miquel Raynal To:true] map[Email:netdev@vger.kernel.org Name: To:true] map[Email:pabeni@redhat.com Name:Paolo Abeni To:true] map[Email:stefan@datenfreihafen.org Name:Stefan Schmidt To:true]] ReportedBy:<nil> ReviewedBy:<nil> TestedBy:<nil>]

1/1 2026/05/21 21:41 action base-commit-picker
0m Results:
map[KernelBranch:master KernelCommit:5200f5f493f79f14bbdc349e402a40dfb32f23c8 KernelRepo:git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git]

2/1 2026/05/21 21:42 action syz-repro-to-c-repro
0m Results:
map[SimplifiedCRepro:// autogenerated by syzkaller (https://github.com/google/syzkaller)

#define _GNU_SOURCE 

#include <endian.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <unistd.h>

const int kInitNetNsFd = 201;

static long syz_init_net_socket(volatile long domain, volatile long type, volatile long proto)
{
	return syscall(__NR_socket, domain, type, proto);
}

uint64_t r[2] = {0xffffffffffffffff, 0xffffffffffffffff};

int main(void)
{
		syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	const char* reason;
	(void)reason;
				intptr_t res = 0;
	if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {}
//  syz_init_net_socket$802154_dgram arguments: [
//    domain: const = 0x24 (8 bytes)
//    type: const = 0x2 (8 bytes)
//    proto: const = 0x0 (8 bytes)
//  ]
//  returns sock_802154_dgram
	res = -1;
res = syz_init_net_socket(/*domain=*/0x24, /*type=*/2, /*proto=*/0);
	if (res != -1)
		r[0] = res;
//  syz_init_net_socket$802154_raw arguments: [
//    domain: const = 0x24 (8 bytes)
//    type: const = 0x3 (8 bytes)
//    proto: const = 0x0 (8 bytes)
//  ]
//  returns sock_802154_raw
	res = -1;
res = syz_init_net_socket(/*domain=*/0x24, /*type=*/3, /*proto=*/0);
	if (res != -1)
		r[1] = res;
//  recvmmsg arguments: [
//    fd: sock (resource)
//    mmsg: ptr[in, array[recv_mmsghdr]] {
//      array[recv_mmsghdr] {
//        recv_mmsghdr {
//          msg_hdr: recv_msghdr {
//            msg_name: nil
//            msg_namelen: len = 0x0 (4 bytes)
//            pad = 0x0 (4 bytes)
//            msg_iov: nil
//            msg_iovlen: len = 0x0 (8 bytes)
//            msg_control: nil
//            msg_controllen: bytesize = 0x0 (8 bytes)
//            msg_flags: const = 0x0 (4 bytes)
//            pad = 0x0 (4 bytes)
//          }
//          msg_len: int32 = 0x2 (4 bytes)
//          pad = 0x0 (4 bytes)
//        }
//        recv_mmsghdr {
//          msg_hdr: recv_msghdr {
//            msg_name: ptr[out, sockaddr_storage] {
//              union sockaddr_storage {
//                vsock: sockaddr_vm {
//                  svm_family: const = 0x28 (2 bytes)
//                  svm_reserved1: const = 0x0 (2 bytes)
//                  svm_port: vmaddr_port = 0x0 (4 bytes)
//                  svm_cid: union vmaddr_cid {
//                    local: const = 0x1 (4 bytes)
//                  }
//                  svm_zero: const = 0x0 (4 bytes)
//                }
//              }
//            }
//            msg_namelen: len = 0x80 (4 bytes)
//            pad = 0x0 (4 bytes)
//            msg_iov: nil
//            msg_iovlen: len = 0x0 (8 bytes)
//            msg_control: nil
//            msg_controllen: bytesize = 0x0 (8 bytes)
//            msg_flags: const = 0x0 (4 bytes)
//            pad = 0x0 (4 bytes)
//          }
//          msg_len: int32 = 0xfffffffc (4 bytes)
//          pad = 0x0 (4 bytes)
//        }
//      }
//    }
//    vlen: len = 0x2 (8 bytes)
//    f: recv_flags = 0x60012023 (8 bytes)
//    timeout: nil
//  ]
*(uint64_t*)0x200000000b80 = 0;
*(uint32_t*)0x200000000b88 = 0;
*(uint64_t*)0x200000000b90 = 0;
*(uint64_t*)0x200000000b98 = 0;
*(uint64_t*)0x200000000ba0 = 0;
*(uint64_t*)0x200000000ba8 = 0;
*(uint32_t*)0x200000000bb0 = 0;
*(uint32_t*)0x200000000bb8 = 2;
*(uint64_t*)0x200000000bc0 = 0x200000000800;
*(uint32_t*)0x200000000bc8 = 0x80;
*(uint64_t*)0x200000000bd0 = 0;
*(uint64_t*)0x200000000bd8 = 0;
*(uint64_t*)0x200000000be0 = 0;
*(uint64_t*)0x200000000be8 = 0;
*(uint32_t*)0x200000000bf0 = 0;
*(uint32_t*)0x200000000bf8 = 0xfffffffc;
	syscall(__NR_recvmmsg, /*fd=*/r[0], /*mmsg=*/0x200000000b80ul, /*vlen=*/2ul, /*f=MSG_WAITFORONE|MSG_TRUNC|MSG_PEEK|MSG_OOB|MSG_ERRQUEUE|MSG_CMSG_CLOEXEC|0x20000000*/0x60012023ul, /*timeout=*/0ul);
//  sendmsg$802154_raw arguments: [
//    fd: sock_802154_raw (resource)
//    msg: ptr[in, msghdr_802154] {
//      msghdr_802154 {
//        addr: nil
//        addrlen: len = 0x0 (4 bytes)
//        pad = 0x0 (4 bytes)
//        vec: ptr[in, iovec[in, array[int8]]] {
//          iovec[in, array[int8]] {
//            addr: ptr[in, buffer] {
//              buffer: {e1 00 00 8e} (length 0x4)
//            }
//            len: len = 0x4 (8 bytes)
//          }
//        }
//        vlen: const = 0x1 (8 bytes)
//        ctrl: const = 0x0 (8 bytes)
//        ctrllen: const = 0x0 (8 bytes)
//        f: send_flags = 0x4008081 (4 bytes)
//        pad = 0x0 (4 bytes)
//      }
//    }
//    f: send_flags = 0x4c0e4 (8 bytes)
//  ]
*(uint64_t*)0x200000000100 = 0;
*(uint32_t*)0x200000000108 = 0;
*(uint64_t*)0x200000000110 = 0x2000000000c0;
*(uint64_t*)0x2000000000c0 = 0x200000000000;
memcpy((void*)0x200000000000, "\xe1\x00\x00\x8e", 4);
*(uint64_t*)0x2000000000c8 = 4;
*(uint64_t*)0x200000000118 = 1;
*(uint64_t*)0x200000000120 = 0;
*(uint64_t*)0x200000000128 = 0;
*(uint32_t*)0x200000000130 = 0x4008081;
	syscall(__NR_sendmsg, /*fd=*/r[1], /*msg=*/0x200000000100ul, /*f=MSG_BATCH|MSG_NOSIGNAL|MSG_MORE|MSG_EOR|MSG_DONTWAIT|MSG_DONTROUTE|0x20*/0x4c0e4ul);
	return 0;
}
]

3/1 2026/05/21 21:42 action kernel-checkouter
0m Results:
map[KernelSrc:/app/workdir/cache/src/d5a02ed91a4f019017141f71e695c75b27c3612e]

4/1 2026/05/21 21:42 action kernel-builder
28m Results:
map[KernelObj:/app/workdir/cache/build/2ab27256677989a371f21ccb8e8f4861bf5a3249]

5/1 2026/05/21 22:11 action crash-reproducer
4m Results:
map[OtherCrashReports:<nil> ReproducedBugTitle:KMSAN: kernel-infoleak in move_addr_to_user ReproducedCrashReport:=====================================================
BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:131 [inline]
BUG: KMSAN: kernel-infoleak in _inline_copy_to_user include/linux/uaccess.h:205 [inline]
BUG: KMSAN: kernel-infoleak in _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 instrument_copy_to_user include/linux/instrumented.h:131 [inline]
 _inline_copy_to_user include/linux/uaccess.h:205 [inline]
 _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 copy_to_user include/linux/uaccess.h:236 [inline]
 move_addr_to_user+0x2e7/0x440 net/socket.c:302
 ____sys_recvmsg+0x232/0x610 net/socket.c:2925
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 ieee802154_addr_to_sa include/net/ieee802154_netdev.h:369 [inline]
 dgram_recvmsg+0xa09/0xbe0 net/ieee802154/socket.c:739
 sock_common_recvmsg+0x98/0xe0 net/core/sock.c:3976
 sock_recvmsg_nosec+0x1f4/0x280 net/socket.c:1137
 ____sys_recvmsg+0x4e5/0x610 net/socket.c:2916
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 __copy_skb_header+0xa3/0x7c0 net/core/skbuff.c:1552
 __skb_clone+0x57/0x650 net/core/skbuff.c:1604
 skb_clone+0x473/0x580 net/core/skbuff.c:2114
 __ieee802154_rx_handle_packet net/mac802154/rx.c:363 [inline]
 ieee802154_rx+0xdcd/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_parse_frame_start net/mac802154/rx.c:299 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xb3b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_hdr_get_addrs net/ieee802154/header_ops.c:275 [inline]
 ieee802154_hdr_pull+0xc85/0xe00 net/ieee802154/header_ops.c:294
 ieee802154_parse_frame_start net/mac802154/rx.c:283 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xa2b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Local variable hdr.i created at:
 __ieee802154_rx_handle_packet net/mac802154/rx.c:340 [inline]
 ieee802154_rx+0x95c/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35

Bytes 8-9 of 20 are uninitialized
Memory access of size 20 starts at ffff8881ef407a38
Data copied to user address 0000200000000800

CPU: 0 UID: 0 PID: 6206 Comm: syz.0.17 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
=====================================================
 ReproducedFaultInjection:]

6/1 2026/05/21 22:15 action codesearch-prepare
18m Results:
map[Index:codesearch-index]

7/1 2026/05/21 22:34 agent debugger
4m Model:
gemini-3.1-pro-preview

Instruction:
You are an experienced Linux kernel developer tasked with debugging a kernel crash root cause.
You need to provide a detailed explanation of the root cause for another developer to be
able to write a fix for the bug based on your explanation. Include all relevant details
into the response: function/struct/field/etc names, code snippets, line numbers,
macro/enum values, etc.



Prefer calling several tools at the same time to save round-trips.

Prompt:
The crash is:

=====================================================
BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:131 [inline]
BUG: KMSAN: kernel-infoleak in _inline_copy_to_user include/linux/uaccess.h:205 [inline]
BUG: KMSAN: kernel-infoleak in _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 instrument_copy_to_user include/linux/instrumented.h:131 [inline]
 _inline_copy_to_user include/linux/uaccess.h:205 [inline]
 _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 copy_to_user include/linux/uaccess.h:236 [inline]
 move_addr_to_user+0x2e7/0x440 net/socket.c:302
 ____sys_recvmsg+0x232/0x610 net/socket.c:2925
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 ieee802154_addr_to_sa include/net/ieee802154_netdev.h:369 [inline]
 dgram_recvmsg+0xa09/0xbe0 net/ieee802154/socket.c:739
 sock_common_recvmsg+0x98/0xe0 net/core/sock.c:3976
 sock_recvmsg_nosec+0x1f4/0x280 net/socket.c:1137
 ____sys_recvmsg+0x4e5/0x610 net/socket.c:2916
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 __copy_skb_header+0xa3/0x7c0 net/core/skbuff.c:1552
 __skb_clone+0x57/0x650 net/core/skbuff.c:1604
 skb_clone+0x473/0x580 net/core/skbuff.c:2114
 __ieee802154_rx_handle_packet net/mac802154/rx.c:363 [inline]
 ieee802154_rx+0xdcd/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_parse_frame_start net/mac802154/rx.c:299 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xb3b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_hdr_get_addrs net/ieee802154/header_ops.c:275 [inline]
 ieee802154_hdr_pull+0xc85/0xe00 net/ieee802154/header_ops.c:294
 ieee802154_parse_frame_start net/mac802154/rx.c:283 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xa2b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Local variable hdr.i created at:
 __ieee802154_rx_handle_packet net/mac802154/rx.c:340 [inline]
 ieee802154_rx+0x95c/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35

Bytes 8-9 of 20 are uninitialized
Memory access of size 20 starts at ffff8881ef407a38
Data copied to user address 0000200000000800

CPU: 0 UID: 0 PID: 6206 Comm: syz.0.17 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
=====================================================


The following C code is a draft of the vulnerable syscall sequence. Keep in mind that
it may lack the precise threading, sandboxing, and some arguments of a working reproducer:

// autogenerated by syzkaller (https://github.com/google/syzkaller)

#define _GNU_SOURCE 

#include <endian.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <unistd.h>

const int kInitNetNsFd = 201;

static long syz_init_net_socket(volatile long domain, volatile long type, volatile long proto)
{
	return syscall(__NR_socket, domain, type, proto);
}

uint64_t r[2] = {0xffffffffffffffff, 0xffffffffffffffff};

int main(void)
{
		syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	const char* reason;
	(void)reason;
				intptr_t res = 0;
	if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {}
//  syz_init_net_socket$802154_dgram arguments: [
//    domain: const = 0x24 (8 bytes)
//    type: const = 0x2 (8 bytes)
//    proto: const = 0x0 (8 bytes)
//  ]
//  returns sock_802154_dgram
	res = -1;
res = syz_init_net_socket(/*domain=*/0x24, /*type=*/2, /*proto=*/0);
	if (res != -1)
		r[0] = res;
//  syz_init_net_socket$802154_raw arguments: [
//    domain: const = 0x24 (8 bytes)
//    type: const = 0x3 (8 bytes)
//    proto: const = 0x0 (8 bytes)
//  ]
//  returns sock_802154_raw
	res = -1;
res = syz_init_net_socket(/*domain=*/0x24, /*type=*/3, /*proto=*/0);
	if (res != -1)
		r[1] = res;
//  recvmmsg arguments: [
//    fd: sock (resource)
//    mmsg: ptr[in, array[recv_mmsghdr]] {
//      array[recv_mmsghdr] {
//        recv_mmsghdr {
//          msg_hdr: recv_msghdr {
//            msg_name: nil
//            msg_namelen: len = 0x0 (4 bytes)
//            pad = 0x0 (4 bytes)
//            msg_iov: nil
//            msg_iovlen: len = 0x0 (8 bytes)
//            msg_control: nil
//            msg_controllen: bytesize = 0x0 (8 bytes)
//            msg_flags: const = 0x0 (4 bytes)
//            pad = 0x0 (4 bytes)
//          }
//          msg_len: int32 = 0x2 (4 bytes)
//          pad = 0x0 (4 bytes)
//        }
//        recv_mmsghdr {
//          msg_hdr: recv_msghdr {
//            msg_name: ptr[out, sockaddr_storage] {
//              union sockaddr_storage {
//                vsock: sockaddr_vm {
//                  svm_family: const = 0x28 (2 bytes)
//                  svm_reserved1: const = 0x0 (2 bytes)
//                  svm_port: vmaddr_port = 0x0 (4 bytes)
//                  svm_cid: union vmaddr_cid {
//                    local: const = 0x1 (4 bytes)
//                  }
//                  svm_zero: const = 0x0 (4 bytes)
//                }
//              }
//            }
//            msg_namelen: len = 0x80 (4 bytes)
//            pad = 0x0 (4 bytes)
//            msg_iov: nil
//            msg_iovlen: len = 0x0 (8 bytes)
//            msg_control: nil
//            msg_controllen: bytesize = 0x0 (8 bytes)
//            msg_flags: const = 0x0 (4 bytes)
//            pad = 0x0 (4 bytes)
//          }
//          msg_len: int32 = 0xfffffffc (4 bytes)
//          pad = 0x0 (4 bytes)
//        }
//      }
//    }
//    vlen: len = 0x2 (8 bytes)
//    f: recv_flags = 0x60012023 (8 bytes)
//    timeout: nil
//  ]
*(uint64_t*)0x200000000b80 = 0;
*(uint32_t*)0x200000000b88 = 0;
*(uint64_t*)0x200000000b90 = 0;
*(uint64_t*)0x200000000b98 = 0;
*(uint64_t*)0x200000000ba0 = 0;
*(uint64_t*)0x200000000ba8 = 0;
*(uint32_t*)0x200000000bb0 = 0;
*(uint32_t*)0x200000000bb8 = 2;
*(uint64_t*)0x200000000bc0 = 0x200000000800;
*(uint32_t*)0x200000000bc8 = 0x80;
*(uint64_t*)0x200000000bd0 = 0;
*(uint64_t*)0x200000000bd8 = 0;
*(uint64_t*)0x200000000be0 = 0;
*(uint64_t*)0x200000000be8 = 0;
*(uint32_t*)0x200000000bf0 = 0;
*(uint32_t*)0x200000000bf8 = 0xfffffffc;
	syscall(__NR_recvmmsg, /*fd=*/r[0], /*mmsg=*/0x200000000b80ul, /*vlen=*/2ul, /*f=MSG_WAITFORONE|MSG_TRUNC|MSG_PEEK|MSG_OOB|MSG_ERRQUEUE|MSG_CMSG_CLOEXEC|0x20000000*/0x60012023ul, /*timeout=*/0ul);
//  sendmsg$802154_raw arguments: [
//    fd: sock_802154_raw (resource)
//    msg: ptr[in, msghdr_802154] {
//      msghdr_802154 {
//        addr: nil
//        addrlen: len = 0x0 (4 bytes)
//        pad = 0x0 (4 bytes)
//        vec: ptr[in, iovec[in, array[int8]]] {
//          iovec[in, array[int8]] {
//            addr: ptr[in, buffer] {
//              buffer: {e1 00 00 8e} (length 0x4)
//            }
//            len: len = 0x4 (8 bytes)
//          }
//        }
//        vlen: const = 0x1 (8 bytes)
//        ctrl: const = 0x0 (8 bytes)
//        ctrllen: const = 0x0 (8 bytes)
//        f: send_flags = 0x4008081 (4 bytes)
//        pad = 0x0 (4 bytes)
//      }
//    }
//    f: send_flags = 0x4c0e4 (8 bytes)
//  ]
*(uint64_t*)0x200000000100 = 0;
*(uint32_t*)0x200000000108 = 0;
*(uint64_t*)0x200000000110 = 0x2000000000c0;
*(uint64_t*)0x2000000000c0 = 0x200000000000;
memcpy((void*)0x200000000000, "\xe1\x00\x00\x8e", 4);
*(uint64_t*)0x2000000000c8 = 4;
*(uint64_t*)0x200000000118 = 1;
*(uint64_t*)0x200000000120 = 0;
*(uint64_t*)0x200000000128 = 0;
*(uint32_t*)0x200000000130 = 0x4008081;
	syscall(__NR_sendmsg, /*fd=*/r[1], /*msg=*/0x200000000100ul, /*f=MSG_BATCH|MSG_NOSIGNAL|MSG_MORE|MSG_EOR|MSG_DONTWAIT|MSG_DONTROUTE|0x20*/0x4c0e4ul);
	return 0;
}





Reply:
The root cause of this KMSAN kernel-infoleak is that an uninitialized `pan_id` field from the IEEE 802.15.4 MAC header is unconditionally copied to a socket address structure and subsequently leaked to user space during a `recvmsg` syscall.

### Detailed Root Cause Analysis

1. **Copying to User Space**:
   In `dgram_recvmsg()` (`net/ieee802154/socket.c:739`), the source address of the received packet is copied to user space. The kernel first zeroes out a `struct sockaddr_ieee802154` and then populates it using `ieee802154_addr_to_sa()`:
   ```c
   memset(saddr, 0, sizeof(*saddr));
   saddr->family = AF_IEEE802154;
   ieee802154_addr_to_sa(&saddr->addr, &mac_cb(skb)->source);
   ```

2. **Unconditional Copy of `pan_id`**:
   Inside `ieee802154_addr_to_sa()` (`include/net/ieee802154_netdev.h:365`), the `pan_id` is unconditionally copied from the source address (`a`) to the socket address (`sa`):
   ```c
   static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
                                            const struct ieee802154_addr *a)
   {
       sa->addr_type = a->mode;
       sa->pan_id = le16_to_cpu(a->pan_id); // <--- Unconditional copy
       // ...
   }
   ```
   If `a->pan_id` is uninitialized, this copies 2 bytes of uninitialized kernel stack memory into `sa->pan_id`. As seen in the KMSAN report (`Bytes 8-9 of 20 are uninitialized`), bytes 8-9 correspond exactly to the `pan_id` field within `struct sockaddr_ieee802154`.

3. **Source of the Uninitialized Memory**:
   The `mac_cb(skb)->source` is populated from a local, uninitialized `struct ieee802154_hdr hdr;` variable in `__ieee802154_rx_handle_packet()` (`net/mac802154/rx.c:340`). The header is parsed by `ieee802154_parse_frame_start()`, which eventually calls `ieee802154_hdr_get_addr()` (`net/ieee802154/header_ops.c:170`) to extract the destination and source addresses.

   ```c
   static int ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
                                      struct ieee802154_addr *addr)
   {
       int pos = 0;
       addr->mode = mode;

       if (mode == IEEE802154_ADDR_NONE)
           return 0; // <--- Returns early, leaving addr->pan_id uninitialized!

       if (!omit_pan) {
           memcpy(&addr->pan_id, buf + pos, 2);
           pos += 2;
       }
       // ...
   }
   ```
   If the address mode is `IEEE802154_ADDR_NONE`, the function returns early and leaves `addr->pan_id` uninitialized (containing stack garbage). 

4. **Propagation**:
   In `ieee802154_hdr_get_addrs()`, if the destination address mode is `IEEE802154_ADDR_NONE`, `hdr->dest.pan_id` remains uninitialized. Furthermore, if the `intra_pan` (PAN ID Compression) bit is set in the Frame Control Field, the code copies the destination `pan_id` to the source `pan_id`:
   ```c
   if (hdr->fc.intra_pan)
       hdr->source.pan_id = hdr->dest.pan_id;
   ```
   This propagates the uninitialized memory to `hdr->source.pan_id`. Alternatively, if the source address mode itself is `IEEE802154_ADDR_NONE`, `hdr->source.pan_id` is directly left uninitialized. Ultimately, this uninitialized `pan_id` is saved in `mac_cb(skb)->source` and leaked to user space.

### Proposed Fix

To fix this issue, `addr->pan_id` must be explicitly initialized to `0` when the address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`. This ensures that no uninitialized stack memory is ever propagated or copied to user space.

```c
diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index ...
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
```

This simple initialization is sufficient because the only other case where `pan_id` is not immediately initialized is when `omit_pan` is true. However, `omit_pan` is only true for the source address when `intra_pan` is set, in which case it is safely copied from `hdr->dest.pan_id` (which is now guaranteed to be initialized).

8/2 2026/05/21 22:34 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 8406
							output: 165
							thoughts: 278
						

Thoughts:
**KMSAN Infoleak Investigation**

Alright, let's break this down. We've got a KMSAN kernel-infoleak report – that's the starting point. The crash happened right in `instrument_copy_to_user`, which we know is a critical function for user-space interactions. This traces back through `_copy_to_user`, then `move_addr_to_user`, and finally, the syscall `____sys_recvmsg`. That's the function that's ultimately triggering the problem.

The interesting bit here is where the uninitialized memory originated: `ieee802154_addr_to_sa`, which is defined in `include/net/ieee802154_netdev.h:369`. It's being called from `dgram_recvmsg` in `net/ieee802154/socket.c:739`. So, the problem is somewhere in the 802.15.4 networking stack, handling datagram reception.

My first thought is to dive into those two functions: `ieee802154_addr_to_sa` and `dgram_recvmsg`. Let's see how they interact.

Now, the report tells us that the uninitialized memory *creation* happens at `__ieee802154_rx_handle_packet` in `net/mac802154/rx.c:340`. Specifically, a local variable `hdr.i` inside that function is the culprit. That's a good clue. I want to see what is happening to the variable `hdr.i`.

Let's use `codesearch-definition-source` to jump to `__ieee802154_rx_handle_packet`. We need to understand how the memory is initialized, how it's used, and then how it ends up being copied to user space through that `recvmsg` call. That's the whole story. Let's see where the data is actually used.



9/2 2026/05/21 22:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:__ieee802154_rx_handle_packet]

Results:
map[SourceCode: 334:	static void
 335:	__ieee802154_rx_handle_packet(struct ieee802154_local *local,
 336:				      struct sk_buff *skb)
 337:	{
 338:		int ret;
 339:		struct ieee802154_sub_if_data *sdata;
 340:		struct ieee802154_hdr hdr;
 341:		struct sk_buff *skb2;
 342:	
 343:		ret = ieee802154_parse_frame_start(skb, &hdr);
 344:		if (ret) {
 345:			pr_debug("got invalid frame\n");
 346:			return;
 347:		}
 348:	
 349:		list_for_each_entry_rcu(sdata, &local->interfaces, list) {
 350:			if (sdata->wpan_dev.iftype == NL802154_IFTYPE_MONITOR)
 351:				continue;
 352:	
 353:			if (!ieee802154_sdata_running(sdata))
 354:				continue;
 355:	
 356:			/* Do not deliver packets received on interfaces expecting
 357:			 * AACK=1 if the address filters where disabled.
 358:			 */
 359:			if (local->hw.phy->filtering < IEEE802154_FILTERING_4_FRAME_FIELDS &&
 360:			    sdata->required_filtering == IEEE802154_FILTERING_4_FRAME_FIELDS)
 361:				continue;
 362:	
 363:			skb2 = skb_clone(skb, GFP_ATOMIC);
 364:			if (skb2) {
 365:				skb2->dev = sdata->dev;
 366:				ieee802154_subif_frame(sdata, skb2, &hdr);
 367:			}
 368:		}
 369:	}
 SourceFile:net/mac802154/rx.c]

10/2 2026/05/21 22:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/socket.c IncludeLines:true Name:dgram_recvmsg]

Results:
map[SourceCode: 705:	static int dgram_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
 706:				 int flags)
 707:	{
 708:		size_t copied = 0;
 709:		int err = -EOPNOTSUPP;
 710:		struct sk_buff *skb;
 711:		struct dgram_sock *ro = dgram_sk(sk);
 712:		DECLARE_SOCKADDR(struct sockaddr_ieee802154 *, saddr, msg->msg_name);
 713:	
 714:		skb = skb_recv_datagram(sk, flags, &err);
 715:		if (!skb)
 716:			goto out;
 717:	
 718:		copied = skb->len;
 719:		if (len < copied) {
 720:			msg->msg_flags |= MSG_TRUNC;
 721:			copied = len;
 722:		}
 723:	
 724:		/* FIXME: skip headers if necessary ?! */
 725:		err = skb_copy_datagram_msg(skb, 0, msg, copied);
 726:		if (err)
 727:			goto done;
 728:	
 729:		sock_recv_cmsgs(msg, sk, skb);
 730:	
 731:		if (saddr) {
 732:			/* Clear the implicit padding in struct sockaddr_ieee802154
 733:			 * (16 bits between 'family' and 'addr') and in struct
 734:			 * ieee802154_addr_sa (16 bits at the end of the structure).
 735:			 */
 736:			memset(saddr, 0, sizeof(*saddr));
 737:	
 738:			saddr->family = AF_IEEE802154;
 739:			ieee802154_addr_to_sa(&saddr->addr, &mac_cb(skb)->source);
 740:			msg->msg_namelen = sizeof(*saddr);
 741:		}
 742:	
 743:		if (ro->want_lqi) {
 744:			err = put_cmsg(msg, SOL_IEEE802154, WPAN_WANTLQI,
 745:				       sizeof(uint8_t), &(mac_cb(skb)->lqi));
 746:			if (err)
 747:				goto done;
 748:		}
 749:	
 750:		if (flags & MSG_TRUNC)
 751:			copied = skb->len;
 752:	done:
 753:		skb_free_datagram(sk, skb);
 754:	out:
 755:		if (err)
 756:			return err;
 757:		return copied;
 758:	}
 SourceFile:net/ieee802154/socket.c]

11/2 2026/05/21 22:34 tool codesearch-definition-source
0m Args:
map[ContextFile:include/net/ieee802154_netdev.h IncludeLines:true Name:ieee802154_addr_to_sa]

Results:
map[SourceCode: 365:	static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
 366:						 const struct ieee802154_addr *a)
 367:	{
 368:		sa->addr_type = a->mode;
 369:		sa->pan_id = le16_to_cpu(a->pan_id);
 370:	
 371:		switch (a->mode) {
 372:		case IEEE802154_ADDR_SHORT:
 373:			sa->short_addr = le16_to_cpu(a->short_addr);
 374:			break;
 375:		case IEEE802154_ADDR_LONG:
 376:			ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr);
 377:			break;
 378:		}
 379:	}
 SourceFile:include/net/ieee802154_netdev.h]

12/2 2026/05/21 22:34 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 11096
							output: 173
							thoughts: 481
						

Thoughts:
**Uninitialized Memory in mac_cb(skb)->source: A Deep Dive**

Okay, so I'm tracking down this KMSAN report, and it's pointing me directly to uninitialized memory being stored, specifically in `mac_cb(skb)->source`. The trace tells me this happens during `skb_clone`, within the `__copy_skb_header` function at net/core/skbuff.c:1552, and subsequently called from `__skb_clone` and `skb_clone`. This makes sense, the `skb->cb` is getting copied here.

Digging deeper, the report flags `ieee802154_parse_frame_start` and `ieee802154_hdr_get_addrs` as well. Both are in the context of `__ieee802154_rx_handle_packet` within net/mac802154/rx.c. This immediately triggers alarm bells. Those functions, along with `ieee802154_hdr_pull`, are involved in frame parsing, and the fact that uninitialized memory is surfacing during address extraction... that's concerning. I need to understand exactly how the header extraction is interacting with the control block. Time to really dive into the code for `ieee802154_parse_frame_start`, `ieee802154_hdr_pull` and `ieee802154_hdr_get_addrs`. The interaction between the header processing and the `skb->cb` copy is clearly where the issue lies.



13/2 2026/05/21 22:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:ieee802154_parse_frame_start]

Results:
map[SourceCode: 275:	static int
 276:	ieee802154_parse_frame_start(struct sk_buff *skb, struct ieee802154_hdr *hdr)
 277:	{
 278:		int hlen;
 279:		struct ieee802154_mac_cb *cb = mac_cb(skb);
 280:	
 281:		skb_reset_mac_header(skb);
 282:	
 283:		hlen = ieee802154_hdr_pull(skb, hdr);
 284:		if (hlen < 0)
 285:			return -EINVAL;
 286:	
 287:		skb->mac_len = hlen;
 288:	
 289:		pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr->fc),
 290:			 hdr->seq);
 291:	
 292:		cb->type = hdr->fc.type;
 293:		cb->ackreq = hdr->fc.ack_request;
 294:		cb->secen = hdr->fc.security_enabled;
 295:	
 296:		ieee802154_print_addr("destination", &hdr->dest);
 297:		ieee802154_print_addr("source", &hdr->source);
 298:	
 299:		cb->source = hdr->source;
 300:		cb->dest = hdr->dest;
 301:	
 302:		if (hdr->fc.security_enabled) {
 303:			u64 key;
 304:	
 305:			pr_debug("seclevel %i\n", hdr->sec.level);
 306:	
 307:			switch (hdr->sec.key_id_mode) {
 308:			case IEEE802154_SCF_KEY_IMPLICIT:
 309:				pr_debug("implicit key\n");
 310:				break;
 311:	
 312:			case IEEE802154_SCF_KEY_INDEX:
 313:				pr_debug("key %02x\n", hdr->sec.key_id);
 314:				break;
 315:	
 316:			case IEEE802154_SCF_KEY_SHORT_INDEX:
 317:				pr_debug("key %04x:%04x %02x\n",
 318:					 le32_to_cpu(hdr->sec.short_src) >> 16,
 319:					 le32_to_cpu(hdr->sec.short_src) & 0xffff,
 320:					 hdr->sec.key_id);
 321:				break;
 322:	
 323:			case IEEE802154_SCF_KEY_HW_INDEX:
 324:				key = swab64((__force u64)hdr->sec.extended_src);
 325:				pr_debug("key source %8phC %02x\n", &key,
 326:					 hdr->sec.key_id);
 327:				break;
 328:			}
 329:		}
 330:	
 331:		return 0;
 332:	}
 SourceFile:net/mac802154/rx.c]

14/2 2026/05/21 22:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_pull]

Results:
map[SourceCode: 280:	int
 281:	ieee802154_hdr_pull(struct sk_buff *skb, struct ieee802154_hdr *hdr)
 282:	{
 283:		int pos = 3, rc;
 284:	
 285:		if (!pskb_may_pull(skb, 3))
 286:			return -EINVAL;
 287:	
 288:		memcpy(hdr, skb->data, 3);
 289:	
 290:		rc = ieee802154_hdr_minlen(hdr);
 291:		if (rc < 0 || !pskb_may_pull(skb, rc))
 292:			return -EINVAL;
 293:	
 294:		pos += ieee802154_hdr_get_addrs(skb->data + pos, hdr);
 295:	
 296:		if (hdr->fc.security_enabled) {
 297:			int want = pos + ieee802154_hdr_sechdr_len(skb->data[pos]);
 298:	
 299:			if (!pskb_may_pull(skb, want))
 300:				return -EINVAL;
 301:	
 302:			pos += ieee802154_hdr_get_sechdr(skb->data + pos, &hdr->sec);
 303:		}
 304:	
 305:		skb_pull(skb, pos);
 306:		return pos;
 307:	}
 SourceFile:net/ieee802154/header_ops.c]

15/2 2026/05/21 22:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_addrs]

Results:
map[SourceCode: 264:	static int
 265:	ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr)
 266:	{
 267:		int pos = 0;
 268:	
 269:		pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.dest_addr_mode,
 270:					       false, &hdr->dest);
 271:		pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.source_addr_mode,
 272:					       hdr->fc.intra_pan, &hdr->source);
 273:	
 274:		if (hdr->fc.intra_pan)
 275:			hdr->source.pan_id = hdr->dest.pan_id;
 276:	
 277:		return pos;
 278:	}
 SourceFile:net/ieee802154/header_ops.c]

16/2 2026/05/21 22:34 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 13867
							output: 115
							thoughts: 43
						

Thoughts:
Okay, here's my interpretation of those thoughts, presented as my own mental process, given my expertise:

**Debugging Uninitialized Memory in IEEE 802.15.4 Header Handling**

Right, so the issue I'm chasing is likely an uninitialized memory problem. The clue suggests it's within the `hdr->source` structure, specifically either the `pan_id` field within it or the structure itself. My gut says it's probably related to how the source address is being handled. This kind of thing pops up all the time with these low-level protocols.

My next step is clear: I need to scrutinize the `ieee802154_hdr_get_addr` function. That's the likely culprit for retrieving or potentially setting these source address fields. I need to understand exactly how that function interacts with the `hdr` structure and how it validates or initializes these fields during address extraction. I'll be looking for any potential gaps in initialization or any cases where the data might be read before being reliably populated. I'll need to pay close attention to the data flow in that function to pinpoint the exact location of the issue. This is likely the key to resolving this memory access violation.



17/2 2026/05/21 22:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_addr]

Results:
map[SourceCode: 170:	static int
 171:	ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 172:				struct ieee802154_addr *addr)
 173:	{
 174:		int pos = 0;
 175:	
 176:		addr->mode = mode;
 177:	
 178:		if (mode == IEEE802154_ADDR_NONE)
 179:			return 0;
 180:	
 181:		if (!omit_pan) {
 182:			memcpy(&addr->pan_id, buf + pos, 2);
 183:			pos += 2;
 184:		}
 185:	
 186:		if (mode == IEEE802154_ADDR_SHORT) {
 187:			memcpy(&addr->short_addr, buf + pos, 2);
 188:			return pos + 2;
 189:		} else {
 190:			memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN);
 191:			return pos + IEEE802154_ADDR_LEN;
 192:		}
 193:	}
 SourceFile:net/ieee802154/header_ops.c]

18/2 2026/05/21 22:34 tool codesearch-definition-source
0m Args:
map[ContextFile:include/net/ieee802154_netdev.h IncludeLines:true Name:ieee802154_addr]

Results:
map[SourceCode: 276:	/**
 277:	 * struct ieee802154_addr - IEEE802.15.4 device address
 278:	 * @mode: Address mode from frame header. Can be one of:
 279:	 *        - @IEEE802154_ADDR_NONE
 280:	 *        - @IEEE802154_ADDR_SHORT
 281:	 *        - @IEEE802154_ADDR_LONG
 282:	 * @pan_id: The PAN ID this address belongs to
 283:	 * @short_addr: address if @mode is @IEEE802154_ADDR_SHORT
 284:	 * @extended_addr: address if @mode is @IEEE802154_ADDR_LONG
 285:	 */
 286:	struct ieee802154_addr {
 287:		u8 mode;
 288:		__le16 pan_id;
 289:		union {
 290:			__le16 short_addr;
 291:			__le64 extended_addr;
 292:		};
 293:	};
 SourceFile:include/net/cfg802154.h]

19/2 2026/05/21 22:34 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15029
							output: 47
							thoughts: 124
						

Thoughts:
**Analyzing the IEEE 802.15.4 Address Structure**

Okay, so I'm looking at this `struct ieee802154_addr` and my first thought is, "Hmm, there could be padding or uninitialized fields lurking in there." It's common in these types of structures. Just need to verify. Let's see...

Right, the actual definition is:

```c
struct ieee802154_addr {
	u8 mode;
	__le16 pan_id;
	union {
		__le16 short_addr;
		__le64 extended_addr;
	};
};
```

Okay, now it's time to check the layout. I need to understand how the compiler handles that union, especially in the context of little-endianness, and ensure there's no unexpected alignment causing issues. Need to carefully consider the potential for alignment gaps between `mode`, `pan_id`, and that union.



20/2 2026/05/21 22:34 tool codesearch-struct-layout
0m Args:
map[ContextFile:include/net/cfg802154.h Name:ieee802154_addr]

Results:
map[Fields:[map[Name:mode OffsetBits:0 SizeBits:8] map[Name:pan_id OffsetBits:16 SizeBits:16] map[Name: OffsetBits:64 SizeBits:64]]]

21/2 2026/05/21 22:34 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15486
							output: 105
							thoughts: 176
						

Thoughts:
**Analyzing the IEEE 802.15.4 Address Structure and KMSAN Report**

Okay, let's break this down. My initial understanding of the `ieee802154_addr` layout is pretty clear in my mind. We've got the `mode` field at offset 0, taking up 8 bits. Then, padding at offset 8, also 8 bits. After that, the `pan_id` at offset 16, occupying 16 bits, followed by another padding region at offset 32, this time a 32-bit chunk. Finally, at offset 64, we have the `union`, taking up the remaining 64 bits. Straightforward structure, I thought.

But, hold on. This KMSAN report is throwing a wrench in the works. It's indicating "Bytes 8-9 of 20 are uninitialized." That's telling me there's an issue somewhere and my assumption about the `sizeof` isn't correct. It is reporting a memory access of size 20 starts at `ffff8881ef407a38`. The report is highlighting an uninitialized memory region. 

Wait a minute, it says the memory access is of size 20. Does that mean `sizeof(struct sockaddr_ieee802154)` is 20? I had assumed some kind of specific alignment, which now seems wrong. I need to confirm the size of `sockaddr_ieee802154` to understand why we're seeing this uninitialized memory and how it aligns with the expected `ieee802154_addr` layout. I need to verify what `sockaddr_ieee802154` is.



22/2 2026/05/21 22:34 tool codesearch-struct-layout
0m Args:
map[ContextFile:include/net/ieee802154_netdev.h Name:sockaddr_ieee802154]

Results:
map[Fields:[map[Name:family OffsetBits:0 SizeBits:16] map[Name:addr OffsetBits:32 SizeBits:128]]]

23/2 2026/05/21 22:34 tool codesearch-struct-layout
0m Args:
map[ContextFile:include/net/ieee802154_netdev.h Name:ieee802154_addr_sa]

Results:
map[Fields:[map[Name:addr_type OffsetBits:0 SizeBits:32] map[Name:pan_id OffsetBits:32 SizeBits:16] map[Name: OffsetBits:48 SizeBits:64]]]

24/2 2026/05/21 22:34 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 16270
							output: 32
							thoughts: 3818
						

Thoughts:
**Analysis of IEEE 802.15.4 Address Handling and Potential Kernel Information Leak**

Okay, so I've been digging into this `sockaddr_ieee802154` structure and the associated address handling in the IEEE 802.15.4 networking stack. The KMSAN report flagged uninitialized memory, specifically within the `pan_id` field of the `ieee802154_addr_sa` structure, which is embedded within `sockaddr_ieee802154`. It looks like the issue stems from how source addresses are handled when receiving datagrams.

The crucial point is that when `hdr->fc.source_addr_mode` is set to `IEEE802154_ADDR_NONE`, the `pan_id` field within the `ieee802154_addr` structure (pointed to by `&mac_cb(skb)->source`) can remain uninitialized. This happens because the relevant function `ieee802154_hdr_get_addr` does not initialize the `pan_id` field when the address mode is "none". Additionally, even when `hdr->fc.intra_pan` is set to true and there is no source address, the destination PAN ID is copied to source, so this is handled.

The vulnerability arises because `dgram_recvmsg` attempts to copy the source address, even when there isn't one. The code first clears the entire `sockaddr_ieee802154` structure using `memset`, then populates `family` and calls `ieee802154_addr_to_sa`. Inside this function `sa->pan_id = le16_to_cpu(a->pan_id);` is executed, where `a->pan_id` is the uninitialized data.

This uninitialized data in `a->pan_id` gets copied to user space, leading to a kernel information leak. It's a classic case of using uninitialized stack data, which is essentially stack garbage, and exposing it to user space. It seems the code assumes that a PAN ID is always present, which is not the case in IEEE 802.15.4. This is specifically triggered when the source address is omitted, the `hdr.source.pan_id` will be left uninitialized.

The solution is in `ieee802154_addr_to_sa` to not attempt to copy `pan_id` if the address mode is "none", or explicitly set it to a known value (0). It looks like the most secure way is to *only* copy the `pan_id` if the address mode is not none.



25/2 2026/05/21 22:35 tool codesearch-find-references
0m Args:
map[Name:ieee802154_addr_to_sa]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:dgram_recvmsg SourceFile:net/ieee802154/socket.c SourceLine:739]] TruncatedOutput:false]

26/2 2026/05/21 22:35 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 20791
							output: 47
							thoughts: 95
						

Thoughts:
Okay, here's my summary, presented as a stream of consciousness:

**Investigating a Suspected Narrow Scope**

Alright, so I've zeroed in on this piece of code and it *seems* like it's only used within `dgram_recvmsg`. That immediately triggers a mental flag – is it truly that isolated? I need to be sure. Let's dig deeper. Okay, I've got to confirm if that's the only place it's touched.

Aha! Hold on, I'm getting a hit... `ieee802154_addr_to_sa`. Okay, and now I see it's defined within `include/net/ieee802154_netdev.h`. Now I'm getting a better picture.

Alright, one more thing, let's look at `raw_recvmsg` in `net/ieee802154/socket.c`. I have a feeling I'm onto something.



27/2 2026/05/21 22:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/socket.c IncludeLines:true Name:raw_recvmsg]

Results:
map[SourceCode: 315:	static int raw_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
 316:			       int flags)
 317:	{
 318:		size_t copied = 0;
 319:		int err = -EOPNOTSUPP;
 320:		struct sk_buff *skb;
 321:	
 322:		skb = skb_recv_datagram(sk, flags, &err);
 323:		if (!skb)
 324:			goto out;
 325:	
 326:		copied = skb->len;
 327:		if (len < copied) {
 328:			msg->msg_flags |= MSG_TRUNC;
 329:			copied = len;
 330:		}
 331:	
 332:		err = skb_copy_datagram_msg(skb, 0, msg, copied);
 333:		if (err)
 334:			goto done;
 335:	
 336:		sock_recv_cmsgs(msg, sk, skb);
 337:	
 338:		if (flags & MSG_TRUNC)
 339:			copied = skb->len;
 340:	done:
 341:		skb_free_datagram(sk, skb);
 342:	out:
 343:		if (err)
 344:			return err;
 345:		return copied;
 346:	}
 SourceFile:net/ieee802154/socket.c]

28/2 2026/05/21 22:35 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 21611
							output: 60
							thoughts: 1182
						

Thoughts:
**Kernel Stack Leak Analysis in IEEE 802.15.4 Address Handling**

Okay, so I'm digging into this `raw_recvmsg` function and I realize it's not using `ieee802154_addr_to_sa`, which makes sense because the source address isn't returned in `msg->msg_name`. But wait, `dgram_recvmsg` *does* use it! And specifically, it copies the source address into the `msg->msg_name` field, which contains a `struct sockaddr_ieee802154`. Now I'm focused because I see `ieee802154_addr_to_sa` and immediately think "Potential stack leak here!". I can see that there's a clear operation that copies `a->pan_id` unconditionally. If `a->pan_id` isn't initialized, we're leaking two bytes off the kernel stack.

Let's dive into `ieee802154_addr_to_sa`. Okay, here it is: the function unconditionally copies `a->pan_id`. It seems pretty straightforward to guard against this; if `a->mode` is `IEEE802154_ADDR_NONE`, we return early. This seems like a decent mitigation for the potential stack leak.

But am I missing something? Is `a->pan_id` actually *always* initialized if `a->mode` isn't `IEEE802154_ADDR_NONE`? I need to trace this back. Let's look at `ieee802154_hdr_get_addr`. Aha! If `omit_pan` is true, which indicates there is no PAN ID in the header, then `addr->pan_id` *isn't* initialized! This is critical.

Now I need to find out when this happens. I look at `ieee802154_hdr_get_addrs` and see something interesting: `if (hdr->fc.intra_pan) hdr->source.pan_id = hdr->dest.pan_id;`. If `hdr->fc.intra_pan` is true, then the source PAN ID is copied from the destination PAN ID, and this causes `omit_pan` to be set to true for the source. What about the destination address, though? If *that* is uninitialized, the source would also be uninitialized. `hdr->dest.pan_id` would be uninitialized if `hdr->fc.dest_addr_mode == IEEE802154_ADDR_NONE`.

I need to confirm that `hdr->fc.dest_addr_mode == IEEE802154_ADDR_NONE` can occur at the same time as `hdr->fc.intra_pan` being set. According to the 802.15.4 standard, if `intra_pan` (PAN ID Compression) is set, it means either one or two PAN ID fields. If both source and destination addresses are present, and the `intra_pan` bit is set to 1, then only the destination PAN ID is present. The source PAN ID is assumed to be identical. If only one address is present, the meaning of `intra_pan` varies depending on the 802.15.4 version (2003, 2006, 2015). I need to dig deeper into the code to determine which 802.15.4 version is implemented here, and how this affects the PAN ID handling. I think I'm getting close to a solid understanding of the potential leak and whether my proposed mitigation is sufficient.



29/2 2026/05/21 22:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_addrs]

Results:
map[SourceCode: 264:	static int
 265:	ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr)
 266:	{
 267:		int pos = 0;
 268:	
 269:		pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.dest_addr_mode,
 270:					       false, &hdr->dest);
 271:		pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.source_addr_mode,
 272:					       hdr->fc.intra_pan, &hdr->source);
 273:	
 274:		if (hdr->fc.intra_pan)
 275:			hdr->source.pan_id = hdr->dest.pan_id;
 276:	
 277:		return pos;
 278:	}
 SourceFile:net/ieee802154/header_ops.c]

30/2 2026/05/21 22:35 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23961
							output: 58
							thoughts: 208
						

Thoughts:
**Analyzing Potential Address Initialization Issues**

Okay, so I'm digging into this code and immediately see a potential problem with how addresses are handled in this 802.15.4 implementation. If the destination address mode is set to "none" – which, of course, is a valid scenario – then the `dest.pan_id` field within the header remains uninitialized. That's a red flag right there.

It gets worse. If the frame control field indicates "intra-PAN communication" (`intra_pan` is true), the code then assigns the, potentially garbage, value of `hdr->dest.pan_id` to `hdr->source.pan_id`. This now propagates the uninitialized value.

Now, here's where it really hits me. If the source address mode *isn't* also "none" – meaning there's a source PAN ID – we've created a situation where the `hdr->source.pan_id` is still uninitialized! This is a recipe for disaster. And, worse, `ieee802154_addr_to_sa` is then going to copy this undefined value! This could lead to a whole host of unexpected behavior, ranging from subtle network issues to complete communication failures.

Now, I'm trying to figure out if this could happen. My intuition is screaming that this configuration could be valid based on my experience and it is not immediately obvious that there is a guard or validation of the frame control field. Let me see if there is any validation of the frame control field.



31/2 2026/05/21 22:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_minlen]

Results:
map[SourceCode: 250:	static int ieee802154_hdr_minlen(const struct ieee802154_hdr *hdr)
 251:	{
 252:		int dlen, slen;
 253:	
 254:		dlen = ieee802154_hdr_addr_len(hdr->fc.dest_addr_mode, false);
 255:		slen = ieee802154_hdr_addr_len(hdr->fc.source_addr_mode,
 256:					       hdr->fc.intra_pan);
 257:	
 258:		if (slen < 0 || dlen < 0)
 259:			return -EINVAL;
 260:	
 261:		return 3 + dlen + slen + hdr->fc.security_enabled;
 262:	}
 SourceFile:net/ieee802154/header_ops.c]

32/2 2026/05/21 22:35 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 24832
							output: 59
							thoughts: 20
						

Thoughts:
Okay, here's my interpretation of that thought process, from an expert's perspective:

**Diving into the 802.15.4 Header Address Length**

Alright, time to get my hands dirty. My mind immediately goes to `ieee802154_hdr_addr_len`. This likely means I'm about to dissect some 802.15.4 header structures. Given my level of expertise, I immediately recognize this function or variable as a key piece of determining the address lengths within the 802.15.4 frame, critical for understanding how addressing works in this particular wireless standard. I probably need to refresh my memory on the different address modes, short addresses, extended addresses, and how the Frame Control field signals those. It's time to dive in and get those bits and bytes sorted.



33/2 2026/05/21 22:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_addr_len]

Results:
map[SourceCode: 195:	static int ieee802154_hdr_addr_len(int mode, bool omit_pan)
 196:	{
 197:		int pan_len = omit_pan ? 0 : 2;
 198:	
 199:		switch (mode) {
 200:		case IEEE802154_ADDR_NONE: return 0;
 201:		case IEEE802154_ADDR_SHORT: return 2 + pan_len;
 202:		case IEEE802154_ADDR_LONG: return IEEE802154_ADDR_LEN + pan_len;
 203:		default: return -EINVAL;
 204:		}
 205:	}
 SourceFile:net/ieee802154/header_ops.c]

34/2 2026/05/21 22:35 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 25332
							output: 57
							thoughts: 3601
						

Thoughts:
**Unraveling Potential Uninitialized Memory Reads in IEEE 802.15.4 Header Parsing**

Okay, here's the deal. I've been digging into this IEEE 802.15.4 code and I've found a subtle but potentially dangerous issue. It boils down to uninitialized memory being copied around, specifically with the `pan_id` field in the address structures.

The core of the problem seems to stem from how the header parsing functions, particularly `ieee802154_hdr_minlen` and `ieee802154_hdr_get_addr`, handle the cases where destination and/or source addresses are not present (`IEEE802154_ADDR_NONE`). It appears there's a scenario where, if the destination address mode is `IEEE802154_ADDR_NONE`, and `intra_pan` is set, the `hdr->source.pan_id` might end up containing uninitialized memory. This is because the code copies the uninitialized destination PAN ID to the source PAN ID. This uninitialized `pan_id` then gets copied into another structure, ultimately leading to a potential information leak.

Initially, I thought the fix might be in zeroing out `pan_id` in `ieee802154_hdr_get_addr` when the mode is `IEEE802154_ADDR_NONE`. But, the real issue is that when `mode == IEEE802154_ADDR_NONE`, the `pan_id` field within the address structure is *not* present in the packet data, and the code assumes it's there. That's the root of the problem.

I then looked at the `ieee802154_addr_to_sa` function, which copies the address information. It always copies the `pan_id` field, regardless of the address mode. This means that if `pan_id` is uninitialized, the uninitialized memory gets copied to the destination structure.

So, the definitive fix seems to be initializing both `hdr->dest.pan_id` and `hdr->source.pan_id` to zero in `ieee802154_hdr_get_addr` *specifically* when `mode == IEEE802154_ADDR_NONE`. This ensures that even if the PAN ID is not present in the packet data, we're not copying garbage. This would handle both cases.

I also checked if the whole `struct ieee802154_addr` might have an uninitialized field. Even if we zero out just the `pan_id`, there are padding bytes which would remain uninitialized. I then checked `ieee802154_parse_frame_start` and realized that `hdr` is allocated on the stack, and, if the `pan_id` field isn't explicitly initialized in all cases, the entire structure can have uninitialized content. However, the copy is still safe, since only the fields which can be used get copied.

However, zeroing out the entire `struct ieee802154_hdr` on the stack at the start of `__ieee802154_rx_handle_packet` also fixes this. It is a very simple fix, and the best of the choices.



35/2 2026/05/21 22:36 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:__ieee802154_rx_handle_packet]

Results:
map[SourceCode: 334:	static void
 335:	__ieee802154_rx_handle_packet(struct ieee802154_local *local,
 336:				      struct sk_buff *skb)
 337:	{
 338:		int ret;
 339:		struct ieee802154_sub_if_data *sdata;
 340:		struct ieee802154_hdr hdr;
 341:		struct sk_buff *skb2;
 342:	
 343:		ret = ieee802154_parse_frame_start(skb, &hdr);
 344:		if (ret) {
 345:			pr_debug("got invalid frame\n");
 346:			return;
 347:		}
 348:	
 349:		list_for_each_entry_rcu(sdata, &local->interfaces, list) {
 350:			if (sdata->wpan_dev.iftype == NL802154_IFTYPE_MONITOR)
 351:				continue;
 352:	
 353:			if (!ieee802154_sdata_running(sdata))
 354:				continue;
 355:	
 356:			/* Do not deliver packets received on interfaces expecting
 357:			 * AACK=1 if the address filters where disabled.
 358:			 */
 359:			if (local->hw.phy->filtering < IEEE802154_FILTERING_4_FRAME_FIELDS &&
 360:			    sdata->required_filtering == IEEE802154_FILTERING_4_FRAME_FIELDS)
 361:				continue;
 362:	
 363:			skb2 = skb_clone(skb, GFP_ATOMIC);
 364:			if (skb2) {
 365:				skb2->dev = sdata->dev;
 366:				ieee802154_subif_frame(sdata, skb2, &hdr);
 367:			}
 368:		}
 369:	}
 SourceFile:net/mac802154/rx.c]

36/2 2026/05/21 22:36 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 30346
							output: 32
							thoughts: 48
						

Thoughts:
Okay, here's my interpretation of those thoughts, tailored for an expert audience, presented in the first person:

**Uninitialized Structure Concern & Function's Broader Scope**

Right, so I'm looking at this `struct ieee802154_hdr hdr;` declaration and immediately my spidey senses are tingling. Yep, that's definitely uninitialized. Leaving a structure like that uninitialized is practically begging for undefined behavior, especially when dealing with something as critical as parsing 802.15.4 headers. We could be reading garbage data, leading to all sorts of nasty side effects down the line: crashes, security vulnerabilities – the whole nine yards. We need to be absolutely certain we initialize it, whether that's with a zero-filled `memset` or specific default values appropriate for our use case.

But hang on a second... let's take a step back and look at the bigger picture. I need to understand the full implications. This `ieee802154_parse_frame_start` function isn't just used here. I'm recalling that it's called from other parts of the code base as well, and there are likely more call sites than I can remember off the top of my head. That's a red flag. If it's used in different contexts, the initialization strategy needs to be carefully considered. Perhaps there's an initial call to another function which handles the initialization of that header structure before `ieee802154_parse_frame_start` is ever run? We'll need to trace all those calls to get the full picture and ensure we're not introducing a subtle, hard-to-debug bug. A thorough code review is absolutely warranted here.



37/2 2026/05/21 22:36 tool codesearch-find-references
0m Args:
map[Name:ieee802154_parse_frame_start]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:__ieee802154_rx_handle_packet SourceFile:net/mac802154/rx.c SourceLine:343]] TruncatedOutput:false]

38/2 2026/05/21 22:36 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 30883
							output: 30
							thoughts: 43
						

Thoughts:
Okay, here's my take on those thoughts, framed from my perspective as someone deeply familiar with this code:

**Navigating the IEEE 802.15.4 Packet Handling Logic**

Right, so I'm looking at this particular function, and the call stack is telling me it's only called from `__ieee802154_rx_handle_packet`. That's good; it simplifies things somewhat. It means I have a more limited context to consider when debugging or modifying this part of the system. I can trace it back through the receive path more easily.

But wait a minute... `ieee802154_hdr_pull`... it's nagging at the back of my mind. Is *that* the only place this function is called? If so, this call stack should be enough, but that function seems vaguely familiar...

I need to confirm whether `ieee802154_hdr_pull` actually pulls the header information that is needed by this function. I need to make sure I am not missing any potential dependencies or edge cases. I'll need to go back and double check how `ieee802154_hdr_pull` actually *works* and if it also calls some other method, which makes this call a potential point of entry as well. It's a key part of understanding the data flow through the 802.15.4 stack, and I can't afford to overlook anything, so I'll go check it now.



39/2 2026/05/21 22:36 tool codesearch-find-references
0m Args:
map[Name:ieee802154_hdr_pull]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee802154_hdr_length SourceFile:include/net/ieee802154_netdev.h SourceLine:284] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee802154_parse_frame_start SourceFile:net/mac802154/rx.c SourceLine:283] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:mac802154_llsec_encrypt SourceFile:net/mac802154/llsec.c SourceLine:716]] TruncatedOutput:false]

40/2 2026/05/21 22:36 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 31499
							output: 55
							thoughts: 18
						

Thoughts:
Okay, let's dive into this. Here's my take on those thoughts, as if they're my own:

**Analyzing `mac802154_llsec_encrypt`**

Right, let's take a look at this `mac802154_llsec_encrypt` function. Immediately, my expert brain kicks in. I need to understand this at a high level. Is it doing hardware acceleration? What keying material is involved? Is it using a standard encryption algorithm, or something custom for this 802.15.4 implementation? The name itself suggests a low-level security function, probably related to the MAC layer, which makes sense. I have to consider the context. What is the overall threat model? What level of security is this function designed to provide – authentication, confidentiality, or both?

My first step would be to review the function's inputs and outputs. What are the arguments? Are they pointers to the plaintext and ciphertext? What about the key and the initialization vector? The structure of the data it's processing will be important. I'll need to know if there's any implicit padding, or if it's expecting certain sizes or alignments.

Then, I'll drill down into the code itself. The core of the algorithm will be key. I'll be looking for signs of common cryptographic algorithms used in 802.15.4, like AES-CCM* or maybe even a simpler stream cipher if they've gone that route for resource constraints. I'll pay close attention to the key derivation process, if it exists, and the interaction with any hardware security modules, if there are any.

From a security perspective, I'm going to be searching for potential vulnerabilities. Are there any buffer overflows? Are there potential timing attacks? Is there any chance of leaking the key or IV? Can I cause a denial-of-service? I want to make sure the encryption is done correctly, and safely.

Finally, I'll think about the practical aspects. How performant is this? Are there any obvious bottlenecks? Is it optimized for the target hardware? Does it interact well with other parts of the security stack, if there is one? I want to make sure this `mac802154_llsec_encrypt` function is robust and well-integrated.



41/2 2026/05/21 22:36 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/llsec.c IncludeLines:true Name:mac802154_llsec_encrypt]

Results:
map[SourceCode: 709:	int mac802154_llsec_encrypt(struct mac802154_llsec *sec, struct sk_buff *skb)
 710:	{
 711:		struct ieee802154_hdr hdr;
 712:		int rc, authlen, hlen;
 713:		struct mac802154_llsec_key *key;
 714:		u32 frame_ctr;
 715:	
 716:		hlen = ieee802154_hdr_pull(skb, &hdr);
 717:	
 718:		/* TODO: control frames security support */
 719:		if (hlen < 0 ||
 720:		    (hdr.fc.type != IEEE802154_FC_TYPE_DATA &&
 721:		     hdr.fc.type != IEEE802154_FC_TYPE_BEACON))
 722:			return -EINVAL;
 723:	
 724:		if (!hdr.fc.security_enabled ||
 725:		    (hdr.sec.level == IEEE802154_SCF_SECLEVEL_NONE)) {
 726:			skb_push(skb, hlen);
 727:			return 0;
 728:		}
 729:	
 730:		authlen = ieee802154_sechdr_authtag_len(&hdr.sec);
 731:	
 732:		if (skb->len + hlen + authlen + IEEE802154_MFR_SIZE > IEEE802154_MTU)
 733:			return -EMSGSIZE;
 734:	
 735:		rcu_read_lock();
 736:	
 737:		read_lock_bh(&sec->lock);
 738:	
 739:		if (!sec->params.enabled) {
 740:			rc = -EINVAL;
 741:			goto fail_read;
 742:		}
 743:	
 744:		key = llsec_lookup_key(sec, &hdr, &hdr.dest, NULL);
 745:		if (!key) {
 746:			rc = -ENOKEY;
 747:			goto fail_read;
 748:		}
 749:	
 750:		read_unlock_bh(&sec->lock);
 751:	
 752:		write_lock_bh(&sec->lock);
 753:	
 754:		frame_ctr = be32_to_cpu(sec->params.frame_counter);
 755:		hdr.sec.frame_counter = cpu_to_le32(frame_ctr);
 756:		if (frame_ctr == 0xFFFFFFFF) {
 757:			write_unlock_bh(&sec->lock);
 758:			llsec_key_put(key);
 759:			rc = -EOVERFLOW;
 760:			goto fail;
 761:		}
 762:	
 763:		sec->params.frame_counter = cpu_to_be32(frame_ctr + 1);
 764:	
 765:		write_unlock_bh(&sec->lock);
 766:	
 767:		rcu_read_unlock();
 768:	
 769:		skb->mac_len = ieee802154_hdr_push(skb, &hdr);
 770:		skb_reset_mac_header(skb);
 771:	
 772:		rc = llsec_do_encrypt(skb, sec, &hdr, key);
 773:		llsec_key_put(key);
 774:	
 775:		return rc;
 776:	
 777:	fail_read:
 778:		read_unlock_bh(&sec->lock);
 779:	fail:
 780:		rcu_read_unlock();
 781:		return rc;
 782:	}
 SourceFile:net/mac802154/llsec.c]

42/2 2026/05/21 22:36 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 33226
							output: 57
							thoughts: 95
						

Thoughts:
**Analyzing Potential IEEE 802.15.4 Header Issues**

Okay, so I'm looking at this code and immediately I see a potential problem area. Right here, `struct ieee802154_hdr hdr;` is declared, but it's not initialized. That's a red flag. If `ieee802154_hdr_pull` doesn't fully initialize *every* field within `hdr`, we're going to have stack garbage in there. That's just asking for trouble, and could lead to all sorts of unpredictable behavior, especially since we're dealing with network headers. And we know how important it is that headers are correct.

The worry is then compounded because the code subsequently calls `ieee802154_hdr_push(skb, &hdr)`. That function is then going to be pushing this potentially uninitialized data onto the network packet. That is not okay. So, my next step is clear – I need to dig into `ieee802154_hdr_push` and verify exactly what it expects and how it interacts with an uninitialized struct. I need to understand whether it handles partial initialization, or if it expects a fully populated header. Let's see what that function does...



43/2 2026/05/21 22:36 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_push]

Results:
map[SourceCode:  77:	int
  78:	ieee802154_hdr_push(struct sk_buff *skb, struct ieee802154_hdr *hdr)
  79:	{
  80:		u8 buf[IEEE802154_MAX_HEADER_LEN];
  81:		int pos = 2;
  82:		int rc;
  83:		struct ieee802154_hdr_fc *fc = &hdr->fc;
  84:	
  85:		buf[pos++] = hdr->seq;
  86:	
  87:		fc->dest_addr_mode = hdr->dest.mode;
  88:	
  89:		rc = ieee802154_hdr_push_addr(buf + pos, &hdr->dest, false);
  90:		if (rc < 0)
  91:			return -EINVAL;
  92:		pos += rc;
  93:	
  94:		fc->source_addr_mode = hdr->source.mode;
  95:	
  96:		if (hdr->source.pan_id == hdr->dest.pan_id &&
  97:		    hdr->dest.mode != IEEE802154_ADDR_NONE)
  98:			fc->intra_pan = true;
  99:	
 100:		rc = ieee802154_hdr_push_addr(buf + pos, &hdr->source, fc->intra_pan);
 101:		if (rc < 0)
 102:			return -EINVAL;
 103:		pos += rc;
 104:	
 105:		if (fc->security_enabled) {
 106:			fc->version = 1;
 107:	
 108:			rc = ieee802154_hdr_push_sechdr(buf + pos, &hdr->sec);
 109:			if (rc < 0)
 110:				return -EINVAL;
 111:	
 112:			pos += rc;
 113:		}
 114:	
 115:		memcpy(buf, fc, 2);
 116:	
 117:		memcpy(skb_push(skb, pos), buf, pos);
 118:	
 119:		return pos;
 120:	}
 SourceFile:net/ieee802154/header_ops.c]

44/2 2026/05/21 22:36 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 34328
							output: 59
							thoughts: 297
						

Thoughts:
**Uninitialized Memory Vulnerability in 802.15.4 Header Handling**

Okay, so I'm looking at this `ieee802154_hdr_push` function, specifically how it uses the PAN IDs from the header. I see it's checking `hdr->source.pan_id` and `hdr->dest.pan_id` to determine if the communication is within the same PAN. But wait a minute... if either of those `pan_id` fields are uninitialized, this comparison could read uninitialized memory, leading to unpredictable behavior or even a potential vulnerability.

My immediate thought is, hasn't `ieee802154_hdr_pull` been called before this? If `ieee802154_hdr_pull` *doesn't* initialize the `pan_id` fields when the address mode is set to `IEEE802154_ADDR_NONE`, then we've got a serious problem. The subsequent comparison in `ieee802154_hdr_push` would be reading garbage data, and that's exactly what I'm concerned about!

So, the conclusion is clear: the `ieee802154_hdr_get_addr` (or the equivalent function called at the time) *absolutely must* initialize those `pan_id` fields, even when the address mode is `IEEE802154_ADDR_NONE`. Otherwise, this code is flawed. I'll need to confirm that that function behaves as expected.



45/2 2026/05/21 22:36 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_push_addr]

Results:
map[SourceCode:  14:	static int
  15:	ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr,
  16:				 bool omit_pan)
  17:	{
  18:		int pos = 0;
  19:	
  20:		if (addr->mode == IEEE802154_ADDR_NONE)
  21:			return 0;
  22:	
  23:		if (!omit_pan) {
  24:			memcpy(buf + pos, &addr->pan_id, 2);
  25:			pos += 2;
  26:		}
  27:	
  28:		switch (addr->mode) {
  29:		case IEEE802154_ADDR_SHORT:
  30:			memcpy(buf + pos, &addr->short_addr, 2);
  31:			pos += 2;
  32:			break;
  33:	
  34:		case IEEE802154_ADDR_LONG:
  35:			memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN);
  36:			pos += IEEE802154_ADDR_LEN;
  37:			break;
  38:	
  39:		default:
  40:			return -EINVAL;
  41:		}
  42:	
  43:		return pos;
  44:	}
 SourceFile:net/ieee802154/header_ops.c]

46/2 2026/05/21 22:36 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 35456
							output: 32
							thoughts: 6453
						

Thoughts:
**Analysis of IEEE 802.15.4 Header Parsing and Address Handling**

Okay, so I've been digging into this IEEE 802.15.4 code, and there's a potential issue with how we're handling the PAN ID, especially when an address mode is set to `IEEE802154_ADDR_NONE`. The core problem seems to be in `ieee802154_hdr_get_addr`. If the `mode` is `IEEE802154_ADDR_NONE`, the function currently returns early *without* initializing the `pan_id` field of the `ieee802154_addr` struct. However, subsequent code might still read this uninitialized `pan_id`.

I've traced the execution flow, and it's clear that the comparison `hdr->source.pan_id == hdr->dest.pan_id` can occur *before* the `pan_id` is initialized, leading to possible memory corruption reports from KMSAN. The critical insight here is that when `dest_addr_mode` is `IEEE802154_ADDR_NONE`, the dest `pan_id` is not initialized. If the `intra_pan` flag is set, the source `pan_id` then copies that uninitialized dest value.

The initial hunch was to simply initialize `pan_id` to zero within `ieee802154_hdr_get_addr` when `mode == IEEE802154_ADDR_NONE`. But that's not enough; we need to make sure this also covers the `omit_pan` case, which complicates things because `hdr->source.pan_id` might be uninitialized in some scenarios, specifically where the destination address is not present. This happens if `intra_pan` is true, but `hdr->dest.pan_id` is then initialized.

After carefully analyzing all the codepaths, I've concluded that the cleanest and safest solution is to initialize `addr->pan_id = 0;` *explicitly* inside `ieee802154_hdr_get_addr` when `mode == IEEE802154_ADDR_NONE`. This will resolve the KMSAN report, since this covers the only case where pan_id is uninitialized. The fix needs to be added to the function `ieee802154_hdr_get_addr`.

In order to be absolutely sure that we're covering all bases, I also verified that other fields of the `ieee802154_addr` struct, like `short_addr` and `extended_addr`, aren't involved in any similar uninitialized memory leaks. They are not.

In addition, I verified that `ieee802154_hdr_push` and the use of the `struct ieee802154_addr` struct within `ieee802154_mac_cb` is safe, and does not copy uninitialized values to user space. KMSAN does track the origin of uninitialized memory, but this is expected as struct assignment is not an infoleak. However, to eliminate the root cause of the KMSAN report, initializing pan_id in the previously mentioned cases will remove any uninitialized reads.

So, in short, my recommendation is to add `addr->pan_id = 0;` to `ieee802154_hdr_get_addr` when `mode == IEEE802154_ADDR_NONE`, as this ensures that the `pan_id` field is always initialized and prevents the memory corruption.



47/2 2026/05/21 22:37 tool codesearch-find-references
0m Args:
map[Name:ieee802154_hdr_get_addr]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee802154_hdr_get_addrs SourceFile:net/ieee802154/header_ops.c SourceLine:269] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee802154_hdr_get_addrs SourceFile:net/ieee802154/header_ops.c SourceLine:271]] TruncatedOutput:false]

48/2 2026/05/21 22:37 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 42897
							output: 61
							thoughts: 51
						

Thoughts:
Okay, here's my take on those thoughts, framed as my own:

**Analyzing IEEE 802.15.4 Header Handling**

Alright, let's see, the focus here seems to be on how we're extracting information from the IEEE 802.15.4 headers. Specifically, I'm thinking about `ieee802154_hdr_get_addrs`. My understanding is that, as of this point, only that function calls this routine.

But...what about `ieee802154_hdr_get_sechdr`? I need to give this some attention. I'm wondering if `ieee802154_hdr_get_sechdr` might be leaving some of the header fields uninitialized. This could be a subtle bug that could lead to unexpected behavior later on, depending on how these uninitialized values are used down the line. We need to be vigilant about potential memory leaks, or improper use of uninitialized data, in these header routines.



49/2 2026/05/21 22:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_sechdr]

Results:
map[SourceCode: 207:	static int
 208:	ieee802154_hdr_get_sechdr(const u8 *buf, struct ieee802154_sechdr *hdr)
 209:	{
 210:		int pos = 5;
 211:	
 212:		memcpy(hdr, buf, 1);
 213:		memcpy(&hdr->frame_counter, buf + 1, 4);
 214:	
 215:		switch (hdr->key_id_mode) {
 216:		case IEEE802154_SCF_KEY_IMPLICIT:
 217:			return pos;
 218:	
 219:		case IEEE802154_SCF_KEY_INDEX:
 220:			break;
 221:	
 222:		case IEEE802154_SCF_KEY_SHORT_INDEX:
 223:			memcpy(&hdr->short_src, buf + pos, 4);
 224:			pos += 4;
 225:			break;
 226:	
 227:		case IEEE802154_SCF_KEY_HW_INDEX:
 228:			memcpy(&hdr->extended_src, buf + pos, IEEE802154_ADDR_LEN);
 229:			pos += IEEE802154_ADDR_LEN;
 230:			break;
 231:		}
 232:	
 233:		hdr->key_id = buf[pos++];
 234:	
 235:		return pos;
 236:	}
 SourceFile:net/ieee802154/header_ops.c]

50/2 2026/05/21 22:37 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 43716
							output: 61
							thoughts: 384
						

Thoughts:
**Analyzing Potential Security Vulnerabilities in the IEEE 802.15.4 Security Header**

Okay, let's break this down. I'm looking at the `struct ieee802154_sechdr` and immediately noticing some potential issues with uninitialized fields depending on the `key_id_mode`. Specifically, if `key_id_mode` is `IEEE802154_SCF_KEY_IMPLICIT`, `key_id` isn't initialized. Similarly, `short_src` and `extended_src` remain uninitialized under certain modes. This definitely raises a flag. We don't want to leak sensitive data or introduce vulnerabilities through uninitialized memory.

So, where is this struct *used*? I'm going to track its use cases to determine the actual risk. It's part of the larger `struct ieee802154_hdr`, which is reassuring. Crucially, it's *not* copied directly to user space. That's good. My initial scan shows that it's only used internally within `mac802154_llsec_encrypt` and `ieee802154_parse_frame_start`. So, as long as these functions correctly handle the potentially uninitialized values, there shouldn't be a direct leak of this security header's contents to the user, phew!

The code is looking better so far, the only leak I can see in the path is `pan_id` because it is copied to `sockaddr_ieee802154` which is in turn copied to user space.

Okay, let's step back a moment and reconsider. What about `ieee802154_hdr_push_sechdr`? I need to check that as well.



51/2 2026/05/21 22:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_push_sechdr]

Results:
map[SourceCode:  46:	static int
  47:	ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr)
  48:	{
  49:		int pos = 5;
  50:	
  51:		memcpy(buf, hdr, 1);
  52:		memcpy(buf + 1, &hdr->frame_counter, 4);
  53:	
  54:		switch (hdr->key_id_mode) {
  55:		case IEEE802154_SCF_KEY_IMPLICIT:
  56:			return pos;
  57:	
  58:		case IEEE802154_SCF_KEY_INDEX:
  59:			break;
  60:	
  61:		case IEEE802154_SCF_KEY_SHORT_INDEX:
  62:			memcpy(buf + pos, &hdr->short_src, 4);
  63:			pos += 4;
  64:			break;
  65:	
  66:		case IEEE802154_SCF_KEY_HW_INDEX:
  67:			memcpy(buf + pos, &hdr->extended_src, IEEE802154_ADDR_LEN);
  68:			pos += IEEE802154_ADDR_LEN;
  69:			break;
  70:		}
  71:	
  72:		buf[pos++] = hdr->key_id;
  73:	
  74:		return pos;
  75:	}
 SourceFile:net/ieee802154/header_ops.c]

52/2 2026/05/21 22:37 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 45013
							output: 1477
							thoughts: 2058
						

Thoughts:
Okay, here's my breakdown of this kernel issue, from an expert's perspective:

**Root Cause of the Kernel Information Leak**

Alright, let's dissect this. We're dealing with an information leak in the kernel, triggered during the reception of IEEE 802.15.4 packets. The vulnerability boils down to how the source address of a received packet is copied to user space within the `dgram_recvmsg()` function. Specifically, the problematic structure is `sockaddr_ieee802154`, which receives data from `mac_cb(skb)->source`. The key is `ieee802154_addr_to_sa()`, that populates this `sockaddr_ieee802154` structure with the source address of the received packet.  The function unconditionally copies `a->pan_id` from the source address to the user-space structure `sa->pan_id`.

Now, here's where it gets interesting: the `mac_cb(skb)->source.pan_id` can, under certain conditions, be *uninitialized*. This uninitialized state stems from how `mac_cb(skb)->source` is populated from the frame header data (`hdr->source`) during `ieee802154_parse_frame_start()`. Crucially, the `hdr` variable here is a *local* variable within `__ieee802154_rx_handle_packet()`, and it's *not* initialized.

The header parsing involves a call to `ieee802154_hdr_pull()` which subsequently calls `ieee802154_hdr_get_addrs()`. This latter function calls `ieee802154_hdr_get_addr()` to parse both destination and source addresses. If an address mode is set to `IEEE802154_ADDR_NONE`, then `ieee802154_hdr_get_addr()` returns without initializing `addr->pan_id`.

Let's trace the possible uninitialized scenarios:

1.  If the destination address mode is `IEEE802154_ADDR_NONE`, then `hdr->dest.pan_id` remains uninitialized.
2.  If `hdr->fc.intra_pan` is true, then `ieee802154_hdr_get_addrs()` copies `hdr->dest.pan_id` to `hdr->source.pan_id`. In this case, `hdr->source.pan_id` remains uninitialized if and only if `hdr->dest.pan_id` is uninitialized.
3.  If the source address mode is `IEEE802154_ADDR_NONE`, then `hdr->source.pan_id` will remain uninitialized.

The core of the issue lies in the fact that `ieee802154_addr_to_sa()` *unconditionally* copies the contents of `a->pan_id` into `sa->pan_id`.  Because `a->pan_id` can be uninitialized, the function is copying uninitialized memory to user space. This is a classic Kernel Memory Sanitizer (KMSAN) information leak.

**Proposed Fix**

The solution is straightforward: we need to ensure that `addr->pan_id` is initialized in `ieee802154_hdr_get_addr()` when the address mode is `IEEE802154_ADDR_NONE`. The following code snippet shows the required change, which I'll implement in `net/ieee802154/header_ops.c`:

```c
static int
ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
			struct ieee802154_addr *addr)
{
	int pos = 0;

	addr->mode = mode;

	if (mode == IEEE802154_ADDR_NONE) {
		addr->pan_id = 0; // Initialize to zero
		return 0;
	}
...
```

I did further check to ensure that no other instances would fail. It would be an issue if `omit_pan` was true but `mode` was not. However, `omit_pan` is set to true when copying `source` and `hdr->fc.intra_pan` is true. Since the destination address is parsed without omitting the PAN ID, the destination will be initialized. So when `hdr->fc.intra_pan` is true, `hdr->


53/1 2026/05/21 22:38 action kernel-scratch-checkouter
0m Results:
map[KernelScratchSrc:/app/workdir/cache/tmp/tmp3248139126]

54/1 2026/05/21 22:38 loop
46m
55/2 2026/05/21 22:38 iteration 0
46m
56/3 2026/05/21 22:38 agent patch-generator
5m Model:
gemini-3.1-pro-preview

Instruction:
You are an experienced Linux kernel developer tasked with creating a fix for a kernel bug.
You will be given a crash report, and an initial explanation of the root cause done by another
kernel expert.

Use the codeeditor tool to do code edits.
Note: you will not see your changes when looking at the code using codesearch tools.
Use the patch-diff tool to review the modifications you applied.

Your final reply should contain explanation of what you did in the patch and why
(details not present in the initial explanation of the bug).

Your fix must not just prevent the given crash, but also be the best fix for the underlying
root cause from the software engineering point of view. There can be several ways to fix the
same bug. Consider alternatives, and pick the best one. For example, additional checks may be
added at different locations/functions, it's usually better to place them earlier in the
execution to avoid multiple checks at various locations later.

Frequently the same coding mistake is done in several locations in the source code.
Check if your fix should be extended/applied to similar cases around to fix other similar bugs.
But don't go too wide, don't try to fix problems kernel-wide, fix similar issues
in the same file only.


If you are changing post-conditions of a function, consider all callers of the functions,
and if they need to be updated to handle new post-conditions. For example, if you make
a function that previously never returned a NULL, return NULL, consider if callers
need to be updated to handle NULL return value.



Prefer calling several tools at the same time to save round-trips.

Prompt:
The crash that corresponds to the bug is:

=====================================================
BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:131 [inline]
BUG: KMSAN: kernel-infoleak in _inline_copy_to_user include/linux/uaccess.h:205 [inline]
BUG: KMSAN: kernel-infoleak in _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 instrument_copy_to_user include/linux/instrumented.h:131 [inline]
 _inline_copy_to_user include/linux/uaccess.h:205 [inline]
 _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 copy_to_user include/linux/uaccess.h:236 [inline]
 move_addr_to_user+0x2e7/0x440 net/socket.c:302
 ____sys_recvmsg+0x232/0x610 net/socket.c:2925
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 ieee802154_addr_to_sa include/net/ieee802154_netdev.h:369 [inline]
 dgram_recvmsg+0xa09/0xbe0 net/ieee802154/socket.c:739
 sock_common_recvmsg+0x98/0xe0 net/core/sock.c:3976
 sock_recvmsg_nosec+0x1f4/0x280 net/socket.c:1137
 ____sys_recvmsg+0x4e5/0x610 net/socket.c:2916
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 __copy_skb_header+0xa3/0x7c0 net/core/skbuff.c:1552
 __skb_clone+0x57/0x650 net/core/skbuff.c:1604
 skb_clone+0x473/0x580 net/core/skbuff.c:2114
 __ieee802154_rx_handle_packet net/mac802154/rx.c:363 [inline]
 ieee802154_rx+0xdcd/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_parse_frame_start net/mac802154/rx.c:299 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xb3b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_hdr_get_addrs net/ieee802154/header_ops.c:275 [inline]
 ieee802154_hdr_pull+0xc85/0xe00 net/ieee802154/header_ops.c:294
 ieee802154_parse_frame_start net/mac802154/rx.c:283 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xa2b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Local variable hdr.i created at:
 __ieee802154_rx_handle_packet net/mac802154/rx.c:340 [inline]
 ieee802154_rx+0x95c/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35

Bytes 8-9 of 20 are uninitialized
Memory access of size 20 starts at ffff8881ef407a38
Data copied to user address 0000200000000800

CPU: 0 UID: 0 PID: 6206 Comm: syz.0.17 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
=====================================================


The explanation of the root cause of the bug is:

The root cause of this KMSAN kernel-infoleak is that an uninitialized `pan_id` field from the IEEE 802.15.4 MAC header is unconditionally copied to a socket address structure and subsequently leaked to user space during a `recvmsg` syscall.

### Detailed Root Cause Analysis

1. **Copying to User Space**:
   In `dgram_recvmsg()` (`net/ieee802154/socket.c:739`), the source address of the received packet is copied to user space. The kernel first zeroes out a `struct sockaddr_ieee802154` and then populates it using `ieee802154_addr_to_sa()`:
   ```c
   memset(saddr, 0, sizeof(*saddr));
   saddr->family = AF_IEEE802154;
   ieee802154_addr_to_sa(&saddr->addr, &mac_cb(skb)->source);
   ```

2. **Unconditional Copy of `pan_id`**:
   Inside `ieee802154_addr_to_sa()` (`include/net/ieee802154_netdev.h:365`), the `pan_id` is unconditionally copied from the source address (`a`) to the socket address (`sa`):
   ```c
   static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
                                            const struct ieee802154_addr *a)
   {
       sa->addr_type = a->mode;
       sa->pan_id = le16_to_cpu(a->pan_id); // <--- Unconditional copy
       // ...
   }
   ```
   If `a->pan_id` is uninitialized, this copies 2 bytes of uninitialized kernel stack memory into `sa->pan_id`. As seen in the KMSAN report (`Bytes 8-9 of 20 are uninitialized`), bytes 8-9 correspond exactly to the `pan_id` field within `struct sockaddr_ieee802154`.

3. **Source of the Uninitialized Memory**:
   The `mac_cb(skb)->source` is populated from a local, uninitialized `struct ieee802154_hdr hdr;` variable in `__ieee802154_rx_handle_packet()` (`net/mac802154/rx.c:340`). The header is parsed by `ieee802154_parse_frame_start()`, which eventually calls `ieee802154_hdr_get_addr()` (`net/ieee802154/header_ops.c:170`) to extract the destination and source addresses.

   ```c
   static int ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
                                      struct ieee802154_addr *addr)
   {
       int pos = 0;
       addr->mode = mode;

       if (mode == IEEE802154_ADDR_NONE)
           return 0; // <--- Returns early, leaving addr->pan_id uninitialized!

       if (!omit_pan) {
           memcpy(&addr->pan_id, buf + pos, 2);
           pos += 2;
       }
       // ...
   }
   ```
   If the address mode is `IEEE802154_ADDR_NONE`, the function returns early and leaves `addr->pan_id` uninitialized (containing stack garbage). 

4. **Propagation**:
   In `ieee802154_hdr_get_addrs()`, if the destination address mode is `IEEE802154_ADDR_NONE`, `hdr->dest.pan_id` remains uninitialized. Furthermore, if the `intra_pan` (PAN ID Compression) bit is set in the Frame Control Field, the code copies the destination `pan_id` to the source `pan_id`:
   ```c
   if (hdr->fc.intra_pan)
       hdr->source.pan_id = hdr->dest.pan_id;
   ```
   This propagates the uninitialized memory to `hdr->source.pan_id`. Alternatively, if the source address mode itself is `IEEE802154_ADDR_NONE`, `hdr->source.pan_id` is directly left uninitialized. Ultimately, this uninitialized `pan_id` is saved in `mac_cb(skb)->source` and leaked to user space.

### Proposed Fix

To fix this issue, `addr->pan_id` must be explicitly initialized to `0` when the address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`. This ensures that no uninitialized stack memory is ever propagated or copied to user space.

```c
diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index ...
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
```

This simple initialization is sufficient because the only other case where `pan_id` is not immediately initialized is when `omit_pan` is true. However, `omit_pan` is only true for the source address when `intra_pan` is set, in which case it is safely copied from `hdr->dest.pan_id` (which is now guaranteed to be initialized).



Reply:
I have applied the proposed fix to explicitly initialize `addr->pan_id` to `0` when the address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`.

### Analysis and Verification

1. **Why this is the best fix:**
   The root cause is that `struct ieee802154_hdr hdr` is allocated on the stack in `__ieee802154_rx_handle_packet()` and not zero-initialized. When `ieee802154_hdr_get_addr()` parses an address with `IEEE802154_ADDR_NONE` mode, it returns early, leaving `hdr.source.pan_id` containing uninitialized stack memory. This uninitialized memory is later copied to `mac_cb(skb)->source` and unconditionally leaked to user space in `dgram_recvmsg()`.
   By initializing `addr->pan_id = 0` directly in `ieee802154_hdr_get_addr()`, we fix the issue at the source of the parsing logic, ensuring that any caller of this function will always receive a fully initialized `pan_id` field regardless of the address mode.

2. **What about other uninitialized fields?**
   - **`short_addr` and `extended_addr`**: These fields are part of a union in `struct ieee802154_addr`. When `mode == IEEE802154_ADDR_NONE`, they are also left uninitialized. However, `ieee802154_addr_to_sa()` explicitly checks `a->mode` and only copies `short_addr` or `extended_addr` if the mode matches `IEEE802154_ADDR_SHORT` or `IEEE802154_ADDR_LONG`, respectively. Since the destination `struct sockaddr_ieee802154` is fully zeroed out via `memset()` in `dgram_recvmsg()`, these uninitialized union fields are never copied to user space.
   - **`omit_pan` flag**: If `omit_pan` is true, `pan_id` is not initialized inside `ieee802154_hdr_get_addr()`. However, `omit_pan` is only true for the source address when the `intra_pan` bit is set. In this case, `ieee802154_hdr_get_addrs()` immediately executes `hdr->source.pan_id = hdr->dest.pan_id;`, safely initializing it from the destination `pan_id` (which is guaranteed to be initialized because `omit_pan` is always false for the destination address).

3. **Impact on other callers:**
   `ieee802154_hdr_get_addr()` is only called from `ieee802154_hdr_get_addrs()`, which in turn is used by `ieee802154_hdr_pull()` and `ieee802154_hdr_peek_addrs()`. In all these paths, ensuring `pan_id` is initialized to `0` when the address is absent is safe, correct, and prevents any potential use of uninitialized memory in other parts of the stack (e.g., 6LoWPAN header decompression).

The applied patch is:
```c
diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index 41a556be1..8f2ec62de 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
```

57/4 2026/05/21 22:38 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 7777
							output: 59
							thoughts: 176
						

Thoughts:
**Analyzing a KMSAN Kernel-Infoleak Bug**

Okay, so I'm looking at this KMSAN report – a kernel-infoleak, always interesting. The core issue is that `addr->pan_id` isn't being initialized within `ieee802154_hdr_get_addr()` under a specific condition: when `mode` is `IEEE802154_ADDR_NONE`. That's the critical piece. This uninitialized value then makes its way into user space via `dgram_recvmsg()`, which is, of course, a classic infoleak scenario.

The suggested fix is straightforward – and, frankly, what I expected. Initialize `addr->pan_id` to zero, specifically when `mode == IEEE802154_ADDR_NONE` inside the `ieee802154_hdr_get_addr()` function. Seems like a safe bet.

Time to confirm this in the code. I'll need to double-check `net/ieee802154/header_ops.c` and take a close look at the implementation of `ieee802154_hdr_get_addr()` to fully understand the context and confirm the fix addresses the root cause properly. I need to make sure this doesn't introduce any regressions or unintended consequences, of course. Let's dig in.



58/4 2026/05/21 22:38 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_addr]

Results:
map[SourceCode: 170:	static int
 171:	ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 172:				struct ieee802154_addr *addr)
 173:	{
 174:		int pos = 0;
 175:	
 176:		addr->mode = mode;
 177:	
 178:		if (mode == IEEE802154_ADDR_NONE)
 179:			return 0;
 180:	
 181:		if (!omit_pan) {
 182:			memcpy(&addr->pan_id, buf + pos, 2);
 183:			pos += 2;
 184:		}
 185:	
 186:		if (mode == IEEE802154_ADDR_SHORT) {
 187:			memcpy(&addr->short_addr, buf + pos, 2);
 188:			return pos + 2;
 189:		} else {
 190:			memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN);
 191:			return pos + IEEE802154_ADDR_LEN;
 192:		}
 193:	}
 SourceFile:net/ieee802154/header_ops.c]

59/4 2026/05/21 22:38 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 8710
							output: 55
							thoughts: 109
						

Thoughts:
**Addressing the Edge Case**

Okay, so the proposed solution tackles the scenario where the address mode is `IEEE802154_ADDR_NONE`. My initial thought is, this seems to directly address the `pan_id` by setting it to 0 and returning. But, hold on a second... what about the other address fields within the `ieee802154_addr` structure, specifically `short_addr` and `extended_addr`? Are they also being handled, or are they potentially left in an uninitialized state when this condition is met? That could lead to downstream issues if they're used without being properly assigned. It's crucial to ensure the fix is comprehensive. I need to revisit the definition of `struct ieee802154_addr` to confirm and make sure all relevant fields are correctly handled in this edge case. I need to understand the implications of `IEEE802154_ADDR_NONE` on the *entire* address structure.



60/4 2026/05/21 22:38 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_addr]

Results:
map[SourceCode: 276:	/**
 277:	 * struct ieee802154_addr - IEEE802.15.4 device address
 278:	 * @mode: Address mode from frame header. Can be one of:
 279:	 *        - @IEEE802154_ADDR_NONE
 280:	 *        - @IEEE802154_ADDR_SHORT
 281:	 *        - @IEEE802154_ADDR_LONG
 282:	 * @pan_id: The PAN ID this address belongs to
 283:	 * @short_addr: address if @mode is @IEEE802154_ADDR_SHORT
 284:	 * @extended_addr: address if @mode is @IEEE802154_ADDR_LONG
 285:	 */
 286:	struct ieee802154_addr {
 287:		u8 mode;
 288:		__le16 pan_id;
 289:		union {
 290:			__le16 short_addr;
 291:			__le64 extended_addr;
 292:		};
 293:	};
 SourceFile:include/net/cfg802154.h]

61/4 2026/05/21 22:38 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 9440
							output: 60
							thoughts: 105
						

Thoughts:
**Analyzing IEEE 802.15.4 Address Handling**

Okay, so I'm looking at this code and something's bugging me about how it handles addresses, particularly when the address mode is set to `IEEE802154_ADDR_NONE`. It seems that in this scenario, `pan_id`, `short_addr`, and `extended_addr` aren't initialized. That's fine, but I need to make sure this doesn't lead to any unexpected behavior later on.

My primary concern is this: the `ieee802154_addr_to_sa` function looks like it copies `pan_id` regardless of the address mode. But, does it unconditionally copy `short_addr` or `extended_addr`? That's the crucial detail I need to verify. Uninitialized variables are a common source of bugs in embedded systems and I want to be 100% certain there isn't a vulnerability.

I'm going to jump into the `ieee802154_addr_to_sa` function definition and verify the code's behavior. Time to delve into the details and confirm this suspicion!



62/4 2026/05/21 22:39 tool codesearch-definition-source
0m Args:
map[ContextFile:include/net/ieee802154_netdev.h IncludeLines:true Name:ieee802154_addr_to_sa]

Results:
map[SourceCode: 365:	static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
 366:						 const struct ieee802154_addr *a)
 367:	{
 368:		sa->addr_type = a->mode;
 369:		sa->pan_id = le16_to_cpu(a->pan_id);
 370:	
 371:		switch (a->mode) {
 372:		case IEEE802154_ADDR_SHORT:
 373:			sa->short_addr = le16_to_cpu(a->short_addr);
 374:			break;
 375:		case IEEE802154_ADDR_LONG:
 376:			ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr);
 377:			break;
 378:		}
 379:	}
 SourceFile:include/net/ieee802154_netdev.h]

63/4 2026/05/21 22:39 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 10173
							output: 59
							thoughts: 118
						

Thoughts:
**IEEE 802.15.4 Address Conversion: A Deep Dive**

Okay, so I'm looking at this `ieee802154_addr_to_sa` function, and I'm realizing something subtle here. It seems like it only selectively copies the *short_addr* or *extended_addr* fields based on whether the *mode* matches. But hold on... it's unconditionally copying the *pan_id*. That's the key, *pan_id* needs to be initialized. I need to make sure that's being handled correctly.

Then a thought hits me - what about the *omit_pan* flag? If that's set to true, the function *won't* copy the *pan_id* from the buffer. Okay, that's crucial to understand for proper behavior.

Time to revisit `ieee802154_hdr_get_addr` again and confirm that the implications of that behavior are fully understood in context. I need to ensure the initialization and handling of *pan_id* are robust considering the possible presence of the *omit_pan* flag. Let's make sure I didn't miss anything.



64/4 2026/05/21 22:39 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_addr]

Results:
map[SourceCode: 170:	static int
 171:	ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 172:				struct ieee802154_addr *addr)
 173:	{
 174:		int pos = 0;
 175:	
 176:		addr->mode = mode;
 177:	
 178:		if (mode == IEEE802154_ADDR_NONE)
 179:			return 0;
 180:	
 181:		if (!omit_pan) {
 182:			memcpy(&addr->pan_id, buf + pos, 2);
 183:			pos += 2;
 184:		}
 185:	
 186:		if (mode == IEEE802154_ADDR_SHORT) {
 187:			memcpy(&addr->short_addr, buf + pos, 2);
 188:			return pos + 2;
 189:		} else {
 190:			memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN);
 191:			return pos + IEEE802154_ADDR_LEN;
 192:		}
 193:	}
 SourceFile:net/ieee802154/header_ops.c]

65/4 2026/05/21 22:39 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 11004
							output: 60
							thoughts: 133
						

Thoughts:
**Analyzing the Pan ID Initialization**

Okay, so I'm digging into this code and trying to understand how `pan_id` gets initialized. The logic seems straightforward: if `omit_pan` is true, then `pan_id` isn't initialized here. The explanation says this is fine because there's a specific, controlled scenario where this happens and it's handled. But, I'm not one to take explanations at face value, even if they seem reasonable.

I need to confirm this. The crux of the justification hinges on the relationship between `omit_pan` and `intra_pan`. The explanation claims that `omit_pan` is *only* true for the source address when `intra_pan` is set, and in that scenario, the value is copied from `hdr->dest.pan_id`. This is critical. If that's *not* the case, we have a potential bug on our hands.

Therefore, the next logical step is to dive into `ieee802154_hdr_get_addrs` and verify this condition. I need to be absolutely certain that this "safe copy" from `hdr->dest.pan_id` always occurs as described, thereby guaranteeing that `pan_id` *does* eventually get initialized in all relevant cases. I will now examine the code for that function.



66/4 2026/05/21 22:39 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_addrs]

Results:
map[SourceCode: 264:	static int
 265:	ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr)
 266:	{
 267:		int pos = 0;
 268:	
 269:		pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.dest_addr_mode,
 270:					       false, &hdr->dest);
 271:		pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.source_addr_mode,
 272:					       hdr->fc.intra_pan, &hdr->source);
 273:	
 274:		if (hdr->fc.intra_pan)
 275:			hdr->source.pan_id = hdr->dest.pan_id;
 276:	
 277:		return pos;
 278:	}
 SourceFile:net/ieee802154/header_ops.c]

67/4 2026/05/21 22:39 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 11788
							output: 67
							thoughts: 388
						

Thoughts:
**Analyzing Potential Initialization Issues in IEEE 802.15.4 Header Handling**

Okay, so I'm digging into this header processing logic, specifically around address modes in IEEE 802.15.4. My initial thought is this: if `hdr->fc.dest_addr_mode` is set to `IEEE802154_ADDR_NONE`, then `ieee802154_hdr_get_addr` returns 0. With the fix in place, this means `hdr->dest.pan_id` will be 0. Now, `ieee802154_hdr_get_addr` gets called again, this time for the `hdr->source` field.

The interesting part comes when `hdr->fc.intra_pan` is true. If that's the case, then `omit_pan` becomes true. Here's where the potential problem lies:  `hdr->source.pan_id` isn't initialized *within* `ieee802154_hdr_get_addr`. However, it *is* set later with `hdr->source.pan_id = hdr->dest.pan_id;`. Since `hdr->dest.pan_id` is guaranteed to be initialized (either read from the buffer or set to 0), I believe that handles the initialization of `hdr->source.pan_id` correctly.

But... hang on. What if `hdr->fc.intra_pan` is false? Let's consider two scenarios. First, what if `hdr->fc.source_addr_mode` is also `IEEE802154_ADDR_NONE`? Then `ieee802154_hdr_get_addr` returns 0 (again, with the fix, this results in `hdr->source.pan_id` being set to 0), which seems okay. But, what if `hdr->fc.intra_pan` is false, and `hdr->fc.source_addr_mode` is *not* `IEEE802154_ADDR_NONE`? In this case, `omit_pan` is false, and `pan_id` *should* be read from the input buffer (`buf`). So that should also be fine, right?

I think I need to do a broader code search, though. Let me quickly scan for any other calls to `ieee802154_hdr_get_addr` in this module or related code. I want to be certain I'm not missing any other potential initialization or usage contexts.



68/4 2026/05/21 22:39 tool codesearch-find-references
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeSnippetLines:0 Name:ieee802154_hdr_get_addr SourceTreePrefix:]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee802154_hdr_get_addrs SourceFile:net/ieee802154/header_ops.c SourceLine:269] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee802154_hdr_get_addrs SourceFile:net/ieee802154/header_ops.c SourceLine:271]] TruncatedOutput:false]

69/4 2026/05/21 22:39 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12963
							output: 60
							thoughts: 243
						

Thoughts:
**Analyzing IEEE 802.15.4 Address Handling**

Okay, so I'm focusing on that `ieee802154_hdr_get_addrs` function. That seems to be the critical area.

Aha! Now, what if we have a situation where the `hdr->fc.intra_pan` flag is set, which is interesting, *but* the `hdr->fc.source_addr_mode` is set to `IEEE802154_ADDR_NONE`?  My immediate thought is, what happens then?  Right, `ieee802154_hdr_get_addr` returns 0 and sets `hdr->source.pan_id` to zero.  But then there's that line... `hdr->source.pan_id = hdr->dest.pan_id;`.  That overwrites it with the destination's PAN ID. Seems alright, that makes perfect sense given the design of the protocol.

Alright, taking a wider scope here: are there any other potential uninitialized fields within the `struct ieee802154_addr` that I should be concerned about?  Specifically, the `short_addr` and `extended_addr` fields. They're inside a union. If the address mode (`mode`) is `IEEE802154_ADDR_NONE`, neither would be initialized. But... the good news is, `ieee802154_addr_to_sa` only copies those values if the `mode` matches. I should double check that and make sure I'm not missing anything. Going to go back to `ieee802154_addr_to_sa` to verify.



70/4 2026/05/21 22:39 tool codesearch-definition-source
0m Args:
map[ContextFile:include/net/ieee802154_netdev.h IncludeLines:true Name:ieee802154_addr_to_sa]

Results:
map[SourceCode: 365:	static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
 366:						 const struct ieee802154_addr *a)
 367:	{
 368:		sa->addr_type = a->mode;
 369:		sa->pan_id = le16_to_cpu(a->pan_id);
 370:	
 371:		switch (a->mode) {
 372:		case IEEE802154_ADDR_SHORT:
 373:			sa->short_addr = le16_to_cpu(a->short_addr);
 374:			break;
 375:		case IEEE802154_ADDR_LONG:
 376:			ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr);
 377:			break;
 378:		}
 379:	}
 SourceFile:include/net/ieee802154_netdev.h]

71/4 2026/05/21 22:39 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 13955
							output: 58
							thoughts: 96
						

Thoughts:
**Analyzing Address Handling in the System**

Okay, so I'm focusing on how addresses are handled here. It seems that the `short_addr` and `extended_addr` values are only copied into the relevant structures if the `mode` variable matches a certain condition, specifically, if `mode` isn't `IEEE802154_ADDR_NONE`. That's straightforward enough. The implication is that if `mode` *is* `IEEE802154_ADDR_NONE`, these addresses are skipped, which makes perfect sense.

But hold on... what about `sa`? It's mentioned here, and I need to be completely clear on how that plays into this. Ah, right. `sa` is a `struct ieee802154_addr_sa`. Okay, that's the next point to investigate. Now I need to check the exact definition of `struct ieee802154_addr_sa` to fully understand what's happening. I need to make sure this doesn't introduce any complexities I haven't accounted for.



72/4 2026/05/21 22:39 tool codesearch-definition-source
0m Args:
map[ContextFile:include/net/ieee802154_netdev.h IncludeLines:true Name:ieee802154_addr_sa]

Results:
map[SourceCode:  27:	struct ieee802154_addr_sa {
  28:		int addr_type;
  29:		u16 pan_id;
  30:		union {
  31:			u8 hwaddr[IEEE802154_ADDR_LEN];
  32:			u16 short_addr;
  33:		};
  34:	};
 SourceFile:include/net/af_ieee802154.h]

73/4 2026/05/21 22:39 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 14487
							output: 48
							thoughts: 38
						

Thoughts:
Okay, here's my interpretation of those thoughts, presented as a first-person expert summary:

**Digging into dgram_recvmsg and IEEE 802.15.4**

Right, so I'm looking at `dgram_recvmsg` and I see that the source address, `saddr`, is being treated as a `struct sockaddr_ieee802154`. This immediately triggers a line of questioning. I need to understand the data flow, and specifically, what kind of socket is being used here. Is this an 802.15.4 specific implementation, or is it trying to work with that standard on a more general socket type? I'm going to have to go and trace the call stack of `dgram_recvmsg` to see where it sits in the broader scheme of things to get a better grasp of the context.



74/4 2026/05/21 22:39 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/socket.c IncludeLines:true Name:dgram_recvmsg]

Results:
map[SourceCode: 705:	static int dgram_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
 706:				 int flags)
 707:	{
 708:		size_t copied = 0;
 709:		int err = -EOPNOTSUPP;
 710:		struct sk_buff *skb;
 711:		struct dgram_sock *ro = dgram_sk(sk);
 712:		DECLARE_SOCKADDR(struct sockaddr_ieee802154 *, saddr, msg->msg_name);
 713:	
 714:		skb = skb_recv_datagram(sk, flags, &err);
 715:		if (!skb)
 716:			goto out;
 717:	
 718:		copied = skb->len;
 719:		if (len < copied) {
 720:			msg->msg_flags |= MSG_TRUNC;
 721:			copied = len;
 722:		}
 723:	
 724:		/* FIXME: skip headers if necessary ?! */
 725:		err = skb_copy_datagram_msg(skb, 0, msg, copied);
 726:		if (err)
 727:			goto done;
 728:	
 729:		sock_recv_cmsgs(msg, sk, skb);
 730:	
 731:		if (saddr) {
 732:			/* Clear the implicit padding in struct sockaddr_ieee802154
 733:			 * (16 bits between 'family' and 'addr') and in struct
 734:			 * ieee802154_addr_sa (16 bits at the end of the structure).
 735:			 */
 736:			memset(saddr, 0, sizeof(*saddr));
 737:	
 738:			saddr->family = AF_IEEE802154;
 739:			ieee802154_addr_to_sa(&saddr->addr, &mac_cb(skb)->source);
 740:			msg->msg_namelen = sizeof(*saddr);
 741:		}
 742:	
 743:		if (ro->want_lqi) {
 744:			err = put_cmsg(msg, SOL_IEEE802154, WPAN_WANTLQI,
 745:				       sizeof(uint8_t), &(mac_cb(skb)->lqi));
 746:			if (err)
 747:				goto done;
 748:		}
 749:	
 750:		if (flags & MSG_TRUNC)
 751:			copied = skb->len;
 752:	done:
 753:		skb_free_datagram(sk, skb);
 754:	out:
 755:		if (err)
 756:			return err;
 757:		return copied;
 758:	}
 SourceFile:net/ieee802154/socket.c]

75/4 2026/05/21 22:39 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15624
							output: 60
							thoughts: 412
						

Thoughts:
**Analyzing Potential Uninitialized Memory in `dgram_recvmsg`**

Okay, so I'm looking at this `dgram_recvmsg` function, and my initial thought is that `saddr` is being zeroed out right at the start. That's good, a common practice to ensure a clean slate. Then, `ieee802154_addr_to_sa` is called. It seems this function is responsible for filling in the address details.

Specifically, `ieee802154_addr_to_sa` populates `addr_type` and `pan_id` based on the source MAC callback data in the SKB. Now, here's where it gets potentially interesting. If `pan_id` within `mac_cb(skb)->source` is *uninitialized*, we're effectively copying uninitialized memory into `saddr->pan_id`, which then gets sent up to user space. That’s a classic vulnerability waiting to happen. Seems the uninitialized memory exposure is restricted to `pan_id`.

But then, hold on a second. What if the source MAC address type is `IEEE802154_ADDR_NONE`? In this scenario, `ieee802154_addr_to_sa` still copies over `addr_type` (which, in this case, would be `IEEE802154_ADDR_NONE`) and `pan_id`. Importantly, it doesn't touch the short or extended addresses. However, because `saddr` was zeroed out initially, `saddr->addr.short_addr` and `saddr->addr.hwaddr` will remain zero. And that seems perfectly valid. No issue there.

Now, let's step back and consider the bigger picture. Are there any other places where `ieee802154_hdr_get_addr` is used? Let's quickly double-check the code to be absolutely sure. Nope. What about anywhere else where an `ieee802154_addr` structure might be created and potentially left only partially initialized? I should probably take another look at that `ieee802154_hdr_get_addrs` function again, just to be thorough. We need to be exhaustive here.



76/4 2026/05/21 22:39 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_addrs]

Results:
map[SourceCode: 264:	static int
 265:	ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr)
 266:	{
 267:		int pos = 0;
 268:	
 269:		pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.dest_addr_mode,
 270:					       false, &hdr->dest);
 271:		pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.source_addr_mode,
 272:					       hdr->fc.intra_pan, &hdr->source);
 273:	
 274:		if (hdr->fc.intra_pan)
 275:			hdr->source.pan_id = hdr->dest.pan_id;
 276:	
 277:		return pos;
 278:	}
 SourceFile:net/ieee802154/header_ops.c]

77/4 2026/05/21 22:39 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 16900
							output: 57
							thoughts: 36
						

Thoughts:
Okay, here's my interpretation of that thought process, from an expert's perspective:

**Diving into IEEE 802.15.4 Header Handling**

Alright, I'm tracing through this IEEE 802.15.4 code, and I just noticed something. Specifically, I'm seeing that the function `ieee802154_hdr_get_addrs` is being called from within `ieee802154_hdr_pull`. Now, that's not necessarily unusual in and of itself, as header manipulation is often a multi-stage process, but it immediately sparks a few thoughts. 

I need to understand the sequencing and the *why* behind this particular call. `ieee802154_hdr_pull`, I know, is responsible for, well, pulling the header from the packet. So, `ieee802154_hdr_get_addrs` must be involved in extracting specific address fields *during* that pulling process. I need to now examine their interaction. What data structure is being passed between them? What's the context? Are there any potential implications for performance, error handling, or even security depending on the specifics of this call? Are there any assumptions or side effects, especially regarding buffer management? It's time to dig deeper into the implementation details of both functions to understand their purpose in detail and how they are used together. I'll need to scrutinize how those addresses are populated, and what kind of checks are put in place. This could be a critical point for understanding how the system parses and interprets incoming 802.15.4 frames.



78/4 2026/05/21 22:40 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_pull]

Results:
map[SourceCode: 280:	int
 281:	ieee802154_hdr_pull(struct sk_buff *skb, struct ieee802154_hdr *hdr)
 282:	{
 283:		int pos = 3, rc;
 284:	
 285:		if (!pskb_may_pull(skb, 3))
 286:			return -EINVAL;
 287:	
 288:		memcpy(hdr, skb->data, 3);
 289:	
 290:		rc = ieee802154_hdr_minlen(hdr);
 291:		if (rc < 0 || !pskb_may_pull(skb, rc))
 292:			return -EINVAL;
 293:	
 294:		pos += ieee802154_hdr_get_addrs(skb->data + pos, hdr);
 295:	
 296:		if (hdr->fc.security_enabled) {
 297:			int want = pos + ieee802154_hdr_sechdr_len(skb->data[pos]);
 298:	
 299:			if (!pskb_may_pull(skb, want))
 300:				return -EINVAL;
 301:	
 302:			pos += ieee802154_hdr_get_sechdr(skb->data + pos, &hdr->sec);
 303:		}
 304:	
 305:		skb_pull(skb, pos);
 306:		return pos;
 307:	}
 SourceFile:net/ieee802154/header_ops.c]

79/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 17838
							output: 56
							thoughts: 116
						

Thoughts:
**Analyzing the 802.15.4 Header Parsing**

Okay, so I'm looking at this `ieee802154_hdr_pull` function. It seems straightforward enough initially.  A `memcpy` is being used to grab the first 3 bytes from the incoming SKB's data buffer and put them into `hdr`. That covers the Frame Control field and the sequence number, which is typical for how this is handled. Then, the code calls `ieee802154_hdr_get_addrs` to parse out the addressing information. Makes sense.

But wait a minute... I'm noticing something. The `hdr` variable, which is being passed to `ieee802154_hdr_pull`, feels familiar. Where is this `hdr` actually allocated? Let me trace this back... Ah, it's allocated within `ieee802154_parse_frame_start`. Okay, that clarifies things. We're pulling the initial header data and passing it to the function. This setup ensures we have all the info needed by `ieee802154_hdr_get_addrs`.



80/4 2026/05/21 22:40 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:ieee802154_parse_frame_start]

Results:
map[SourceCode: 275:	static int
 276:	ieee802154_parse_frame_start(struct sk_buff *skb, struct ieee802154_hdr *hdr)
 277:	{
 278:		int hlen;
 279:		struct ieee802154_mac_cb *cb = mac_cb(skb);
 280:	
 281:		skb_reset_mac_header(skb);
 282:	
 283:		hlen = ieee802154_hdr_pull(skb, hdr);
 284:		if (hlen < 0)
 285:			return -EINVAL;
 286:	
 287:		skb->mac_len = hlen;
 288:	
 289:		pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr->fc),
 290:			 hdr->seq);
 291:	
 292:		cb->type = hdr->fc.type;
 293:		cb->ackreq = hdr->fc.ack_request;
 294:		cb->secen = hdr->fc.security_enabled;
 295:	
 296:		ieee802154_print_addr("destination", &hdr->dest);
 297:		ieee802154_print_addr("source", &hdr->source);
 298:	
 299:		cb->source = hdr->source;
 300:		cb->dest = hdr->dest;
 301:	
 302:		if (hdr->fc.security_enabled) {
 303:			u64 key;
 304:	
 305:			pr_debug("seclevel %i\n", hdr->sec.level);
 306:	
 307:			switch (hdr->sec.key_id_mode) {
 308:			case IEEE802154_SCF_KEY_IMPLICIT:
 309:				pr_debug("implicit key\n");
 310:				break;
 311:	
 312:			case IEEE802154_SCF_KEY_INDEX:
 313:				pr_debug("key %02x\n", hdr->sec.key_id);
 314:				break;
 315:	
 316:			case IEEE802154_SCF_KEY_SHORT_INDEX:
 317:				pr_debug("key %04x:%04x %02x\n",
 318:					 le32_to_cpu(hdr->sec.short_src) >> 16,
 319:					 le32_to_cpu(hdr->sec.short_src) & 0xffff,
 320:					 hdr->sec.key_id);
 321:				break;
 322:	
 323:			case IEEE802154_SCF_KEY_HW_INDEX:
 324:				key = swab64((__force u64)hdr->sec.extended_src);
 325:				pr_debug("key source %8phC %02x\n", &key,
 326:					 hdr->sec.key_id);
 327:				break;
 328:			}
 329:		}
 330:	
 331:		return 0;
 332:	}
 SourceFile:net/mac802154/rx.c]

81/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 19239
							output: 57
							thoughts: 37
						

Thoughts:
Okay, here's my interpretation of that code snippet, presented as my own thought process:

**Diving into the 802.15.4 Packet Handling**

Alright, let's see... so, tracing this down... it looks like `ieee802154_parse_frame_start` is the function that kicks off the process of interpreting an 802.15.4 frame. That makes sense; it's the natural entry point for figuring out what's actually *in* this data we've just received. Hmm, and I'm seeing that this function, `ieee802154_parse_frame_start`, is *called from* `__ieee802154_rx_handle_packet`. Ah, got it. So, the `__ieee802154_rx_handle_packet` function is the low-level receiver-side function, probably the one that's directly interacting with the hardware and pulling the raw bits off the air. It's handling the initial reception and then, once it has the data, it hands it off to this `ieee802154_parse_frame_start` function for the actual decoding and interpretation. That's a pretty standard and sensible modular design, separates the hardware specific receipt and decoding steps well. Makes debugging and modifying the stack easier. I expect to see the packet's start, like the Frame Control Field, parsed here.



82/4 2026/05/21 22:40 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:__ieee802154_rx_handle_packet]

Results:
map[SourceCode: 334:	static void
 335:	__ieee802154_rx_handle_packet(struct ieee802154_local *local,
 336:				      struct sk_buff *skb)
 337:	{
 338:		int ret;
 339:		struct ieee802154_sub_if_data *sdata;
 340:		struct ieee802154_hdr hdr;
 341:		struct sk_buff *skb2;
 342:	
 343:		ret = ieee802154_parse_frame_start(skb, &hdr);
 344:		if (ret) {
 345:			pr_debug("got invalid frame\n");
 346:			return;
 347:		}
 348:	
 349:		list_for_each_entry_rcu(sdata, &local->interfaces, list) {
 350:			if (sdata->wpan_dev.iftype == NL802154_IFTYPE_MONITOR)
 351:				continue;
 352:	
 353:			if (!ieee802154_sdata_running(sdata))
 354:				continue;
 355:	
 356:			/* Do not deliver packets received on interfaces expecting
 357:			 * AACK=1 if the address filters where disabled.
 358:			 */
 359:			if (local->hw.phy->filtering < IEEE802154_FILTERING_4_FRAME_FIELDS &&
 360:			    sdata->required_filtering == IEEE802154_FILTERING_4_FRAME_FIELDS)
 361:				continue;
 362:	
 363:			skb2 = skb_clone(skb, GFP_ATOMIC);
 364:			if (skb2) {
 365:				skb2->dev = sdata->dev;
 366:				ieee802154_subif_frame(sdata, skb2, &hdr);
 367:			}
 368:		}
 369:	}
 SourceFile:net/mac802154/rx.c]

83/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 20279
							output: 55
							thoughts: 325
						

Thoughts:
**Uninitialized Memory in 802.15.4 Header Parsing**

Okay, so here's the issue I'm seeing.  `struct ieee802154_hdr hdr;` is allocated on the stack, and it's not being initialized, which immediately flags a potential problem.  Then, `ieee802154_parse_frame_start` calls `ieee802154_hdr_pull`, which only copies the first 3 bytes into `hdr`, and then subsequent functions.  It looks like the key piece is that `ieee802154_hdr_get_addrs` is called next, and inside that, `ieee802154_hdr_get_addr` is used for both the destination and source addresses.

Now, if the addressing mode (`mode`) happens to be `IEEE802154_ADDR_NONE`, `ieee802154_hdr_get_addr` will return 0, but it *won't* initialize the `addr->pan_id` field.  And here's where it gets interesting:  `ieee802154_parse_frame_start` then copies `hdr.source` to `cb->source`.  That `cb->source` is actually `mac_cb(skb)->source`, and this uninitialized data flows through.  Ultimately, this `cb->source` is copied to user space in `dgram_recvmsg`. That's a classic information leak right there.

So, the fix is pretty straightforward: we need to initialize `addr->pan_id = 0;` within `ieee802154_hdr_get_addr` whenever `mode == IEEE802154_ADDR_NONE`. That will prevent the uninitialized value from being leaked to userspace.

But let's not stop there. I should probably scan the entire `struct ieee802154_hdr` to see if there are any other uninitialized fields that could potentially be exposed through similar code paths. Always a good practice to be thorough.



84/4 2026/05/21 22:40 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr]

Results:
map[SourceCode: 185:	struct ieee802154_hdr {
 186:		struct ieee802154_hdr_fc fc;
 187:		u8 seq;
 188:		struct ieee802154_addr source;
 189:		struct ieee802154_addr dest;
 190:		struct ieee802154_sechdr sec;
 191:	};
 SourceFile:include/net/ieee802154_netdev.h]

85/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 21292
							output: 54
							thoughts: 345
						

Thoughts:
**Analyzing IEEE 802.15.4 Header Handling**

Okay, so I'm digging into how the IEEE 802.15.4 header is processed, specifically looking at potential information leaks. I see that the fields `fc` and `seq` are set up at the very beginning in `ieee802154_hdr_pull` using `memcpy`. Then, `source` and `dest` get their values from `ieee802154_hdr_get_addrs`. The security header, `sec`, only gets initialized if security is enabled, as determined by `hdr->fc.security_enabled` within `ieee802154_hdr_get_sechdr`.

Now, the `struct ieee802154_addr` is structured in a way that’s important. It contains `mode`, `pan_id`, and then this union for either `short_addr` or `extended_addr`. The interesting thing is that if `mode` is `IEEE802154_ADDR_NONE`, those short/extended addresses *aren’t* even initialized. But, as I've seen in the code, `ieee802154_addr_to_sa` only copies those addresses based on whether the `mode` matches. Which means we should be safe there. The uninitialized `short_addr` or `extended_addr` isn't making its way to user space. Good.

The big question now is about `sec`. That `struct ieee802154_sechdr` gets initialized by `ieee802154_hdr_get_sechdr`. So, is *that* data potentially leaked to user space? I need to track where `sec` is used. Looking at `dgram_recvmsg`, it looks like only the `mac_cb(skb)->source` and `mac_cb(skb)->lqi` are copied to user space. `mac_cb(skb)` is, of course, a `struct ieee802154_mac_cb`. So the security header, `sec`, doesn't seem to be passed up. That's what I needed to confirm.



86/4 2026/05/21 22:40 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:ieee802154_mac_cb]

Results:
map[SourceCode: 381:	/*
 382:	 * A control block of skb passed between the ARPHRD_IEEE802154 device
 383:	 * and other stack parts.
 384:	 */
 385:	struct ieee802154_mac_cb {
 386:		u8 lqi;
 387:		u8 type;
 388:		bool ackreq;
 389:		bool secen;
 390:		bool secen_override;
 391:		u8 seclevel;
 392:		bool seclevel_override;
 393:		struct ieee802154_addr source;
 394:		struct ieee802154_addr dest;
 395:	};
 SourceFile:include/net/ieee802154_netdev.h]

87/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 22437
							output: 59
							thoughts: 190
						

Thoughts:
**Analyzing the Data Copying in `dgram_recvmsg`**

Okay, so in `dgram_recvmsg`, I see that the `source` field from `mac_cb(skb)` is being copied to `saddr->addr`. And, similarly, the `lqi` value from the same `mac_cb(skb)` is being moved to the control message (`cmsg`). The critical thing here is that the `sec` field isn't being explicitly copied to user space. That seems straightforward enough, but I always need to double-check these things.

Now, wait a minute... what happens if the addressing mode (`mode`) is set to `IEEE802154_ADDR_SHORT`? In that scenario, `pan_id` and `short_addr` get initialized. And if the mode is `IEEE802154_ADDR_LONG`, then `pan_id` and `extended_addr` get initialized instead. Okay, so that's two different address types. Hmm... this means `pan_id` is the only field that's unconditionally copied to user space, but there's a problem... it's *not* initialized when the mode is set to `IEEE802154_ADDR_NONE`. That's a potential vulnerability.

I need to re-examine `ieee802154_hdr_get_addr` again with this in mind. It's time to dig deeper and see if this leads to a security issue.



88/4 2026/05/21 22:40 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_addr]

Results:
map[SourceCode: 170:	static int
 171:	ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 172:				struct ieee802154_addr *addr)
 173:	{
 174:		int pos = 0;
 175:	
 176:		addr->mode = mode;
 177:	
 178:		if (mode == IEEE802154_ADDR_NONE)
 179:			return 0;
 180:	
 181:		if (!omit_pan) {
 182:			memcpy(&addr->pan_id, buf + pos, 2);
 183:			pos += 2;
 184:		}
 185:	
 186:		if (mode == IEEE802154_ADDR_SHORT) {
 187:			memcpy(&addr->short_addr, buf + pos, 2);
 188:			return pos + 2;
 189:		} else {
 190:			memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN);
 191:			return pos + IEEE802154_ADDR_LEN;
 192:		}
 193:	}
 SourceFile:net/ieee802154/header_ops.c]

89/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23409
							output: 138
							thoughts: 351
						

Thoughts:
**Analyzing PAN ID Initialization in IEEE 802.15.4 Header Handling**

Okay, let's break this down. My initial concern was whether `pan_id` could be uninitialized when `omit_pan` is true. But looking at the logic, I see a clear path. If `omit_pan` is true, the variable `pan_id` isn't immediately initialized here. However, I'm specifically looking at the cases for both the destination and source addresses.

For the `dest` address, `omit_pan` is always `false` in this particular call, so `dest.pan_id` should always get initialized as long as `dest_addr_mode` isn't `IEEE802154_ADDR_NONE`. And if it *is* `IEEE802154_ADDR_NONE`, our recent fix ensures `dest.pan_id` is initialized to zero. That's good. No issues there.

Now, for the `source` address, `omit_pan` is passed as `hdr->fc.intra_pan`. If `hdr->fc.intra_pan` is true, `source.pan_id` *isn't* initialized directly in `ieee802154_hdr_get_addr`. But, and this is the crucial part, in `ieee802154_hdr_get_addrs` itself, there's the critical line:
```c
	if (hdr->fc.intra_pan)
		hdr->source.pan_id = hdr->dest.pan_id;
```
So, even if `hdr->fc.intra_pan` is true, `source.pan_id` is initialized from `dest.pan_id`, which we just established *is* guaranteed to be initialized, either during header processing or by the zero initialization fix. So, no initialization problems there either. This is safe.

Just to be absolutely certain, let's verify that `ieee802154_hdr_get_addr` isn't used elsewhere with different parameters. We already confirmed, it's only called from `ieee802154_hdr_get_addrs`. Perfect.

Okay, with this analysis complete, it's time to make the code edit I need.



90/4 2026/05/21 22:40 tool codeeditor
0m Args:
map[CurrentCode:	addr->mode = mode;

	if (mode == IEEE802154_ADDR_NONE)
		return 0;

	if (!omit_pan) { NewCode:	addr->mode = mode;

	if (mode == IEEE802154_ADDR_NONE) {
		addr->pan_id = 0;
		return 0;
	}

	if (!omit_pan) { SourceFile:net/ieee802154/header_ops.c]

Results:
map[]

91/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 24413
							output: 31
							thoughts: 7
						

Thoughts:
Okay, I'm ready to dive into that "diff" and give you my expert take. Here's my thought process:

**Diving into the Code Change**

Alright, a diff is in front of me, which means we're looking at a comparison between two versions of some code, config, or data. My first instinct is to zoom in on the most crucial areas of the changes – those likely to have the biggest impact, or where I expect potential problems. I immediately start scanning for:

*   **Core Logic Alterations:** What fundamental algorithms or data structures have been modified? That's always my primary focus.
*   **Dependency Updates:** Any changes to external libraries or APIs? Those can introduce breaking changes or security vulnerabilities if not carefully vetted.
*   **Performance Implications:** Is the change likely to speed things up, slow things down, or introduce any new bottlenecks? I'm looking for anything that could impact throughput or latency.
*   **Security Concerns:** Did the change touch any areas related to authentication, authorization, or data handling? Any red flags there are going to get my immediate attention.
*   **Error Handling:** Are there any new error conditions, and how are they being handled? Proper error management is critical, and often an afterthought that can be improved.
*   **Edge Cases:** I'm mentally testing the changes against scenarios. Any potential edge cases I can see? The diff is likely to show what the developer tested, so I can use that to formulate my own tests.
*   **Stylistic Changes:** Does the code follow our style guide? Consistency is crucial for maintainability.

Now, as I go through the diff, I'm already formulating test cases, potential follow-up questions, and likely refactor suggestions in my head. I'm going to look for any area that is not quite consistent with the standard or the project's standards. My review is going to address what the code does, and what it *should* do, as well as considering if the change is a complete solution.



92/4 2026/05/21 22:40 tool patch-diff
0m Args:
map[File:net/ieee802154/header_ops.c]

Results:
map[Output:diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index 41a556be1..8f2ec62de 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -168,26 +168,28 @@ int ieee802154_beacon_push(struct sk_buff *skb,
 EXPORT_SYMBOL_GPL(ieee802154_beacon_push);
 
 static int
 ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 			struct ieee802154_addr *addr)
 {
 	int pos = 0;
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
 		pos += 2;
 	}
 
 	if (mode == IEEE802154_ADDR_SHORT) {
 		memcpy(&addr->short_addr, buf + pos, 2);
 		return pos + 2;
 	} else {
 		memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN);
 		return pos + IEEE802154_ADDR_LEN;
 	}
 }
]

93/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 25346
							output: 56
							thoughts: 91
						

Thoughts:
Okay, here's my understanding, playing this through in my head:

**Analyzing the Code - A Quick Run-Through**

Alright, that diff *looks* right at first glance. It's a clean change, seems to address the issue. But, hold on a second. I need to make sure I'm not missing something subtle. What about the `mode` variable? It's a critical component in this section, and my gut tells me to investigate that further.

Let's quickly enumerate the possibilities for `mode`. We're dealing with addressing modes here, so it should be one of `IEEE802154_ADDR_NONE`, `IEEE802154_ADDR_SHORT`, or `IEEE802154_ADDR_LONG`. Now, are there *any* other conceivable `mode` values defined anywhere else in the relevant context? I need to rule out any edge cases. Time to quickly double check the definition of `IEEE802154_ADDR_NONE`, just to be certain I have a clear understanding and there aren't any hidden values lurking. Gotta be thorough.



94/4 2026/05/21 22:40 tool codesearch-definition-source
0m Error:
requested entity does not exist

Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:IEEE802154_ADDR_NONE]

Results:
map[SourceCode: SourceFile:]

95/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 25757
							output: 27
							thoughts: 18
						

Thoughts:
Here's my thought process, summarized as you requested:

**Navigating the IEEE 802.15.4 Codebase**

Okay, I need to find where the `IEEE802154_ADDR_NONE` constant is defined and used. That's a pretty standard approach when I'm diving into a codebase I'm not entirely familiar with. I'll use `grep`. It's quick, powerful, and gets straight to the point. No need for fancy IDE features right now; I just need to locate that specific string within the project files. This will be a solid starting point for understanding how the concept of "no address" is handled in this IEEE 802.15.4 implementation. Let's see what `grep` uncovers.



96/4 2026/05/21 22:40 tool grepper
0m Error:
no matches

Args:
map[Expression:#define IEEE802154_ADDR_NONE]

Results:
map[Output:]

97/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 25985
							output: 25
							thoughts: 8
						

Thoughts:
Okay, here's the summary, rendered as a first-person thought process, assuming the user is an expert:

**Enum Recognition**

Right, initial observation complete. Yep, that's an enum. Nothing particularly complex or unexpected at first glance. It's quickly apparent, which helps. Now, depending on the context, I'll need to assess the specific implementation. Is it a standard, idiomatic enum? Are there any clever, potentially non-obvious uses of associated values or recursive structures? Does it leverage any advanced language features or libraries specifically designed to work with enums, or is it a more straightforward declaration? The implications for pattern matching, exhaustiveness checking, and overall code maintainability immediately spring to mind. Time to dive deeper and see what secrets it holds.



98/4 2026/05/21 22:40 tool grepper
0m Args:
map[Expression:IEEE802154_ADDR_NONE]

Results:
map[Output:drivers/net/ieee802154/mac802154_hwsim.c=150=static void hwsim_hw_receive(struct ieee802154_hw *hw, struct sk_buff *skb,
--
drivers/net/ieee802154/mac802154_hwsim.c-227-		     mac_cb(skb)->type == IEEE802154_FC_TYPE_MAC_CMD) &&
drivers/net/ieee802154/mac802154_hwsim.c:228:		    mac_cb(skb)->dest.mode == IEEE802154_ADDR_NONE) {
drivers/net/ieee802154/mac802154_hwsim.c-229-			dev_dbg(hw->parent,
--
include/net/af_ieee802154.h=17=enum {
include/net/af_ieee802154.h:18:	IEEE802154_ADDR_NONE = 0x0,
include/net/af_ieee802154.h-19-	/* RESERVED = 0x01, */
--
include/net/cfg802154.h=265=static inline bool ieee802154_chan_is_valid(struct wpan_phy *phy,
--
include/net/cfg802154.h-278- * @mode: Address mode from frame header. Can be one of:
include/net/cfg802154.h:279: *        - @IEEE802154_ADDR_NONE
include/net/cfg802154.h-280- *        - @IEEE802154_ADDR_SHORT
--
include/net/ieee802154_netdev.h=323=ieee802154_sockaddr_check_size(struct sockaddr_ieee802154 *daddr, int len)
--
include/net/ieee802154_netdev.h-331-	switch (sa->addr_type) {
include/net/ieee802154_netdev.h:332:	case IEEE802154_ADDR_NONE:
include/net/ieee802154_netdev.h-333-		break;
--
net/ieee802154/header_ops.c=15=ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr,
--
net/ieee802154/header_ops.c-19-
net/ieee802154/header_ops.c:20:	if (addr->mode == IEEE802154_ADDR_NONE)
net/ieee802154/header_ops.c-21-		return 0;
--
net/ieee802154/header_ops.c=78=ieee802154_hdr_push(struct sk_buff *skb, struct ieee802154_hdr *hdr)
--
net/ieee802154/header_ops.c-96-	if (hdr->source.pan_id == hdr->dest.pan_id &&
net/ieee802154/header_ops.c:97:	    hdr->dest.mode != IEEE802154_ADDR_NONE)
net/ieee802154/header_ops.c-98-		fc->intra_pan = true;
--
net/ieee802154/header_ops.c=171=ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
--
net/ieee802154/header_ops.c-177-
net/ieee802154/header_ops.c:178:	if (mode == IEEE802154_ADDR_NONE)
net/ieee802154/header_ops.c-179-		return 0;
--
net/ieee802154/header_ops.c=195=static int ieee802154_hdr_addr_len(int mode, bool omit_pan)
--
net/ieee802154/header_ops.c-199-	switch (mode) {
net/ieee802154/header_ops.c:200:	case IEEE802154_ADDR_NONE: return 0;
net/ieee802154/header_ops.c-201-	case IEEE802154_ADDR_SHORT: return 2 + pan_len;
--
net/mac802154/llsec.c=550=llsec_lookup_key(struct mac802154_llsec *sec,
--
net/mac802154/llsec.c-560-	if (key_id_mode == IEEE802154_SCF_KEY_IMPLICIT &&
net/mac802154/llsec.c:561:	    devaddr.mode == IEEE802154_ADDR_NONE) {
net/mac802154/llsec.c-562-		if (hdr->fc.type == IEEE802154_FC_TYPE_BEACON) {
--
net/mac802154/llsec.c=785=llsec_lookup_dev(struct mac802154_llsec *sec,
--
net/mac802154/llsec.c-790-
net/mac802154/llsec.c:791:	if (devaddr.mode == IEEE802154_ADDR_NONE &&
net/mac802154/llsec.c-792-	    llsec_recover_addr(sec, &devaddr) < 0)
--
net/mac802154/rx.c=132=ieee802154_subif_frame(struct ieee802154_sub_if_data *sdata,
--
net/mac802154/rx.c-157-	switch (mac_cb(skb)->dest.mode) {
net/mac802154/rx.c:158:	case IEEE802154_ADDR_NONE:
net/mac802154/rx.c:159:		if (hdr->source.mode == IEEE802154_ADDR_NONE)
net/mac802154/rx.c-160-			/* ACK comes with both addresses empty */
--
net/mac802154/rx.c=257=ieee802154_print_addr(const char *name, const struct ieee802154_addr *addr)
net/mac802154/rx.c-258-{
net/mac802154/rx.c:259:	if (addr->mode == IEEE802154_ADDR_NONE) {
net/mac802154/rx.c-260-		pr_debug("%s not present\n", name);
--
net/mac802154/scan.c=309=int mac802154_process_beacon(struct ieee802154_local *local,
--
net/mac802154/scan.c-320-
net/mac802154/scan.c:321:	if (unlikely(src->mode == IEEE802154_ADDR_NONE))
net/mac802154/scan.c-322-		return -EINVAL;
]

99/4 2026/05/21 22:40 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 28231
							output: 58
							thoughts: 361
						

Thoughts:
**Analyzing IEEE 802.15.4 Address Handling**

Alright, so `IEEE802154_ADDR_NONE` is defined as 0x0. But what if the `mode` variable has a value of 0x1? I need to understand the implications of this. Let's see... looking at `include/net/af_ieee802154.h`, I can see the address modes defined:

```c
enum {
	IEEE802154_ADDR_NONE = 0x0,
	/* RESERVED = 0x01, */
	IEEE802154_ADDR_SHORT = 0x2,
	IEEE802154_ADDR_LONG = 0x3,
};
```

If `mode` is 0x1, which isn't explicitly defined, I'm concerned about the behavior within `ieee802154_hdr_get_addr`.  If `mode` is 0x1, the code would hit the `else` branch in this function:

```c
	if (mode == IEEE802154_ADDR_SHORT) {
		memcpy(&addr->short_addr, buf + pos, 2);
		return pos + 2;
	} else {
		memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN);
		return pos + IEEE802154_ADDR_LEN;
	}
```

This means it would copy `IEEE802154_ADDR_LEN` bytes (which is 8 bytes) into `extended_addr`. Now, this is where it gets interesting... The real question is: is the `mode` variable validated *before* `ieee802154_hdr_get_addr` gets called? I need to check the calling function `ieee802154_hdr_pull` to be sure. Any unvalidated value for mode could lead to unexpected behavior and potentially a vulnerability or error.



100/4 2026/05/21 22:41 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_minlen]

Results:
map[SourceCode: 250:	static int ieee802154_hdr_minlen(const struct ieee802154_hdr *hdr)
 251:	{
 252:		int dlen, slen;
 253:	
 254:		dlen = ieee802154_hdr_addr_len(hdr->fc.dest_addr_mode, false);
 255:		slen = ieee802154_hdr_addr_len(hdr->fc.source_addr_mode,
 256:					       hdr->fc.intra_pan);
 257:	
 258:		if (slen < 0 || dlen < 0)
 259:			return -EINVAL;
 260:	
 261:		return 3 + dlen + slen + hdr->fc.security_enabled;
 262:	}
 SourceFile:net/ieee802154/header_ops.c]

101/4 2026/05/21 22:41 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 29389
							output: 59
							thoughts: 20
						

Thoughts:
Okay, here's my summarized thought process, presented as if I were thinking it:

**Checking `ieee802154_hdr_addr_len`**

Right, let's just make sure we're on the same page. Time to quickly verify the definition of `ieee802154_hdr_addr_len`. I want to make sure I've got the correct understanding of what this macro or variable represents, likely within the context of IEEE 802.15.4 header address length calculation, or some sort of related data structure or memory allocation. A quick review will ensure I can accurately interpret its usage in the code or documentation I'm working with. This is likely a critical parameter for any calculations involving frame sizes, offsets, or parsing of 802.15.4 frames. No surprises, please!



102/4 2026/05/21 22:41 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_addr_len]

Results:
map[SourceCode: 195:	static int ieee802154_hdr_addr_len(int mode, bool omit_pan)
 196:	{
 197:		int pan_len = omit_pan ? 0 : 2;
 198:	
 199:		switch (mode) {
 200:		case IEEE802154_ADDR_NONE: return 0;
 201:		case IEEE802154_ADDR_SHORT: return 2 + pan_len;
 202:		case IEEE802154_ADDR_LONG: return IEEE802154_ADDR_LEN + pan_len;
 203:		default: return -EINVAL;
 204:		}
 205:	}
 SourceFile:net/ieee802154/header_ops.c]

103/4 2026/05/21 22:41 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 29893
							output: 61
							thoughts: 265
						

Thoughts:
**Analyzing IEEE 802.15.4 Header Handling**

Okay, so I'm looking at this code and it seems like `ieee802154_hdr_addr_len` returns `-EINVAL` if the mode is `0x1`. Then, `ieee802154_hdr_pull` checks `ieee802154_hdr_minlen(hdr)`. If *that* returns a value less than zero, `ieee802154_hdr_pull` bails with `-EINVAL` too. Hmm, that suggests `ieee802154_hdr_get_addr` will never even be *called* with a mode of `0x1`. That's important to keep in mind.

Now, hold on... what if `omit_pan` is set to true, but the mode is `IEEE802154_ADDR_NONE`? In that case, `ieee802154_hdr_addr_len` returns zero. Therefore, `ieee802154_hdr_get_addr` also returns zero. That means the `pan_id` is set to zero. That's a valid, but perhaps unexpected, outcome given the different paths. I should verify that this is the intended behavior.

I need to look for any other places where this `struct ieee802154_addr` might be used without proper initialization. Let's see... I'll check `ieee802154_hdr_get_sechdr` next. Gotta cover all the bases.



104/4 2026/05/21 22:41 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_get_sechdr]

Results:
map[SourceCode: 207:	static int
 208:	ieee802154_hdr_get_sechdr(const u8 *buf, struct ieee802154_sechdr *hdr)
 209:	{
 210:		int pos = 5;
 211:	
 212:		memcpy(hdr, buf, 1);
 213:		memcpy(&hdr->frame_counter, buf + 1, 4);
 214:	
 215:		switch (hdr->key_id_mode) {
 216:		case IEEE802154_SCF_KEY_IMPLICIT:
 217:			return pos;
 218:	
 219:		case IEEE802154_SCF_KEY_INDEX:
 220:			break;
 221:	
 222:		case IEEE802154_SCF_KEY_SHORT_INDEX:
 223:			memcpy(&hdr->short_src, buf + pos, 4);
 224:			pos += 4;
 225:			break;
 226:	
 227:		case IEEE802154_SCF_KEY_HW_INDEX:
 228:			memcpy(&hdr->extended_src, buf + pos, IEEE802154_ADDR_LEN);
 229:			pos += IEEE802154_ADDR_LEN;
 230:			break;
 231:		}
 232:	
 233:		hdr->key_id = buf[pos++];
 234:	
 235:		return pos;
 236:	}
 SourceFile:net/ieee802154/header_ops.c]

105/4 2026/05/21 22:41 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 31061
							output: 68
							thoughts: 409
						

Thoughts:
**Analyzing IEEE 802.15.4 Security Header Handling**

Okay, so I'm looking at `ieee802154_hdr_get_sechdr` and I've noticed something. Specifically, it seems like `short_src` and `extended_src` aren't initialized when the `key_id_mode` is either `IEEE802154_SCF_KEY_IMPLICIT` or `IEEE802154_SCF_KEY_INDEX`. That seems a little concerning, but then I remember that `sec` itself isn't being copied to user space, which is good. That eliminates an obvious security hole.

But wait, hold on a second... what about how `ieee802154_addr_to_sa` is used in this context? Let me refresh my memory.

```c
static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
					 const struct ieee802154_addr *a)
{
	sa->addr_type = a->mode;
	sa->pan_id = le16_to_cpu(a->pan_id);

	switch (a->mode) {
	case IEEE802154_ADDR_SHORT:
		sa->short_addr = le16_to_cpu(a->short_addr);
		break;
	case IEEE802154_ADDR_LONG:
		ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr);
		break;
	}
}
```

Okay, right, the function `ieee802154_addr_to_sa` converts the address structure. Now, if `a->mode` is `IEEE802154_ADDR_NONE`, neither `sa->short_addr` nor `sa->hwaddr` will be modified. Since the `saddr` struct is zeroed out *before* the call to `ieee802154_addr_to_sa`, those fields will remain zero. That makes sense, and as far as I can see, that looks safe.

Just to be absolutely certain, let me quickly double-check that there aren't any other callers of `ieee802154_addr_to_sa` that might introduce a different scenario. Always good to be thorough with this kind of thing.



106/4 2026/05/21 22:41 tool codesearch-find-references
0m Args:
map[ContextFile:include/net/ieee802154_netdev.h IncludeSnippetLines:0 Name:ieee802154_addr_to_sa SourceTreePrefix:]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:dgram_recvmsg SourceFile:net/ieee802154/socket.c SourceLine:739]] TruncatedOutput:false]

107/4 2026/05/21 22:41 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 32180
							output: 68
							thoughts: 105
						

Thoughts:
**Focusing on Address Translation and Header Access**

Okay, so I'm honing in on the function `ieee802154_addr_to_sa`. My understanding is that it's *only* ever called by `dgram_recvmsg`. That's a good starting point. But I need to be absolutely certain. Before I move on, I want to confirm my understanding is correct and that I'm not missing anything.

Just to be thorough, I should double-check that there aren't any other callers of that other function, `ieee802154_hdr_get_addr` - I thought I had already looked, but it's important to be complete. Oh, right, I *did* check and it's only `ieee802154_hdr_get_addrs` that uses it.

Alright, now let's make sure I didn't miss something there either. I'm going to quickly re-examine the calls to `ieee802154_hdr_get_addrs`. Once I'm sure of this, I'll be in a good position to understand the whole picture.



108/4 2026/05/21 22:41 tool codesearch-find-references
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeSnippetLines:0 Name:ieee802154_hdr_get_addrs SourceTreePrefix:]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee802154_hdr_peek_addrs SourceFile:net/ieee802154/header_ops.c SourceLine:338] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee802154_hdr_pull SourceFile:net/ieee802154/header_ops.c SourceLine:294]] TruncatedOutput:false]

109/4 2026/05/21 22:41 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 32764
							output: 60
							thoughts: 38
						

Thoughts:
Here's my take on the thought process, as if it were my own:

**Analyzing the 802.15.4 Header Parsing Functions**

Right, so I'm looking at the code related to 802.15.4 header handling, and I've just noticed something. `ieee802154_hdr_peek_addrs` is defined, and it seems to also call `ieee802154_hdr_get_addrs`. That's interesting, because from the name alone, one assumes a peeking function would *internally* use something like the `get` version, to avoid code duplication, but this confirms it. I need to keep that in mind when I dig into the implementation of these functions. What's the design rationale here? Are they doing some preprocessing before the address retrieval, perhaps checking for a specific header type or size? Or is this just a straightforward call to avoid redundancy, with `peek` perhaps adding some extra checks or handling after `get` does its work? Either way, it's a detail worth noting as I continue to dissect the logic.



110/4 2026/05/21 22:41 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_peek_addrs]

Results:
map[SourceCode: 323:	int
 324:	ieee802154_hdr_peek_addrs(const struct sk_buff *skb, struct ieee802154_hdr *hdr)
 325:	{
 326:		const u8 *buf = skb_mac_header(skb);
 327:		int pos = 3, rc;
 328:	
 329:		if (buf + 3 > skb_tail_pointer(skb))
 330:			return -EINVAL;
 331:	
 332:		memcpy(hdr, buf, 3);
 333:	
 334:		rc = ieee802154_hdr_minlen(hdr);
 335:		if (rc < 0 || buf + rc > skb_tail_pointer(skb))
 336:			return -EINVAL;
 337:	
 338:		pos += ieee802154_hdr_get_addrs(buf + pos, hdr);
 339:		return pos;
 340:	}
 SourceFile:net/ieee802154/header_ops.c]

111/4 2026/05/21 22:41 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 33440
							output: 68
							thoughts: 47
						

Thoughts:
**Analyzing the IEEE 802.15.4 Address Peeker**

Okay, so `ieee802154_hdr_peek_addrs` is the function that lets us grab those addresses without modifying the header. Makes sense, that's a pretty fundamental operation. Now, I need to understand its context. Let's see what the calling functions are. I need to trace the usage of `ieee802154_hdr_peek_addrs` to understand when and why it's used. This will tell me what systems rely on the peeker, and potentially where optimizations can be made. Knowing the calling context is key.



112/4 2026/05/21 22:41 tool codesearch-find-references
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeSnippetLines:0 Name:ieee802154_hdr_peek_addrs SourceTreePrefix:]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee802154_hdr_peek SourceFile:net/ieee802154/header_ops.c SourceLine:349] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:lowpan_frag_rcv SourceFile:net/ieee802154/6lowpan/reassembly.c SourceLine:289] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:lowpan_iphc_decompress SourceFile:net/ieee802154/6lowpan/rx.c SourceLine:87] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:mac802154_header_parse SourceFile:net/mac802154/iface.c SourceLine:478]] TruncatedOutput:false]

113/4 2026/05/21 22:41 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 33971
							output: 57
							thoughts: 133
						

Thoughts:
**Addressing Uninitialized Memory in IEEE 802.15.4 Headers**

Okay, so I'm looking at this code and, in these specific scenarios, `hdr` is getting passed to `ieee802154_hdr_peek_addrs`. The important thing here is that if `mode` is set to `IEEE802154_ADDR_NONE`, the destination and source PAN IDs within the `hdr` structure are being initialized to zero. That's actually pretty solid. It’s a good practice to prevent uninitialized memory from causing problems or, even worse, leaking sensitive data.

But now I'm starting to think broader… is this the *only* place where we're addressing potential uninitialized `struct ieee802154_addr` instances? I need to double-check this. What about `ieee802154_hdr_peek`? That function is a key entrypoint, and I need to make sure we're handling this there as well. I'm going to have to go back and examine it to ensure we haven't missed a critical vulnerability.



114/4 2026/05/21 22:41 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/header_ops.c IncludeLines:true Name:ieee802154_hdr_peek]

Results:
map[SourceCode: 343:	int
 344:	ieee802154_hdr_peek(const struct sk_buff *skb, struct ieee802154_hdr *hdr)
 345:	{
 346:		const u8 *buf = skb_mac_header(skb);
 347:		int pos;
 348:	
 349:		pos = ieee802154_hdr_peek_addrs(skb, hdr);
 350:		if (pos < 0)
 351:			return -EINVAL;
 352:	
 353:		if (hdr->fc.security_enabled) {
 354:			u8 key_id_mode = IEEE802154_SCF_KEY_ID_MODE(*(buf + pos));
 355:			int want = pos + ieee802154_sechdr_lengths[key_id_mode];
 356:	
 357:			if (buf + want > skb_tail_pointer(skb))
 358:				return -EINVAL;
 359:	
 360:			pos += ieee802154_hdr_get_sechdr(buf + pos, &hdr->sec);
 361:		}
 362:	
 363:		return pos;
 364:	}
 SourceFile:net/ieee802154/header_ops.c]

115/4 2026/05/21 22:41 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 34812
							output: 56
							thoughts: 1263
						

Thoughts:
**Analyzing Potential Information Leaks in IEEE 802.15.4 Header Handling**

Okay, let's break this down. It looks like I was digging into potential uninitialized memory leaks within the IEEE 802.15.4 header parsing routines, specifically in the context of `ieee802154_hdr_peek`.  This function calls `ieee802154_hdr_peek_addrs` and then `ieee802154_hdr_get_sechdr`, a pattern similar to what we see with `ieee802154_hdr_pull`.

My initial concern was whether fields within `struct ieee802154_addr` might be leaked if they are not properly initialized.  I observed that `short_addr` and `extended_addr` aren't copied when the address mode (`mode`) is `IEEE802154_ADDR_NONE`. But what happens if it's `IEEE802154_ADDR_SHORT` or `IEEE802154_ADDR_LONG`?

I determined that, with `mode == IEEE802154_ADDR_SHORT`, `pan_id` and `short_addr` are initialized, but `extended_addr` remains uninitialized because they're in a union. However, `ieee802154_addr_to_sa` only copies `short_addr` in this case, meaning `extended_addr` is *not* copied.  Similarly, when `mode == IEEE802154_ADDR_LONG`, `pan_id` and `extended_addr` get initialized, but `short_addr` is not, and `ieee802154_addr_to_sa` will only copy the `extended_addr`.  Hence, `short_addr` is not copied.

So, the only field unconditionally copied was `pan_id`, which was the crux of the problem. That's why I added the fix initializing `addr->pan_id` to 0 when `mode == IEEE802154_ADDR_NONE`.

I then reviewed that particular fix to make sure there weren't any other gotchas. Specifically, I considered scenarios where `addr->pan_id` might be left uninitialized elsewhere, like when `omit_pan` is true.

The code block with `omit_pan` reveals that `pan_id` *isn't* initialized if `omit_pan` is true. But, `omit_pan` is only true for the *source* address and then only if `hdr->fc.intra_pan` is set to true. Luckily, I determined that when `omit_pan` is true, immediately after calling `ieee802154_hdr_get_addr`, the code executes `hdr->source.pan_id = hdr->dest.pan_id;`. The destination pan ID is guaranteed to be initialized because `omit_pan` is false for the destination address. This initialization completely covers this case!

I also verified that `ieee802154_hdr_get_addr` is only called from `ieee802154_hdr_get_addrs`, which in turn is called by both `ieee802154_hdr_pull` and `ieee802154_hdr_peek_addrs`, confirming that I'd covered the call chains correctly.

Next, I looked at the overall `struct ieee802154_hdr` to see if *it* had uninitialized fields.  `fc` and `seq` are initialized by the `memcpy` calls in the `hdr_pull` and `hdr_peek_addrs` functions.  `source` and `dest` are initialized by `ieee802154_hdr_get_addrs`. The `sec` (security) field is initialized by `ieee802154_hdr_get_sechdr` only if `hdr->fc.security_enabled` is true; otherwise, it's left uninitialized.

The critical question here is whether the `sec` field is ever copied to user space.  I double-checked `dgram_recvmsg` and found it *only* copies `mac_cb(skb)->source` and `mac_cb(skb)->lqi`. I know that `mac_cb(skb)` is the `ieee802154_mac_cb` struct, and `sec` is *not* part of that struct.

Wait... now that I think about it...


116/4 2026/05/21 22:42 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:ieee802154_parse_frame_start]

Results:
map[SourceCode: 275:	static int
 276:	ieee802154_parse_frame_start(struct sk_buff *skb, struct ieee802154_hdr *hdr)
 277:	{
 278:		int hlen;
 279:		struct ieee802154_mac_cb *cb = mac_cb(skb);
 280:	
 281:		skb_reset_mac_header(skb);
 282:	
 283:		hlen = ieee802154_hdr_pull(skb, hdr);
 284:		if (hlen < 0)
 285:			return -EINVAL;
 286:	
 287:		skb->mac_len = hlen;
 288:	
 289:		pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr->fc),
 290:			 hdr->seq);
 291:	
 292:		cb->type = hdr->fc.type;
 293:		cb->ackreq = hdr->fc.ack_request;
 294:		cb->secen = hdr->fc.security_enabled;
 295:	
 296:		ieee802154_print_addr("destination", &hdr->dest);
 297:		ieee802154_print_addr("source", &hdr->source);
 298:	
 299:		cb->source = hdr->source;
 300:		cb->dest = hdr->dest;
 301:	
 302:		if (hdr->fc.security_enabled) {
 303:			u64 key;
 304:	
 305:			pr_debug("seclevel %i\n", hdr->sec.level);
 306:	
 307:			switch (hdr->sec.key_id_mode) {
 308:			case IEEE802154_SCF_KEY_IMPLICIT:
 309:				pr_debug("implicit key\n");
 310:				break;
 311:	
 312:			case IEEE802154_SCF_KEY_INDEX:
 313:				pr_debug("key %02x\n", hdr->sec.key_id);
 314:				break;
 315:	
 316:			case IEEE802154_SCF_KEY_SHORT_INDEX:
 317:				pr_debug("key %04x:%04x %02x\n",
 318:					 le32_to_cpu(hdr->sec.short_src) >> 16,
 319:					 le32_to_cpu(hdr->sec.short_src) & 0xffff,
 320:					 hdr->sec.key_id);
 321:				break;
 322:	
 323:			case IEEE802154_SCF_KEY_HW_INDEX:
 324:				key = swab64((__force u64)hdr->sec.extended_src);
 325:				pr_debug("key source %8phC %02x\n", &key,
 326:					 hdr->sec.key_id);
 327:				break;
 328:			}
 329:		}
 330:	
 331:		return 0;
 332:	}
 SourceFile:net/mac802154/rx.c]

117/4 2026/05/21 22:42 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 38128
							output: 65
							thoughts: 85
						

Thoughts:
**Analyzing the Control Block Initialization**

Okay, so I'm making progress here. I've got the source and destination addresses nicely assigned: `cb->source = hdr->source;` and `cb->dest = hdr->dest;`. And the basic control block fields like `cb->type`, `cb->ackreq`, and `cb->secen` have been initialized too. Good. But what about `cb->lqi`? Hmm, that's not explicitly set here. Where *is* that Link Quality Indicator field being handled? It's probably being initialized elsewhere, likely within the driver itself. I'd better confirm that though, so I'm going to track down exactly where that initialization happens. I need to make sure everything's consistent.



118/4 2026/05/21 22:42 tool codesearch-find-references
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeSnippetLines:0 Name:ieee802154_mac_cb::lqi SourceTreePrefix:]

Results:
map[References:[map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:dgram_recvmsg SourceFile:net/ieee802154/socket.c SourceLine:745] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:ieee802154_rx_irqsafe SourceFile:net/mac802154/rx.c SourceLine:445] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mac802154_process_beacon SourceFile:net/mac802154/scan.c SourceLine:331]] TruncatedOutput:false]

119/4 2026/05/21 22:42 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 38645
							output: 56
							thoughts: 24
						

Thoughts:
Okay, here's the summary, rendered as if I am the expert thinking it:

**Decoding the Data Frame**

Right, so `ieee802154_rx_irqsafe` is what's responsible for handling incoming data frames, and it seems to specifically write to `lqi`. That's interesting, and worth digging into. Given the function's name and its interaction with `lqi`, my immediate assumption is that this `ieee802154_rx_irqsafe` routine is the interrupt-safe handler for receiving 802.15.4 packets. The `lqi` variable would be the Link Quality Indicator, as expected. I need to understand how the LQI value is being derived, and the impact on my network performance and reliability metrics. Is this just raw RSSI, or is it a more sophisticated calculation using CRC errors, signal-to-noise ratio, or other factors? The interrupt-safe aspect means it's crucial for time-sensitive processing, so I need to assess any potential race conditions, lock contention, or performance bottlenecks in how this LQI data is being updated and used later in the stack. I should review how the LQI is used in routing, frame acknowledgement, and retransmission strategies. This is a critical component of the RX path, and any subtle bug or misinterpretation of LQI could have cascading and difficult-to-debug implications down the line. It demands a closer look.



120/4 2026/05/21 22:42 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:ieee802154_rx_irqsafe]

Results:
map[SourceCode: 439:	void
 440:	ieee802154_rx_irqsafe(struct ieee802154_hw *hw, struct sk_buff *skb, u8 lqi)
 441:	{
 442:		struct ieee802154_local *local = hw_to_local(hw);
 443:		struct ieee802154_mac_cb *cb = mac_cb_init(skb);
 444:	
 445:		cb->lqi = lqi;
 446:		skb->pkt_type = IEEE802154_RX_MSG;
 447:		skb_queue_tail(&local->skb_queue, skb);
 448:		tasklet_schedule(&local->tasklet);
 449:	}
 SourceFile:net/mac802154/rx.c]

121/4 2026/05/21 22:42 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 39295
							output: 47
							thoughts: 44
						

Thoughts:
Okay, here's my interpretation of that thought process, assuming I'm well-versed in this networking code:

**Analyzing the Initialization of a Control Block**

Right, so `mac_cb_init(skb)` is the function call of interest. I know that function is responsible for initializing the control block, which I'm assuming is the packet's control structure within the MAC layer. The comment confirms this by saying that `cb->lqi = lqi;` specifically sets the link quality indicator. That makes perfect sense; `lqi` would naturally be a key field to initialize during the control block setup. Now, I should probably double-check the `mac_cb_init` function itself to be sure that it is initialized the way I think it is and to see what else it might be doing. Let's dive in and take a look at its implementation.



122/4 2026/05/21 22:42 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:mac_cb_init]

Results:
map[SourceCode: 402:	static inline struct ieee802154_mac_cb *mac_cb_init(struct sk_buff *skb)
 403:	{
 404:		BUILD_BUG_ON(sizeof(struct ieee802154_mac_cb) > sizeof(skb->cb));
 405:	
 406:		memset(skb->cb, 0, sizeof(struct ieee802154_mac_cb));
 407:		return mac_cb(skb);
 408:	}
 SourceFile:include/net/ieee802154_netdev.h]

123/4 2026/05/21 22:42 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 39757
							output: 57
							thoughts: 266
						

Thoughts:
**My Analysis of the IEEE 802.15.4 Packet Handling Vulnerability**

Okay, let's break this down. It seems the core issue lies within how the `skb->cb` (control buffer) is initialized and subsequently populated with source address information. Specifically, I've just realized that `mac_cb_init` is responsible for initializing the *entire* `skb->cb` structure, meaning that fields like `cb->source` and `cb->dest` start out as all zeros.

Now, `ieee802154_parse_frame_start` is where the problem creeps in. It copies the `hdr->source` information into `cb->source`. The crucial detail is that the `hdr` structure itself is *allocated on the stack* and is **not** explicitly zeroed out beforehand. This means `hdr` contains whatever stack garbage happens to be residing in that memory location.

Consequently, when we copy `hdr->source` to `cb->source`, the junk value within `hdr->source.pan_id` overwrites the clean zero value that `cb->source.pan_id` had. And here's the kicker: this tainted data, the stack garbage, is then exposed to user space.

The solution seems straightforward: if we were to zero out `hdr` before its fields are populated, this entire infoleak would be eliminated. Wait a minute... if `hdr` *were* zeroed, then `hdr->source.pan_id` would naturally be zero, which is effectively what the suggested fix is doing!

So, the question is, where's the best place to perform this zeroing out? The most logical location would be within `__ieee802154_rx_handle_packet` since that's where `hdr` is initially declared. Let's see...
```c
	struct ieee802154_hdr hdr = {};
```
Yes, that looks perfect.
Let me quickly confirm that with a glance at the surrounding code of `__ieee802154_rx_handle_packet`.



124/4 2026/05/21 22:42 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac802154/rx.c IncludeLines:true Name:__ieee802154_rx_handle_packet]

Results:
map[SourceCode: 334:	static void
 335:	__ieee802154_rx_handle_packet(struct ieee802154_local *local,
 336:				      struct sk_buff *skb)
 337:	{
 338:		int ret;
 339:		struct ieee802154_sub_if_data *sdata;
 340:		struct ieee802154_hdr hdr;
 341:		struct sk_buff *skb2;
 342:	
 343:		ret = ieee802154_parse_frame_start(skb, &hdr);
 344:		if (ret) {
 345:			pr_debug("got invalid frame\n");
 346:			return;
 347:		}
 348:	
 349:		list_for_each_entry_rcu(sdata, &local->interfaces, list) {
 350:			if (sdata->wpan_dev.iftype == NL802154_IFTYPE_MONITOR)
 351:				continue;
 352:	
 353:			if (!ieee802154_sdata_running(sdata))
 354:				continue;
 355:	
 356:			/* Do not deliver packets received on interfaces expecting
 357:			 * AACK=1 if the address filters where disabled.
 358:			 */
 359:			if (local->hw.phy->filtering < IEEE802154_FILTERING_4_FRAME_FIELDS &&
 360:			    sdata->required_filtering == IEEE802154_FILTERING_4_FRAME_FIELDS)
 361:				continue;
 362:	
 363:			skb2 = skb_clone(skb, GFP_ATOMIC);
 364:			if (skb2) {
 365:				skb2->dev = sdata->dev;
 366:				ieee802154_subif_frame(sdata, skb2, &hdr);
 367:			}
 368:		}
 369:	}
 SourceFile:net/mac802154/rx.c]

125/4 2026/05/21 22:42 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 41164
							output: 55
							thoughts: 439
						

Thoughts:
**My Analysis of the IEEE 802.15.4 Header Initialization**

Okay, so we're looking at a potential information leak here related to the `ieee802154_hdr` structure. My initial thought was, if we simply zero out `hdr` where it's allocated, that *would* prevent the leak. However, the root of the problem seems to be the `ieee802154_hdr_get_addr` function and how it handles the `addr->pan_id` field when the address mode is `IEEE802154_ADDR_NONE`. Specifically, `ieee802154_hdr_get_addr` leaves `addr->pan_id` uninitialized in that case, which is concerning because it is a general address parsing function.

My initial instinct is to go for the most robust fix and initialize it within that function. I thought it would be better to ensure `ieee802154_hdr_get_addr` *always* initializes `addr->pan_id` on success. Then I realize, when `mode == IEEE802154_ADDR_NONE`, it *does* return 0, which signifies success. If we just initialize `addr->pan_id = 0;` within that successful condition, we're covering that specific case.

Then, there's the consideration of `short_addr` and `extended_addr`. If we don't initialize those, they remain uninitialized. But, based on the previous analysis, `ieee802154_addr_to_sa` does check the `mode` field, so those uninitialized values are not copied to user space. If we zero out `hdr` in `__ieee802154_rx_handle_packet` we initialize everything, which is safer.

However, the original description proposes initializing `addr->pan_id` to `0` explicitly within `ieee802154_hdr_get_addr` when the address mode is `IEEE802154_ADDR_NONE`. This ensures that no uninitialized memory is ever propagated to user space, so that's what we will do. It seems the safest and most direct approach, as it directly addresses the unconditionally copied field.

Now, a brief, quick check. I'll need to go through all the callers of `ieee802154_hdr_peek_addrs` and to make sure this is the *only* place where the `struct ieee802154_hdr` is allocated on the stack and not initialized. This will ensure we have a complete solution.



126/4 2026/05/21 22:42 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/6lowpan/rx.c IncludeLines:true Name:lowpan_iphc_decompress]

Results:
map[SourceCode:  83:	int lowpan_iphc_decompress(struct sk_buff *skb)
  84:	{
  85:		struct ieee802154_hdr hdr;
  86:	
  87:		if (ieee802154_hdr_peek_addrs(skb, &hdr) < 0)
  88:			return -EINVAL;
  89:	
  90:		return lowpan_header_decompress(skb, skb->dev, &hdr.dest, &hdr.source);
  91:	}
 SourceFile:net/ieee802154/6lowpan/rx.c]

127/4 2026/05/21 22:42 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 42430
							output: 54
							thoughts: 114
						

Thoughts:
**Analyzing Potential Data Corruption in IEEE 802.15.4 Header Handling**

Okay, so I'm looking at this code and immediately I see a potential issue. The `hdr` variable, which appears to be some kind of IEEE 802.15.4 header structure, is allocated on the stack. The problem is, it's not initialized right away. That's a classic source of headaches. Now, the function `ieee802154_hdr_peek_addrs` gets called next, and presumably it populates some fields within `hdr`. However, the code then passes `hdr.dest` and `hdr.source` to `lowpan_header_decompress`. This is where it gets interesting and I need to dig in a bit more.

Specifically, I'm concerned that `ieee802154_hdr_get_addr` within the `ieee802154_hdr_peek_addrs` routine might leave the `pan_id` field within `hdr` uninitialized under certain circumstances. If that happens, then `lowpan_header_decompress` is potentially using an uninitialized `pan_id` value. And since stack memory can contain random values until it's been initialized, that could lead to unpredictable behavior, data corruption, or even security vulnerabilities depending on how `pan_id` is used downstream. This is definitely something that needs to be scrutinized closely. My next step will be to thoroughly examine the implementation of `lowpan_header_decompress` and, more importantly, `ieee802154_hdr_get_addr` to see under what conditions this uninitialized `pan_id` could occur and how it is used.



128/4 2026/05/21 22:42 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/6lowpan/rx.c IncludeLines:true Name:lowpan_header_decompress]

Results:
map[SourceCode: 612:	int lowpan_header_decompress(struct sk_buff *skb, const struct net_device *dev,
 613:				     const void *daddr, const void *saddr)
 614:	{
 615:		struct ipv6hdr hdr = {};
 616:		struct lowpan_iphc_ctx *ci;
 617:		u8 iphc0, iphc1, cid = 0;
 618:		int err;
 619:	
 620:		raw_dump_table(__func__, "raw skb data dump uncompressed",
 621:			       skb->data, skb->len);
 622:	
 623:		if (lowpan_fetch_skb(skb, &iphc0, sizeof(iphc0)) ||
 624:		    lowpan_fetch_skb(skb, &iphc1, sizeof(iphc1)))
 625:			return -EINVAL;
 626:	
 627:		hdr.version = 6;
 628:	
 629:		/* default CID = 0, another if the CID flag is set */
 630:		if (iphc1 & LOWPAN_IPHC_CID) {
 631:			if (lowpan_fetch_skb(skb, &cid, sizeof(cid)))
 632:				return -EINVAL;
 633:		}
 634:	
 635:		err = lowpan_iphc_tf_decompress(skb, &hdr,
 636:						iphc0 & LOWPAN_IPHC_TF_MASK);
 637:		if (err < 0)
 638:			return err;
 639:	
 640:		/* Next Header */
 641:		if (!(iphc0 & LOWPAN_IPHC_NH)) {
 642:			/* Next header is carried inline */
 643:			if (lowpan_fetch_skb(skb, &hdr.nexthdr, sizeof(hdr.nexthdr)))
 644:				return -EINVAL;
 645:	
 646:			pr_debug("NH flag is set, next header carried inline: %02x\n",
 647:				 hdr.nexthdr);
 648:		}
 649:	
 650:		/* Hop Limit */
 651:		if ((iphc0 & LOWPAN_IPHC_HLIM_MASK) != LOWPAN_IPHC_HLIM_00) {
 652:			hdr.hop_limit = lowpan_ttl_values[iphc0 & LOWPAN_IPHC_HLIM_MASK];
 653:		} else {
 654:			if (lowpan_fetch_skb(skb, &hdr.hop_limit,
 655:					     sizeof(hdr.hop_limit)))
 656:				return -EINVAL;
 657:		}
 658:	
 659:		if (iphc1 & LOWPAN_IPHC_SAC) {
 660:			spin_lock_bh(&lowpan_dev(dev)->ctx.lock);
 661:			ci = lowpan_iphc_ctx_get_by_id(dev, LOWPAN_IPHC_CID_SCI(cid));
 662:			if (!ci) {
 663:				spin_unlock_bh(&lowpan_dev(dev)->ctx.lock);
 664:				return -EINVAL;
 665:			}
 666:	
 667:			pr_debug("SAC bit is set. Handle context based source address.\n");
 668:			err = lowpan_iphc_uncompress_ctx_addr(skb, dev, ci, &hdr.saddr,
 669:							      iphc1 & LOWPAN_IPHC_SAM_MASK,
 670:							      saddr);
 671:			spin_unlock_bh(&lowpan_dev(dev)->ctx.lock);
 672:		} else {
 673:			/* Source address uncompression */
 674:			pr_debug("source address stateless compression\n");
 675:			err = lowpan_iphc_uncompress_addr(skb, dev, &hdr.saddr,
 676:							  iphc1 & LOWPAN_IPHC_SAM_MASK,
 677:							  saddr);
 678:		}
 679:	
 680:		/* Check on error of previous branch */
 681:		if (err)
 682:			return -EINVAL;
 683:	
 684:		switch (iphc1 & (LOWPAN_IPHC_M | LOWPAN_IPHC_DAC)) {
 685:		case LOWPAN_IPHC_M | LOWPAN_IPHC_DAC:
 686:			skb->pkt_type = PACKET_BROADCAST;
 687:	
 688:			spin_lock_bh(&lowpan_dev(dev)->ctx.lock);
 689:			ci = lowpan_iphc_ctx_get_by_id(dev, LOWPAN_IPHC_CID_DCI(cid));
 690:			if (!ci) {
 691:				spin_unlock_bh(&lowpan_dev(dev)->ctx.lock);
 692:				return -EINVAL;
 693:			}
 694:	
 695:			/* multicast with context */
 696:			pr_debug("dest: context-based mcast compression\n");
 697:			err = lowpan_uncompress_multicast_ctx_daddr(skb, ci,
 698:								    &hdr.daddr,
 699:								    iphc1 & LOWPAN_IPHC_DAM_MASK);
 700:			spin_unlock_bh(&lowpan_dev(dev)->ctx.lock);
 701:			break;
 702:		case LOWPAN_IPHC_M:
 703:			skb->pkt_type = PACKET_BROADCAST;
 704:	
 705:			/* multicast */
 706:			err = lowpan_uncompress_multicast_daddr(skb, &hdr.daddr,
 707:								iphc1 & LOWPAN_IPHC_DAM_MASK);
 708:			break;
 709:		case LOWPAN_IPHC_DAC:
 710:			skb->pkt_type = PACKET_HOST;
 711:	
 712:			spin_lock_bh(&lowpan_dev(dev)->ctx.lock);
 713:			ci = lowpan_iphc_ctx_get_by_id(dev, LOWPAN_IPHC_CID_DCI(cid));
 714:			if (!ci) {
 715:				spin_unlock_bh(&lowpan_dev(dev)->ctx.lock);
 716:				return -EINVAL;
 717:			}
 718:	
 719:			/* Destination address context based uncompression */
 720:			pr_debug("DAC bit is set. Handle context based destination address.\n");
 721:			err = lowpan_iphc_uncompress_ctx_addr(skb, dev, ci, &hdr.daddr,
 722:							      iphc1 & LOWPAN_IPHC_DAM_MASK,
 723:							      daddr);
 724:			spin_unlock_bh(&lowpan_dev(dev)->ctx.lock);
 725:			break;
 726:		default:
 727:			skb->pkt_type = PACKET_HOST;
 728:	
 729:			err = lowpan_iphc_uncompress_addr(skb, dev, &hdr.daddr,
 730:							  iphc1 & LOWPAN_IPHC_DAM_MASK,
 731:							  daddr);
 732:			pr_debug("dest: stateless compression mode %d dest %pI6c\n",
 733:				 iphc1 & LOWPAN_IPHC_DAM_MASK, &hdr.daddr);
 734:			break;
 735:		}
 736:	
 737:		if (err)
 738:			return -EINVAL;
 739:	
 740:		/* Next header data uncompression */
 741:		if (iphc0 & LOWPAN_IPHC_NH) {
 742:			err = lowpan_nhc_do_uncompression(skb, dev, &hdr);
 743:			if (err < 0)
 744:				return err;
 745:		} else {
 746:			err = skb_cow(skb, sizeof(hdr));
 747:			if (unlikely(err))
 748:				return err;
 749:		}
 750:	
 751:		switch (lowpan_dev(dev)->lltype) {
 752:		case LOWPAN_LLTYPE_IEEE802154:
 753:			if (lowpan_802154_cb(skb)->d_size)
 754:				hdr.payload_len = htons(lowpan_802154_cb(skb)->d_size -
 755:							sizeof(struct ipv6hdr));
 756:			else
 757:				hdr.payload_len = htons(skb->len);
 758:			break;
 759:		default:
 760:			hdr.payload_len = htons(skb->len);
 761:			break;
 762:		}
 763:	
 764:		pr_debug("skb headroom size = %d, data length = %d\n",
 765:			 skb_headroom(skb), skb->len);
 766:	
 767:		pr_debug("IPv6 header dump:\n\tversion = %d\n\tlength  = %d\n\t"
 768:			 "nexthdr = 0x%02x\n\thop_lim = %d\n\tdest    = %pI6c\n",
 769:			hdr.version, ntohs(hdr.payload_len), hdr.nexthdr,
 770:			hdr.hop_limit, &hdr.daddr);
 771:	
 772:		skb_push(skb, sizeof(hdr));
 773:		skb_reset_mac_header(skb);
 774:		skb_reset_network_header(skb);
 775:		skb_copy_to_linear_data(skb, &hdr, sizeof(hdr));
 776:	
 777:		raw_dump_table(__func__, "raw header dump", (u8 *)&hdr, sizeof(hdr));
 778:	
 779:		return 0;
 780:	}
 SourceFile:net/6lowpan/iphc.c]

129/4 2026/05/21 22:42 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 45881
							output: 49
							thoughts: 80
						

Thoughts:
Here's my summary, as the expert:

**Decompressing the IPv6 Header: A Quick Look Under the Hood**

Okay, so I'm diving into this `lowpan_header_decompress` function and it's calling either `lowpan_iphc_uncompress_addr` or `lowpan_iphc_uncompress_ctx_addr`. The important thing here is that it's passing the source and destination addresses, `saddr` and `daddr`, as arguments to those uncompression functions. These are pointers to the `hdr.source` and `hdr.dest` fields in the header struct, which makes perfect sense. I want to quickly refresh my memory on the workings of `lowpan_iphc_uncompress_addr`, so I'm going to take a closer look at that specific function. Let's see how it handles the address compression.



130/4 2026/05/21 22:42 tool codesearch-definition-source
0m Args:
map[ContextFile:net/6lowpan/iphc.c IncludeLines:true Name:lowpan_iphc_uncompress_addr]

Results:
map[SourceCode: 298:	/* Uncompress address function for source and
 299:	 * destination address(non-multicast).
 300:	 *
 301:	 * address_mode is the masked value for sam or dam value
 302:	 */
 303:	static int lowpan_iphc_uncompress_addr(struct sk_buff *skb,
 304:					       const struct net_device *dev,
 305:					       struct in6_addr *ipaddr,
 306:					       u8 address_mode, const void *lladdr)
 307:	{
 308:		bool fail;
 309:	
 310:		switch (address_mode) {
 311:		/* SAM and DAM are the same here */
 312:		case LOWPAN_IPHC_DAM_00:
 313:			/* for global link addresses */
 314:			fail = lowpan_fetch_skb(skb, ipaddr->s6_addr, 16);
 315:			break;
 316:		case LOWPAN_IPHC_SAM_01:
 317:		case LOWPAN_IPHC_DAM_01:
 318:			/* fe:80::XXXX:XXXX:XXXX:XXXX */
 319:			ipaddr->s6_addr[0] = 0xFE;
 320:			ipaddr->s6_addr[1] = 0x80;
 321:			fail = lowpan_fetch_skb(skb, &ipaddr->s6_addr[8], 8);
 322:			break;
 323:		case LOWPAN_IPHC_SAM_10:
 324:		case LOWPAN_IPHC_DAM_10:
 325:			/* fe:80::ff:fe00:XXXX */
 326:			ipaddr->s6_addr[0] = 0xFE;
 327:			ipaddr->s6_addr[1] = 0x80;
 328:			ipaddr->s6_addr[11] = 0xFF;
 329:			ipaddr->s6_addr[12] = 0xFE;
 330:			fail = lowpan_fetch_skb(skb, &ipaddr->s6_addr[14], 2);
 331:			break;
 332:		case LOWPAN_IPHC_SAM_11:
 333:		case LOWPAN_IPHC_DAM_11:
 334:			fail = false;
 335:			switch (lowpan_dev(dev)->lltype) {
 336:			case LOWPAN_LLTYPE_IEEE802154:
 337:				lowpan_iphc_uncompress_802154_lladdr(ipaddr, lladdr);
 338:				break;
 339:			default:
 340:				lowpan_iphc_uncompress_lladdr(dev, ipaddr, lladdr);
 341:				break;
 342:			}
 343:			break;
 344:		default:
 345:			pr_debug("Invalid address mode value: 0x%x\n", address_mode);
 346:			return -EINVAL;
 347:		}
 348:	
 349:		if (fail) {
 350:			pr_debug("Failed to fetch skb data\n");
 351:			return -EIO;
 352:		}
 353:	
 354:		raw_dump_inline(NULL, "Reconstructed ipv6 addr is",
 355:				ipaddr->s6_addr, 16);
 356:	
 357:		return 0;
 358:	}
 SourceFile:net/6lowpan/iphc.c]

131/4 2026/05/21 22:42 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 47240
							output: 57
							thoughts: 43
						

Thoughts:
Okay, here's my interpretation of that thought process, tailored for an expert audience, and written in the first person:

**Decoding IPHC: Source or Destination LowPAN Link Layer Address**

Alright, so the core of the matter is the `lowpan_iphc_uncompress_802154_lladdr` function call. I immediately zero in on the arguments. Specifically, it's taking `lladdr`, and this is where the interesting bit is. That `lladdr` is *either* `&hdr.source` or `&hdr.dest`. This clearly indicates that we're dealing with the uncompression of either the source or destination link-layer address from an 802.15.4 frame, within the context of IPHC (IPv6 Header Compression). The fact that this function is being called for these addresses implies we're in the low-power wireless world, probably 6LoWPAN. Knowing whether it's the source or destination is critical for correctly parsing the compressed header – source and destination addresses often have different compression context and encoding schemes. This is fundamental for correctly reconstructing the full IPv6 header from the compressed format.



132/4 2026/05/21 22:42 tool codesearch-definition-source
0m Args:
map[ContextFile:net/6lowpan/iphc.c IncludeLines:true Name:lowpan_iphc_uncompress_802154_lladdr]

Results:
map[SourceCode: 156:	static inline void
 157:	lowpan_iphc_uncompress_802154_lladdr(struct in6_addr *ipaddr,
 158:					     const void *lladdr)
 159:	{
 160:		const struct ieee802154_addr *addr = lladdr;
 161:		u8 eui64[EUI64_ADDR_LEN];
 162:	
 163:		switch (addr->mode) {
 164:		case IEEE802154_ADDR_LONG:
 165:			ieee802154_le64_to_be64(eui64, &addr->extended_addr);
 166:			lowpan_iphc_uncompress_eui64_lladdr(ipaddr, eui64);
 167:			break;
 168:		case IEEE802154_ADDR_SHORT:
 169:			/* fe:80::ff:fe00:XXXX
 170:			 *                \__/
 171:			 *             short_addr
 172:			 *
 173:			 * Universe/Local bit is zero.
 174:			 */
 175:			ipaddr->s6_addr[0] = 0xFE;
 176:			ipaddr->s6_addr[1] = 0x80;
 177:			ipaddr->s6_addr[11] = 0xFF;
 178:			ipaddr->s6_addr[12] = 0xFE;
 179:			ieee802154_le16_to_be16(&ipaddr->s6_addr16[7],
 180:						&addr->short_addr);
 181:			break;
 182:		default:
 183:			/* should never handled and filtered by 802154 6lowpan */
 184:			WARN_ON_ONCE(1);
 185:			break;
 186:		}
 187:	}
 SourceFile:net/6lowpan/iphc.c]

133/4 2026/05/21 22:42 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 48182
							output: 51
							thoughts: 137
						

Thoughts:
**Analyzing IPHC Uncompression Functions**

Okay, let's break this down. My initial observation is focused on `lowpan_iphc_uncompress_802154_lladdr`. It's pretty straightforward, actually. The function smartly selects between `extended_addr` and `short_addr` based on the `mode` parameter. Long address mode gets the extended, short mode gets the short. The code clearly bypasses `pan_id`, which is what I would expect in this context. And the `IEEE802154_ADDR_NONE` case rightfully triggers the `WARN_ON_ONCE(1)`. Seems sensible, and from this isolated perspective, safe.

Now, I need to shift gears. This is just one piece of the puzzle. I need to now compare this function to the `lowpan_iphc_uncompress_ctx_addr` function, to confirm the same behavior.



134/4 2026/05/21 22:43 tool codesearch-definition-source
0m Args:
map[ContextFile:net/6lowpan/iphc.c IncludeLines:true Name:lowpan_iphc_uncompress_ctx_addr]

Results:
map[SourceCode: 360:	/* Uncompress address function for source context
 361:	 * based address(non-multicast).
 362:	 */
 363:	static int lowpan_iphc_uncompress_ctx_addr(struct sk_buff *skb,
 364:						   const struct net_device *dev,
 365:						   const struct lowpan_iphc_ctx *ctx,
 366:						   struct in6_addr *ipaddr,
 367:						   u8 address_mode, const void *lladdr)
 368:	{
 369:		bool fail;
 370:	
 371:		switch (address_mode) {
 372:		/* SAM and DAM are the same here */
 373:		case LOWPAN_IPHC_DAM_00:
 374:			fail = false;
 375:			/* SAM_00 -> unspec address ::
 376:			 * Do nothing, address is already ::
 377:			 *
 378:			 * DAM 00 -> reserved should never occur.
 379:			 */
 380:			break;
 381:		case LOWPAN_IPHC_SAM_01:
 382:		case LOWPAN_IPHC_DAM_01:
 383:			fail = lowpan_fetch_skb(skb, &ipaddr->s6_addr[8], 8);
 384:			ipv6_addr_prefix_copy(ipaddr, &ctx->pfx, ctx->plen);
 385:			break;
 386:		case LOWPAN_IPHC_SAM_10:
 387:		case LOWPAN_IPHC_DAM_10:
 388:			ipaddr->s6_addr[11] = 0xFF;
 389:			ipaddr->s6_addr[12] = 0xFE;
 390:			fail = lowpan_fetch_skb(skb, &ipaddr->s6_addr[14], 2);
 391:			ipv6_addr_prefix_copy(ipaddr, &ctx->pfx, ctx->plen);
 392:			break;
 393:		case LOWPAN_IPHC_SAM_11:
 394:		case LOWPAN_IPHC_DAM_11:
 395:			fail = false;
 396:			switch (lowpan_dev(dev)->lltype) {
 397:			case LOWPAN_LLTYPE_IEEE802154:
 398:				lowpan_iphc_uncompress_802154_lladdr(ipaddr, lladdr);
 399:				break;
 400:			default:
 401:				lowpan_iphc_uncompress_lladdr(dev, ipaddr, lladdr);
 402:				break;
 403:			}
 404:			ipv6_addr_prefix_copy(ipaddr, &ctx->pfx, ctx->plen);
 405:			break;
 406:		default:
 407:			pr_debug("Invalid sam value: 0x%x\n", address_mode);
 408:			return -EINVAL;
 409:		}
 410:	
 411:		if (fail) {
 412:			pr_debug("Failed to fetch skb data\n");
 413:			return -EIO;
 414:		}
 415:	
 416:		raw_dump_inline(NULL,
 417:				"Reconstructed context based ipv6 src addr is",
 418:				ipaddr->s6_addr, 16);
 419:	
 420:		return 0;
 421:	}
 SourceFile:net/6lowpan/iphc.c]

135/4 2026/05/21 22:43 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 49600
							output: 60
							thoughts: 612
						

Thoughts:
**Analyzing Potential Information Leaks in IEEE 802.15.4 Address Handling**

Okay, so I'm digging into this code, specifically around the `dgram_recvmsg` function in relation to the IEEE 802.15.4 stack. It looks like it calls `lowpan_iphc_uncompress_802154_lladdr`, but the `pan_id` field isn't used there. The only place I've identified where `pan_id` might be problematic is within `ieee802154_addr_to_sa`, which is called from `dgram_recvmsg`. However, my fix ensures that `pan_id` is correctly initialized to 0 when `mode == IEEE802154_ADDR_NONE`, mitigating this specific concern.

Now, I need to check for other potential info leaks related to uninitialized fields within the `struct sockaddr_ieee802154` structure. Let's take a look:

```c
struct sockaddr_ieee802154 {
	sa_family_t family; /* AF_IEEE802154 */
	struct ieee802154_addr_sa addr;
};

struct ieee802154_addr_sa {
	int addr_type;
	u16 pan_id;
	union {
		u8 hwaddr[IEEE802154_ADDR_LEN];
		u16 short_addr;
	};
};
```

In `dgram_recvmsg`, I see that `saddr` is fully zeroed out using `memset`. Then, the `family` field is set, and `ieee802154_addr_to_sa` populates `addr_type`, `pan_id`, and either `hwaddr` or `short_addr`. Since `saddr` is initially zeroed, any padding bytes or uninitialized union fields will default to 0. Therefore, I don't see any other info leaks originating from the `saddr` structure itself.

But wait a minute... what about the ancillary data, the `cmsg`? The code includes this:

```c
	if (ro->want_lqi) {
		err = put_cmsg(msg, SOL_IEEE802154, WPAN_WANTLQI,
			       sizeof(uint8_t), &(mac_cb(skb)->lqi));
		if (err)
			goto done;
	}
```

Okay, it looks like `mac_cb(skb)->lqi` is initialized in `ieee802154_rx_irqsafe`. I need to verify if there's any other code path that *doesn't* initialize `lqi`. I'll have to investigate that to make sure there are no issues. Looking at `mac802154_hwsim.c`...



136/4 2026/05/21 22:43 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/ieee802154/mac802154_hwsim.c IncludeLines:true Name:hwsim_hw_receive]

Results:
map[SourceCode: 150:	static void hwsim_hw_receive(struct ieee802154_hw *hw, struct sk_buff *skb,
 151:				     u8 lqi)
 152:	{
 153:		struct ieee802154_hdr hdr;
 154:		struct hwsim_phy *phy = hw->priv;
 155:		struct hwsim_pib *pib;
 156:	
 157:		rcu_read_lock();
 158:		pib = rcu_dereference(phy->pib);
 159:	
 160:		if (!pskb_may_pull(skb, 3)) {
 161:			dev_dbg(hw->parent, "invalid frame\n");
 162:			goto drop;
 163:		}
 164:	
 165:		memcpy(&hdr, skb->data, 3);
 166:	
 167:		/* Level 4 filtering: Frame fields validity */
 168:		if (pib->filt_level == IEEE802154_FILTERING_4_FRAME_FIELDS) {
 169:			/* a) Drop reserved frame types */
 170:			switch (mac_cb(skb)->type) {
 171:			case IEEE802154_FC_TYPE_BEACON:
 172:			case IEEE802154_FC_TYPE_DATA:
 173:			case IEEE802154_FC_TYPE_ACK:
 174:			case IEEE802154_FC_TYPE_MAC_CMD:
 175:				break;
 176:			default:
 177:				dev_dbg(hw->parent, "unrecognized frame type 0x%x\n",
 178:					mac_cb(skb)->type);
 179:				goto drop;
 180:			}
 181:	
 182:			/* b) Drop reserved frame versions */
 183:			switch (hdr.fc.version) {
 184:			case IEEE802154_2003_STD:
 185:			case IEEE802154_2006_STD:
 186:			case IEEE802154_STD:
 187:				break;
 188:			default:
 189:				dev_dbg(hw->parent,
 190:					"unrecognized frame version 0x%x\n",
 191:					hdr.fc.version);
 192:				goto drop;
 193:			}
 194:	
 195:			/* c) PAN ID constraints */
 196:			if ((mac_cb(skb)->dest.mode == IEEE802154_ADDR_LONG ||
 197:			     mac_cb(skb)->dest.mode == IEEE802154_ADDR_SHORT) &&
 198:			    mac_cb(skb)->dest.pan_id != pib->filt.pan_id &&
 199:			    mac_cb(skb)->dest.pan_id != cpu_to_le16(IEEE802154_PANID_BROADCAST)) {
 200:				dev_dbg(hw->parent,
 201:					"unrecognized PAN ID %04x\n",
 202:					le16_to_cpu(mac_cb(skb)->dest.pan_id));
 203:				goto drop;
 204:			}
 205:	
 206:			/* d1) Short address constraints */
 207:			if (mac_cb(skb)->dest.mode == IEEE802154_ADDR_SHORT &&
 208:			    mac_cb(skb)->dest.short_addr != pib->filt.short_addr &&
 209:			    mac_cb(skb)->dest.short_addr != cpu_to_le16(IEEE802154_ADDR_BROADCAST)) {
 210:				dev_dbg(hw->parent,
 211:					"unrecognized short address %04x\n",
 212:					le16_to_cpu(mac_cb(skb)->dest.short_addr));
 213:				goto drop;
 214:			}
 215:	
 216:			/* d2) Extended address constraints */
 217:			if (mac_cb(skb)->dest.mode == IEEE802154_ADDR_LONG &&
 218:			    mac_cb(skb)->dest.extended_addr != pib->filt.ieee_addr) {
 219:				dev_dbg(hw->parent,
 220:					"unrecognized long address 0x%016llx\n",
 221:					mac_cb(skb)->dest.extended_addr);
 222:				goto drop;
 223:			}
 224:	
 225:			/* d4) Specific PAN coordinator case (no parent) */
 226:			if ((mac_cb(skb)->type == IEEE802154_FC_TYPE_DATA ||
 227:			     mac_cb(skb)->type == IEEE802154_FC_TYPE_MAC_CMD) &&
 228:			    mac_cb(skb)->dest.mode == IEEE802154_ADDR_NONE) {
 229:				dev_dbg(hw->parent,
 230:					"relaying is not supported\n");
 231:				goto drop;
 232:			}
 233:	
 234:			/* e) Beacon frames follow specific PAN ID rules */
 235:			if (mac_cb(skb)->type == IEEE802154_FC_TYPE_BEACON &&
 236:			    pib->filt.pan_id != cpu_to_le16(IEEE802154_PANID_BROADCAST) &&
 237:			    mac_cb(skb)->dest.pan_id != pib->filt.pan_id) {
 238:				dev_dbg(hw->parent,
 239:					"invalid beacon PAN ID %04x\n",
 240:					le16_to_cpu(mac_cb(skb)->dest.pan_id));
 241:				goto drop;
 242:			}
 243:		}
 244:	
 245:		rcu_read_unlock();
 246:	
 247:		ieee802154_rx_irqsafe(hw, skb, lqi);
 248:	
 249:		return;
 250:	
 251:	drop:
 252:		rcu_read_unlock();
 253:		kfree_skb(skb);
 254:	}
 SourceFile:drivers/net/ieee802154/mac802154_hwsim.c]

137/4 2026/05/21 22:43 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 52816
							output: 28
							thoughts: 1175
						

Thoughts:
**Analyzing the IEEE 802.15.4 Address Handling**

Okay, so `hwsim_hw_receive` calls `ieee802154_rx_irqsafe`, which passes and initializes `lqi`. Got it. Now, let's revisit the fix:

```c
	if (mode == IEEE802154_ADDR_NONE) {
		addr->pan_id = 0;
		return 0;
	}
```

This looks spot-on; it directly addresses the uninitialized `pan_id` when `mode` is `IEEE802154_ADDR_NONE`. But, let's not be too hasty; we need to perform a thorough check.

Now, let's scrutinize for other potential leaks from the `struct ieee802154_addr`:

```c
struct ieee802154_addr {
	u8 mode;
	__le16 pan_id;
	union {
		__le16 short_addr;
		__le64 extended_addr;
	};
};
```

If `mode` is `IEEE802154_ADDR_NONE`, the `short_addr` and `extended_addr` fields are indeed uninitialized. However, `ieee802154_addr_to_sa` doesn't copy them in this scenario. If `mode` is `IEEE802154_ADDR_SHORT`, `short_addr` is initialized, but `extended_addr` isn't. But, `ieee802154_addr_to_sa` only copies `short_addr`. If `mode` is `IEEE802154_ADDR_LONG`, `extended_addr` is initialized, but `short_addr` isn't. And again, `ieee802154_addr_to_sa` only copies `extended_addr`. So it looks like there aren't any other uninitialized fields leaking out.

Alright, let's step back and consider other initialization points:

```c
static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
					 const struct ieee802154_addr *a)
{
	sa->addr_type = a->mode;
	sa->pan_id = le16_to_cpu(a->pan_id);

	switch (a->mode) {
	case IEEE802154_ADDR_SHORT:
		sa->short_addr = le16_to_cpu(a->short_addr);
		break;
	case IEEE802154_ADDR_LONG:
		ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr);
		break;
	}
}
```

Hold on a second. What if `a->mode` is invalid (e.g., 0x1)? The previous code checks mean that `mode` is either `IEEE802154_ADDR_NONE`, `IEEE802154_ADDR_SHORT`, or `IEEE802154_ADDR_LONG` - so, this is safe.

Now, consider the case when `a->mode` is `IEEE802154_ADDR_NONE`. In this scenario, `sa->short_addr` and `sa->hwaddr` aren't initialized by `ieee802154_addr_to_sa`. However, `saddr` is zeroed out in `dgram_recvmsg`, so any uninitialized memory within these fields remains zero. This is safe.

If `a->mode` is `IEEE802154_ADDR_SHORT`, `sa->short_addr` gets initialized. What about `sa->hwaddr`?

```c
struct ieee802154_addr_sa {
	int addr_type;
	u16 pan_id;
	union {
		u8 hwaddr[IEEE802154_ADDR_LEN];
		u16 short_addr;
	};
};
```

`IEEE802154_ADDR_LEN` is 8. `short_addr` is 2 bytes. If `sa->short_addr` is initialized, the remaining 6 bytes of `hwaddr` are not initialized by `ieee802154_addr


138/4 2026/05/21 22:43 tool grepper
0m Args:
map[Expression:ieee802154_addr_to_sa]

Results:
map[Output:include/net/ieee802154_netdev.h=349=static inline void ieee802154_addr_from_sa(struct ieee802154_addr *a,
--
include/net/ieee802154_netdev.h-364-
include/net/ieee802154_netdev.h:365:static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
include/net/ieee802154_netdev.h-366-					 const struct ieee802154_addr *a)
--
net/ieee802154/socket.c=705=static int dgram_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
--
net/ieee802154/socket.c-738-		saddr->family = AF_IEEE802154;
net/ieee802154/socket.c:739:		ieee802154_addr_to_sa(&saddr->addr, &mac_cb(skb)->source);
net/ieee802154/socket.c-740-		msg->msg_namelen = sizeof(*saddr);
]

139/4 2026/05/21 22:43 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 55401
							output: 47
							thoughts: 18
						

Thoughts:
Okay, here's my take on those thoughts, framed as an expert's internal monologue:

**Focusing on Datagram Receives**

Right, so, the focus here seems to be on `dgram_recvmsg`. That's a reasonable starting point, especially if we're dealing with a specific datagram-oriented task. I'm immediately thinking, "Okay, what's the context? Are we optimizing for a particular protocol, or looking at performance bottlenecks in a datagram-heavy application?". `dgram_recvmsg` is generally efficient but can still be tweaked depending on the hardware and the use case.

But, hang on a second... are we *only* considering `dgram_recvmsg`? It feels like we are missing an important part of the puzzle. What about `raw_recvmsg`? Are we handling low-level network interactions? Raw sockets allow us a more direct view, and control over the packets. Are we working on something that requires direct IP layer access? Could there be a situation where we're crafting custom headers or dealing with ICMP messages?

The difference between datagram and raw sockets is crucial. I need to understand why we're specifically homing in on the datagram-specific receive function. The implication is, potentially, we're overlooking a broader view. Are we missing a crucial piece of the architecture?



140/4 2026/05/21 22:43 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/socket.c IncludeLines:true Name:raw_recvmsg]

Results:
map[SourceCode: 315:	static int raw_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
 316:			       int flags)
 317:	{
 318:		size_t copied = 0;
 319:		int err = -EOPNOTSUPP;
 320:		struct sk_buff *skb;
 321:	
 322:		skb = skb_recv_datagram(sk, flags, &err);
 323:		if (!skb)
 324:			goto out;
 325:	
 326:		copied = skb->len;
 327:		if (len < copied) {
 328:			msg->msg_flags |= MSG_TRUNC;
 329:			copied = len;
 330:		}
 331:	
 332:		err = skb_copy_datagram_msg(skb, 0, msg, copied);
 333:		if (err)
 334:			goto done;
 335:	
 336:		sock_recv_cmsgs(msg, sk, skb);
 337:	
 338:		if (flags & MSG_TRUNC)
 339:			copied = skb->len;
 340:	done:
 341:		skb_free_datagram(sk, skb);
 342:	out:
 343:		if (err)
 344:			return err;
 345:		return copied;
 346:	}
 SourceFile:net/ieee802154/socket.c]

141/4 2026/05/21 22:43 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 56214
							output: 49
							thoughts: 75
						

Thoughts:
**Examining the Behavior of `raw_recvmsg` and Socket Addressing**

Okay, so I'm digging into how `raw_recvmsg` handles socket addresses. My initial thought is that it doesn't actually copy the `saddr` information. Wait a second... am I understanding this correctly? Is `msg->msg_name` left unpopulated by `raw_recvmsg`? It seems like it, based on the code I'm looking at. I need to be sure.

Alright, let's pivot and consider how address retrieval works with other datagram-oriented functions. Let's look at `dgram_getsockname` since the goal is to confirm whether the issue is related to `raw_recvmsg` or a more general behavior. Let's see what's happening there. I need to analyze `dgram_getsockname`.



142/4 2026/05/21 22:43 tool codesearch-definition-source
0m Error:
requested entity does not exist

Args:
map[ContextFile:net/ieee802154/socket.c IncludeLines:true Name:dgram_getsockname]

Results:
map[SourceCode: SourceFile:]

143/4 2026/05/21 22:43 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 56544
							output: 17
							thoughts: 26
						

Thoughts:
Here's my thought process, summarized as if I were considering the code:

**Checking `getsockname` in the 802.15.4 Socket Implementation**

Okay, I need to understand how `getsockname` is implemented for 802.15.4 sockets in this kernel. Let's start by looking directly at the source code – specifically, `net/ieee802154/socket.c`. That file is the most likely place to find the actual function definition or at least the relevant calls related to this. I'll need to see how the kernel handles retrieving the local address information for an 802.15.4 socket. It'll be interesting to see if they are doing this in the same way as other protocols like TCP/IP, or if there is a divergence due to the unique characteristics of 802.15.4, like PAN IDs and short addresses. I expect there might be specific structures or helper functions within that file to deal with the 802.15.4 addressing scheme. I am hoping to get insight into its structure, what the typical data extraction flow looks like, and what relevant structures are being used in order to support my current task. I'll focus on the function itself and any data structures it interacts with.



144/4 2026/05/21 22:43 tool grepper
0m Args:
map[Expression:getsockname]

Results:
map[Output:
Full output is too long, showing 500 out of 1313 lines.
Use more precise expression if possible.

[Documentation/bpf/libbpf/program_types.rst=18=described in more detail in the footnotes.
 --
 Documentation/bpf/libbpf/program_types.rst-41-+                                           +----------------------------------------+----------------------------------+-----------+
 Documentation/bpf/libbpf/program_types.rst:42:|                                           | ``BPF_CGROUP_INET4_GETSOCKNAME``       | ``cgroup/getsockname4``          |           |
 Documentation/bpf/libbpf/program_types.rst-43-+                                           +----------------------------------------+----------------------------------+-----------+
 --
 Documentation/bpf/libbpf/program_types.rst-49-+                                           +----------------------------------------+----------------------------------+-----------+
 Documentation/bpf/libbpf/program_types.rst:50:|                                           | ``BPF_CGROUP_INET6_GETSOCKNAME``       | ``cgroup/getsockname6``          |           |
 Documentation/bpf/libbpf/program_types.rst-51-+                                           +----------------------------------------+----------------------------------+-----------+
 --
 Documentation/bpf/libbpf/program_types.rst-67-|                                           +----------------------------------------+----------------------------------+-----------+
 Documentation/bpf/libbpf/program_types.rst:68:|                                           | ``BPF_CGROUP_UNIX_GETSOCKNAME``        | ``cgroup/getsockname_unix``      |           |
 Documentation/bpf/libbpf/program_types.rst-69-+-------------------------------------------+----------------------------------------+----------------------------------+-----------+
 --
 Documentation/networking/j1939.rst=1005=codes and those derived from protocol-specific abort codes.
 --
 Documentation/networking/j1939.rst-1031-
 Documentation/networking/j1939.rst:1032:  - When attempting to use ``getsockname(2)`` to retrieve the peer's address,
 Documentation/networking/j1939.rst-1033-    but the socket is not connected.
 --
 Documentation/networking/phonet.rst=90=The resource field is only used when sending and receiving;
 Documentation/networking/phonet.rst:91:It is ignored by bind() and getsockname().
 Documentation/networking/phonet.rst-92-
 --
 Documentation/trace/histogram.rst=5=Documentation written by Tom Zanussi
 --
 Documentation/trace/histogram.rst-716-    { id: sys_bind                      [ 49] } hitcount:          3
 Documentation/trace/histogram.rst:717:    { id: sys_getsockname               [ 51] } hitcount:          3
 Documentation/trace/histogram.rst-718-    { id: sys_unlink                    [ 87] } hitcount:          3
 --
 arch/alpha/kernel/syscalls/syscall.tbl-41-31	common	osf_ngetpeername		sys_ni_syscall
 arch/alpha/kernel/syscalls/syscall.tbl:42:32	common	osf_ngetsockname		sys_ni_syscall
 arch/alpha/kernel/syscalls/syscall.tbl-43-33	common	access				sys_access
 --
 arch/alpha/kernel/syscalls/syscall.tbl-157-149	common	osf_oldquota			sys_ni_syscall
 arch/alpha/kernel/syscalls/syscall.tbl:158:150	common	getsockname			sys_getsockname
 arch/alpha/kernel/syscalls/syscall.tbl-159-153	common	osf_pid_block			sys_ni_syscall
 --
 arch/arm/tools/syscall.tbl-303-285	common	accept			sys_accept
 arch/arm/tools/syscall.tbl:304:286	common	getsockname		sys_getsockname
 arch/arm/tools/syscall.tbl-305-287	common	getpeername		sys_getpeername
 --
 arch/arm64/tools/syscall_32.tbl-300-285	common	accept			sys_accept
 arch/arm64/tools/syscall_32.tbl:301:286	common	getsockname		sys_getsockname
 arch/arm64/tools/syscall_32.tbl-302-287	common	getpeername		sys_getpeername
 --
 arch/m68k/kernel/syscalls/syscall.tbl-373-363	common	setsockopt			sys_setsockopt
 arch/m68k/kernel/syscalls/syscall.tbl:374:364	common	getsockname			sys_getsockname
 arch/m68k/kernel/syscalls/syscall.tbl-375-365	common	getpeername			sys_getpeername
 --
 arch/microblaze/kernel/syscalls/syscall.tbl-360-350	common	connect				sys_connect
 arch/microblaze/kernel/syscalls/syscall.tbl:361:351	common	getsockname			sys_getsockname
 arch/microblaze/kernel/syscalls/syscall.tbl-362-352	common	getpeername			sys_getpeername
 --
 arch/mips/kernel/syscalls/syscall_n32.tbl-59-49	n32	listen				sys_listen
 arch/mips/kernel/syscalls/syscall_n32.tbl:60:50	n32	getsockname			sys_getsockname
 arch/mips/kernel/syscalls/syscall_n32.tbl-61-51	n32	getpeername			sys_getpeername
 --
 arch/mips/kernel/syscalls/syscall_n64.tbl-59-49	n64	listen				sys_listen
 arch/mips/kernel/syscalls/syscall_n64.tbl:60:50	n64	getsockname			sys_getsockname
 arch/mips/kernel/syscalls/syscall_n64.tbl-61-51	n64	getpeername			sys_getpeername
 --
 arch/mips/kernel/syscalls/syscall_o32.tbl-185-171	o32	getpeername			sys_getpeername
 arch/mips/kernel/syscalls/syscall_o32.tbl:186:172	o32	getsockname			sys_getsockname
 arch/mips/kernel/syscalls/syscall_o32.tbl-187-173	o32	getsockopt			sys_getsockopt			sys_getsockopt
 --
 arch/parisc/kernel/syscalls/syscall.tbl-56-43	common	times			sys_times			compat_sys_times
 arch/parisc/kernel/syscalls/syscall.tbl:57:44	common	getsockname		sys_getsockname
 arch/parisc/kernel/syscalls/syscall.tbl-58-45	common	brk			sys_brk
 --
 arch/powerpc/kernel/syscalls/syscall.tbl-430-330	common	accept				sys_accept
 arch/powerpc/kernel/syscalls/syscall.tbl:431:331	common	getsockname			sys_getsockname
 arch/powerpc/kernel/syscalls/syscall.tbl-432-332	common	getpeername			sys_getpeername
 --
 arch/s390/kernel/syscalls/syscall.tbl-320-366	common	setsockopt			sys_setsockopt
 arch/s390/kernel/syscalls/syscall.tbl:321:367	common	getsockname			sys_getsockname
 arch/s390/kernel/syscalls/syscall.tbl-322-368	common	getpeername			sys_getpeername
 --
 arch/sh/kernel/syscalls/syscall.tbl-354-344	common	accept				sys_accept
 arch/sh/kernel/syscalls/syscall.tbl:355:345	common	getsockname			sys_getsockname
 arch/sh/kernel/syscalls/syscall.tbl-356-346	common	getpeername			sys_getpeername
 --
 arch/sparc/kernel/syscalls/syscall.tbl-186-149	common	pciconfig_write		sys_pciconfig_write
 arch/sparc/kernel/syscalls/syscall.tbl:187:150	common	getsockname		sys_getsockname
 arch/sparc/kernel/syscalls/syscall.tbl-188-151	common	inotify_init		sys_inotify_init
 --
 arch/x86/entry/syscalls/syscall_32.tbl-381-366	i386	setsockopt		sys_setsockopt			sys_setsockopt
 arch/x86/entry/syscalls/syscall_32.tbl:382:367	i386	getsockname		sys_getsockname
 arch/x86/entry/syscalls/syscall_32.tbl-383-368	i386	getpeername		sys_getpeername
 --
 arch/x86/entry/syscalls/syscall_64.tbl-62-50	common	listen			sys_listen
 arch/x86/entry/syscalls/syscall_64.tbl:63:51	common	getsockname		sys_getsockname
 arch/x86/entry/syscalls/syscall_64.tbl-64-52	common	getpeername		sys_getpeername
 --
 arch/xtensa/kernel/syscalls/syscall.tbl-116-103	common	accept				sys_accept
 arch/xtensa/kernel/syscalls/syscall.tbl:117:104	common	getsockname			sys_getsockname
 arch/xtensa/kernel/syscalls/syscall.tbl-118-105	common	getpeername			sys_getpeername
 --
 drivers/nvme/host/tcp.c=2823=static int nvme_tcp_get_address(struct nvme_ctrl *ctrl, char *buf, int size)
 --
 drivers/nvme/host/tcp.c-2835-
 drivers/nvme/host/tcp.c:2836:	ret = kernel_getsockname(queue->sock, (struct sockaddr *)&src_addr);
 drivers/nvme/host/tcp.c-2837-	if (ret > 0) {
 --
 drivers/nvme/target/tcp.c=1698=static int nvmet_tcp_set_queue_sock(struct nvmet_tcp_queue *queue)
 --
 drivers/nvme/target/tcp.c-1703-
 drivers/nvme/target/tcp.c:1704:	ret = kernel_getsockname(sock,
 drivers/nvme/target/tcp.c-1705-		(struct sockaddr *)&queue->sockaddr);
 --
 drivers/scsi/iscsi_tcp.c=747=static int iscsi_sw_tcp_conn_get_param(struct iscsi_cls_conn *cls_conn,
 --
 drivers/scsi/iscsi_tcp.c-783-		if (param == ISCSI_PARAM_LOCAL_PORT)
 drivers/scsi/iscsi_tcp.c:784:			rc = kernel_getsockname(sock,
 drivers/scsi/iscsi_tcp.c-785-						(struct sockaddr *)&addr);
 --
 drivers/scsi/iscsi_tcp.c=804=static int iscsi_sw_tcp_host_get_param(struct Scsi_Host *shost,
 --
 drivers/scsi/iscsi_tcp.c-841-		else
 drivers/scsi/iscsi_tcp.c:842:			rc = kernel_getsockname(sock, (struct sockaddr *)&addr);
 drivers/scsi/iscsi_tcp.c-843-		mutex_unlock(&tcp_sw_conn->sock_lock);
 --
 drivers/soc/qcom/qmi_interface.c=585=static struct socket *qmi_sock_create(struct qmi_handle *qmi,
 --
 drivers/soc/qcom/qmi_interface.c-595-
 drivers/soc/qcom/qmi_interface.c:596:	ret = kernel_getsockname(sock, (struct sockaddr *)sq);
 drivers/soc/qcom/qmi_interface.c-597-	if (ret < 0) {
 --
 include/linux/lsm_hook_defs.h=346=LSM_HOOK(int, 0, socket_recvmsg, struct socket *sock, struct msghdr *msg,
 include/linux/lsm_hook_defs.h-347-	 int size, int flags)
 include/linux/lsm_hook_defs.h:348:LSM_HOOK(int, 0, socket_getsockname, struct socket *sock)
 include/linux/lsm_hook_defs.h-349-LSM_HOOK(int, 0, socket_getpeername, struct socket *sock)
 --
 include/linux/net.h=376=int kernel_connect(struct socket *sock, struct sockaddr_unsized *addr, int addrlen,
 include/linux/net.h-377-		   int flags);
 include/linux/net.h:378:int kernel_getsockname(struct socket *sock, struct sockaddr *addr);
 include/linux/net.h-379-int kernel_getpeername(struct socket *sock, struct sockaddr *addr);
 --
 include/linux/security.h=1676=int security_socket_recvmsg(struct socket *sock, struct msghdr *msg,
 include/linux/security.h-1677-			    int size, int flags);
 include/linux/security.h:1678:int security_socket_getsockname(struct socket *sock);
 include/linux/security.h-1679-int security_socket_getpeername(struct socket *sock);
 --
 include/linux/security.h=1789=static inline int security_socket_recvmsg(struct socket *sock,
 --
 include/linux/security.h-1795-
 include/linux/security.h:1796:static inline int security_socket_getsockname(struct socket *sock)
 include/linux/security.h-1797-{
 --
 include/linux/socket.h=470=extern int __sys_listen_socket(struct socket *sock, int backlog);
 include/linux/socket.h:471:extern int do_getsockname(struct socket *sock, int peer,
 include/linux/socket.h-472-			  struct sockaddr __user *usockaddr, int __user *usockaddr_len);
 include/linux/socket.h:473:extern int __sys_getsockname(int fd, struct sockaddr __user *usockaddr,
 include/linux/socket.h-474-			     int __user *usockaddr_len, int peer);
 --
 include/linux/syscalls.h=777=asmlinkage long sys_connect(int, struct sockaddr __user *, int);
 include/linux/syscalls.h:778:asmlinkage long sys_getsockname(int, struct sockaddr __user *, int __user *);
 include/linux/syscalls.h-779-asmlinkage long sys_getpeername(int, struct sockaddr __user *, int __user *);
 --
 include/uapi/asm-generic/unistd.h=533=__SYSCALL(__NR_connect, sys_connect)
 include/uapi/asm-generic/unistd.h:534:#define __NR_getsockname 204
 include/uapi/asm-generic/unistd.h:535:__SYSCALL(__NR_getsockname, sys_getsockname)
 include/uapi/asm-generic/unistd.h-536-#define __NR_getpeername 205
 --
 include/uapi/linux/net.h-31-#define SYS_ACCEPT	5		/* sys_accept(2)		*/
 include/uapi/linux/net.h:32:#define SYS_GETSOCKNAME	6		/* sys_getsockname(2)		*/
 include/uapi/linux/net.h-33-#define SYS_GETPEERNAME	7		/* sys_getpeername(2)		*/
 --
 io_uring/cmd_net.c=104=static int io_uring_cmd_timestamp(struct socket *sock,
 --
 io_uring/cmd_net.c-150-
 io_uring/cmd_net.c:151:static int io_uring_cmd_getsockname(struct socket *sock,
 io_uring/cmd_net.c-152-				    struct io_uring_cmd *cmd,
 --
 io_uring/cmd_net.c-167-		return -EINVAL;
 io_uring/cmd_net.c:168:	return do_getsockname(sock, peer, uaddr, ulen);
 io_uring/cmd_net.c-169-}
 --
 io_uring/cmd_net.c=171=int io_uring_cmd_sock(struct io_uring_cmd *cmd, unsigned int issue_flags)
 --
 io_uring/cmd_net.c-186-	case SOCKET_URING_OP_GETSOCKNAME:
 io_uring/cmd_net.c:187:		return io_uring_cmd_getsockname(sock, cmd, issue_flags);
 io_uring/cmd_net.c-188-	default:
 --
 kernel/bpf/bpf_lsm.c=367=BTF_ID(func, bpf_lsm_socket_getpeersec_dgram)
 kernel/bpf/bpf_lsm.c:368:BTF_ID(func, bpf_lsm_socket_getsockname)
 kernel/bpf/bpf_lsm.c-369-BTF_ID(func, bpf_lsm_socket_getsockopt)
 --
 kernel/sys_ni.c=147=COND_SYSCALL(connect);
 kernel/sys_ni.c:148:COND_SYSCALL(getsockname);
 kernel/sys_ni.c-149-COND_SYSCALL(getpeername);
 --
 net/compat.c=423=COMPAT_SYSCALL_DEFINE2(socketcall, int, call, u32 __user *, args)
 --
 net/compat.c-462-	case SYS_GETSOCKNAME:
 net/compat.c:463:		ret = __sys_getsockname(a0, compat_ptr(a1), compat_ptr(a[2]), 0);
 net/compat.c-464-		break;
 net/compat.c-465-	case SYS_GETPEERNAME:
 net/compat.c:466:		ret = __sys_getsockname(a0, compat_ptr(a1), compat_ptr(a[2]), 1);
 net/compat.c-467-		break;
 --
 net/qrtr/ns.c=736=int qrtr_ns_init(void)
 --
 net/qrtr/ns.c-748-
 net/qrtr/ns.c:749:	ret = kernel_getsockname(qrtr_ns.sock, (struct sockaddr *)&sq);
 net/qrtr/ns.c-750-	if (ret < 0) {
 --
 net/sctp/ipv6.c=1015=static int sctp_inet6_supported_addrs(const struct sctp_sock *opt,
 --
 net/sctp/ipv6.c-1025-
 net/sctp/ipv6.c:1026:/* Handle SCTP_I_WANT_MAPPED_V4_ADDR for getpeername() and getsockname() */
 net/sctp/ipv6.c-1027-static int sctp_getname(struct socket *sock, struct sockaddr *uaddr,
 --
 net/sctp/socket.c=377=static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len)
 --
 net/sctp/socket.c-451-	}
 net/sctp/socket.c:452:	/* Copy back into socket for getsockname() use. */
 net/sctp/socket.c-453-	inet_sk(sk)->inet_sport = htons(inet_sk(sk)->inet_num);
 --
 net/sctp/transport.c=441=void sctp_transport_route(struct sctp_transport *transport,
 --
 net/sctp/transport.c-457-	/* Initialize sk->sk_rcv_saddr, if the transport is the
 net/sctp/transport.c:458:	 * association's active path for getsockname().
 net/sctp/transport.c-459-	 */
 --
 net/smc/smc_clc.c=563=static int smc_clc_prfx_set(struct socket *clcsock,
 --
 net/smc/smc_clc.c-574-	/* get address to which the internal TCP socket is bound */
 net/smc/smc_clc.c:575:	if (kernel_getsockname(clcsock, (struct sockaddr *)&addrs) < 0)
 net/smc/smc_clc.c-576-		goto out;
 --
 net/socket.c=2170=SYSCALL_DEFINE3(connect, int, fd, struct sockaddr __user *, uservaddr,
 --
 net/socket.c-2175-
 net/socket.c:2176:int do_getsockname(struct socket *sock, int peer,
 net/socket.c-2177-		   struct sockaddr __user *usockaddr, int __user *usockaddr_len)
 --
 net/socket.c-2184-	else
 net/socket.c:2185:		err = security_socket_getsockname(sock);
 net/socket.c-2186-	if (err)
 --
 net/socket.c-2198- */
 net/socket.c:2199:int __sys_getsockname(int fd, struct sockaddr __user *usockaddr,
 net/socket.c-2200-		      int __user *usockaddr_len, int peer)
 --
 net/socket.c-2209-		return -ENOTSOCK;
 net/socket.c:2210:	return do_getsockname(sock, peer, usockaddr, usockaddr_len);
 net/socket.c-2211-}
 net/socket.c-2212-
 net/socket.c:2213:SYSCALL_DEFINE3(getsockname, int, fd, struct sockaddr __user *, usockaddr,
 net/socket.c-2214-		int __user *, usockaddr_len)
 net/socket.c-2215-{
 net/socket.c:2216:	return __sys_getsockname(fd, usockaddr, usockaddr_len, 0);
 net/socket.c-2217-}
 --
 net/socket.c=2219=SYSCALL_DEFINE3(getpeername, int, fd, struct sockaddr __user *, usockaddr,
 --
 net/socket.c-2221-{
 net/socket.c:2222:	return __sys_getsockname(fd, usockaddr, usockaddr_len, 1);
 net/socket.c-2223-}
 --
 net/socket.c=3187=SYSCALL_DEFINE2(socketcall, int, call, unsigned long __user *, args)
 --
 net/socket.c-3231-		err =
 net/socket.c:3232:		    __sys_getsockname(a0, (struct sockaddr __user *)a1,
 net/socket.c-3233-				      (int __user *)a[2], 0);
 --
 net/socket.c-3236-		err =
 net/socket.c:3237:		    __sys_getsockname(a0, (struct sockaddr __user *)a1,
 net/socket.c-3238-				      (int __user *)a[2], 1);
 --
 net/socket.c=3743=EXPORT_SYMBOL(kernel_connect);
 --
 net/socket.c-3745-/**
 net/socket.c:3746: *	kernel_getsockname - get the address which the socket is bound (kernel space)
 net/socket.c-3747- *	@sock: socket
 --
 net/socket.c-3753-
 net/socket.c:3754:int kernel_getsockname(struct socket *sock, struct sockaddr *addr)
 net/socket.c-3755-{
 --
 net/socket.c-3757-}
 net/socket.c:3758:EXPORT_SYMBOL(kernel_getsockname);
 net/socket.c-3759-
 --
 net/sunrpc/clnt.c=1431=static const struct sockaddr_in6 rpc_in6addr_loopback = {
 --
 net/sunrpc/clnt.c-1436-/*
 net/sunrpc/clnt.c:1437: * Try a getsockname() on a connected datagram socket.  Using a
 net/sunrpc/clnt.c-1438- * connected datagram socket prevents leaving a socket in TIME_WAIT.
 --
 net/sunrpc/clnt.c=1444=static int rpc_sockname(struct net *net, struct sockaddr *sap, size_t salen,
 --
 net/sunrpc/clnt.c-1482-
 net/sunrpc/clnt.c:1483:	err = kernel_getsockname(sock, buf);
 net/sunrpc/clnt.c-1484-	if (err < 0) {
 net/sunrpc/clnt.c:1485:		dprintk("RPC:       getsockname failed (%d)\n", err);
 net/sunrpc/clnt.c-1486-		goto out_release;
 --
 net/sunrpc/svcsock.c=912=static struct svc_xprt *svc_tcp_accept(struct svc_xprt *xprt)
 --
 net/sunrpc/svcsock.c-959-	svc_xprt_set_remote(&newsvsk->sk_xprt, sin, slen);
 net/sunrpc/svcsock.c:960:	err = kernel_getsockname(newsock, sin);
 net/sunrpc/svcsock.c-961-	slen = err;
 --
 net/sunrpc/svcsock.c=1499=int svc_addsock(struct svc_serv *serv, struct net *net, const int fd,
 --
 net/sunrpc/svcsock.c-1532-	}
 net/sunrpc/svcsock.c:1533:	salen = kernel_getsockname(svsk->sk_sock, sin);
 net/sunrpc/svcsock.c-1534-	if (salen >= 0)
 --
 net/sunrpc/svcsock.c=1548=static struct svc_xprt *svc_create_socket(struct svc_serv *serv,
 --
 net/sunrpc/svcsock.c-1599-
 net/sunrpc/svcsock.c:1600:	error = kernel_getsockname(sock, newsin);
 net/sunrpc/svcsock.c-1601-	if (error < 0)
 --
 net/sunrpc/xprtsock.c=1728=static unsigned short xs_sock_getport(struct socket *sock)
 --
 net/sunrpc/xprtsock.c-1732-
 net/sunrpc/xprtsock.c:1733:	if (kernel_getsockname(sock, (struct sockaddr *)&buf) < 0)
 net/sunrpc/xprtsock.c-1734-		goto out;
 --
 net/sunrpc/xprtsock.c=1791=static int xs_sock_srcaddr(struct rpc_xprt *xprt, char *buf, size_t buflen)
 --
 net/sunrpc/xprtsock.c-1801-	if (sock->sock) {
 net/sunrpc/xprtsock.c:1802:		ret = kernel_getsockname(sock->sock, &saddr.sa);
 net/sunrpc/xprtsock.c-1803-		if (ret >= 0)
 --
 scripts/syscall.tbl-247-203	common	connect				sys_connect
 scripts/syscall.tbl:248:204	common	getsockname			sys_getsockname
 scripts/syscall.tbl-249-205	common	getpeername			sys_getpeername
 --
 security/apparmor/include/audit.h=33=enum audit_type {
 --
 security/apparmor/include/audit.h-81-#define OP_RECVMSG "recvmsg"
 security/apparmor/include/audit.h:82:#define OP_GETSOCKNAME "getsockname"
 security/apparmor/include/audit.h-83-#define OP_GETPEERNAME "getpeername"
 --
 security/apparmor/lsm.c=1435=static int aa_sock_perm(const char *op, u32 request, struct socket *sock)
 --
 security/apparmor/lsm.c-1445-
 security/apparmor/lsm.c:1446:static int apparmor_socket_getsockname(struct socket *sock)
 security/apparmor/lsm.c-1447-{
 --
 security/apparmor/lsm.c=1656=static struct security_hook_list apparmor_hooks[] __ro_after_init = {
 --
 security/apparmor/lsm.c-1709-	LSM_HOOK_INIT(socket_recvmsg, apparmor_socket_recvmsg),
 security/apparmor/lsm.c:1710:	LSM_HOOK_INIT(socket_getsockname, apparmor_socket_getsockname),
 security/apparmor/lsm.c-1711-	LSM_HOOK_INIT(socket_getpeername, apparmor_socket_getpeername),
 --
 security/security.c=4327=int security_socket_recvmsg(struct socket *sock, struct msghdr *msg,
 --
 security/security.c-4333-/**
 security/security.c:4334: * security_socket_getsockname() - Check if reading the socket addr is allowed
 security/security.c-4335- * @sock: socket
 --
 security/security.c-4341- */
 security/security.c:4342:int security_socket_getsockname(struct socket *sock)
 security/security.c-4343-{
 security/security.c:4344:	return call_int_hook(socket_getsockname, sock);
 security/security.c-4345-}
 --
 security/selinux/hooks.c=5272=static int selinux_socket_recvmsg(struct socket *sock, struct msghdr *msg,
 --
 security/selinux/hooks.c-5277-
 security/selinux/hooks.c:5278:static int selinux_socket_getsockname(struct socket *sock)
 security/selinux/hooks.c-5279-{
 --
 security/selinux/hooks.c=7533=static struct security_hook_list selinux_hooks[] __ro_after_init = {
 --
 security/selinux/hooks.c-7693-	LSM_HOOK_INIT(socket_recvmsg, selinux_socket_recvmsg),
 security/selinux/hooks.c:7694:	LSM_HOOK_INIT(socket_getsockname, selinux_socket_getsockname),
 security/selinux/hooks.c-7695-	LSM_HOOK_INIT(socket_getpeername, selinux_socket_getpeername),
 --
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst=24=CGROUP COMMANDS
 --
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst-40-|     **cgroup_inet6_getpeername** | **cgroup_unix_getpeername** |
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst:41:|     **cgroup_inet4_getsockname** | **cgroup_inet6_getsockname** |
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst:42:|     **cgroup_unix_getsockname** | **cgroup_udp4_sendmsg** |
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst-43-|     **cgroup_udp6_sendmsg** | **cgroup_unix_sendmsg** |
 --
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst=74=bpftool cgroup attach *CGROUP* *ATTACH_TYPE* *PROG* [*ATTACH_FLAGS*]
 --
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst-118-    - **getpeername_unix** call to getpeername(2) for a unix socket (since 6.7)
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst:119:    - **getsockname4** call to getsockname(2) for an inet4 socket (since 5.8)
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst:120:    - **getsockname6** call to getsockname(2) for an inet6 socket (since 5.8)
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst:121:    - **getsockname_unix** call to getsockname(2) for a unix socket (since 6.7)
 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst-122-    - **sock_release** closing a userspace inet socket (since 5.9)
 --
 tools/bpf/bpftool/Documentation/bpftool-prog.rst=27=PROG COMMANDS
 --
 tools/bpf/bpftool/Documentation/bpftool-prog.rst-52-|     **cgroup/getpeername4** | **cgroup/getpeername6** | **cgroup/getpeername_unix** |
 tools/bpf/bpftool/Documentation/bpftool-prog.rst:53:|     **cgroup/getsockname4** | **cgroup/getsockname6** | **cgroup/getsockname_unix** |
 tools/bpf/bpftool/Documentation/bpftool-prog.rst-54-|     **cgroup/sendmsg4** | **cgroup/sendmsg6** | **cgroup/sendmsg_unix** |
 --
 tools/bpf/bpftool/bash-completion/bpftool=256=_bpftool()
 --
 tools/bpf/bpftool/bash-completion/bpftool-497-                                cgroup/getpeername4 cgroup/getpeername6 cgroup/getpeername_unix \
 tools/bpf/bpftool/bash-completion/bpftool:498:                                cgroup/getsockname4 cgroup/getsockname6 cgroup/getsockname_unix \
 tools/bpf/bpftool/bash-completion/bpftool-499-                                cgroup/sendmsg4 cgroup/sendmsg6 cgroup/sendmsg_unix \
 --
 tools/bpf/bpftool/cgroup.c=26=static const int cgroup_attach_types[] = {
 --
 tools/bpf/bpftool/cgroup.c-68-	"                        cgroup_inet4_getpeername | cgroup_inet6_getpeername |\n" \
 tools/bpf/bpftool/cgroup.c:69:	"                        cgroup_unix_getpeername | cgroup_inet4_getsockname |\n" \
 tools/bpf/bpftool/cgroup.c:70:	"                        cgroup_inet6_getsockname | cgroup_unix_getsockname |\n" \
 tools/bpf/bpftool/cgroup.c-71-	"                        cgroup_udp4_sendmsg | cgroup_udp6_sendmsg |\n" \
 --
 tools/bpf/bpftool/common.c=1164=const char *bpf_attach_type_input_str(enum bpf_attach_type t)
 --
 tools/bpf/bpftool/common.c-1180-	case BPF_CGROUP_INET6_GETPEERNAME:	return "getpeername6";
 tools/bpf/bpftool/common.c:1181:	case BPF_CGROUP_INET4_GETSOCKNAME:	return "getsockname4";
 tools/bpf/bpftool/common.c:1182:	case BPF_CGROUP_INET6_GETSOCKNAME:	return "getsockname6";
 tools/bpf/bpftool/common.c-1183-	case BPF_CGROUP_UDP4_SENDMSG:		return "sendmsg4";
 --
 tools/bpf/bpftool/net.c=109=static int netlink_open(__u32 *nl_pid)
 --
 tools/bpf/bpftool/net.c-133-	addrlen = sizeof(sa);
 tools/bpf/bpftool/net.c:134:	if (getsockname(sock, (struct sockaddr *)&sa, &addrlen) < 0) {
 tools/bpf/bpftool/net.c-135-		ret = -errno;
 --
 tools/bpf/bpftool/prog.c=2542=static int do_help(int argc, char **argv)
 --
 tools/bpf/bpftool/prog.c-2581-		"                 cgroup/connect_unix | cgroup/getpeername4 | cgroup/getpeername6 |\n"
 tools/bpf/bpftool/prog.c:2582:		"                 cgroup/getpeername_unix | cgroup/getsockname4 | cgroup/getsockname6 |\n"
 tools/bpf/bpftool/prog.c:2583:		"                 cgroup/getsockname_unix | cgroup/sendmsg4 | cgroup/sendmsg6 |\n"
 tools/bpf/bpftool/prog.c-2584-		"                 cgroup/sendmsg_unix | cgroup/recvmsg4 | cgroup/recvmsg6 | cgroup/recvmsg_unix |\n"
 --
 tools/include/uapi/asm-generic/unistd.h=533=__SYSCALL(__NR_connect, sys_connect)
 tools/include/uapi/asm-generic/unistd.h:534:#define __NR_getsockname 204
 tools/include/uapi/asm-generic/unistd.h:535:__SYSCALL(__NR_getsockname, sys_getsockname)
 tools/include/uapi/asm-generic/unistd.h-536-#define __NR_getpeername 205
 --
 tools/lib/bpf/libbpf.c=79=static const char * const attach_type_name[] = {
 --
 tools/lib/bpf/libbpf.c-95-	[BPF_CGROUP_UNIX_GETPEERNAME]	= "cgroup_unix_getpeername",
 tools/lib/bpf/libbpf.c:96:	[BPF_CGROUP_INET4_GETSOCKNAME]	= "cgroup_inet4_getsockname",
 tools/lib/bpf/libbpf.c:97:	[BPF_CGROUP_INET6_GETSOCKNAME]	= "cgroup_inet6_getsockname",
 tools/lib/bpf/libbpf.c:98:	[BPF_CGROUP_UNIX_GETSOCKNAME]	= "cgroup_unix_getsockname",
 tools/lib/bpf/libbpf.c-99-	[BPF_CGROUP_UDP4_SENDMSG]	= "cgroup_udp4_sendmsg",
 --
 tools/lib/bpf/libbpf.c=9987=static const struct bpf_sec_def section_defs[] = {
 --
 tools/lib/bpf/libbpf.c-10081-	SEC_DEF("cgroup/getpeername_unix", CGROUP_SOCK_ADDR, BPF_CGROUP_UNIX_GETPEERNAME, SEC_ATTACHABLE),
 tools/lib/bpf/libbpf.c:10082:	SEC_DEF("cgroup/getsockname4",	CGROUP_SOCK_ADDR, BPF_CGROUP_INET4_GETSOCKNAME, SEC_ATTACHABLE),
 tools/lib/bpf/libbpf.c:10083:	SEC_DEF("cgroup/getsockname6",	CGROUP_SOCK_ADDR, BPF_CGROUP_INET6_GETSOCKNAME, SEC_ATTACHABLE),
 tools/lib/bpf/libbpf.c:10084:	SEC_DEF("cgroup/getsockname_unix", CGROUP_SOCK_ADDR, BPF_CGROUP_UNIX_GETSOCKNAME, SEC_ATTACHABLE),
 tools/lib/bpf/libbpf.c-10085-	SEC_DEF("cgroup/sysctl",	CGROUP_SYSCTL, BPF_CGROUP_SYSCTL, SEC_ATTACHABLE),
 --
 tools/lib/bpf/netlink.c=52=static int libbpf_netlink_open(__u32 *nl_pid, int proto)
 --
 tools/lib/bpf/netlink.c-76-	addrlen = sizeof(sa);
 tools/lib/bpf/netlink.c:77:	if (getsockname(sock, (struct sockaddr *)&sa, &addrlen) < 0) {
 tools/lib/bpf/netlink.c-78-		ret = -errno;
 --
 tools/net/ynl/lib/ynl.c=736=ynl_sock_create(const struct ynl_family *yf, struct ynl_error *yse)
 --
 tools/net/ynl/lib/ynl.c-781-	addrlen = sizeof(addr);
 tools/net/ynl/lib/ynl.c:782:	if (getsockname(ys->socket, (struct sockaddr *)&addr, &addrlen) < 0) {
 tools/net/ynl/lib/ynl.c-783-		__perr(yse, "unable to read socket address");
 --
 tools/perf/arch/alpha/entry/syscalls/syscall.tbl-41-31	common	osf_ngetpeername		sys_ni_syscall
 tools/perf/arch/alpha/entry/syscalls/syscall.tbl:42:32	common	osf_ngetsockname		sys_ni_syscall
 tools/perf/arch/alpha/entry/syscalls/syscall.tbl-43-33	common	access				sys_access
 --
 tools/perf/arch/alpha/entry/syscalls/syscall.tbl-157-149	common	osf_oldquota			sys_ni_syscall
 tools/perf/arch/alpha/entry/syscalls/syscall.tbl:158:150	common	getsockname			sys_getsockname
 tools/perf/arch/alpha/entry/syscalls/syscall.tbl-159-153	common	osf_pid_block			sys_ni_syscall
 --
 tools/perf/arch/arm/entry/syscalls/syscall.tbl-303-285	common	accept			sys_accept
 tools/perf/arch/arm/entry/syscalls/syscall.tbl:304:286	common	getsockname		sys_getsockname
 tools/perf/arch/arm/entry/syscalls/syscall.tbl-305-287	common	getpeername		sys_getpeername
 --
 tools/perf/arch/arm64/entry/syscalls/syscall_32.tbl-300-285	common	accept			sys_accept
 tools/perf/arch/arm64/entry/syscalls/syscall_32.tbl:301:286	common	getsockname		sys_getsockname
 tools/perf/arch/arm64/entry/syscalls/syscall_32.tbl-302-287	common	getpeername		sys_getpeername
 --
 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl-59-49	n64	listen				sys_listen
 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl:60:50	n64	getsockname			sys_getsockname
 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl-61-51	n64	getpeername			sys_getpeername
 --
 tools/perf/arch/parisc/entry/syscalls/syscall.tbl-56-43	common	times			sys_times			compat_sys_times
 tools/perf/arch/parisc/entry/syscalls/syscall.tbl:57:44	common	getsockname		sys_getsockname
 tools/perf/arch/parisc/entry/syscalls/syscall.tbl-58-45	common	brk			sys_brk
 --
 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl-430-330	common	accept				sys_accept
 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl:431:331	common	getsockname			sys_getsockname
 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl-432-332	common	getpeername			sys_getpeername
 --
 tools/perf/arch/s390/entry/syscalls/syscall.tbl-320-366	common	setsockopt			sys_setsockopt
 tools/perf/arch/s390/entry/syscalls/syscall.tbl:321:367	common	getsockname			sys_getsockname
 tools/perf/arch/s390/entry/syscalls/syscall.tbl-322-368	common	getpeername			sys_getpeername
 --
 tools/perf/arch/sh/entry/syscalls/syscall.tbl-354-344	common	accept				sys_accept
 tools/perf/arch/sh/entry/syscalls/syscall.tbl:355:345	common	getsockname			sys_getsockname
 tools/perf/arch/sh/entry/syscalls/syscall.tbl-356-346	common	getpeername			sys_getpeername
 --
 tools/perf/arch/sparc/entry/syscalls/syscall.tbl-186-149	common	pciconfig_write		sys_pciconfig_write
 tools/perf/arch/sparc/entry/syscalls/syscall.tbl:187:150	common	getsockname		sys_getsockname
]
]

145/4 2026/05/21 22:43 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 68864
							output: 56
							thoughts: 94
						

Thoughts:
**Investigating the Absence of IEEE 802.15.4 Socket Information Retrieval Functions**

Okay, so I'm looking at `net/ieee802154/socket.c`, and I'm immediately noticing something. There's no implementation of `dgram_getsockname` or `dgram_getpeername` here. That's a bit odd, usually these are present in datagram socket implementations. Wait a minute... I remember that `getsockname` and `getpeername` are *actually* implemented using the `sock->ops->getname` function pointer within the socket structure itself. Okay, that makes more sense. So, instead of explicitly searching for the individual dgram-specific functions, I need to check the `sock->ops` structure for datagram-related implementations within this file. Let's see what's actually hooked up. This is probably where the relevant logic resides.



146/4 2026/05/21 22:43 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ieee802154/socket.c IncludeLines:true Name:ieee802154_dgram_ops]

Results:
map[SourceCode: 972:	static const struct proto_ops ieee802154_dgram_ops = {
 973:		.family		   = PF_IEEE802154,
 974:		.owner		   = THIS_MODULE,
 975:		.release	   = ieee802154_sock_release,
 976:		.bind		   = ieee802154_sock_bind,
 977:		.connect	   = ieee802154_sock_connect,
 978:		.socketpair	   = sock_no_socketpair,
 979:		.accept		   = sock_no_accept,
 980:		.getname	   = sock_no_getname,
 981:		.poll		   = datagram_poll,
 982:		.ioctl		   = ieee802154_sock_ioctl,
 983:		.gettstamp	   = sock_gettstamp,
 984:		.listen		   = sock_no_listen,
 985:		.shutdown	   = sock_no_shutdown,
 986:		.setsockopt	   = sock_common_setsockopt,
 987:		.getsockopt	   = sock_common_getsockopt,
 988:		.sendmsg	   = ieee802154_sock_sendmsg,
 989:		.recvmsg	   = sock_common_recvmsg,
 990:		.mmap		   = sock_no_mmap,
 991:	};
 SourceFile:net/ieee802154/socket.c]

147/4 2026/05/21 22:43 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 69666
							output: 31
							thoughts: 1544
						

Thoughts:
**Final Review and Conclusion**

Okay, let's recap. First, I confirmed that `.getname = sock_no_getname`, meaning `getsockname` and `getpeername` aren't even supported, so we're not dealing with those functions. Then I established that the only place `ieee802154_addr_to_sa` is used is `dgram_recvmsg`. That gives us our attack vector, it's where the data leaks if uninitialized.

The core of this fix is, of course, the initialization of `pan_id`. Let me double-check the logic in `ieee802154_hdr_get_addr` again:

```c
	if (mode == IEEE802154_ADDR_NONE) {
		addr->pan_id = 0;
		return 0;
	}
```

Now, the question is, *is* there any other place where `addr->pan_id` gets left uninitialized? If `mode` is `IEEE802154_ADDR_SHORT` or `IEEE802154_ADDR_LONG`, then `omit_pan` *might* be true. But, I remember my analysis. If `omit_pan` is true, it's only true for `source` when `hdr->fc.intra_pan` is set. Right after calling `ieee802154_hdr_get_addr`, the code executes `hdr->source.pan_id = hdr->dest.pan_id;`. So, `source.pan_id` is initialized from `dest.pan_id`, and `dest.pan_id` *must* be initialized because `omit_pan` is false for the destination address.

Okay, let's poke at this a bit. What if `hdr->fc.intra_pan` is true, but `hdr->fc.dest_addr_mode` is `IEEE802154_ADDR_NONE`? Then `dest.pan_id` becomes zero due to our fix. The `source.pan_id` will be initialized from `dest.pan_id`, so it also becomes zero. Sounds correct.

Now, what if `hdr->fc.intra_pan` is true, but `hdr->fc.source_addr_mode` is `IEEE802154_ADDR_NONE`? Our fix sets `source.pan_id` to zero. Then the code overwrites `source.pan_id` with `dest.pan_id`. This is fine too.

Now I need to be sure this is complete. Is there *any* other caller of `ieee802154_hdr_get_addr`? Nope. Just the one. And, are there any other uninitialized fields in `struct ieee802154_addr`? Well, `short_addr` and `extended_addr` *are* uninitialized if `mode == IEEE802154_ADDR_NONE`. But, they're not copied to user space, so it's not a security issue. And in `struct ieee802154_hdr`, `sec` is uninitialized when `hdr->fc.security_enabled` is false, but again, that is not leaked to user space. For `struct ieee802154_mac_cb` I looked at the fields. `cb->source` and `cb->dest` are initialized from `hdr->source` and `hdr->dest`. `cb->lqi` is initialized in `ieee802154_rx_irqsafe`. `cb->type`, `cb->ackreq`, `cb->secen` are initialized in `ieee802154_parse_frame_start`. And `cb->secen_override`, `cb->seclevel`, `cb->seclevel_override` are zeroed out by `mac_cb_init`. So, no other fields are uninitialized.

This fix is complete, correct, and addresses the vulnerability.

Here's the final reasoning I'll be sharing: The fix initializes `addr->pan_id` to 0 when `mode == IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`. This prevents uninitialized stack memory from being propagated to `mac_cb(skb)->source.pan_id` and subsequently leaked to user space in `dgram_recvmsg()`. I verified that `short_addr` and `extended_addr` are *not* copied to user space when


148/4 2026/05/21 22:44 tool patch-diff
0m Args:
map[File:net/ieee802154/header_ops.c]

Results:
map[Output:diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index 41a556be1..8f2ec62de 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -168,26 +168,28 @@ int ieee802154_beacon_push(struct sk_buff *skb,
 EXPORT_SYMBOL_GPL(ieee802154_beacon_push);
 
 static int
 ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 			struct ieee802154_addr *addr)
 {
 	int pos = 0;
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
 		pos += 2;
 	}
 
 	if (mode == IEEE802154_ADDR_SHORT) {
 		memcpy(&addr->short_addr, buf + pos, 2);
 		return pos + 2;
 	} else {
 		memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN);
 		return pos + IEEE802154_ADDR_LEN;
 	}
 }
]

149/4 2026/05/21 22:44 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 72733
							output: 1025
							thoughts: 13
						

Thoughts:
Okay, here's my interpretation of that thought process, tailored for an expert audience, and written in the first person:

**Final Assessment: Patch Ready for Integration**

Alright, initial review complete. The patch appears sound. No immediate red flags jump out – clean code style, reasonable performance implications, and it seems to address the documented issue effectively. Given my expertise, I’ve considered the potential edge cases and interactions with existing systems. I've cross-referenced it against the relevant design documentation and unit test coverage. Everything aligns as expected. Therefore, I'm comfortable moving forward. No further clarification or revision is needed. The final verdict is in: this patch is good to go.



150/3 2026/05/21 22:44 action test-patch
41m Results:
map[PatchDiff:diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index 41a556be1..8f2ec62de 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
 TestError:]

151/1 2026/05/21 23:25 agent fixes-finder
4m Model:
gemini-3.1-pro-preview

Results:
map[FixesHash:94b4f6c21cf54029377a0645675a9d81b6cf890d]

Instruction:
You are an experienced Linux kernel developer tasked with identifying the commit
that introduced the bug being fixed. Identifying the correct buggy commit is crucial
for proper kernel maintenance (backporting to stable trees, etc.).

Your investigation strategy:
1. Examine the patch that fixes the bug. Use git tools (like git-log or git-blame)
   to trace the history of the lines or functions modified by the patch.
2. Analyze the stack trace in the crash report. Identify the key files and functions
   involved in the crash and investigate their history to see when the problematic
   logic was introduced.
3. Compare the bug explanation with the commit history to find the point where
   the described logic error first appeared.

A bug is typically introduced when a piece of code is first written, or when
a refactoring changed its logic in a way that introduced the bug.
Trace the history of relevant symbols or find when specific code patterns were introduced/removed.

You must provide exactly one bug-introducing commit hash.
If you are unable to confidently determine the bug-introducing commit after investigation,
return an empty string rather than guessing.

Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
The crash is:

=====================================================
BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:131 [inline]
BUG: KMSAN: kernel-infoleak in _inline_copy_to_user include/linux/uaccess.h:205 [inline]
BUG: KMSAN: kernel-infoleak in _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 instrument_copy_to_user include/linux/instrumented.h:131 [inline]
 _inline_copy_to_user include/linux/uaccess.h:205 [inline]
 _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 copy_to_user include/linux/uaccess.h:236 [inline]
 move_addr_to_user+0x2e7/0x440 net/socket.c:302
 ____sys_recvmsg+0x232/0x610 net/socket.c:2925
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 ieee802154_addr_to_sa include/net/ieee802154_netdev.h:369 [inline]
 dgram_recvmsg+0xa09/0xbe0 net/ieee802154/socket.c:739
 sock_common_recvmsg+0x98/0xe0 net/core/sock.c:3976
 sock_recvmsg_nosec+0x1f4/0x280 net/socket.c:1137
 ____sys_recvmsg+0x4e5/0x610 net/socket.c:2916
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 __copy_skb_header+0xa3/0x7c0 net/core/skbuff.c:1552
 __skb_clone+0x57/0x650 net/core/skbuff.c:1604
 skb_clone+0x473/0x580 net/core/skbuff.c:2114
 __ieee802154_rx_handle_packet net/mac802154/rx.c:363 [inline]
 ieee802154_rx+0xdcd/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_parse_frame_start net/mac802154/rx.c:299 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xb3b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_hdr_get_addrs net/ieee802154/header_ops.c:275 [inline]
 ieee802154_hdr_pull+0xc85/0xe00 net/ieee802154/header_ops.c:294
 ieee802154_parse_frame_start net/mac802154/rx.c:283 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xa2b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Local variable hdr.i created at:
 __ieee802154_rx_handle_packet net/mac802154/rx.c:340 [inline]
 ieee802154_rx+0x95c/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35

Bytes 8-9 of 20 are uninitialized
Memory access of size 20 starts at ffff8881ef407a38
Data copied to user address 0000200000000800

CPU: 0 UID: 0 PID: 6206 Comm: syz.0.17 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
=====================================================



The explanation of the root cause is:

The root cause of this KMSAN kernel-infoleak is that an uninitialized `pan_id` field from the IEEE 802.15.4 MAC header is unconditionally copied to a socket address structure and subsequently leaked to user space during a `recvmsg` syscall.

### Detailed Root Cause Analysis

1. **Copying to User Space**:
   In `dgram_recvmsg()` (`net/ieee802154/socket.c:739`), the source address of the received packet is copied to user space. The kernel first zeroes out a `struct sockaddr_ieee802154` and then populates it using `ieee802154_addr_to_sa()`:
   ```c
   memset(saddr, 0, sizeof(*saddr));
   saddr->family = AF_IEEE802154;
   ieee802154_addr_to_sa(&saddr->addr, &mac_cb(skb)->source);
   ```

2. **Unconditional Copy of `pan_id`**:
   Inside `ieee802154_addr_to_sa()` (`include/net/ieee802154_netdev.h:365`), the `pan_id` is unconditionally copied from the source address (`a`) to the socket address (`sa`):
   ```c
   static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
                                            const struct ieee802154_addr *a)
   {
       sa->addr_type = a->mode;
       sa->pan_id = le16_to_cpu(a->pan_id); // <--- Unconditional copy
       // ...
   }
   ```
   If `a->pan_id` is uninitialized, this copies 2 bytes of uninitialized kernel stack memory into `sa->pan_id`. As seen in the KMSAN report (`Bytes 8-9 of 20 are uninitialized`), bytes 8-9 correspond exactly to the `pan_id` field within `struct sockaddr_ieee802154`.

3. **Source of the Uninitialized Memory**:
   The `mac_cb(skb)->source` is populated from a local, uninitialized `struct ieee802154_hdr hdr;` variable in `__ieee802154_rx_handle_packet()` (`net/mac802154/rx.c:340`). The header is parsed by `ieee802154_parse_frame_start()`, which eventually calls `ieee802154_hdr_get_addr()` (`net/ieee802154/header_ops.c:170`) to extract the destination and source addresses.

   ```c
   static int ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
                                      struct ieee802154_addr *addr)
   {
       int pos = 0;
       addr->mode = mode;

       if (mode == IEEE802154_ADDR_NONE)
           return 0; // <--- Returns early, leaving addr->pan_id uninitialized!

       if (!omit_pan) {
           memcpy(&addr->pan_id, buf + pos, 2);
           pos += 2;
       }
       // ...
   }
   ```
   If the address mode is `IEEE802154_ADDR_NONE`, the function returns early and leaves `addr->pan_id` uninitialized (containing stack garbage). 

4. **Propagation**:
   In `ieee802154_hdr_get_addrs()`, if the destination address mode is `IEEE802154_ADDR_NONE`, `hdr->dest.pan_id` remains uninitialized. Furthermore, if the `intra_pan` (PAN ID Compression) bit is set in the Frame Control Field, the code copies the destination `pan_id` to the source `pan_id`:
   ```c
   if (hdr->fc.intra_pan)
       hdr->source.pan_id = hdr->dest.pan_id;
   ```
   This propagates the uninitialized memory to `hdr->source.pan_id`. Alternatively, if the source address mode itself is `IEEE802154_ADDR_NONE`, `hdr->source.pan_id` is directly left uninitialized. Ultimately, this uninitialized `pan_id` is saved in `mac_cb(skb)->source` and leaked to user space.

### Proposed Fix

To fix this issue, `addr->pan_id` must be explicitly initialized to `0` when the address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`. This ensures that no uninitialized stack memory is ever propagated or copied to user space.

```c
diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index ...
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
```

This simple initialization is sufficient because the only other case where `pan_id` is not immediately initialized is when `omit_pan` is true. However, `omit_pan` is only true for the source address when `intra_pan` is set, in which case it is safely copied from `hdr->dest.pan_id` (which is now guaranteed to be initialized).


The patch that fixes the bug is:

diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index 41a556be1..8f2ec62de 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);


Search for the commit(s) that introduced this bug.

152/2 2026/05/21 23:25 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 7724
							output: 57
							thoughts: 173
						

Thoughts:
**Finding the Bug's Root Cause**

Okay, so we've got a patch here that's fixing something in `net/ieee802154/header_ops.c`, specifically within the `ieee802154_hdr_get_addr` function. It looks like the fix involves setting `addr->pan_id = 0;` under the condition of `mode == IEEE802154_ADDR_NONE`. Classic! Now we need to determine *when* this issue was introduced. My immediate instinct is to use Git to do some detective work.

My first thought is to dive into the Git history for that file. I'll need to figure out when that particular function, `ieee802154_hdr_get_addr`, was first added, or when that specific check for `IEEE802154_ADDR_NONE` was introduced and possibly made it not clear that `pan_id` needs to be zeroed if returning early. I can see two likely approaches:

*   I'll start with `git log` on `net/ieee802154/header_ops.c`, maybe narrowed down to look for changes around that function or the lines of code.

*   If that's too noisy, `git blame` would be a good option to identify the last commit that touched the lines around that code. That should zero in on the commit that *likely* introduced the bug.

I need to quickly pinpoint the commit that broke this logic. Let's get to work!



153/2 2026/05/21 23:25 tool git-log
0m Args:
map[Count:10 SourcePath:net/ieee802154/header_ops.c SymbolName:ieee802154_hdr_get_addr]

Results:
map[Output:94b4f6c21cf5 ieee802154: add header structs with endiannes and operations
]

154/2 2026/05/21 23:26 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 8337
							output: 26
							thoughts: 54
						

Thoughts:
Okay, let's dive into this.

**Investigating a Potential IEEE 802.15.4 Header Bug**

Right, so I need to track down a potential bug. I see that the function `ieee802154_hdr_get_addr` was introduced in commit `94b4f6c21cf5`. My first instinct is to go directly to that commit's diff. That's the most efficient way to see if the faulty logic was introduced *directly* within that code's addition. The changes within that single commit are where I'm most likely to find the root cause, if it exists. Time to get my hands dirty and examine that diff.



155/2 2026/05/21 23:26 tool git-show
0m Args:
map[Commit:94b4f6c21cf5]

Results:
map[Output:commit 94b4f6c21cf54029377a0645675a9d81b6cf890d
Author: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Date:   Fri Mar 14 21:24:00 2014 +0100

    ieee802154: add header structs with endiannes and operations
    
    This patch provides a set of structures to represent 802.15.4 MAC
    headers, and a set of operations to push/pull/peek these structs from
    skbs. We cannot simply pointer-cast the skb MAC header pointer to these
    structs, because 802.15.4 headers are wildly variable - depending on the
    first three bytes, virtually all other fields of the header may be
    present or not, and be present with different lengths.
    
    The new header creation/parsing routines also support 802.15.4 security
    headers, which are currently not supported by the mac802154
    implementation of the protocol.
    
    Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/include/net/ieee802154.h b/include/net/ieee802154.h
index ee59f8b188dd..c7ae0ac528dc 100644
--- a/include/net/ieee802154.h
+++ b/include/net/ieee802154.h
@@ -42,22 +42,42 @@
 	    (((x) << IEEE802154_FC_TYPE_SHIFT) & IEEE802154_FC_TYPE_MASK)); \
 	} while (0)
 
-#define IEEE802154_FC_SECEN		(1 << 3)
-#define IEEE802154_FC_FRPEND		(1 << 4)
-#define IEEE802154_FC_ACK_REQ		(1 << 5)
-#define IEEE802154_FC_INTRA_PAN		(1 << 6)
+#define IEEE802154_FC_SECEN_SHIFT	3
+#define IEEE802154_FC_SECEN		(1 << IEEE802154_FC_SECEN_SHIFT)
+#define IEEE802154_FC_FRPEND_SHIFT	4
+#define IEEE802154_FC_FRPEND		(1 << IEEE802154_FC_FRPEND_SHIFT)
+#define IEEE802154_FC_ACK_REQ_SHIFT	5
+#define IEEE802154_FC_ACK_REQ		(1 << IEEE802154_FC_ACK_REQ_SHIFT)
+#define IEEE802154_FC_INTRA_PAN_SHIFT	6
+#define IEEE802154_FC_INTRA_PAN		(1 << IEEE802154_FC_INTRA_PAN_SHIFT)
 
 #define IEEE802154_FC_SAMODE_SHIFT	14
 #define IEEE802154_FC_SAMODE_MASK	(3 << IEEE802154_FC_SAMODE_SHIFT)
 #define IEEE802154_FC_DAMODE_SHIFT	10
 #define IEEE802154_FC_DAMODE_MASK	(3 << IEEE802154_FC_DAMODE_SHIFT)
 
+#define IEEE802154_FC_VERSION_SHIFT	12
+#define IEEE802154_FC_VERSION_MASK	(3 << IEEE802154_FC_VERSION_SHIFT)
+#define IEEE802154_FC_VERSION(x)	((x & IEEE802154_FC_VERSION_MASK) >> IEEE802154_FC_VERSION_SHIFT)
+
 #define IEEE802154_FC_SAMODE(x)		\
 	(((x) & IEEE802154_FC_SAMODE_MASK) >> IEEE802154_FC_SAMODE_SHIFT)
 
 #define IEEE802154_FC_DAMODE(x)		\
 	(((x) & IEEE802154_FC_DAMODE_MASK) >> IEEE802154_FC_DAMODE_SHIFT)
 
+#define IEEE802154_SCF_SECLEVEL_MASK		7
+#define IEEE802154_SCF_SECLEVEL_SHIFT		0
+#define IEEE802154_SCF_SECLEVEL(x)		(x & IEEE802154_SCF_SECLEVEL_MASK)
+#define IEEE802154_SCF_KEY_ID_MODE_SHIFT	3
+#define IEEE802154_SCF_KEY_ID_MODE_MASK		(3 << IEEE802154_SCF_KEY_ID_MODE_SHIFT)
+#define IEEE802154_SCF_KEY_ID_MODE(x)		\
+	((x & IEEE802154_SCF_KEY_ID_MODE_MASK) >> IEEE802154_SCF_KEY_ID_MODE_SHIFT)
+
+#define IEEE802154_SCF_KEY_IMPLICIT		0
+#define IEEE802154_SCF_KEY_INDEX		1
+#define IEEE802154_SCF_KEY_SHORT_INDEX		2
+#define IEEE802154_SCF_KEY_HW_INDEX		3
 
 /* MAC footer size */
 #define IEEE802154_MFR_SIZE	2 /* 2 octets */
diff --git a/include/net/ieee802154_netdev.h b/include/net/ieee802154_netdev.h
index e4810d566b1b..c3fc33a78920 100644
--- a/include/net/ieee802154_netdev.h
+++ b/include/net/ieee802154_netdev.h
@@ -28,6 +28,28 @@
 #define IEEE802154_NETDEVICE_H
 
 #include <net/af_ieee802154.h>
+#include <linux/netdevice.h>
+#include <linux/skbuff.h>
+
+struct ieee802154_sechdr {
+#if defined(__LITTLE_ENDIAN_BITFIELD)
+	u8 level:3,
+	   key_id_mode:2,
+	   reserved:3;
+#elif defined(__BIG_ENDIAN_BITFIELD)
+	u8 reserved:3,
+	   key_id_mode:2,
+	   level:3;
+#else
+#error	"Please fix <asm/byteorder.h>"
+#endif
+	u8 key_id;
+	__le32 frame_counter;
+	union {
+		__le32 short_src;
+		__le64 extended_src;
+	};
+};
 
 struct ieee802154_addr {
 	u8 mode;
@@ -38,6 +60,71 @@ struct ieee802154_addr {
 	};
 };
 
+struct ieee802154_hdr_fc {
+#if defined(__LITTLE_ENDIAN_BITFIELD)
+	u16 type:3,
+	    security_enabled:1,
+	    frame_pending:1,
+	    ack_request:1,
+	    intra_pan:1,
+	    reserved:3,
+	    dest_addr_mode:2,
+	    version:2,
+	    source_addr_mode:2;
+#elif defined(__BIG_ENDIAN_BITFIELD)
+	u16 reserved:1,
+	    intra_pan:1,
+	    ack_request:1,
+	    frame_pending:1,
+	    security_enabled:1,
+	    type:3,
+	    source_addr_mode:2,
+	    version:2,
+	    dest_addr_mode:2,
+	    reserved2:2;
+#else
+#error	"Please fix <asm/byteorder.h>"
+#endif
+};
+
+struct ieee802154_hdr {
+	struct ieee802154_hdr_fc fc;
+	u8 seq;
+	struct ieee802154_addr source;
+	struct ieee802154_addr dest;
+	struct ieee802154_sechdr sec;
+};
+
+/* pushes hdr onto the skb. fields of hdr->fc that can be calculated from
+ * the contents of hdr will be, and the actual value of those bits in
+ * hdr->fc will be ignored. this includes the INTRA_PAN bit and the frame
+ * version, if SECEN is set.
+ */
+int ieee802154_hdr_push(struct sk_buff *skb, const struct ieee802154_hdr *hdr);
+
+/* pulls the entire 802.15.4 header off of the skb, including the security
+ * header, and performs pan id decompression
+ */
+int ieee802154_hdr_pull(struct sk_buff *skb, struct ieee802154_hdr *hdr);
+
+/* parses the frame control, sequence number of address fields in a given skb
+ * and stores them into hdr, performing pan id decompression and length checks
+ * to be suitable for use in header_ops.parse
+ */
+int ieee802154_hdr_peek_addrs(const struct sk_buff *skb,
+			      struct ieee802154_hdr *hdr);
+
+static inline int ieee802154_hdr_length(struct sk_buff *skb)
+{
+	struct ieee802154_hdr hdr;
+	int len = ieee802154_hdr_pull(skb, &hdr);
+
+	if (len > 0)
+		skb_push(skb, len);
+
+	return len;
+}
+
 static inline bool ieee802154_addr_equal(const struct ieee802154_addr *a1,
 					 const struct ieee802154_addr *a2)
 {
diff --git a/include/net/mac802154.h b/include/net/mac802154.h
index f74b2a8bf2b6..a591053cae63 100644
--- a/include/net/mac802154.h
+++ b/include/net/mac802154.h
@@ -20,6 +20,7 @@
 #define NET_MAC802154_H
 
 #include <net/af_ieee802154.h>
+#include <linux/skbuff.h>
 
 /* General MAC frame format:
  *  2 bytes: Frame Control
diff --git a/net/ieee802154/Makefile b/net/ieee802154/Makefile
index 78b1fa23d30e..bf1b51497a41 100644
--- a/net/ieee802154/Makefile
+++ b/net/ieee802154/Makefile
@@ -3,7 +3,8 @@ obj-$(CONFIG_IEEE802154_6LOWPAN) += 6lowpan.o
 obj-$(CONFIG_6LOWPAN_IPHC) += 6lowpan_iphc.o
 
 6lowpan-y := 6lowpan_rtnl.o reassembly.o
-ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o wpan-class.o
+ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o wpan-class.o \
+                header_ops.o
 af_802154-y := af_ieee802154.o raw.o dgram.o
 
 ccflags-y += -D__CHECK_ENDIAN__
diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
new file mode 100644
index 000000000000..bed42a48408c
--- /dev/null
+++ b/net/ieee802154/header_ops.c
@@ -0,0 +1,287 @@
+/*
+ * Copyright (C) 2014 Fraunhofer ITWM
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * Written by:
+ * Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
+ */
+
+#include <net/mac802154.h>
+#include <net/ieee802154.h>
+#include <net/ieee802154_netdev.h>
+
+static int
+ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr,
+			 bool omit_pan)
+{
+	int pos = 0;
+
+	if (addr->mode == IEEE802154_ADDR_NONE)
+		return 0;
+
+	if (!omit_pan) {
+		memcpy(buf + pos, &addr->pan_id, 2);
+		pos += 2;
+	}
+
+	switch (addr->mode) {
+	case IEEE802154_ADDR_SHORT:
+		memcpy(buf + pos, &addr->short_addr, 2);
+		pos += 2;
+		break;
+
+	case IEEE802154_ADDR_LONG:
+		memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN);
+		pos += IEEE802154_ADDR_LEN;
+		break;
+
+	default:
+		return -EINVAL;
+	}
+
+	return pos;
+}
+
+static int
+ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr)
+{
+	int pos = 5;
+
+	memcpy(buf, hdr, 1);
+	memcpy(buf + 1, &hdr->frame_counter, 4);
+
+	switch (hdr->key_id_mode) {
+	case IEEE802154_SCF_KEY_IMPLICIT:
+		return pos;
+
+	case IEEE802154_SCF_KEY_INDEX:
+		break;
+
+	case IEEE802154_SCF_KEY_SHORT_INDEX:
+		memcpy(buf + pos, &hdr->short_src, 4);
+		pos += 4;
+		break;
+
+	case IEEE802154_SCF_KEY_HW_INDEX:
+		memcpy(buf + pos, &hdr->extended_src, IEEE802154_ADDR_LEN);
+		pos += IEEE802154_ADDR_LEN;
+		break;
+	}
+
+	buf[pos++] = hdr->key_id;
+
+	return pos;
+}
+
+int
+ieee802154_hdr_push(struct sk_buff *skb, const struct ieee802154_hdr *hdr)
+{
+	u8 buf[MAC802154_FRAME_HARD_HEADER_LEN];
+	int pos = 2;
+	int rc;
+	struct ieee802154_hdr_fc fc = hdr->fc;
+
+	buf[pos++] = hdr->seq;
+
+	fc.dest_addr_mode = hdr->dest.mode;
+
+	rc = ieee802154_hdr_push_addr(buf + pos, &hdr->dest, false);
+	if (rc < 0)
+		return -EINVAL;
+	pos += rc;
+
+	fc.source_addr_mode = hdr->source.mode;
+
+	if (hdr->source.pan_id == hdr->dest.pan_id &&
+	    hdr->dest.mode != IEEE802154_ADDR_NONE)
+		fc.intra_pan = true;
+
+	rc = ieee802154_hdr_push_addr(buf + pos, &hdr->source, fc.intra_pan);
+	if (rc < 0)
+		return -EINVAL;
+	pos += rc;
+
+	if (fc.security_enabled) {
+		fc.version = 1;
+
+		rc = ieee802154_hdr_push_sechdr(buf + pos, &hdr->sec);
+		if (rc < 0)
+			return -EINVAL;
+
+		pos += rc;
+	}
+
+	memcpy(buf, &fc, 2);
+
+	memcpy(skb_push(skb, pos), buf, pos);
+
+	return pos;
+}
+EXPORT_SYMBOL_GPL(ieee802154_hdr_push);
+
+static int
+ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
+			struct ieee802154_addr *addr)
+{
+	int pos = 0;
+
+	addr->mode = mode;
+
+	if (mode == IEEE802154_ADDR_NONE)
+		return 0;
+
+	if (!omit_pan) {
+		memcpy(&addr->pan_id, buf + pos, 2);
+		pos += 2;
+	}
+
+	if (mode == IEEE802154_ADDR_SHORT) {
+		memcpy(&addr->short_addr, buf + pos, 2);
+		return pos + 2;
+	} else {
+		memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN);
+		return pos + IEEE802154_ADDR_LEN;
+	}
+}
+
+static int ieee802154_hdr_addr_len(int mode, bool omit_pan)
+{
+	int pan_len = omit_pan ? 0 : 2;
+
+	switch (mode) {
+	case IEEE802154_ADDR_NONE: return 0;
+	case IEEE802154_ADDR_SHORT: return 2 + pan_len;
+	case IEEE802154_ADDR_LONG: return IEEE802154_ADDR_LEN + pan_len;
+	default: return -EINVAL;
+	}
+}
+
+static int
+ieee802154_hdr_get_sechdr(const u8 *buf, struct ieee802154_sechdr *hdr)
+{
+	int pos = 5;
+
+	memcpy(hdr, buf, 1);
+	memcpy(&hdr->frame_counter, buf + 1, 4);
+
+	switch (hdr->key_id_mode) {
+	case IEEE802154_SCF_KEY_IMPLICIT:
+		return pos;
+
+	case IEEE802154_SCF_KEY_INDEX:
+		break;
+
+	case IEEE802154_SCF_KEY_SHORT_INDEX:
+		memcpy(&hdr->short_src, buf + pos, 4);
+		pos += 4;
+		break;
+
+	case IEEE802154_SCF_KEY_HW_INDEX:
+		memcpy(&hdr->extended_src, buf + pos, IEEE802154_ADDR_LEN);
+		pos += IEEE802154_ADDR_LEN;
+		break;
+	}
+
+	hdr->key_id = buf[pos++];
+
+	return pos;
+}
+
+static int ieee802154_hdr_sechdr_len(u8 sc)
+{
+	switch (IEEE802154_SCF_KEY_ID_MODE(sc)) {
+	case IEEE802154_SCF_KEY_IMPLICIT: return 5;
+	case IEEE802154_SCF_KEY_INDEX: return 6;
+	case IEEE802154_SCF_KEY_SHORT_INDEX: return 10;
+	case IEEE802154_SCF_KEY_HW_INDEX: return 14;
+	default: return -EINVAL;
+	}
+}
+
+static int ieee802154_hdr_minlen(const struct ieee802154_hdr *hdr)
+{
+	int dlen, slen;
+
+	dlen = ieee802154_hdr_addr_len(hdr->fc.dest_addr_mode, false);
+	slen = ieee802154_hdr_addr_len(hdr->fc.source_addr_mode,
+				       hdr->fc.intra_pan);
+
+	if (slen < 0 || dlen < 0)
+		return -EINVAL;
+
+	return 3 + dlen + slen + hdr->fc.security_enabled;
+}
+
+static int
+ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr)
+{
+	int pos = 0;
+
+	pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.dest_addr_mode,
+				       false, &hdr->dest);
+	pos += ieee802154_hdr_get_addr(buf + pos, hdr->fc.source_addr_mode,
+				       hdr->fc.intra_pan, &hdr->source);
+
+	if (hdr->fc.intra_pan)
+		hdr->source.pan_id = hdr->dest.pan_id;
+
+	return pos;
+}
+
+int
+ieee802154_hdr_pull(struct sk_buff *skb, struct ieee802154_hdr *hdr)
+{
+	int pos = 3, rc;
+
+	if (!pskb_may_pull(skb, 3))
+		return -EINVAL;
+
+	memcpy(hdr, skb->data, 3);
+
+	rc = ieee802154_hdr_minlen(hdr);
+	if (rc < 0 || !pskb_may_pull(skb, rc))
+		return -EINVAL;
+
+	pos += ieee802154_hdr_get_addrs(skb->data + pos, hdr);
+
+	if (hdr->fc.security_enabled) {
+		int want = pos + ieee802154_hdr_sechdr_len(skb->data[pos]);
+
+		if (!pskb_may_pull(skb, want))
+			return -EINVAL;
+
+		pos += ieee802154_hdr_get_sechdr(skb->data + pos, &hdr->sec);
+	}
+
+	skb_pull(skb, pos);
+	return pos;
+}
+EXPORT_SYMBOL_GPL(ieee802154_hdr_pull);
+
+int
+ieee802154_hdr_peek_addrs(const struct sk_buff *skb, struct ieee802154_hdr *hdr)
+{
+	const u8 *buf = skb_mac_header(skb);
+	int pos = 3, rc;
+
+	if (buf + 3 > skb_tail_pointer(skb))
+		return -EINVAL;
+
+	memcpy(hdr, buf, 3);
+
+	rc = ieee802154_hdr_minlen(hdr);
+	if (rc < 0 || buf + rc > skb_tail_pointer(skb))
+		return -EINVAL;
+
+	pos += ieee802154_hdr_get_addrs(buf + pos, hdr);
+	return pos;
+}
+EXPORT_SYMBOL_GPL(ieee802154_hdr_peek_addrs);
]

156/2 2026/05/21 23:26 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15025
							output: 58
							thoughts: 380
						

Thoughts:
**Analyzing the Bug in `ieee802154_hdr_get_addr`**

Okay, so commit `94b4f6c21cf54029377a0645675a9d81b6cf890d` introduced the `ieee802154_hdr_get_addr` function, and the code snippet provided is the exact logic in question. It's clear that this is where the fix needs to be applied, and where the bug originates. The function's behavior is such that, when the address mode is `IEEE802154_ADDR_NONE`, it returns early, and as the bug report states, leaves `addr->pan_id` uninitialized, filled with stack garbage. I need to make sure this is indeed the single source of this problem.

I need to confirm if any other commits are responsible, even tangentially, for this problem. The report mentions that this uninitialized memory is leaked to user space via `dgram_recvmsg()`. This means I need to trace the evolution of `dgram_recvmsg` and its interaction with `pan_id` specifically to confirm exactly where the leak occurs. I need to check the commit history of that function and when it started copying `pan_id` unconditionally or, possibly, when `ieee802154_addr_to_sa` was introduced, looking for any interactions or dependencies. This approach should help me ensure no other commits are contributing to or compounding the issue.



157/2 2026/05/21 23:26 tool git-log
0m Args:
map[Count:10 SourcePath:include/net/ieee802154_netdev.h SymbolName:ieee802154_addr_to_sa]

Results:
map[Output:a13061ec04e9 6lowpan: move lowpan frag_info out of 802.15.4 headers
46ef0eb3ea65 ieee802154: add address struct with proper endiannes and some operations
89745c9c41b0 6lowpan: add frag information struct
9ec767160357 net: add IEEE 802.15.4 socket family implementation
]

158/2 2026/05/21 23:27 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15925
							output: 24
							thoughts: 15
						

Thoughts:
Okay, here's my interpretation of that.

**Analyzing the Hash: `46ef0eb3ea65`**

Alright, let's take a look at this hash: `46ef0eb3ea65`. I recognize it immediately as a hex string, likely a cryptographic hash. Given my experience, the first question that pops into my head is: *What algorithm produced this?* Is it MD5? SHA-1? SHA-256? Or perhaps something more specialized depending on the context of where I encountered it. The length of the string hints it is not MD5, at 32 characters in length. I will have to investigate what potential hash function created this hex string. This could be anything from a simple checksum to a more complex fingerprint of data or a file. I will proceed to dig further and analyze context for clues!



159/2 2026/05/21 23:27 tool git-show
0m Args:
map[Commit:46ef0eb3ea65]

Results:
map[Output:commit 46ef0eb3ea65e7043aac17cb92982be879c65366
Author: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Date:   Fri Mar 14 21:23:58 2014 +0100

    ieee802154: add address struct with proper endiannes and some operations
    
    Add a replacement ieee802154_addr struct with proper endianness on
    fields. Short address fields are stored as __le16 as on the network,
    extended (EUI64) addresses are __le64 as opposed to the u8[8] format
    used previously. This disconnect with the netdev address, which is
    stored as big-endian u8[8], is intentional.
    
    Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/include/net/ieee802154_netdev.h b/include/net/ieee802154_netdev.h
index 53937cdbcd82..86d5d50a6a53 100644
--- a/include/net/ieee802154_netdev.h
+++ b/include/net/ieee802154_netdev.h
@@ -29,6 +29,78 @@
 
 #include <net/af_ieee802154.h>
 
+struct ieee802154_addr {
+	u8 mode;
+	__le16 pan_id;
+	union {
+		__le16 short_addr;
+		__le64 extended_addr;
+	};
+};
+
+static inline bool ieee802154_addr_equal(const struct ieee802154_addr *a1,
+					 const struct ieee802154_addr *a2)
+{
+	if (a1->pan_id != a2->pan_id || a1->mode != a2->mode)
+		return false;
+
+	if ((a1->mode == IEEE802154_ADDR_LONG &&
+	     a1->extended_addr != a2->extended_addr) ||
+	    (a1->mode == IEEE802154_ADDR_SHORT &&
+	     a1->short_addr != a2->short_addr))
+		return false;
+
+	return true;
+}
+
+static inline __le64 ieee802154_devaddr_from_raw(const void *raw)
+{
+	u64 temp;
+
+	memcpy(&temp, raw, IEEE802154_ADDR_LEN);
+	return (__force __le64)swab64(temp);
+}
+
+static inline void ieee802154_devaddr_to_raw(void *raw, __le64 addr)
+{
+	u64 temp = swab64((__force u64)addr);
+
+	memcpy(raw, &temp, IEEE802154_ADDR_LEN);
+}
+
+static inline void ieee802154_addr_from_sa(struct ieee802154_addr *a,
+					   const struct ieee802154_addr_sa *sa)
+{
+	a->mode = sa->addr_type;
+	a->pan_id = cpu_to_le16(sa->pan_id);
+
+	switch (a->mode) {
+	case IEEE802154_ADDR_SHORT:
+		a->short_addr = cpu_to_le16(sa->short_addr);
+		break;
+	case IEEE802154_ADDR_LONG:
+		a->extended_addr = ieee802154_devaddr_from_raw(sa->hwaddr);
+		break;
+	}
+}
+
+static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
+					 const struct ieee802154_addr *a)
+{
+	sa->addr_type = a->mode;
+	sa->pan_id = le16_to_cpu(a->pan_id);
+
+	switch (a->mode) {
+	case IEEE802154_ADDR_SHORT:
+		sa->short_addr = le16_to_cpu(a->short_addr);
+		break;
+	case IEEE802154_ADDR_LONG:
+		ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr);
+		break;
+	}
+}
+
+
 struct ieee802154_frag_info {
 	__be16 d_tag;
 	u16 d_size;
]

160/2 2026/05/21 23:27 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 17450
							output: 55
							thoughts: 740
						

Thoughts:
**Analyzing the IEEE 802.15.4 Header Handling Bug**

Okay, so here's what I'm seeing. In commit `46ef0eb3ea65`, `ieee802154_addr_to_sa` is unconditionally copying `pan_id`. This immediately flags something – it's assuming `pan_id` is always initialized. The problem, as the analysis states, is that `ieee802154_hdr_get_addr` leaves `pan_id` uninitialized when the address mode (`mode`) is set to `IEEE802154_ADDR_NONE`. Classic uninitialized memory issue, especially problematic in networking.

Now, this `ieee802154_hdr_get_addr` function was introduced in `94b4f6c21cf54029377a0645675a9d81b6cf890d`. The fact that both the buggy code and the fix come from the same author and date suggests a straightforward, contained issue. The patch specifically modifies `net/ieee802154/header_ops.c`, which makes me think that's the point of introduction of this functionality.

Let's quickly verify that the initial commit is actually `94b4f6c21cf54029377a0645675a9d81b6cf890d`. Yep, the patch directly modifies that file, so that's where the buggy function, `ieee802154_hdr_get_addr`, was added. Confirmed.

Okay, back to the problem. Let's make sure we've got the root cause nailed down. The bug explanation is right: when the address mode is `IEEE802154_ADDR_NONE`, the function bails out early, leaving that crucial `addr->pan_id` uninitialized. That's stack garbage, just waiting to cause unexpected behavior downstream. And, looking again at `94b4f6c21cf54029377a0645675a9d81b6cf890d`, that's what it *does*.

Now, the question is if there are other contributing commits. Since the uninitialized variable in the analysis is `struct ieee802154_hdr hdr;`, I should check whether there may be other commits where the usage of `struct ieee802154_hdr hdr;` was introduced or modified. I'll need to check the function `__ieee802154_rx_handle_packet` (or similar). That's the next logical step.



161/2 2026/05/21 23:27 tool git-log
0m Args:
map[Count:10 SourcePath:net/mac802154/rx.c SymbolName:__ieee802154_rx_handle_packet]

Results:
map[Output:71a06f1034b9 mac802154: Fix possible double free upon parsing error
2622e785f757 mac802154: Allow the creation of coordinator interfaces
4d1c7d87030b mac802154: Move an skb free within the rx path
0218277df5a5 mac802154: Avoid delivering frames received in a non satisfying filtering mode
56f9ebe641d6 mac802154: Delete an unnecessary check before the function call "kfree_skb"
1bc1754e82f0 mac802154: rx packet handle cleanup
ed65963ba0a2 mac802154: remove unneeded vif struct
944742a36d78 mac802154: use new nl802154 iftype types
7c118c1a8664 mac802154: add ieee802154_vif struct
be9d215fa9d1 mac802154: rx: change naming convention
]

162/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 19158
							output: 26
							thoughts: 30
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Analyzing Potential Commits**

Okay, time to dive into these specific hashes: `1bc1754e82f0` and `be9d215fa9d1`. My initial hunch is to see what kind of impact these commits had. I'll need to immediately pull the associated diffs and investigate the context of their changes. Are we talking feature implementation, bug fixes, refactoring, or something else entirely? The commit messages and log context are crucial for understanding their purpose and potential impact on existing code. I'll be looking for any indications of architectural changes, performance optimizations (or degradations), and potential regressions. My understanding of the codebase is paramount in determining the scope of impact. I will also make some inferences about the implications of the changes.



163/2 2026/05/21 23:28 tool git-show
0m Args:
map[Commit:1bc1754e82f0]

Results:
map[Output:commit 1bc1754e82f03c2c29b6e39ee02af48fa3bdef23
Author: Varka Bhadram <varkabhadram@gmail.com>
Date:   Fri Jun 12 12:44:24 2015 +0530

    mac802154: rx packet handle cleanup
    
    This patch replaces !netif_running(sdata->dev) with
    !ieee802154_sdata_running(sdata) and also devide the
    code two separate if branches.
    
    Signed-off-by: Varka Bhadram <varkab@cdac.in>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c
index 1bdf98068608..d93ad2d4a4fc 100644
--- a/net/mac802154/rx.c
+++ b/net/mac802154/rx.c
@@ -202,8 +202,10 @@ __ieee802154_rx_handle_packet(struct ieee802154_local *local,
 	}
 
 	list_for_each_entry_rcu(sdata, &local->interfaces, list) {
-		if (sdata->wpan_dev.iftype != NL802154_IFTYPE_NODE ||
-		    !netif_running(sdata->dev))
+		if (sdata->wpan_dev.iftype != NL802154_IFTYPE_NODE)
+			continue;
+
+		if (!ieee802154_sdata_running(sdata))
 			continue;
 
 		ieee802154_subif_frame(sdata, skb, &hdr);
]

164/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 19915
							output: 25
							thoughts: 16
						

Thoughts:
Okay, let's dive into this. Here's my thought process on this:

**Analyzing Commit `be9d215fa9d1`**

Right, so the first thing I need to do is examine this commit hash, `be9d215fa9d1`. It's a specific point in the project's history, a snapshot of code and changes. I need to understand what modifications this commit represents. This could be anything - a bug fix, a new feature, a refactor, or even just some documentation updates. I'll need to use my tools to pull up the diff and see exactly what changed, line by line. My initial assessment depends on the context of the project. If I know what I was working on at the time, this commit might be familiar. If I don't I'll need to figure out what files are touched. Then, with the diff open, I'll need to quickly understand the impact. I am assuming a good commit message, which will provide context. I might need to consider how these changes integrate with the surrounding code base and what potential side effects there might be. I need to quickly identify the key areas of concern. Is it a complex algorithm, a critical security fix, or a simple text edit? This is just the starting point - I will be looking to get a comprehensive understanding of the intent and implication of this commit.



165/2 2026/05/21 23:28 tool git-show
0m Args:
map[Commit:be9d215fa9d1]

Results:
map[Output:commit be9d215fa9d13ecfe013a1b0d0f92f6d84a52c5c
Author: Alexander Aring <alex.aring@gmail.com>
Date:   Mon Oct 27 17:13:43 2014 +0100

    mac802154: rx: change naming convention
    
    This patch changes the naming convention of mac802154 rx file. It should
    be more named like mac80211 stack. Furthermore we introduce a new frame
    parsing implementation which is much similar the mac80211
    implementation.
    
    Signed-off-by: Alexander Aring <alex.aring@gmail.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c
index 689bb7ff5b2a..86394befbf88 100644
--- a/net/mac802154/rx.c
+++ b/net/mac802154/rx.c
@@ -29,7 +29,7 @@
 
 #include "ieee802154_i.h"
 
-static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb)
+static int ieee802154_deliver_skb(struct net_device *dev, struct sk_buff *skb)
 {
 	skb->ip_summed = CHECKSUM_UNNECESSARY;
 	skb->protocol = htons(ETH_P_IEEE802154);
@@ -38,8 +38,8 @@ static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb)
 }
 
 static int
-mac802154_subif_frame(struct ieee802154_sub_if_data *sdata, struct sk_buff *skb,
-		      const struct ieee802154_hdr *hdr)
+ieee802154_subif_frame(struct ieee802154_sub_if_data *sdata,
+		       struct sk_buff *skb, const struct ieee802154_hdr *hdr)
 {
 	__le16 span, sshort;
 	int rc;
@@ -103,7 +103,7 @@ mac802154_subif_frame(struct ieee802154_sub_if_data *sdata, struct sk_buff *skb,
 
 	switch (mac_cb(skb)->type) {
 	case IEEE802154_FC_TYPE_DATA:
-		return mac802154_process_data(sdata->dev, skb);
+		return ieee802154_deliver_skb(sdata->dev, skb);
 	default:
 		pr_warn("ieee802154: bad frame received (type = %d)\n",
 			mac_cb(skb)->type);
@@ -115,8 +115,8 @@ mac802154_subif_frame(struct ieee802154_sub_if_data *sdata, struct sk_buff *skb,
 	return NET_RX_DROP;
 }
 
-static void mac802154_print_addr(const char *name,
-				 const struct ieee802154_addr *addr)
+static void
+ieee802154_print_addr(const char *name, const struct ieee802154_addr *addr)
 {
 	if (addr->mode == IEEE802154_ADDR_NONE)
 		pr_debug("%s not present\n", name);
@@ -132,8 +132,8 @@ static void mac802154_print_addr(const char *name,
 	}
 }
 
-static int mac802154_parse_frame_start(struct sk_buff *skb,
-				       struct ieee802154_hdr *hdr)
+static int
+ieee802154_parse_frame_start(struct sk_buff *skb, struct ieee802154_hdr *hdr)
 {
 	int hlen;
 	struct ieee802154_mac_cb *cb = mac_cb_init(skb);
@@ -153,8 +153,8 @@ static int mac802154_parse_frame_start(struct sk_buff *skb,
 	cb->ackreq = hdr->fc.ack_request;
 	cb->secen = hdr->fc.security_enabled;
 
-	mac802154_print_addr("destination", &hdr->dest);
-	mac802154_print_addr("source", &hdr->source);
+	ieee802154_print_addr("destination", &hdr->dest);
+	ieee802154_print_addr("source", &hdr->source);
 
 	cb->source = hdr->source;
 	cb->dest = hdr->dest;
@@ -192,13 +192,14 @@ static int mac802154_parse_frame_start(struct sk_buff *skb,
 }
 
 static void
-mac802154_wpans_rx(struct ieee802154_local *local, struct sk_buff *skb)
+__ieee802154_rx_handle_packet(struct ieee802154_local *local,
+			      struct sk_buff *skb)
 {
 	int ret;
 	struct ieee802154_sub_if_data *sdata;
 	struct ieee802154_hdr hdr;
 
-	ret = mac802154_parse_frame_start(skb, &hdr);
+	ret = ieee802154_parse_frame_start(skb, &hdr);
 	if (ret) {
 		pr_debug("got invalid frame\n");
 		kfree_skb(skb);
@@ -210,7 +211,7 @@ mac802154_wpans_rx(struct ieee802154_local *local, struct sk_buff *skb)
 		    !netif_running(sdata->dev))
 			continue;
 
-		mac802154_subif_frame(sdata, skb, &hdr);
+		ieee802154_subif_frame(sdata, skb, &hdr);
 		skb = NULL;
 		break;
 	}
@@ -220,7 +221,7 @@ mac802154_wpans_rx(struct ieee802154_local *local, struct sk_buff *skb)
 }
 
 static void
-mac802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb)
+ieee802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb)
 {
 	struct sk_buff *skb2;
 	struct ieee802154_sub_if_data *sdata;
@@ -271,8 +272,8 @@ void ieee802154_rx(struct ieee802154_hw *hw, struct sk_buff *skb)
 
 	rcu_read_lock();
 
-	mac802154_monitors_rx(local, skb);
-	mac802154_wpans_rx(local, skb);
+	ieee802154_monitors_rx(local, skb);
+	__ieee802154_rx_handle_packet(local, skb);
 
 	rcu_read_unlock();
 
]

166/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 22352
							output: 53
							thoughts: 72
						

Thoughts:
Here's my take on those thoughts:

**Analyzing the Receiver Flow**

Okay, so I'm looking at `__ieee802154_rx_handle_packet` and immediately see it's a simple renaming of `mac802154_wpans_rx`. Not a big deal, just need to be aware of the alias. My focus now needs to shift to understanding the receiver flow, so I'll trace through `mac802154_wpans_rx` itself, then dig into `mac802154_parse_frame_start`. I want to see how the incoming packet is processed, starting from its arrival. I need to understand how the frame's start is interpreted by the software. This is likely where the frame's metadata and structure are decoded, and where the process begins to identify if a particular frame belongs to a particular context. I need to know this parsing function well to truly understand the flow.



167/2 2026/05/21 23:28 tool git-log
0m Error:
git log failed: fatal: -L parameter 'mac802154_parse_frame_start' starting at line 1: no match

Args:
map[Count:10 SourcePath:net/mac802154/rx.c SymbolName:mac802154_parse_frame_start]

Results:
map[Output:]

168/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 22732
							output: 52
							thoughts: 18
						

Thoughts:
Okay, here's my attempt at summarizing the thought process, as if it were my own, assuming I'm an expert in the field:

**Tracing `mac802154_wpans_rx`**

Alright, let's dive into this. The function name, `mac802154_wpans_rx`, immediately screams "802.15.4 Wireless Personal Area Network (WPAN) Receive Path." My immediate instinct is to visualize the data flow; I need to understand how incoming packets are handled at the MAC layer. I'm thinking about the low-level physical layer interactions and how the MAC layer interprets the raw data.

First, I need to know where this function is called from, which other components are involved in the packet reception process. Is this function triggered by an interrupt handler or a polling mechanism? Understanding the context will give me a better understanding. What are the key data structures this function operates on? We are talking 802.15.4, so there are going to be frame structures, data buffers, maybe some kind of receive descriptor. I'll need to know these details.

Then, I'm thinking about error handling. What kind of validity checks are performed on the incoming frame? CRC checks, address filtering, security checks if applicable – all of these must be in this function, or downstream. What happens if a frame fails a check? Is it silently discarded, or are error counters incremented, and an error code reported? I want to see the error pathways.

I'm also curious about the overall design. Is this a blocking or non-blocking implementation? How does this function interface with higher-layer protocols like the network layer or the application layer? Is there any form of buffering or queuing involved? Specifically, I'd like to check if this handles frame reordering and ACK.

Finally, efficiency is always paramount. I need to look for potential performance bottlenecks. Are there any unnecessary memory copies? Are there any computationally intensive operations that could be optimized? Are there any locking mechanisms that might become contention points? I'll probably be able to form a mental model of the reception process. Then, I can start to identify potential areas for optimization. The goal is to quickly understand the flow, the key decisions made and what the function is intended to do.



169/2 2026/05/21 23:28 tool git-log
0m Error:
git log failed: fatal: -L parameter 'mac802154_wpans_rx' starting at line 1: no match

Args:
map[Count:10 SourcePath:net/mac802154/rx.c SymbolName:mac802154_wpans_rx]

Results:
map[Output:]

170/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23335
							output: 54
							thoughts: 51
						

Thoughts:
**Investigating a Potentially Missing Symbol**

Okay, so I suspect a symbol I was relying on, specifically related to MAC 802.15.4 frame parsing, could have been removed or perhaps just renamed. It's a common occurrence in our field. To get to the bottom of this quickly, I'm going to dive into the revision history of `net/mac802154/rx.c`. I'll search for occurrences of `mac802154_parse_frame_start`. The history should reveal whether the function was deleted, modified, or if it simply lives under a different name now. That should give me the information I need to understand what's going on and how to proceed.



171/2 2026/05/21 23:28 tool git-log
0m Args:
map[CodeRegexp:mac802154_parse_frame_start Count:10 PathPrefix:net/mac802154/rx.c]

Results:
map[Output:be9d215fa9d1 mac802154: rx: change naming convention
2a9820c9e20a mac802154: rx: move receive handling into rx.c
]

172/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23665
							output: 27
							thoughts: 18
						

Thoughts:
Okay, here's my interpretation of that thought process, tailored for an expert audience, and written in the first person:

**Initial Assessment: Code Review - `2a9820c9e20a`**

Alright, let's take a look at this commit hash, `2a9820c9e20a`. First, I need to get a high-level view. I'm immediately thinking: what was the context? What triggered this change? Was it a bug fix, a feature addition, a refactor, or something else entirely? A quick glance at the surrounding commits and the associated ticket if there is one will guide my first assessment. I am also considering my prior experience with this codebase, which can help anticipate potential areas of concern. Is it in a module I'm familiar with, or something entirely new? My goal here is not to just passively review, but actively search for risks.



173/2 2026/05/21 23:28 tool git-show
0m Args:
map[Commit:2a9820c9e20a]

Results:
map[Output:commit 2a9820c9e20a7889bf464e1edff5f75d685a8214
Author: Alexander Aring <alex.aring@gmail.com>
Date:   Mon Oct 27 17:13:32 2014 +0100

    mac802154: rx: move receive handling into rx.c
    
    This patch removes all relevant receiving functions inclusive frame
    parsing into rx file. Like mac80211 we should implement the complete
    receive handling and parsing in this file.
    
    Signed-off-by: Alexander Aring <alex.aring@gmail.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

diff --git a/net/mac802154/ieee802154_i.h b/net/mac802154/ieee802154_i.h
index 603509a94a86..be2f2f6774ae 100644
--- a/net/mac802154/ieee802154_i.h
+++ b/net/mac802154/ieee802154_i.h
@@ -131,7 +131,6 @@ void mac802154_monitor_setup(struct net_device *dev);
 netdev_tx_t
 ieee802154_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev);
 
-void mac802154_wpans_rx(struct ieee802154_local *local, struct sk_buff *skb);
 void mac802154_wpan_setup(struct net_device *dev);
 netdev_tx_t
 ieee802154_subif_start_xmit(struct sk_buff *skb, struct net_device *dev);
diff --git a/net/mac802154/iface.c b/net/mac802154/iface.c
index 311f60c8629b..7e4bffcbcd4d 100644
--- a/net/mac802154/iface.c
+++ b/net/mac802154/iface.c
@@ -373,189 +373,3 @@ void mac802154_wpan_setup(struct net_device *dev)
 
 	mac802154_llsec_init(&sdata->sec);
 }
-
-static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb)
-{
-	return netif_receive_skb(skb);
-}
-
-static int
-mac802154_subif_frame(struct ieee802154_sub_if_data *sdata, struct sk_buff *skb,
-		      const struct ieee802154_hdr *hdr)
-{
-	__le16 span, sshort;
-	int rc;
-
-	pr_debug("getting packet via slave interface %s\n", sdata->dev->name);
-
-	spin_lock_bh(&sdata->mib_lock);
-
-	span = sdata->pan_id;
-	sshort = sdata->short_addr;
-
-	switch (mac_cb(skb)->dest.mode) {
-	case IEEE802154_ADDR_NONE:
-		if (mac_cb(skb)->dest.mode != IEEE802154_ADDR_NONE)
-			/* FIXME: check if we are PAN coordinator */
-			skb->pkt_type = PACKET_OTHERHOST;
-		else
-			/* ACK comes with both addresses empty */
-			skb->pkt_type = PACKET_HOST;
-		break;
-	case IEEE802154_ADDR_LONG:
-		if (mac_cb(skb)->dest.pan_id != span &&
-		    mac_cb(skb)->dest.pan_id != cpu_to_le16(IEEE802154_PANID_BROADCAST))
-			skb->pkt_type = PACKET_OTHERHOST;
-		else if (mac_cb(skb)->dest.extended_addr == sdata->extended_addr)
-			skb->pkt_type = PACKET_HOST;
-		else
-			skb->pkt_type = PACKET_OTHERHOST;
-		break;
-	case IEEE802154_ADDR_SHORT:
-		if (mac_cb(skb)->dest.pan_id != span &&
-		    mac_cb(skb)->dest.pan_id != cpu_to_le16(IEEE802154_PANID_BROADCAST))
-			skb->pkt_type = PACKET_OTHERHOST;
-		else if (mac_cb(skb)->dest.short_addr == sshort)
-			skb->pkt_type = PACKET_HOST;
-		else if (mac_cb(skb)->dest.short_addr ==
-			  cpu_to_le16(IEEE802154_ADDR_BROADCAST))
-			skb->pkt_type = PACKET_BROADCAST;
-		else
-			skb->pkt_type = PACKET_OTHERHOST;
-		break;
-	default:
-		spin_unlock_bh(&sdata->mib_lock);
-		pr_debug("invalid dest mode\n");
-		kfree_skb(skb);
-		return NET_RX_DROP;
-	}
-
-	spin_unlock_bh(&sdata->mib_lock);
-
-	skb->dev = sdata->dev;
-
-	rc = mac802154_llsec_decrypt(&sdata->sec, skb);
-	if (rc) {
-		pr_debug("decryption failed: %i\n", rc);
-		goto fail;
-	}
-
-	sdata->dev->stats.rx_packets++;
-	sdata->dev->stats.rx_bytes += skb->len;
-
-	switch (mac_cb(skb)->type) {
-	case IEEE802154_FC_TYPE_DATA:
-		return mac802154_process_data(sdata->dev, skb);
-	default:
-		pr_warn("ieee802154: bad frame received (type = %d)\n",
-			mac_cb(skb)->type);
-		goto fail;
-	}
-
-fail:
-	kfree_skb(skb);
-	return NET_RX_DROP;
-}
-
-static void mac802154_print_addr(const char *name,
-				 const struct ieee802154_addr *addr)
-{
-	if (addr->mode == IEEE802154_ADDR_NONE)
-		pr_debug("%s not present\n", name);
-
-	pr_debug("%s PAN ID: %04x\n", name, le16_to_cpu(addr->pan_id));
-	if (addr->mode == IEEE802154_ADDR_SHORT) {
-		pr_debug("%s is short: %04x\n", name,
-			 le16_to_cpu(addr->short_addr));
-	} else {
-		u64 hw = swab64((__force u64) addr->extended_addr);
-
-		pr_debug("%s is hardware: %8phC\n", name, &hw);
-	}
-}
-
-static int mac802154_parse_frame_start(struct sk_buff *skb,
-				       struct ieee802154_hdr *hdr)
-{
-	int hlen;
-	struct ieee802154_mac_cb *cb = mac_cb_init(skb);
-
-	hlen = ieee802154_hdr_pull(skb, hdr);
-	if (hlen < 0)
-		return -EINVAL;
-
-	skb->mac_len = hlen;
-
-	pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr->fc),
-		 hdr->seq);
-
-	cb->type = hdr->fc.type;
-	cb->ackreq = hdr->fc.ack_request;
-	cb->secen = hdr->fc.security_enabled;
-
-	mac802154_print_addr("destination", &hdr->dest);
-	mac802154_print_addr("source", &hdr->source);
-
-	cb->source = hdr->source;
-	cb->dest = hdr->dest;
-
-	if (hdr->fc.security_enabled) {
-		u64 key;
-
-		pr_debug("seclevel %i\n", hdr->sec.level);
-
-		switch (hdr->sec.key_id_mode) {
-		case IEEE802154_SCF_KEY_IMPLICIT:
-			pr_debug("implicit key\n");
-			break;
-
-		case IEEE802154_SCF_KEY_INDEX:
-			pr_debug("key %02x\n", hdr->sec.key_id);
-			break;
-
-		case IEEE802154_SCF_KEY_SHORT_INDEX:
-			pr_debug("key %04x:%04x %02x\n",
-				 le32_to_cpu(hdr->sec.short_src) >> 16,
-				 le32_to_cpu(hdr->sec.short_src) & 0xffff,
-				 hdr->sec.key_id);
-			break;
-
-		case IEEE802154_SCF_KEY_HW_INDEX:
-			key = swab64((__force u64) hdr->sec.extended_src);
-			pr_debug("key source %8phC %02x\n", &key,
-				 hdr->sec.key_id);
-			break;
-		}
-	}
-
-	return 0;
-}
-
-void mac802154_wpans_rx(struct ieee802154_local *local, struct sk_buff *skb)
-{
-	int ret;
-	struct ieee802154_sub_if_data *sdata;
-	struct ieee802154_hdr hdr;
-
-	ret = mac802154_parse_frame_start(skb, &hdr);
-	if (ret) {
-		pr_debug("got invalid frame\n");
-		kfree_skb(skb);
-		return;
-	}
-
-	rcu_read_lock();
-	list_for_each_entry_rcu(sdata, &local->interfaces, list) {
-		if (sdata->type != IEEE802154_DEV_WPAN ||
-		    !netif_running(sdata->dev))
-			continue;
-
-		mac802154_subif_frame(sdata, skb, &hdr);
-		skb = NULL;
-		break;
-	}
-	rcu_read_unlock();
-
-	if (skb)
-		kfree_skb(skb);
-}
diff --git a/net/mac802154/monitor.c b/net/mac802154/monitor.c
index 575832231fd6..dfdedc206c6a 100644
--- a/net/mac802154/monitor.c
+++ b/net/mac802154/monitor.c
@@ -18,9 +18,7 @@
  */
 
 #include <linux/netdevice.h>
-#include <linux/skbuff.h>
 #include <linux/if_arp.h>
-#include <linux/crc-ccitt.h>
 #include <linux/ieee802154.h>
 
 #include <net/mac802154.h>
@@ -30,31 +28,6 @@
 
 #include "ieee802154_i.h"
 
-void mac802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb)
-{
-	struct sk_buff *skb2;
-	struct ieee802154_sub_if_data *sdata;
-	u16 crc = crc_ccitt(0, skb->data, skb->len);
-	u8 *data;
-
-	rcu_read_lock();
-	list_for_each_entry_rcu(sdata, &local->interfaces, list) {
-		if (sdata->type != IEEE802154_DEV_MONITOR ||
-		    !netif_running(sdata->dev))
-			continue;
-
-		skb2 = skb_clone(skb, GFP_ATOMIC);
-		skb2->dev = sdata->dev;
-		skb2->pkt_type = PACKET_HOST;
-		data = skb_put(skb2, 2);
-		data[0] = crc & 0xff;
-		data[1] = crc >> 8;
-
-		netif_rx_ni(skb2);
-	}
-	rcu_read_unlock();
-}
-
 static const struct net_device_ops mac802154_monitor_ops = {
 	.ndo_open		= mac802154_slave_open,
 	.ndo_stop		= mac802154_slave_close,
diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c
index c4df3210c5e6..d8498c5fc297 100644
--- a/net/mac802154/rx.c
+++ b/net/mac802154/rx.c
@@ -24,9 +24,223 @@
 
 #include <net/mac802154.h>
 #include <net/ieee802154_netdev.h>
+#include <net/rtnetlink.h>
+#include <linux/nl802154.h>
 
 #include "ieee802154_i.h"
 
+static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb)
+{
+	return netif_receive_skb(skb);
+}
+
+static int
+mac802154_subif_frame(struct ieee802154_sub_if_data *sdata, struct sk_buff *skb,
+		      const struct ieee802154_hdr *hdr)
+{
+	__le16 span, sshort;
+	int rc;
+
+	pr_debug("getting packet via slave interface %s\n", sdata->dev->name);
+
+	spin_lock_bh(&sdata->mib_lock);
+
+	span = sdata->pan_id;
+	sshort = sdata->short_addr;
+
+	switch (mac_cb(skb)->dest.mode) {
+	case IEEE802154_ADDR_NONE:
+		if (mac_cb(skb)->dest.mode != IEEE802154_ADDR_NONE)
+			/* FIXME: check if we are PAN coordinator */
+			skb->pkt_type = PACKET_OTHERHOST;
+		else
+			/* ACK comes with both addresses empty */
+			skb->pkt_type = PACKET_HOST;
+		break;
+	case IEEE802154_ADDR_LONG:
+		if (mac_cb(skb)->dest.pan_id != span &&
+		    mac_cb(skb)->dest.pan_id != cpu_to_le16(IEEE802154_PANID_BROADCAST))
+			skb->pkt_type = PACKET_OTHERHOST;
+		else if (mac_cb(skb)->dest.extended_addr == sdata->extended_addr)
+			skb->pkt_type = PACKET_HOST;
+		else
+			skb->pkt_type = PACKET_OTHERHOST;
+		break;
+	case IEEE802154_ADDR_SHORT:
+		if (mac_cb(skb)->dest.pan_id != span &&
+		    mac_cb(skb)->dest.pan_id != cpu_to_le16(IEEE802154_PANID_BROADCAST))
+			skb->pkt_type = PACKET_OTHERHOST;
+		else if (mac_cb(skb)->dest.short_addr == sshort)
+			skb->pkt_type = PACKET_HOST;
+		else if (mac_cb(skb)->dest.short_addr ==
+			  cpu_to_le16(IEEE802154_ADDR_BROADCAST))
+			skb->pkt_type = PACKET_BROADCAST;
+		else
+			skb->pkt_type = PACKET_OTHERHOST;
+		break;
+	default:
+		spin_unlock_bh(&sdata->mib_lock);
+		pr_debug("invalid dest mode\n");
+		kfree_skb(skb);
+		return NET_RX_DROP;
+	}
+
+	spin_unlock_bh(&sdata->mib_lock);
+
+	skb->dev = sdata->dev;
+
+	rc = mac802154_llsec_decrypt(&sdata->sec, skb);
+	if (rc) {
+		pr_debug("decryption failed: %i\n", rc);
+		goto fail;
+	}
+
+	sdata->dev->stats.rx_packets++;
+	sdata->dev->stats.rx_bytes += skb->len;
+
+	switch (mac_cb(skb)->type) {
+	case IEEE802154_FC_TYPE_DATA:
+		return mac802154_process_data(sdata->dev, skb);
+	default:
+		pr_warn("ieee802154: bad frame received (type = %d)\n",
+			mac_cb(skb)->type);
+		goto fail;
+	}
+
+fail:
+	kfree_skb(skb);
+	return NET_RX_DROP;
+}
+
+static void mac802154_print_addr(const char *name,
+				 const struct ieee802154_addr *addr)
+{
+	if (addr->mode == IEEE802154_ADDR_NONE)
+		pr_debug("%s not present\n", name);
+
+	pr_debug("%s PAN ID: %04x\n", name, le16_to_cpu(addr->pan_id));
+	if (addr->mode == IEEE802154_ADDR_SHORT) {
+		pr_debug("%s is short: %04x\n", name,
+			 le16_to_cpu(addr->short_addr));
+	} else {
+		u64 hw = swab64((__force u64)addr->extended_addr);
+
+		pr_debug("%s is hardware: %8phC\n", name, &hw);
+	}
+}
+
+static int mac802154_parse_frame_start(struct sk_buff *skb,
+				       struct ieee802154_hdr *hdr)
+{
+	int hlen;
+	struct ieee802154_mac_cb *cb = mac_cb_init(skb);
+
+	hlen = ieee802154_hdr_pull(skb, hdr);
+	if (hlen < 0)
+		return -EINVAL;
+
+	skb->mac_len = hlen;
+
+	pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr->fc),
+		 hdr->seq);
+
+	cb->type = hdr->fc.type;
+	cb->ackreq = hdr->fc.ack_request;
+	cb->secen = hdr->fc.security_enabled;
+
+	mac802154_print_addr("destination", &hdr->dest);
+	mac802154_print_addr("source", &hdr->source);
+
+	cb->source = hdr->source;
+	cb->dest = hdr->dest;
+
+	if (hdr->fc.security_enabled) {
+		u64 key;
+
+		pr_debug("seclevel %i\n", hdr->sec.level);
+
+		switch (hdr->sec.key_id_mode) {
+		case IEEE802154_SCF_KEY_IMPLICIT:
+			pr_debug("implicit key\n");
+			break;
+
+		case IEEE802154_SCF_KEY_INDEX:
+			pr_debug("key %02x\n", hdr->sec.key_id);
+			break;
+
+		case IEEE802154_SCF_KEY_SHORT_INDEX:
+			pr_debug("key %04x:%04x %02x\n",
+				 le32_to_cpu(hdr->sec.short_src) >> 16,
+				 le32_to_cpu(hdr->sec.short_src) & 0xffff,
+				 hdr->sec.key_id);
+			break;
+
+		case IEEE802154_SCF_KEY_HW_INDEX:
+			key = swab64((__force u64)hdr->sec.extended_src);
+			pr_debug("key source %8phC %02x\n", &key,
+				 hdr->sec.key_id);
+			break;
+		}
+	}
+
+	return 0;
+}
+
+static void
+mac802154_wpans_rx(struct ieee802154_local *local, struct sk_buff *skb)
+{
+	int ret;
+	struct ieee802154_sub_if_data *sdata;
+	struct ieee802154_hdr hdr;
+
+	ret = mac802154_parse_frame_start(skb, &hdr);
+	if (ret) {
+		pr_debug("got invalid frame\n");
+		kfree_skb(skb);
+		return;
+	}
+
+	rcu_read_lock();
+	list_for_each_entry_rcu(sdata, &local->interfaces, list) {
+		if (sdata->type != IEEE802154_DEV_WPAN ||
+		    !netif_running(sdata->dev))
+			continue;
+
+		mac802154_subif_frame(sdata, skb, &hdr);
+		skb = NULL;
+		break;
+	}
+	rcu_read_unlock();
+
+	if (skb)
+		kfree_skb(skb);
+}
+
+void mac802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb)
+{
+	struct sk_buff *skb2;
+	struct ieee802154_sub_if_data *sdata;
+	u16 crc = crc_ccitt(0, skb->data, skb->len);
+	u8 *data;
+
+	rcu_read_lock();
+	list_for_each_entry_rcu(sdata, &local->interfaces, list) {
+		if (sdata->type != IEEE802154_DEV_MONITOR ||
+		    !netif_running(sdata->dev))
+			continue;
+
+		skb2 = skb_clone(skb, GFP_ATOMIC);
+		skb2->dev = sdata->dev;
+		skb2->pkt_type = PACKET_HOST;
+		data = skb_put(skb2, 2);
+		data[0] = crc & 0xff;
+		data[1] = crc >> 8;
+
+		netif_rx_ni(skb2);
+	}
+	rcu_read_unlock();
+}
+
 static void
 mac802154_subif_rx(struct ieee802154_hw *hw, struct sk_buff *skb)
 {
]

174/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 30291
							output: 55
							thoughts: 73
						

Thoughts:
Here's my take on the thought process, as if I were the expert:

**Tracing the Frame Parsing Function**

Okay, so I see that `mac802154_parse_frame_start` has been relocated. It's now residing within `rx.c` due to that commit, `2a9820c9e20a`. I need to figure out *why* it was moved. The change log might offer some clues, but I really want to understand the *before* state first to gain better clarity. Right now, I need to understand how the function was initially implemented.

I'll start by taking a look at how `mac802154_parse_frame_start` used to live in `iface.c`. My instinct is to understand the logical flow of that function within its *original* context. Understanding how it interacted with other interface-related functions should illuminate why the maintainers deemed a relocation necessary and the implications of this change. From there, I'll review its new location to verify whether or not my assumptions are correct.



175/2 2026/05/21 23:28 tool git-log
0m Args:
map[CodeRegexp:mac802154_parse_frame_start Count:10 PathPrefix:net/mac802154/iface.c]

Results:
map[Output:2a9820c9e20a mac802154: rx: move receive handling into rx.c
15859a5e141c mac802154: move wpan.c to iface.c
]

176/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 30727
							output: 55
							thoughts: 26
						

Thoughts:
Here's my thought process, as if I were analyzing that code:

**Diving into the MAC 802.15.4 Frame Parsing**

Alright, time to dig into the `mac802154_parse_frame_start` function within `wpan.c`. My immediate goal is to understand how the system initiates the parsing of a MAC 802.15.4 frame. I'm already anticipating key elements: the initial structure of the frame, the extraction of critical fields like the Frame Control Field (FCF), Sequence Number, Address fields, and potentially the frame payload and FCS. I'll need to remember how data is likely received over the air and how it translates into data structures. The nuances of short versus long addresses are already coming to mind. I'll focus on how the function determines the overall frame structure. Are there checks for validity? Error handling strategies? My experience tells me that correctly dissecting this first function will be the cornerstone to understanding how the rest of the frame is interpreted. This is where the magic begins!



177/2 2026/05/21 23:28 tool git-log
0m Args:
map[CodeRegexp:mac802154_parse_frame_start Count:10 PathPrefix:net/mac802154/wpan.c]

Results:
map[Output:15859a5e141c mac802154: move wpan.c to iface.c
f30be4d53cad mac802154: integrate llsec with wpan devices
e6278d92005e mac802154: use header operations to create/parse headers
32bad7e30f11 mac802154: add wpan device-class support
]

178/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 31159
							output: 27
							thoughts: 18
						

Thoughts:
Okay, here's my interpretation of that thought process, tailored for an expert audience, and written in the first person:

**Analyzing That Commit Hash**

Alright, let's take a look at `e6278d92005e`. Right off the bat, I know that's a commit hash, likely in Git, given the length and hexadecimal format. I'm going to start by pulling up the relevant repository and using my preferred Git client or CLI to investigate. My initial questions are: what branch is this from? What files were touched? What was the commit message? And ideally, I'll jump straight to a diff of the changes to quickly assess the impact. I'll be looking for clues – a bug fix, a feature addition, a refactor, maybe even a security vulnerability. The commit message better be clear and concise. If not, I'm going to have to dive deeper into the code changes. I'll be focusing on potential regressions and the integration of this change into the larger system. Is it isolated or dependent on other commits? Do I need to be aware of any dependencies or downstream effects? This hash gives me the potential to get the context I need to better understand the code, and how that commit came about.



179/2 2026/05/21 23:28 tool git-show
0m Args:
map[Commit:e6278d92005e]

Results:
map[Output:commit e6278d92005e9d6e374f269b4ce39c908a68ad5d
Author: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Date:   Fri Mar 14 21:24:01 2014 +0100

    mac802154: use header operations to create/parse headers
    
    Use the operations on 802.15.4 header structs introduced in a previous
    patch to create and parse all headers in the mac802154 stack. This patch
    reduces code duplication between different parts of the mac802154 stack
    that needed information from headers, and also fixes a few bugs that
    seem to have gone unnoticed until now:
    
     * 802.15.4 dgram sockets would return a slightly incorrect value for
       the SIOCINQ ioctl
     * mac802154 would not drop frames with the "security enabled" bit set,
       even though it does not support security, in violation of the
       standard
    
    Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/include/net/ieee802154_netdev.h b/include/net/ieee802154_netdev.h
index c3fc33a78920..8e7f6903db98 100644
--- a/include/net/ieee802154_netdev.h
+++ b/include/net/ieee802154_netdev.h
@@ -216,23 +216,17 @@ static inline struct ieee802154_mac_cb *mac_cb(struct sk_buff *skb)
 
 #define MAC_CB_FLAG_ACKREQ		(1 << 3)
 #define MAC_CB_FLAG_SECEN		(1 << 4)
-#define MAC_CB_FLAG_INTRAPAN		(1 << 5)
 
-static inline int mac_cb_is_ackreq(struct sk_buff *skb)
+static inline bool mac_cb_is_ackreq(struct sk_buff *skb)
 {
 	return mac_cb(skb)->flags & MAC_CB_FLAG_ACKREQ;
 }
 
-static inline int mac_cb_is_secen(struct sk_buff *skb)
+static inline bool mac_cb_is_secen(struct sk_buff *skb)
 {
 	return mac_cb(skb)->flags & MAC_CB_FLAG_SECEN;
 }
 
-static inline int mac_cb_is_intrapan(struct sk_buff *skb)
-{
-	return mac_cb(skb)->flags & MAC_CB_FLAG_INTRAPAN;
-}
-
 static inline int mac_cb_type(struct sk_buff *skb)
 {
 	return mac_cb(skb)->flags & MAC_CB_FLAG_TYPEMASK;
diff --git a/net/ieee802154/6lowpan_rtnl.c b/net/ieee802154/6lowpan_rtnl.c
index c23349d737ae..678564c7718b 100644
--- a/net/ieee802154/6lowpan_rtnl.c
+++ b/net/ieee802154/6lowpan_rtnl.c
@@ -91,7 +91,7 @@ static int lowpan_header_create(struct sk_buff *skb,
 {
 	const u8 *saddr = _saddr;
 	const u8 *daddr = _daddr;
-	struct ieee802154_addr_sa sa, da;
+	struct ieee802154_addr sa, da;
 
 	/* TODO:
 	 * if this package isn't ipv6 one, where should it be routed?
@@ -119,10 +119,10 @@ static int lowpan_header_create(struct sk_buff *skb,
 	mac_cb(skb)->seq = ieee802154_mlme_ops(dev)->get_dsn(dev);
 
 	/* prepare wpan address data */
-	sa.addr_type = IEEE802154_ADDR_LONG;
-	sa.pan_id = le16_to_cpu(ieee802154_mlme_ops(dev)->get_pan_id(dev));
+	sa.mode = IEEE802154_ADDR_LONG;
+	sa.pan_id = ieee802154_mlme_ops(dev)->get_pan_id(dev);
+	sa.extended_addr = ieee802154_devaddr_from_raw(saddr);
 
-	memcpy(&(sa.hwaddr), saddr, 8);
 	/* intra-PAN communications */
 	da.pan_id = sa.pan_id;
 
@@ -130,11 +130,11 @@ static int lowpan_header_create(struct sk_buff *skb,
 	 * corresponding short address
 	 */
 	if (lowpan_is_addr_broadcast(daddr)) {
-		da.addr_type = IEEE802154_ADDR_SHORT;
-		da.short_addr = IEEE802154_ADDR_BROADCAST;
+		da.mode = IEEE802154_ADDR_SHORT;
+		da.short_addr = cpu_to_le16(IEEE802154_ADDR_BROADCAST);
 	} else {
-		da.addr_type = IEEE802154_ADDR_LONG;
-		memcpy(&(da.hwaddr), daddr, IEEE802154_ADDR_LEN);
+		da.mode = IEEE802154_ADDR_LONG;
+		da.extended_addr = ieee802154_devaddr_from_raw(daddr);
 
 		/* request acknowledgment */
 		mac_cb(skb)->flags |= MAC_CB_FLAG_ACKREQ;
diff --git a/net/ieee802154/af802154.h b/net/ieee802154/af802154.h
index 331d15cb93a7..8330a09bfc95 100644
--- a/net/ieee802154/af802154.h
+++ b/net/ieee802154/af802154.h
@@ -25,12 +25,13 @@
 #define AF802154_H
 
 struct sk_buff;
-struct net_devce;
+struct net_device;
+struct ieee802154_addr;
 extern struct proto ieee802154_raw_prot;
 extern struct proto ieee802154_dgram_prot;
 void ieee802154_raw_deliver(struct net_device *dev, struct sk_buff *skb);
 int ieee802154_dgram_deliver(struct net_device *dev, struct sk_buff *skb);
 struct net_device *ieee802154_get_dev(struct net *net,
-		struct ieee802154_addr_sa *addr);
+				      const struct ieee802154_addr *addr);
 
 #endif
diff --git a/net/ieee802154/af_ieee802154.c b/net/ieee802154/af_ieee802154.c
index 973cb11da42b..be44a86751aa 100644
--- a/net/ieee802154/af_ieee802154.c
+++ b/net/ieee802154/af_ieee802154.c
@@ -43,25 +43,27 @@
 /*
  * Utility function for families
  */
-struct net_device *ieee802154_get_dev(struct net *net,
-		struct ieee802154_addr_sa *addr)
+struct net_device*
+ieee802154_get_dev(struct net *net, const struct ieee802154_addr *addr)
 {
 	struct net_device *dev = NULL;
 	struct net_device *tmp;
 	__le16 pan_id, short_addr;
+	u8 hwaddr[IEEE802154_ADDR_LEN];
 
-	switch (addr->addr_type) {
+	switch (addr->mode) {
 	case IEEE802154_ADDR_LONG:
+		ieee802154_devaddr_to_raw(hwaddr, addr->extended_addr);
 		rcu_read_lock();
-		dev = dev_getbyhwaddr_rcu(net, ARPHRD_IEEE802154, addr->hwaddr);
+		dev = dev_getbyhwaddr_rcu(net, ARPHRD_IEEE802154, hwaddr);
 		if (dev)
 			dev_hold(dev);
 		rcu_read_unlock();
 		break;
 	case IEEE802154_ADDR_SHORT:
-		if (addr->pan_id == IEEE802154_PANID_BROADCAST ||
-		    addr->short_addr == IEEE802154_ADDR_UNDEF ||
-		    addr->short_addr == IEEE802154_ADDR_UNDEF)
+		if (addr->pan_id == cpu_to_le16(IEEE802154_PANID_BROADCAST) ||
+		    addr->short_addr == cpu_to_le16(IEEE802154_ADDR_UNDEF) ||
+		    addr->short_addr == cpu_to_le16(IEEE802154_ADDR_UNDEF))
 			break;
 
 		rtnl_lock();
@@ -74,8 +76,8 @@ struct net_device *ieee802154_get_dev(struct net *net,
 			short_addr =
 				ieee802154_mlme_ops(tmp)->get_short_addr(tmp);
 
-			if (le16_to_cpu(pan_id) == addr->pan_id &&
-			    le16_to_cpu(short_addr) == addr->short_addr) {
+			if (pan_id == addr->pan_id &&
+			    short_addr == addr->short_addr) {
 				dev = tmp;
 				dev_hold(dev);
 				break;
@@ -86,7 +88,7 @@ struct net_device *ieee802154_get_dev(struct net *net,
 		break;
 	default:
 		pr_warning("Unsupported ieee802154 address type: %d\n",
-				addr->addr_type);
+				addr->mode);
 		break;
 	}
 
diff --git a/net/ieee802154/dgram.c b/net/ieee802154/dgram.c
index 9df3a1d94376..0a926c6bc8ca 100644
--- a/net/ieee802154/dgram.c
+++ b/net/ieee802154/dgram.c
@@ -41,8 +41,8 @@ static DEFINE_RWLOCK(dgram_lock);
 struct dgram_sock {
 	struct sock sk;
 
-	struct ieee802154_addr_sa src_addr;
-	struct ieee802154_addr_sa dst_addr;
+	struct ieee802154_addr src_addr;
+	struct ieee802154_addr dst_addr;
 
 	unsigned int bound:1;
 	unsigned int want_ack:1;
@@ -73,10 +73,10 @@ static int dgram_init(struct sock *sk)
 {
 	struct dgram_sock *ro = dgram_sk(sk);
 
-	ro->dst_addr.addr_type = IEEE802154_ADDR_LONG;
-	ro->dst_addr.pan_id = 0xffff;
+	ro->dst_addr.mode = IEEE802154_ADDR_LONG;
+	ro->dst_addr.pan_id = cpu_to_le16(IEEE802154_ADDR_BROADCAST);
 	ro->want_ack = 1;
-	memset(&ro->dst_addr.hwaddr, 0xff, sizeof(ro->dst_addr.hwaddr));
+	memset(&ro->dst_addr.extended_addr, 0xff, IEEE802154_ADDR_LEN);
 	return 0;
 }
 
@@ -88,6 +88,7 @@ static void dgram_close(struct sock *sk, long timeout)
 static int dgram_bind(struct sock *sk, struct sockaddr *uaddr, int len)
 {
 	struct sockaddr_ieee802154 *addr = (struct sockaddr_ieee802154 *)uaddr;
+	struct ieee802154_addr haddr;
 	struct dgram_sock *ro = dgram_sk(sk);
 	int err = -EINVAL;
 	struct net_device *dev;
@@ -102,7 +103,8 @@ static int dgram_bind(struct sock *sk, struct sockaddr *uaddr, int len)
 	if (addr->family != AF_IEEE802154)
 		goto out;
 
-	dev = ieee802154_get_dev(sock_net(sk), &addr->addr);
+	ieee802154_addr_from_sa(&haddr, &addr->addr);
+	dev = ieee802154_get_dev(sock_net(sk), &haddr);
 	if (!dev) {
 		err = -ENODEV;
 		goto out;
@@ -113,7 +115,7 @@ static int dgram_bind(struct sock *sk, struct sockaddr *uaddr, int len)
 		goto out_put;
 	}
 
-	memcpy(&ro->src_addr, &addr->addr, sizeof(struct ieee802154_addr_sa));
+	ro->src_addr = haddr;
 
 	ro->bound = 1;
 	err = 0;
@@ -149,8 +151,7 @@ static int dgram_ioctl(struct sock *sk, int cmd, unsigned long arg)
 			 * of this packet since that is all
 			 * that will be read.
 			 */
-			/* FIXME: parse the header for more correct value */
-			amount = skb->len - (3+8+8);
+			amount = skb->len - ieee802154_hdr_length(skb);
 		}
 		spin_unlock_bh(&sk->sk_receive_queue.lock);
 		return put_user(amount, (int __user *)arg);
@@ -181,7 +182,7 @@ static int dgram_connect(struct sock *sk, struct sockaddr *uaddr,
 		goto out;
 	}
 
-	memcpy(&ro->dst_addr, &addr->addr, sizeof(struct ieee802154_addr_sa));
+	ieee802154_addr_from_sa(&ro->dst_addr, &addr->addr);
 
 out:
 	release_sock(sk);
@@ -194,8 +195,8 @@ static int dgram_disconnect(struct sock *sk, int flags)
 
 	lock_sock(sk);
 
-	ro->dst_addr.addr_type = IEEE802154_ADDR_LONG;
-	memset(&ro->dst_addr.hwaddr, 0xff, sizeof(ro->dst_addr.hwaddr));
+	ro->dst_addr.mode = IEEE802154_ADDR_LONG;
+	memset(&ro->dst_addr.extended_addr, 0xff, IEEE802154_ADDR_LEN);
 
 	release_sock(sk);
 
@@ -336,40 +337,43 @@ static int dgram_rcv_skb(struct sock *sk, struct sk_buff *skb)
 	return NET_RX_SUCCESS;
 }
 
-static inline int ieee802154_match_sock(u8 *hw_addr, u16 pan_id,
-		u16 short_addr, struct dgram_sock *ro)
+static inline bool
+ieee802154_match_sock(__le64 hw_addr, __le16 pan_id, __le16 short_addr,
+		      struct dgram_sock *ro)
 {
 	if (!ro->bound)
-		return 1;
+		return true;
 
-	if (ro->src_addr.addr_type == IEEE802154_ADDR_LONG &&
-	    !memcmp(ro->src_addr.hwaddr, hw_addr, IEEE802154_ADDR_LEN))
-		return 1;
+	if (ro->src_addr.mode == IEEE802154_ADDR_LONG &&
+	    hw_addr == ro->src_addr.extended_addr)
+		return true;
 
-	if (ro->src_addr.addr_type == IEEE802154_ADDR_SHORT &&
-		     pan_id == ro->src_addr.pan_id &&
-		     short_addr == ro->src_addr.short_addr)
-		return 1;
+	if (ro->src_addr.mode == IEEE802154_ADDR_SHORT &&
+	    pan_id == ro->src_addr.pan_id &&
+	    short_addr == ro->src_addr.short_addr)
+		return true;
 
-	return 0;
+	return false;
 }
 
 int ieee802154_dgram_deliver(struct net_device *dev, struct sk_buff *skb)
 {
 	struct sock *sk, *prev = NULL;
 	int ret = NET_RX_SUCCESS;
-	u16 pan_id, short_addr;
+	__le16 pan_id, short_addr;
+	__le64 hw_addr;
 
 	/* Data frame processing */
 	BUG_ON(dev->type != ARPHRD_IEEE802154);
 
-	pan_id = le16_to_cpu(ieee802154_mlme_ops(dev)->get_pan_id(dev));
-	short_addr = le16_to_cpu(ieee802154_mlme_ops(dev)->get_short_addr(dev));
+	pan_id = ieee802154_mlme_ops(dev)->get_pan_id(dev);
+	short_addr = ieee802154_mlme_ops(dev)->get_short_addr(dev);
+	hw_addr = ieee802154_devaddr_from_raw(dev->dev_addr);
 
 	read_lock(&dgram_lock);
 	sk_for_each(sk, &dgram_head) {
-		if (ieee802154_match_sock(dev->dev_addr, pan_id, short_addr,
-					dgram_sk(sk))) {
+		if (ieee802154_match_sock(hw_addr, pan_id, short_addr,
+					  dgram_sk(sk))) {
 			if (prev) {
 				struct sk_buff *clone;
 				clone = skb_clone(skb, GFP_ATOMIC);
diff --git a/net/ieee802154/raw.c b/net/ieee802154/raw.c
index 41f538b8e59c..e5258cf6773b 100644
--- a/net/ieee802154/raw.c
+++ b/net/ieee802154/raw.c
@@ -28,6 +28,7 @@
 #include <linux/slab.h>
 #include <net/sock.h>
 #include <net/af_ieee802154.h>
+#include <net/ieee802154_netdev.h>
 
 #include "af802154.h"
 
@@ -55,21 +56,24 @@ static void raw_close(struct sock *sk, long timeout)
 	sk_common_release(sk);
 }
 
-static int raw_bind(struct sock *sk, struct sockaddr *uaddr, int len)
+static int raw_bind(struct sock *sk, struct sockaddr *_uaddr, int len)
 {
-	struct sockaddr_ieee802154 *addr = (struct sockaddr_ieee802154 *)uaddr;
+	struct ieee802154_addr addr;
+	struct sockaddr_ieee802154 *uaddr = (struct sockaddr_ieee802154 *)_uaddr;
 	int err = 0;
 	struct net_device *dev = NULL;
 
-	if (len < sizeof(*addr))
+	if (len < sizeof(*uaddr))
 		return -EINVAL;
 
-	if (addr->family != AF_IEEE802154)
+	uaddr = (struct sockaddr_ieee802154 *)_uaddr;
+	if (uaddr->family != AF_IEEE802154)
 		return -EINVAL;
 
 	lock_sock(sk);
 
-	dev = ieee802154_get_dev(sock_net(sk), &addr->addr);
+	ieee802154_addr_from_sa(&addr, &uaddr->addr);
+	dev = ieee802154_get_dev(sock_net(sk), &addr);
 	if (!dev) {
 		err = -ENODEV;
 		goto out;
diff --git a/net/mac802154/mib.c b/net/mac802154/mib.c
index ba5abdcbd25f..153bd1ddbfbb 100644
--- a/net/mac802154/mib.c
+++ b/net/mac802154/mib.c
@@ -26,6 +26,7 @@
 #include <net/mac802154.h>
 #include <net/ieee802154_netdev.h>
 #include <net/wpan-phy.h>
+#include <net/ieee802154_netdev.h>
 
 #include "mac802154.h"
 
@@ -115,13 +116,12 @@ void mac802154_dev_set_ieee_addr(struct net_device *dev)
 {
 	struct mac802154_sub_if_data *priv = netdev_priv(dev);
 	struct mac802154_priv *mac = priv->hw;
-	__le64 addr;
 
-	addr = ieee802154_devaddr_from_raw(dev->dev_addr);
-	priv->extended_addr = addr;
+	priv->extended_addr = ieee802154_devaddr_from_raw(dev->dev_addr);
 
-	if (mac->ops->set_hw_addr_filt && mac->hw.hw_filt.ieee_addr != addr) {
-		mac->hw.hw_filt.ieee_addr = addr;
+	if (mac->ops->set_hw_addr_filt &&
+	    mac->hw.hw_filt.ieee_addr != priv->extended_addr) {
+		mac->hw.hw_filt.ieee_addr = priv->extended_addr;
 		set_hw_addr_filt(dev, IEEE802515_AFILT_IEEEADDR_CHANGED);
 	}
 }
diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c
index 43e886bb9073..051ed46ffca9 100644
--- a/net/mac802154/wpan.c
+++ b/net/mac802154/wpan.c
@@ -35,35 +35,6 @@
 
 #include "mac802154.h"
 
-static inline int mac802154_fetch_skb_u8(struct sk_buff *skb, u8 *val)
-{
-	if (unlikely(!pskb_may_pull(skb, 1)))
-		return -EINVAL;
-
-	*val = skb->data[0];
-	skb_pull(skb, 1);
-
-	return 0;
-}
-
-static inline int mac802154_fetch_skb_u16(struct sk_buff *skb, u16 *val)
-{
-	if (unlikely(!pskb_may_pull(skb, 2)))
-		return -EINVAL;
-
-	*val = skb->data[0] | (skb->data[1] << 8);
-	skb_pull(skb, 2);
-
-	return 0;
-}
-
-static inline void mac802154_haddr_copy_swap(u8 *dest, const u8 *src)
-{
-	int i;
-	for (i = 0; i < IEEE802154_ADDR_LEN; i++)
-		dest[IEEE802154_ADDR_LEN - i - 1] = src[i];
-}
-
 static int
 mac802154_wpan_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
 {
@@ -134,25 +105,21 @@ static int mac802154_wpan_mac_addr(struct net_device *dev, void *p)
 static int mac802154_header_create(struct sk_buff *skb,
 				   struct net_device *dev,
 				   unsigned short type,
-				   const void *_daddr,
-				   const void *_saddr,
+				   const void *daddr,
+				   const void *saddr,
 				   unsigned len)
 {
-	const struct ieee802154_addr_sa *saddr = _saddr;
-	const struct ieee802154_addr_sa *daddr = _daddr;
-	struct ieee802154_addr_sa dev_addr;
+	struct ieee802154_hdr hdr;
 	struct mac802154_sub_if_data *priv = netdev_priv(dev);
-	int pos = 2;
-	u8 head[MAC802154_FRAME_HARD_HEADER_LEN];
-	u16 fc;
+	int hlen;
 
 	if (!daddr)
 		return -EINVAL;
 
-	head[pos++] = mac_cb(skb)->seq; /* DSN/BSN */
-	fc = mac_cb_type(skb);
-	if (mac_cb_is_ackreq(skb))
-		fc |= IEEE802154_FC_ACK_REQ;
+	memset(&hdr.fc, 0, sizeof(hdr.fc));
+	hdr.fc.type = mac_cb_type(skb);
+	hdr.fc.security_enabled = mac_cb_is_secen(skb);
+	hdr.fc.ack_request = mac_cb_is_ackreq(skb);
 
 	if (!saddr) {
 		spin_lock_bh(&priv->mib_lock);
@@ -160,161 +127,45 @@ static int mac802154_header_create(struct sk_buff *skb,
 		if (priv->short_addr == cpu_to_le16(IEEE802154_ADDR_BROADCAST) ||
 		    priv->short_addr == cpu_to_le16(IEEE802154_ADDR_UNDEF) ||
 		    priv->pan_id == cpu_to_le16(IEEE802154_PANID_BROADCAST)) {
-			dev_addr.addr_type = IEEE802154_ADDR_LONG;
-			memcpy(dev_addr.hwaddr, dev->dev_addr,
-			       IEEE802154_ADDR_LEN);
+			hdr.source.mode = IEEE802154_ADDR_LONG;
+			hdr.source.extended_addr = priv->extended_addr;
 		} else {
-			dev_addr.addr_type = IEEE802154_ADDR_SHORT;
-			dev_addr.short_addr = le16_to_cpu(priv->short_addr);
+			hdr.source.mode = IEEE802154_ADDR_SHORT;
+			hdr.source.short_addr = priv->short_addr;
 		}
 
-		dev_addr.pan_id = le16_to_cpu(priv->pan_id);
-		saddr = &dev_addr;
+		hdr.source.pan_id = priv->pan_id;
 
 		spin_unlock_bh(&priv->mib_lock);
+	} else {
+		hdr.source = *(const struct ieee802154_addr *)saddr;
 	}
 
-	if (daddr->addr_type != IEEE802154_ADDR_NONE) {
-		fc |= (daddr->addr_type << IEEE802154_FC_DAMODE_SHIFT);
-
-		head[pos++] = daddr->pan_id & 0xff;
-		head[pos++] = daddr->pan_id >> 8;
-
-		if (daddr->addr_type == IEEE802154_ADDR_SHORT) {
-			head[pos++] = daddr->short_addr & 0xff;
-			head[pos++] = daddr->short_addr >> 8;
-		} else {
-			mac802154_haddr_copy_swap(head + pos, daddr->hwaddr);
-			pos += IEEE802154_ADDR_LEN;
-		}
-	}
-
-	if (saddr->addr_type != IEEE802154_ADDR_NONE) {
-		fc |= (saddr->addr_type << IEEE802154_FC_SAMODE_SHIFT);
-
-		if ((saddr->pan_id == daddr->pan_id) &&
-		    (saddr->pan_id != IEEE802154_PANID_BROADCAST)) {
-			/* PANID compression/intra PAN */
-			fc |= IEEE802154_FC_INTRA_PAN;
-		} else {
-			head[pos++] = saddr->pan_id & 0xff;
-			head[pos++] = saddr->pan_id >> 8;
-		}
+	hdr.dest = *(const struct ieee802154_addr *)daddr;
 
-		if (saddr->addr_type == IEEE802154_ADDR_SHORT) {
-			head[pos++] = saddr->short_addr & 0xff;
-			head[pos++] = saddr->short_addr >> 8;
-		} else {
-			mac802154_haddr_copy_swap(head + pos, saddr->hwaddr);
-			pos += IEEE802154_ADDR_LEN;
-		}
-	}
-
-	head[0] = fc;
-	head[1] = fc >> 8;
+	hlen = ieee802154_hdr_push(skb, &hdr);
+	if (hlen < 0)
+		return -EINVAL;
 
-	memcpy(skb_push(skb, pos), head, pos);
 	skb_reset_mac_header(skb);
-	skb->mac_len = pos;
+	skb->mac_len = hlen;
 
-	return pos;
+	return hlen;
 }
 
 static int
 mac802154_header_parse(const struct sk_buff *skb, unsigned char *haddr)
 {
-	const u8 *hdr = skb_mac_header(skb);
-	const u8 *tail = skb_tail_pointer(skb);
-	struct ieee802154_addr_sa *addr = (struct ieee802154_addr_sa *)haddr;
-	u16 fc;
-	int da_type;
-
-	if (hdr + 3 > tail)
-		goto malformed;
-
-	fc = hdr[0] | (hdr[1] << 8);
+	struct ieee802154_hdr hdr;
+	struct ieee802154_addr *addr = (struct ieee802154_addr *)haddr;
 
-	hdr += 3;
-
-	da_type = IEEE802154_FC_DAMODE(fc);
-	addr->addr_type = IEEE802154_FC_SAMODE(fc);
-
-	switch (da_type) {
-	case IEEE802154_ADDR_NONE:
-		if (fc & IEEE802154_FC_INTRA_PAN)
-			goto malformed;
-		break;
-	case IEEE802154_ADDR_LONG:
-		if (fc & IEEE802154_FC_INTRA_PAN) {
-			if (hdr + 2 > tail)
-				goto malformed;
-			addr->pan_id = hdr[0] | (hdr[1] << 8);
-			hdr += 2;
-		}
-
-		if (hdr + IEEE802154_ADDR_LEN > tail)
-			goto malformed;
-
-		hdr += IEEE802154_ADDR_LEN;
-		break;
-	case IEEE802154_ADDR_SHORT:
-		if (fc & IEEE802154_FC_INTRA_PAN) {
-			if (hdr + 2 > tail)
-				goto malformed;
-			addr->pan_id = hdr[0] | (hdr[1] << 8);
-			hdr += 2;
-		}
-
-		if (hdr + 2 > tail)
-			goto malformed;
-
-		hdr += 2;
-		break;
-	default:
-		goto malformed;
-
-	}
-
-	switch (addr->addr_type) {
-	case IEEE802154_ADDR_NONE:
-		break;
-	case IEEE802154_ADDR_LONG:
-		if (!(fc & IEEE802154_FC_INTRA_PAN)) {
-			if (hdr + 2 > tail)
-				goto malformed;
-			addr->pan_id = hdr[0] | (hdr[1] << 8);
-			hdr += 2;
-		}
-
-		if (hdr + IEEE802154_ADDR_LEN > tail)
-			goto malformed;
-
-		mac802154_haddr_copy_swap(addr->hwaddr, hdr);
-		hdr += IEEE802154_ADDR_LEN;
-		break;
-	case IEEE802154_ADDR_SHORT:
-		if (!(fc & IEEE802154_FC_INTRA_PAN)) {
-			if (hdr + 2 > tail)
-				goto malformed;
-			addr->pan_id = hdr[0] | (hdr[1] << 8);
-			hdr += 2;
-		}
-
-		if (hdr + 2 > tail)
-			goto malformed;
-
-		addr->short_addr = hdr[0] | (hdr[1] << 8);
-		hdr += 2;
-		break;
-	default:
-		goto malformed;
+	if (ieee802154_hdr_peek_addrs(skb, &hdr) < 0) {
+		pr_debug("malformed packet\n");
+		return 0;
 	}
 
-	return sizeof(struct ieee802154_addr_sa);
-
-malformed:
-	pr_debug("malformed packet\n");
-	return 0;
+	*addr = hdr.source;
+	return sizeof(*addr);
 }
 
 static netdev_tx_t
@@ -462,88 +313,82 @@ mac802154_subif_frame(struct mac802154_sub_if_data *sdata, struct sk_buff *skb)
 	}
 }
 
-static int mac802154_parse_frame_start(struct sk_buff *skb)
+static void mac802154_print_addr(const char *name,
+				 const struct ieee802154_addr *addr)
 {
-	u8 *head = skb->data;
-	u16 fc;
-
-	if (mac802154_fetch_skb_u16(skb, &fc) ||
-	    mac802154_fetch_skb_u8(skb, &(mac_cb(skb)->seq)))
-		goto err;
+	if (addr->mode == IEEE802154_ADDR_NONE)
+		pr_debug("%s not present\n", name);
 
-	pr_debug("fc: %04x dsn: %02x\n", fc, head[2]);
+	pr_debug("%s PAN ID: %04x\n", name, le16_to_cpu(addr->pan_id));
+	if (addr->mode == IEEE802154_ADDR_SHORT) {
+		pr_debug("%s is short: %04x\n", name,
+			 le16_to_cpu(addr->short_addr));
+	} else {
+		u64 hw = swab64((__force u64) addr->extended_addr);
 
-	mac_cb(skb)->flags = IEEE802154_FC_TYPE(fc);
-	mac_cb(skb)->sa.addr_type = IEEE802154_FC_SAMODE(fc);
-	mac_cb(skb)->da.addr_type = IEEE802154_FC_DAMODE(fc);
+		pr_debug("%s is hardware: %8phC\n", name, &hw);
+	}
+}
 
-	if (fc & IEEE802154_FC_INTRA_PAN)
-		mac_cb(skb)->flags |= MAC_CB_FLAG_INTRAPAN;
+static int mac802154_parse_frame_start(struct sk_buff *skb)
+{
+	struct ieee802154_hdr hdr;
+	int hlen;
 
-	if (mac_cb(skb)->da.addr_type != IEEE802154_ADDR_NONE) {
-		if (mac802154_fetch_skb_u16(skb, &(mac_cb(skb)->da.pan_id)))
-			goto err;
+	hlen = ieee802154_hdr_pull(skb, &hdr);
+	if (hlen < 0)
+		return -EINVAL;
 
-		/* source PAN id compression */
-		if (mac_cb_is_intrapan(skb))
-			mac_cb(skb)->sa.pan_id = mac_cb(skb)->da.pan_id;
+	skb->mac_len = hlen;
 
-		pr_debug("dest PAN addr: %04x\n", mac_cb(skb)->da.pan_id);
+	pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr.fc),
+		 hdr.seq);
 
-		if (mac_cb(skb)->da.addr_type == IEEE802154_ADDR_SHORT) {
-			u16 *da = &(mac_cb(skb)->da.short_addr);
+	mac_cb(skb)->flags = hdr.fc.type;
 
-			if (mac802154_fetch_skb_u16(skb, da))
-				goto err;
+	ieee802154_addr_to_sa(&mac_cb(skb)->sa, &hdr.source);
+	ieee802154_addr_to_sa(&mac_cb(skb)->da, &hdr.dest);
 
-			pr_debug("destination address is short: %04x\n",
-				 mac_cb(skb)->da.short_addr);
-		} else {
-			if (!pskb_may_pull(skb, IEEE802154_ADDR_LEN))
-				goto err;
+	if (hdr.fc.ack_request)
+		mac_cb(skb)->flags |= MAC_CB_FLAG_ACKREQ;
+	if (hdr.fc.security_enabled)
+		mac_cb(skb)->flags |= MAC_CB_FLAG_SECEN;
 
-			mac802154_haddr_copy_swap(mac_cb(skb)->da.hwaddr,
-						  skb->data);
-			skb_pull(skb, IEEE802154_ADDR_LEN);
+	mac802154_print_addr("destination", &hdr.dest);
+	mac802154_print_addr("source", &hdr.source);
 
-			pr_debug("destination address is hardware\n");
-		}
-	}
+	if (hdr.fc.security_enabled) {
+		u64 key;
 
-	if (mac_cb(skb)->sa.addr_type != IEEE802154_ADDR_NONE) {
-		/* non PAN-compression, fetch source address id */
-		if (!(mac_cb_is_intrapan(skb))) {
-			u16 *sa_pan = &(mac_cb(skb)->sa.pan_id);
+		pr_debug("seclevel %i\n", hdr.sec.level);
 
-			if (mac802154_fetch_skb_u16(skb, sa_pan))
-				goto err;
-		}
-
-		pr_debug("source PAN addr: %04x\n", mac_cb(skb)->da.pan_id);
-
-		if (mac_cb(skb)->sa.addr_type == IEEE802154_ADDR_SHORT) {
-			u16 *sa = &(mac_cb(skb)->sa.short_addr);
-
-			if (mac802154_fetch_skb_u16(skb, sa))
-				goto err;
+		switch (hdr.sec.key_id_mode) {
+		case IEEE802154_SCF_KEY_IMPLICIT:
+			pr_debug("implicit key\n");
+			break;
 
-			pr_debug("source address is short: %04x\n",
-				 mac_cb(skb)->sa.short_addr);
-		} else {
-			if (!pskb_may_pull(skb, IEEE802154_ADDR_LEN))
-				goto err;
+		case IEEE802154_SCF_KEY_INDEX:
+			pr_debug("key %02x\n", hdr.sec.key_id);
+			break;
 
-			mac802154_haddr_copy_swap(mac_cb(skb)->sa.hwaddr,
-						  skb->data);
-			skb_pull(skb, IEEE802154_ADDR_LEN);
+		case IEEE802154_SCF_KEY_SHORT_INDEX:
+			pr_debug("key %04x:%04x %02x\n",
+				 le32_to_cpu(hdr.sec.short_src) >> 16,
+				 le32_to_cpu(hdr.sec.short_src) & 0xffff,
+				 hdr.sec.key_id);
+			break;
 
-			pr_debug("source address is hardware\n");
+		case IEEE802154_SCF_KEY_HW_INDEX:
+			key = swab64((__force u64) hdr.sec.extended_src);
+			pr_debug("key source %8phC %02x\n", &key,
+				 hdr.sec.key_id);
+			break;
 		}
+
+		return -EINVAL;
 	}
 
 	return 0;
-err:
-	return -EINVAL;
 }
 
 void mac802154_wpans_rx(struct mac802154_priv *priv, struct sk_buff *skb)
]

180/2 2026/05/21 23:28 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 43200
							output: 57
							thoughts: 1201
						

Thoughts:
**Analyzing the 802.15.4 Header Parsing Bug**

Okay, so it looks like `mac802154_parse_frame_start` was updated to use `ieee802154_hdr_pull` in commit `e6278d92005e9d6e374f269b4ce39c908a68ad5d`. `ieee802154_hdr_pull` relies on `ieee802154_hdr_get_addrs`, which in turn calls `ieee802154_hdr_get_addr`.  That last function, `ieee802154_hdr_get_addr`, seems to be where the issue lies, and it was introduced in `94b4f6c21cf54029377a0645675a9d81b6cf890d`.

Let's dissect `94b4f6c21cf54029377a0645675a9d81b6cf890d` carefully.  Here's the relevant code:

```c
static int
ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
			struct ieee802154_addr *addr)
{
	int pos = 0;

	addr->mode = mode;

	if (mode == IEEE802154_ADDR_NONE)
		return 0;

	if (!omit_pan) {
		memcpy(&addr->pan_id, buf + pos, 2);
		pos += 2;
	}
...
```

Ah, I see it.  The patch *specifically* addresses this. If the address mode is `IEEE802154_ADDR_NONE`, the code returns *without* initializing `addr->pan_id`. This means we are copying uninitialized memory into `addr->pan_id`.

And the fix for this is:

```c
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE) {
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
```

Okay, so the fix initializes `addr->pan_id` to zero when the address mode is `IEEE802154_ADDR_NONE`. That's it, that's the bug.

Now, let's trace where this uninitialized data leaks. The code references `dgram_recvmsg()`, where `saddr` is copied to user space.  `saddr` comes from `ieee802154_addr_to_sa()`, and that function unconditionally copies the `pan_id`.  `ieee802154_addr_to_sa()` was introduced in `46ef0eb3ea65e7043aac17cb92982be879c65366`.

Interestingly, both `94b4f6c21cf54029377a0645675a9d81b6cf890d` and `46ef0eb3ea65e7043aac17cb92982be879c65366` appear to be part of the same patch series, by Phoebe Buckheister. They were introduced on the same day!  Since the fix focuses directly on  `ieee802154_hdr_get_addr` in `94b4f6c21cf54029377a0645675a9d81b6cf890d`, that's the key, likely the root cause.

Let's quickly confirm the commit hash: yes, `94b4f6c2


181/2 2026/05/21 23:29 tool git-log
0m Args:
map[Count:10 SourcePath:net/ieee802154/header_ops.c SymbolName:ieee802154_hdr_get_addr]

Results:
map[Output:94b4f6c21cf5 ieee802154: add header structs with endiannes and operations
]

182/2 2026/05/21 23:29 llm fixes-finder
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 45525
							output: 55
							thoughts: 523
						

Thoughts:
**Bug Introduction Confirmation**

Okay, let's nail this down. Looking at the commit history for `ieee802154_hdr_get_addr`, there's only one commit that touches it before the fix. That's a good sign. It means that `94b4f6c21cf54029377a0645675a9d81b6cf890d` is *definitely* the culprit, the one that introduced the bug.

Just to be absolutely sure, let's run through the bug description again, quickly. Ah yes, the KMSAN kernel info-leak – an uninitialized `pan_id` in the IEEE 802.15.4 MAC header gets copied to a socket address structure and then leaked to user space via `recvmsg`. Specifically, the vulnerability exists within the `ieee802154_addr_to_sa()` function where the `pan_id` field is unconditionally copied. If the address mode is `IEEE802154_ADDR_NONE`, the function returns early, and `addr->pan_id` is left as uninitialized stack garbage.

The fix, which explicitly initializes `addr->pan_id` to zero in `ieee802154_hdr_get_addr()`, prevents this garbage from ever making its way to user space. It makes perfect sense that the fix is in `net/ieee802154/header_ops.c` within the same function `ieee802154_hdr_get_addr`. And now I remember, the file and the function were also introduced by the same commit, `94b4f6c21cf54029377a0645675a9d81b6cf890d`. So it's conclusive.

Okay, that's that. The bug-introducing commit is `94b4f6c21cf54029377a0645675a9d81b6cf890d`.



183/2 2026/05/21 23:29 tool set-results
0m Args:
map[FixesHash:94b4f6c21cf54029377a0645675a9d81b6cf890d]

Results:
map[FixesHash:94b4f6c21cf54029377a0645675a9d81b6cf890d]

184/1 2026/05/21 23:30 action format-fixes
0m Results:
map[Fixes:map[Hash:94b4f6c21cf54029377a0645675a9d81b6cf890d Title:ieee802154: add header structs with endiannes and operations]]

185/1 2026/05/21 23:30 action get-maintainers
0m Results:
map[Recipients:[map[Email:alex.aring@gmail.com Name:Alexander Aring To:true] map[Email:davem@davemloft.net Name:David S. Miller To:true] map[Email:edumazet@google.com Name:Eric Dumazet To:true] map[Email:horms@kernel.org Name:Simon Horman To:false] map[Email:kuba@kernel.org Name:Jakub Kicinski To:true] map[Email:linux-kernel@vger.kernel.org Name: To:false] map[Email:linux-wpan@vger.kernel.org Name: To:true] map[Email:miquel.raynal@bootlin.com Name:Miquel Raynal To:true] map[Email:netdev@vger.kernel.org Name: To:true] map[Email:pabeni@redhat.com Name:Paolo Abeni To:true] map[Email:stefan@datenfreihafen.org Name:Stefan Schmidt To:true]]]

186/1 2026/05/21 23:30 action get-recent-commits
0m Results:
map[RecentCommits:mac802154: Handle received BEACON_REQ
mac802154: Handle active scanning
mac802154: Handle basic beaconing
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174
ieee802154: change needed headroom/tailroom
ieee802154: header_ops: fix frame control setting
ieee802154: move ieee802154 header
ieee802154: add definitions for link-layer security and header functions
ieee802154: add header structs with endiannes and operations
]

187/1 2026/05/21 23:30 agent description-generator
0m Model:
gemini-3.1-pro-preview

Instruction:
You are an experienced Linux kernel developer tasked with writing a commit description for
a kernel bug fixing commit. The description should start with a one-line summary,
and then include description of the bug being fixed, and how it's fixed by the provided patch.

Your final reply should contain only the text of the commit description.


The one-line summary must be not longer than 72 characters.

IMPORTANT: Do not wrap lines manually (e.g., at 80 characters); we will reformat the text
automatically, so keep paragraphs as single lines without newlines.

Generally try to phrase the description without mentioning syzkaller
(avoid phrases like "the bug was triggered by syzkaller" or "the bug was triggered by fuzzer", etc).
How the bug was triggered is generally an irrelevant detail.
Any bug triggered by a fuzzer can also be triggered by a malicious user, or a buggy program.



Prefer calling several tools at the same time to save round-trips.

Prompt:
The crash that corresponds to the bug is:

=====================================================
BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:131 [inline]
BUG: KMSAN: kernel-infoleak in _inline_copy_to_user include/linux/uaccess.h:205 [inline]
BUG: KMSAN: kernel-infoleak in _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 instrument_copy_to_user include/linux/instrumented.h:131 [inline]
 _inline_copy_to_user include/linux/uaccess.h:205 [inline]
 _copy_to_user+0xcc/0x120 lib/usercopy.c:26
 copy_to_user include/linux/uaccess.h:236 [inline]
 move_addr_to_user+0x2e7/0x440 net/socket.c:302
 ____sys_recvmsg+0x232/0x610 net/socket.c:2925
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 ieee802154_addr_to_sa include/net/ieee802154_netdev.h:369 [inline]
 dgram_recvmsg+0xa09/0xbe0 net/ieee802154/socket.c:739
 sock_common_recvmsg+0x98/0xe0 net/core/sock.c:3976
 sock_recvmsg_nosec+0x1f4/0x280 net/socket.c:1137
 ____sys_recvmsg+0x4e5/0x610 net/socket.c:2916
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2960
 do_recvmmsg+0x40e/0xdf0 net/socket.c:3055
 __sys_recvmmsg net/socket.c:3129 [inline]
 __do_sys_recvmmsg net/socket.c:3152 [inline]
 __se_sys_recvmmsg net/socket.c:3145 [inline]
 __x64_sys_recvmmsg+0x383/0x500 net/socket.c:3145
 x64_sys_call+0x96d/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 __copy_skb_header+0xa3/0x7c0 net/core/skbuff.c:1552
 __skb_clone+0x57/0x650 net/core/skbuff.c:1604
 skb_clone+0x473/0x580 net/core/skbuff.c:2114
 __ieee802154_rx_handle_packet net/mac802154/rx.c:363 [inline]
 ieee802154_rx+0xdcd/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_parse_frame_start net/mac802154/rx.c:299 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xb3b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Uninit was stored to memory at:
 ieee802154_hdr_get_addrs net/ieee802154/header_ops.c:275 [inline]
 ieee802154_hdr_pull+0xc85/0xe00 net/ieee802154/header_ops.c:294
 ieee802154_parse_frame_start net/mac802154/rx.c:283 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:343 [inline]
 ieee802154_rx+0xa2b/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35
 tasklet_action_common+0x358/0xeb0 kernel/softirq.c:938
 tasklet_action+0x2d/0x40 kernel/softirq.c:966
 handle_softirqs+0x171/0x7a0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

Local variable hdr.i created at:
 __ieee802154_rx_handle_packet net/mac802154/rx.c:340 [inline]
 ieee802154_rx+0x95c/0x3460 net/mac802154/rx.c:431
 ieee802154_tasklet_handler+0x136/0x2c0 net/mac802154/main.c:35

Bytes 8-9 of 20 are uninitialized
Memory access of size 20 starts at ffff8881ef407a38
Data copied to user address 0000200000000800

CPU: 0 UID: 0 PID: 6206 Comm: syz.0.17 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
=====================================================




The explanation of the root cause of the bug is:

The root cause of this KMSAN kernel-infoleak is that an uninitialized `pan_id` field from the IEEE 802.15.4 MAC header is unconditionally copied to a socket address structure and subsequently leaked to user space during a `recvmsg` syscall.

### Detailed Root Cause Analysis

1. **Copying to User Space**:
   In `dgram_recvmsg()` (`net/ieee802154/socket.c:739`), the source address of the received packet is copied to user space. The kernel first zeroes out a `struct sockaddr_ieee802154` and then populates it using `ieee802154_addr_to_sa()`:
   ```c
   memset(saddr, 0, sizeof(*saddr));
   saddr->family = AF_IEEE802154;
   ieee802154_addr_to_sa(&saddr->addr, &mac_cb(skb)->source);
   ```

2. **Unconditional Copy of `pan_id`**:
   Inside `ieee802154_addr_to_sa()` (`include/net/ieee802154_netdev.h:365`), the `pan_id` is unconditionally copied from the source address (`a`) to the socket address (`sa`):
   ```c
   static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa,
                                            const struct ieee802154_addr *a)
   {
       sa->addr_type = a->mode;
       sa->pan_id = le16_to_cpu(a->pan_id); // <--- Unconditional copy
       // ...
   }
   ```
   If `a->pan_id` is uninitialized, this copies 2 bytes of uninitialized kernel stack memory into `sa->pan_id`. As seen in the KMSAN report (`Bytes 8-9 of 20 are uninitialized`), bytes 8-9 correspond exactly to the `pan_id` field within `struct sockaddr_ieee802154`.

3. **Source of the Uninitialized Memory**:
   The `mac_cb(skb)->source` is populated from a local, uninitialized `struct ieee802154_hdr hdr;` variable in `__ieee802154_rx_handle_packet()` (`net/mac802154/rx.c:340`). The header is parsed by `ieee802154_parse_frame_start()`, which eventually calls `ieee802154_hdr_get_addr()` (`net/ieee802154/header_ops.c:170`) to extract the destination and source addresses.

   ```c
   static int ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
                                      struct ieee802154_addr *addr)
   {
       int pos = 0;
       addr->mode = mode;

       if (mode == IEEE802154_ADDR_NONE)
           return 0; // <--- Returns early, leaving addr->pan_id uninitialized!

       if (!omit_pan) {
           memcpy(&addr->pan_id, buf + pos, 2);
           pos += 2;
       }
       // ...
   }
   ```
   If the address mode is `IEEE802154_ADDR_NONE`, the function returns early and leaves `addr->pan_id` uninitialized (containing stack garbage). 

4. **Propagation**:
   In `ieee802154_hdr_get_addrs()`, if the destination address mode is `IEEE802154_ADDR_NONE`, `hdr->dest.pan_id` remains uninitialized. Furthermore, if the `intra_pan` (PAN ID Compression) bit is set in the Frame Control Field, the code copies the destination `pan_id` to the source `pan_id`:
   ```c
   if (hdr->fc.intra_pan)
       hdr->source.pan_id = hdr->dest.pan_id;
   ```
   This propagates the uninitialized memory to `hdr->source.pan_id`. Alternatively, if the source address mode itself is `IEEE802154_ADDR_NONE`, `hdr->source.pan_id` is directly left uninitialized. Ultimately, this uninitialized `pan_id` is saved in `mac_cb(skb)->source` and leaked to user space.

### Proposed Fix

To fix this issue, `addr->pan_id` must be explicitly initialized to `0` when the address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`. This ensures that no uninitialized stack memory is ever propagated or copied to user space.

```c
diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index ...
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
```

This simple initialization is sufficient because the only other case where `pan_id` is not immediately initialized is when `omit_pan` is true. However, `omit_pan` is only true for the source address when `intra_pan` is set, in which case it is safely copied from `hdr->dest.pan_id` (which is now guaranteed to be initialized).

The diff of the bug fix is:

diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index 41a556be1..8f2ec62de 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);


Additional description of the patch:

I have applied the proposed fix to explicitly initialize `addr->pan_id` to `0` when the address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`.

### Analysis and Verification

1. **Why this is the best fix:**
   The root cause is that `struct ieee802154_hdr hdr` is allocated on the stack in `__ieee802154_rx_handle_packet()` and not zero-initialized. When `ieee802154_hdr_get_addr()` parses an address with `IEEE802154_ADDR_NONE` mode, it returns early, leaving `hdr.source.pan_id` containing uninitialized stack memory. This uninitialized memory is later copied to `mac_cb(skb)->source` and unconditionally leaked to user space in `dgram_recvmsg()`.
   By initializing `addr->pan_id = 0` directly in `ieee802154_hdr_get_addr()`, we fix the issue at the source of the parsing logic, ensuring that any caller of this function will always receive a fully initialized `pan_id` field regardless of the address mode.

2. **What about other uninitialized fields?**
   - **`short_addr` and `extended_addr`**: These fields are part of a union in `struct ieee802154_addr`. When `mode == IEEE802154_ADDR_NONE`, they are also left uninitialized. However, `ieee802154_addr_to_sa()` explicitly checks `a->mode` and only copies `short_addr` or `extended_addr` if the mode matches `IEEE802154_ADDR_SHORT` or `IEEE802154_ADDR_LONG`, respectively. Since the destination `struct sockaddr_ieee802154` is fully zeroed out via `memset()` in `dgram_recvmsg()`, these uninitialized union fields are never copied to user space.
   - **`omit_pan` flag**: If `omit_pan` is true, `pan_id` is not initialized inside `ieee802154_hdr_get_addr()`. However, `omit_pan` is only true for the source address when the `intra_pan` bit is set. In this case, `ieee802154_hdr_get_addrs()` immediately executes `hdr->source.pan_id = hdr->dest.pan_id;`, safely initializing it from the destination `pan_id` (which is guaranteed to be initialized because `omit_pan` is always false for the destination address).

3. **Impact on other callers:**
   `ieee802154_hdr_get_addr()` is only called from `ieee802154_hdr_get_addrs()`, which in turn is used by `ieee802154_hdr_pull()` and `ieee802154_hdr_peek_addrs()`. In all these paths, ensuring `pan_id` is initialized to `0` when the address is absent is safe, correct, and prevents any potential use of uninitialized memory in other parts of the stack (e.g., 6LoWPAN header decompression).

The applied patch is:
```c
diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index 41a556be1..8f2ec62de 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -175,8 +175,10 @@ ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
 
 	addr->mode = mode;
 
-	if (mode == IEEE802154_ADDR_NONE)
+	if (mode == IEEE802154_ADDR_NONE) {
+		addr->pan_id = 0;
 		return 0;
+	}
 
 	if (!omit_pan) {
 		memcpy(&addr->pan_id, buf + pos, 2);
```

Here are summaries of recent commits that touched the same files.
Format the summary line consistently with these, look how prefixes
are specified, letter capitalization, style, etc. 

mac802154: Handle received BEACON_REQ
mac802154: Handle active scanning
mac802154: Handle basic beaconing
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174
ieee802154: change needed headroom/tailroom
ieee802154: header_ops: fix frame control setting
ieee802154: move ieee802154 header
ieee802154: add definitions for link-layer security and header functions
ieee802154: add header structs with endiannes and operations


Reply:
ieee802154: fix kernel-infoleak in dgram_recvmsg()

KMSAN reports a kernel-infoleak in dgram_recvmsg(). The issue occurs because the `pan_id` field of the IEEE 802.15.4 MAC header is unconditionally copied to a socket address structure and subsequently leaked to user space during a `recvmsg` syscall.

In `dgram_recvmsg()`, the kernel zeroes out a `struct sockaddr_ieee802154` and then populates it using `ieee802154_addr_to_sa()`. Inside `ieee802154_addr_to_sa()`, the `pan_id` is unconditionally copied from the source address to the socket address.

The source of the uninitialized memory is a local, uninitialized `struct ieee802154_hdr hdr` variable in `__ieee802154_rx_handle_packet()`. The header is parsed by `ieee802154_parse_frame_start()`, which eventually calls `ieee802154_hdr_get_addr()` to extract the destination and source addresses. If the address mode is `IEEE802154_ADDR_NONE`, the function returns early and leaves `addr->pan_id` uninitialized (containing stack garbage).

To fix this issue, explicitly initialize `addr->pan_id` to `0` when the address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`. This ensures that no uninitialized stack memory is ever propagated or copied to user space.

188/2 2026/05/21 23:30 llm description-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 8762
							output: 381
							thoughts: 1880
						

Thoughts:
**Commit Description Generation: KMSAN Infoleak in IEEE 802.15.4**

Okay, so I need to craft a commit message for this KMSAN-triggered infoleak in the Linux kernel. The bug is in `instrument_copy_to_user`, specifically when `recvmsg` is used on an IEEE 802.15.4 socket. The core issue seems to be that `addr->pan_id` isn't initialized when `mode == IEEE802154_ADDR_NONE` within `ieee802154_hdr_get_addr()`. This uninitialized stack memory then gets copied to userspace via `dgram_recvmsg()` through `ieee802154_addr_to_sa()`.

The fix is straightforward: initialize `addr->pan_id = 0` when `mode == IEEE802154_ADDR_NONE`.

Let me see, I need to look at similar commits in `net/ieee802154/header_ops.c` for the correct prefix. Alright, I have three: "ieee802154: header_ops: fix frame control setting", "ieee802154: add definitions for link-layer security and header functions", and "ieee802154: add header structs with endiannes and operations." So it looks like I should use `ieee802154: ` or `ieee802154: header_ops: ` as the prefix.

I think the best summary would be  `ieee802154: fix uninit-value bug in ieee802154_hdr_get_addr()` since it is the root cause. Or it could be `ieee802154: fix kernel-infoleak in dgram_recvmsg`.

Here's the commit description I'm going with:

ieee802154: fix kernel-infoleak in dgram_recvmsg()

KMSAN reports a kernel-infoleak in dgram_recvmsg(). The issue occurs because the `pan_id` field of the IEEE 802.15.4 MAC header is unconditionally copied to a socket address structure and subsequently leaked to user space during a `recvmsg` syscall.

In `dgram_recvmsg()`, the kernel zeroes out a `struct sockaddr_ieee802154` and then populates it using `ieee802154_addr_to_sa()`. Inside `ieee802154_addr_to_sa()`, the `pan_id` is unconditionally copied from the source address to the socket address.

The source of the uninitialized memory is a local, uninitialized `struct ieee802154_hdr hdr` variable in `__ieee802154_rx_handle_packet()`. The header is parsed by `ieee802154_parse_frame_start()`, which eventually calls `ieee802154_hdr_get_addr()` to extract the destination and source addresses. If the address mode is `IEEE802154_ADDR_NONE`, the function returns early and leaves `addr->pan_id` uninitialized (containing stack garbage).

To fix this issue, explicitly initialize `addr->pan_id` to `0` when the address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`. This ensures that no uninitialized stack memory is ever propagated or copied to user space.

Okay, let me check again if I need to include any other fields. The prompt says that "short_addr and extended_addr" are not a problem. Since the destination struct sockaddr_ieee802154 is fully zeroed out via memset() in dgram_recvmsg(), these uninitialized union fields are never copied to user space. Okay, so I don't need to add anything extra.

The single-line summary is 49 characters long. All good. And the overall text looks clear. That should do it.



189/1 2026/05/21 23:30 action format-patch-description
0m Results:
map[PatchDescription:ieee802154: fix kernel-infoleak in dgram_recvmsg()

KMSAN reports a kernel-infoleak in dgram_recvmsg(). The issue occurs
because the `pan_id` field of the IEEE 802.15.4 MAC header is
unconditionally copied to a socket address structure and subsequently
leaked to user space during a `recvmsg` syscall.

In `dgram_recvmsg()`, the kernel zeroes out a `struct
sockaddr_ieee802154` and then populates it using
`ieee802154_addr_to_sa()`. Inside `ieee802154_addr_to_sa()`, the
`pan_id` is unconditionally copied from the source address to the socket
address.

The source of the uninitialized memory is a local, uninitialized `struct
ieee802154_hdr hdr` variable in `__ieee802154_rx_handle_packet()`. The
header is parsed by `ieee802154_parse_frame_start()`, which eventually
calls `ieee802154_hdr_get_addr()` to extract the destination and source
addresses. If the address mode is `IEEE802154_ADDR_NONE`, the function
returns early and leaves `addr->pan_id` uninitialized (containing stack
garbage).

To fix this issue, explicitly initialize `addr->pan_id` to `0` when the
address mode is `IEEE802154_ADDR_NONE` in `ieee802154_hdr_get_addr()`.
This ensures that no uninitialized stack memory is ever propagated or
copied to user space.]

190/1 2026/05/21 23:30 action empty-tags
0m Results:
map[AckedBy:<nil> ReportedBy:<nil> ReviewedBy:<nil> TestedBy:<nil>]

LLM Calls Summary:
Total Calls Total Tokens Avg Tokens Total Duration (Seconds) Avg Duration (Seconds)
Tool Calls Summary:
Total Calls Total Duration (Seconds) Avg Duration (Seconds)