syzbot |
sign-in | mailing list | source | docs | 🏰 |
| ID | Workflow | Result | Correct | Bug | Created | Started | Finished | Revision | Error |
|---|---|---|---|---|---|---|---|---|---|
| b3e5d2d7-b0af-4c71-b9a9-cb3ef7de702f | repro | 💥 | KASAN: slab-use-after-free Read in __usb_hcd_giveback_urb (2) | 2026/04/16 18:59 | 2026/04/16 18:59 | 2026/04/16 21:05 | 6285b005886f6564de23857bc6c14895bb14bd50 | reproducer did not crash |
| BugTitle | KASAN: slab-use-after-free Read in __usb_hcd_giveback_urb |
| CrashLogID | 5710292203339776 |
| CrashReportID | 4764719988080640 |
| KernelCommit | 0f00132132937ca01a99feaf8985109a9087c9ff |
| KernelConfig |
Show (280244 bytes)# # Automatically generated file; DO NOT EDIT. # Linux/x86_64 syzkaller Kernel Configuration # CONFIG_CC_VERSION_TEXT="Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50)" CONFIG_GCC_VERSION=0 CONFIG_CC_IS_CLANG=y CONFIG_CLANG_VERSION=210108 CONFIG_AS_IS_LLVM=y CONFIG_AS_VERSION=210108 CONFIG_LD_VERSION=0 CONFIG_LD_IS_LLD=y CONFIG_LLD_VERSION=210108 CONFIG_RUSTC_VERSION=109101 CONFIG_RUST_IS_AVAILABLE=y CONFIG_RUSTC_LLVM_VERSION=210102 CONFIG_RUSTC_LLVM_MAJOR_VERSION=21 CONFIG_RUSTC_CLANG_LLVM_COMPATIBLE=y 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_CC_HAS_BROKEN_COUNTED_BY_REF=y CONFIG_CC_HAS_MULTIDIMENSIONAL_NONSTRING=y CONFIG_LD_CAN_USE_KEEP_IN_OVERLAY=y CONFIG_RUSTC_HAS_SPAN_FILE=y CONFIG_RUSTC_HAS_UNNECESSARY_TRANSMUTES=y CONFIG_RUSTC_HAS_FILE_WITH_NUL=y CONFIG_RUSTC_HAS_FILE_AS_C_STR=y CONFIG_PAHOLE_VERSION=130 CONFIG_CONSTRUCTORS=y 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_CONTEXT_TRACKING_USER=y # CONFIG_CONTEXT_TRACKING_USER_FORCE 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=y CONFIG_BPF_JIT_ALWAYS_ON=y CONFIG_BPF_JIT_DEFAULT_ON=y # CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set CONFIG_BPF_PRELOAD=y CONFIG_BPF_PRELOAD_UMD=y CONFIG_BPF_LSM=y # end of BPF subsystem CONFIG_PREEMPT_BUILD=y CONFIG_ARCH_HAS_PREEMPT_LAZY=y CONFIG_PREEMPT=y # 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_VIRT_CPU_ACCOUNTING=y # CONFIG_TICK_CPU_ACCOUNTING is not set CONFIG_VIRT_CPU_ACCOUNTING_GEN=y 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_SLICE_EXTENSION is not set # 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 CONFIG_PERF_GUEST_MEDIATED_PMU=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_KASAN_SHADOW_OFFSET=0xdffffc0000000000 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_SPINLOCKS=y 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 is not set 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=y 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 panic_on_warn=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_SLS=y CONFIG_CC_HAS_RETURN_THUNK=y CONFIG_CC_HAS_ENTRY_PADDING=y CONFIG_CC_HAS_KCFI_ARITY=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_NHLT=y 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_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_SW_PROTECTED_VM=y CONFIG_KVM_INTEL=y # CONFIG_KVM_INTEL_PROVE_VE is not set CONFIG_X86_SGX_KVM=y 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_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=y CONFIG_STACKPROTECTOR_STRONG=y 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=y CONFIG_ARCH_SUPPORTS_PROPELLER_CLANG=y CONFIG_PROPELLER_CLANG=y 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_PV_STEAL_CLOCK_GEN=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_HAVE_RELIABLE_STACKTRACE=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=y 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_HAVE_ARCH_NODE_DEV_GROUP=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_SHA256=y # 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="sha256" # 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_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_BALLOON=y CONFIG_BALLOON_MIGRATION=y 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 is not set # 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=y # CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_NEVER is not set # 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=y 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_DEFERRED_STRUCT_PAGE_INIT is not set 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_KMAP_LOCAL=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_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_SMC_HS_CTRL_BPF is not set 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_862XX is not set # 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 # # 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_DEBUG is not set 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=y # CONFIG_MTD_TESTS is not set # # Partition parsers # # CONFIG_MTD_CMDLINE_PARTS is not set # CONFIG_MTD_OF_PARTS is not set # CONFIG_MTD_REDBOOT_PARTS is not set # end of Partition parsers # # User Modules And Translation Layers # CONFIG_MTD_BLKDEVS=y CONFIG_MTD_BLOCK=y # # Note that in some cases UBI block is preferred. See MTD_UBI_BLOCK. # CONFIG_FTL=y # CONFIG_NFTL is not set # CONFIG_INFTL is not set # CONFIG_RFD_FTL is not set # CONFIG_SSFDC is not set # CONFIG_SM_FTL is not set # CONFIG_MTD_OOPS is not set # CONFIG_MTD_SWAP is not set # CONFIG_MTD_PARTITIONED_MASTER is not set # # RAM/ROM/Flash chip drivers # # CONFIG_MTD_CFI is not set # CONFIG_MTD_JEDECPROBE is not set CONFIG_MTD_MAP_BANK_WIDTH_1=y CONFIG_MTD_MAP_BANK_WIDTH_2=y CONFIG_MTD_MAP_BANK_WIDTH_4=y CONFIG_MTD_CFI_I1=y CONFIG_MTD_CFI_I2=y # CONFIG_MTD_RAM is not set # CONFIG_MTD_ROM is not set # CONFIG_MTD_ABSENT is not set # end of RAM/ROM/Flash chip drivers # # Mapping drivers for chip access # # CONFIG_MTD_COMPLEX_MAPPINGS is not set # CONFIG_MTD_PLATRAM is not set # end of Mapping drivers for chip access # # Self-contained MTD device drivers # # CONFIG_MTD_PMC551 is not set # CONFIG_MTD_DATAFLASH is not set # CONFIG_MTD_MCHP23K256 is not set # CONFIG_MTD_MCHP48L640 is not set # CONFIG_MTD_SST25L is not set CONFIG_MTD_SLRAM=y CONFIG_MTD_PHRAM=y CONFIG_MTD_MTDRAM=y CONFIG_MTDRAM_TOTAL_SIZE=128 CONFIG_MTDRAM_ERASE_SIZE=4 CONFIG_MTD_BLOCK2MTD=y # CONFIG_MTD_INTEL_DG is not set # # Disk-On-Chip Device Drivers # # CONFIG_MTD_DOCG3 is not set # end of Self-contained MTD device drivers # # NAND # # CONFIG_MTD_ONENAND is not set # CONFIG_MTD_RAW_NAND is not set # CONFIG_MTD_SPI_NAND is not set # # ECC engine support # # CONFIG_MTD_NAND_ECC_SW_HAMMING is not set # CONFIG_MTD_NAND_ECC_SW_BCH is not set # CONFIG_MTD_NAND_ECC_MXIC is not set # end of ECC engine support # end of NAND # # LPDDR & LPDDR2 PCM memory drivers # # CONFIG_MTD_LPDDR is not set # end of LPDDR & LPDDR2 PCM memory drivers # CONFIG_MTD_SPI_NOR is not set CONFIG_MTD_UBI=y CONFIG_MTD_UBI_WL_THRESHOLD=4096 CONFIG_MTD_UBI_BEB_LIMIT=20 # CONFIG_MTD_UBI_FASTMAP is not set # CONFIG_MTD_UBI_GLUEBI is not set # CONFIG_MTD_UBI_BLOCK is not set # CONFIG_MTD_UBI_FAULT_INJECTION is not set # CONFIG_MTD_UBI_NVMEM is not set # CONFIG_MTD_HYPERBUS 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 # CONFIG_MISC_RP1 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=y # CONFIG_WIREGUARD_DEBUG 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_MXL862 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_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_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_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_SHARE_IRQ=y CONFIG_SERIAL_8250_DETECT_IRQ=y CONFIG_SERIAL_8250_RSA=y CONFIG_SERIAL_8250_MANY_PORTS=y # CONFIG_SERIAL_8250_PCI1XXXX is not set # 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 CONFIG_SERIAL_8250_DWLIB=y # # 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_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_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_I3C_OR_I2C=y 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_1588_CLOCK_OCP 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_LINE_MUX 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_MAX77675 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_RT8092 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_TPS65185 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 # CONFIG_DRM_AMDGPU is not set # # ARM devices # # CONFIG_DRM_KOMEDA is not set # end of ARM devices # CONFIG_DRM_AST is not set 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_GMA500 is not set CONFIG_DRM_GUD=y # CONFIG_DRM_HISI_HIBMC 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_LOGICVC is not set # CONFIG_DRM_MGAG200 is not set # CONFIG_DRM_NOUVEAU is not set 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_LTL106HL02 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_QXL is not set # CONFIG_DRM_RADEON is not set # CONFIG_DRM_ST7571 is not set # CONFIG_DRM_ST7586 is not set # CONFIG_DRM_ST7735R is not set # CONFIG_DRM_ST7920 is not set # CONFIG_DRM_SSD130X is not set # # 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 # 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_UDL=y # CONFIG_DRM_VBOXVIDEO is not set CONFIG_DRM_VGEM=y CONFIG_DRM_VIRTIO_GPU=y CONFIG_DRM_VIRTIO_GPU_KMS=y CONFIG_DRM_VKMS=y CONFIG_DRM_VMWGFX=y # CONFIG_DRM_VMWGFX_MKSSTATS is not set # CONFIG_DRM_XE 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_MONO_FILE="drivers/video/logo/logo_linux_mono.pbm" CONFIG_LOGO_LINUX_VGA16=y CONFIG_LOGO_LINUX_VGA16_FILE="drivers/video/logo/logo_linux_vga16.ppm" # 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 is not set CONFIG_SND_PROC_FS=y CONFIG_SND_VERBOSE_PROCFS=y CONFIG_SND_CTL_FAST_LOOKUP=y CONFIG_SND_DEBUG=y # CONFIG_SND_DEBUG_VERBOSE is not set CONFIG_SND_PCM_XRUN_DEBUG=y # CONFIG_SND_CTL_INPUT_VALIDATION is not set # CONFIG_SND_CTL_DEBUG is not set # CONFIG_SND_JACK_INJECTION_DEBUG is not set # CONFIG_SND_UTIMER is not set CONFIG_SND_VMASTER=y CONFIG_SND_DMA_SGBUF=y CONFIG_SND_CTL_LED=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=y CONFIG_SND_HDA_HWDEP=y CONFIG_SND_HDA_RECONFIG=y CONFIG_SND_HDA_INPUT_BEEP=y CONFIG_SND_HDA_INPUT_BEEP_MODE=1 CONFIG_SND_HDA_PATCH_LOADER=y CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 # CONFIG_SND_HDA_CTL_DEV_ID is not set CONFIG_SND_HDA_PREALLOC_SIZE=0 CONFIG_SND_HDA_INTEL=y # CONFIG_SND_HDA_ACPI is not set CONFIG_SND_HDA_GENERIC_LEDS=y CONFIG_SND_HDA_CODEC_ANALOG=y CONFIG_SND_HDA_CODEC_SIGMATEL=y CONFIG_SND_HDA_CODEC_VIA=y CONFIG_SND_HDA_CODEC_CONEXANT=y # CONFIG_SND_HDA_CODEC_SENARYTECH is not set CONFIG_SND_HDA_CODEC_CA0110=y CONFIG_SND_HDA_CODEC_CA0132=y # CONFIG_SND_HDA_CODEC_CA0132_DSP is not set CONFIG_SND_HDA_CODEC_CMEDIA=y # CONFIG_SND_HDA_CODEC_CM9825 is not set CONFIG_SND_HDA_CODEC_SI3054=y CONFIG_SND_HDA_GENERIC=y CONFIG_SND_HDA_CODEC_REALTEK=y # CONFIG_SND_HDA_CODEC_ALC260 is not set # CONFIG_SND_HDA_CODEC_ALC262 is not set # CONFIG_SND_HDA_CODEC_ALC268 is not set # CONFIG_SND_HDA_CODEC_ALC269 is not set # CONFIG_SND_HDA_CODEC_ALC662 is not set # CONFIG_SND_HDA_CODEC_ALC680 is not set # CONFIG_SND_HDA_CODEC_ALC861 is not set # CONFIG_SND_HDA_CODEC_ALC861VD is not set # CONFIG_SND_HDA_CODEC_ALC880 is not set # CONFIG_SND_HDA_CODEC_ALC882 is not set CONFIG_SND_HDA_CODEC_CIRRUS=y # CONFIG_SND_HDA_CODEC_CS420X is not set # CONFIG_SND_HDA_CODEC_CS421X is not set # CONFIG_SND_HDA_CODEC_CS8409 is not set CONFIG_SND_HDA_CODEC_HDMI=y # CONFIG_SND_HDA_CODEC_HDMI_GENERIC is not set # CONFIG_SND_HDA_CODEC_HDMI_SIMPLE is not set # CONFIG_SND_HDA_CODEC_HDMI_INTEL is not set # CONFIG_SND_HDA_CODEC_HDMI_ATI is not set # CONFIG_SND_HDA_CODEC_HDMI_NVIDIA is not set # CONFIG_SND_HDA_CODEC_HDMI_NVIDIA_MCP is not set # CONFIG_SND_HDA_CODEC_HDMI_TEGRA is not set # CONFIG_SND_HDA_SCODEC_CS35L56_I2C is not set # CONFIG_SND_HDA_SCODEC_CS35L56_SPI is not set CONFIG_SND_HDA_CORE=y CONFIG_SND_HDA_COMPONENT=y CONFIG_SND_HDA_I915=y CONFIG_SND_INTEL_NHLT=y CONFIG_SND_INTEL_DSP_CONFIG=y CONFIG_SND_INTEL_SOUNDWIRE_ACPI=y # 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_RT5575 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_RAPOO is not set 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_DWC3_GOOGLE is not set 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_OSRAM_AMS_AS3668 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_LP5812 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_MTD 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_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_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 is not set # 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=y # CONFIG_AMD_IOMMU_IOMMUFD 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_IOMMUFD_TEST=y CONFIG_IRQ_REMAP=y # CONFIG_VIRTIO_IOMMU is not set CONFIG_GENERIC_PT=y CONFIG_DEBUG_GENERIC_PT=y CONFIG_IOMMU_PT=y CONFIG_IOMMU_PT_AMDV1=y 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_AD4134 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_ADS1018 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_ADS131M02 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_ADL8113 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_MAX22007 is not set # CONFIG_MAX5522 is not set # CONFIG_MAX5821 is not set # CONFIG_MCP4725 is not set # CONFIG_MCP4728 is not set # CONFIG_MCP47FEB02 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_MMC5633 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_ABP2030PA_I2C is not set # CONFIG_ABP2030PA_SPI 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_I2C is not set # CONFIG_MPRLS0025PA_SPI 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_PHY_GOOGLE_USB is not set 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 is not set 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 # CONFIG_NVMEM_U_BOOT_ENV 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_DCACHE_WORD_ACCESS=y 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_JFFS2_FS=y CONFIG_JFFS2_FS_DEBUG=0 CONFIG_JFFS2_FS_WRITEBUFFER=y # CONFIG_JFFS2_FS_WBUF_VERIFY is not set CONFIG_JFFS2_SUMMARY=y CONFIG_JFFS2_FS_XATTR=y CONFIG_JFFS2_FS_POSIX_ACL=y CONFIG_JFFS2_FS_SECURITY=y CONFIG_JFFS2_COMPRESSION_OPTIONS=y CONFIG_JFFS2_ZLIB=y CONFIG_JFFS2_LZO=y CONFIG_JFFS2_RTIME=y CONFIG_JFFS2_RUBIN=y # CONFIG_JFFS2_CMODE_NONE is not set CONFIG_JFFS2_CMODE_PRIORITY=y # CONFIG_JFFS2_CMODE_SIZE is not set # CONFIG_JFFS2_CMODE_FAVOURLZO is not set CONFIG_UBIFS_FS=y CONFIG_UBIFS_FS_ADVANCED_COMPR=y CONFIG_UBIFS_FS_LZO=y CONFIG_UBIFS_FS_ZLIB=y CONFIG_UBIFS_FS_ZSTD=y CONFIG_UBIFS_ATIME_SUPPORT=y CONFIG_UBIFS_FS_XATTR=y CONFIG_UBIFS_FS_SECURITY=y # CONFIG_UBIFS_FS_AUTHENTICATION is not set CONFIG_CRAMFS=y CONFIG_CRAMFS_BLOCKDEV=y CONFIG_CRAMFS_MTD=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 is not set # CONFIG_ROMFS_BACKED_BY_MTD is not set CONFIG_ROMFS_BACKED_BY_BOTH=y CONFIG_ROMFS_ON_BLOCK=y CONFIG_ROMFS_ON_MTD=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_EROFS_FS_PAGE_CACHE_SHARE 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_0=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_NFSD_V4_POSIX_ACLS 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=y 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 is not set # CONFIG_INIT_STACK_ALL_PATTERN is not set CONFIG_INIT_STACK_ALL_ZERO=y CONFIG_CC_HAS_SANCOV_STACK_DEPTH_CALLBACK=y # CONFIG_KSTACK_ERASE is not set CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set 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=y # CONFIG_HARDENED_USERCOPY_DEFAULT_ON 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=y 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 is not set CONFIG_CRYPTO_ECRDSA=y # CONFIG_CRYPTO_MLDSA is not set # end of Public-key cryptography # # Block ciphers # CONFIG_CRYPTO_AES=y CONFIG_CRYPTO_ANUBIS=y CONFIG_CRYPTO_ARIA=y CONFIG_CRYPTO_BLOWFISH=y CONFIG_CRYPTO_BLOWFISH_COMMON=y CONFIG_CRYPTO_CAMELLIA=y CONFIG_CRYPTO_CAST_COMMON=y CONFIG_CRYPTO_CAST5=y CONFIG_CRYPTO_CAST6=y CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_FCRYPT=y CONFIG_CRYPTO_KHAZAD=y CONFIG_CRYPTO_SEED=y CONFIG_CRYPTO_SERPENT=y 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 # 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 is not set CONFIG_CRYPTO_CMAC=y CONFIG_CRYPTO_GHASH=y CONFIG_CRYPTO_HMAC=y # CONFIG_CRYPTO_MD4 is not set # CONFIG_CRYPTO_MD5 is not set 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 is not set # end of Hashes, digests, and MACs # # CRCs (cyclic redundancy checks) # # CONFIG_CRYPTO_CRC32C is not set # 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=y # 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 # # Accelerated Cryptographic Algorithms for CPU (x86) # CONFIG_CRYPTO_AES_NI_INTEL=y CONFIG_CRYPTO_BLOWFISH_X86_64=y CONFIG_CRYPTO_CAMELLIA_X86_64=y CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=y CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=y CONFIG_CRYPTO_CAST5_AVX_X86_64=y CONFIG_CRYPTO_CAST6_AVX_X86_64=y CONFIG_CRYPTO_DES3_EDE_X86_64=y CONFIG_CRYPTO_SERPENT_SSE2_X86_64=y CONFIG_CRYPTO_SERPENT_AVX_X86_64=y CONFIG_CRYPTO_SERPENT_AVX2_X86_64=y CONFIG_CRYPTO_SM4_AESNI_AVX_X86_64=y CONFIG_CRYPTO_SM4_AESNI_AVX2_X86_64=y CONFIG_CRYPTO_TWOFISH_X86_64=y CONFIG_CRYPTO_TWOFISH_X86_64_3WAY=y CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64=y # CONFIG_CRYPTO_ARIA_AESNI_AVX2_X86_64 is not set # CONFIG_CRYPTO_ARIA_GFNI_AVX512_X86_64 is not set CONFIG_CRYPTO_AEGIS128_AESNI_SSE2=y CONFIG_CRYPTO_SM3_AVX_X86_64=y CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=y # end of Accelerated Cryptographic Algorithms for CPU (x86) 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_SP_PSP 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=y # CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_44 is not set # CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_65 is not set # CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_87 is not set 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 CONFIG_OPENSSL_SUPPORTS_ML_DSA=y # 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_AES_ARCH=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_CHACHA_ARCH=y CONFIG_CRYPTO_LIB_CURVE25519=y CONFIG_CRYPTO_LIB_CURVE25519_ARCH=y CONFIG_CRYPTO_LIB_CURVE25519_GENERIC=y CONFIG_CRYPTO_LIB_DES=y CONFIG_CRYPTO_LIB_MD5=y CONFIG_CRYPTO_LIB_NH=y CONFIG_CRYPTO_LIB_NH_ARCH=y CONFIG_CRYPTO_LIB_POLY1305=y CONFIG_CRYPTO_LIB_POLY1305_ARCH=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_CHACHA20POLY1305=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 CONFIG_CRYPTO_LIB_SM3=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_CPUMASK_OFFSTACK is not set CONFIG_CPU_RMAP=y CONFIG_DQL=y CONFIG_GLOB=y 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=y CONFIG_DYNAMIC_DEBUG_CORE=y CONFIG_SYMBOLIC_ERRNAME=y CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_BUGVERBOSE_DETAILED=y # 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_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_OBJTOOL=y # CONFIG_OBJTOOL_WERROR 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=y # CONFIG_UBSAN_TRAP is not set CONFIG_CC_HAS_UBSAN_ARRAY_BOUNDS=y CONFIG_UBSAN_BOUNDS=y CONFIG_UBSAN_ARRAY_BOUNDS=y CONFIG_UBSAN_SHIFT=y # CONFIG_UBSAN_BOOL is not set # CONFIG_UBSAN_ENUM is not set # CONFIG_UBSAN_ALIGNMENT is not set # CONFIG_TEST_UBSAN is not set CONFIG_HAVE_ARCH_KCSAN=y CONFIG_HAVE_KCSAN_COMPILER=y # 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=y # CONFIG_DEBUG_PAGEALLOC is not set CONFIG_SLUB_DEBUG=y # CONFIG_SLUB_DEBUG_ON is not set CONFIG_SLUB_RCU_DEBUG=y CONFIG_PAGE_OWNER=y CONFIG_PAGE_TABLE_CHECK=y CONFIG_PAGE_TABLE_CHECK_ENFORCED=y CONFIG_PAGE_POISONING=y # 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=y CONFIG_HAVE_DEBUG_KMEMLEAK=y # CONFIG_DEBUG_KMEMLEAK is not set # CONFIG_PER_VMA_LOCK_STATS is not set CONFIG_DEBUG_OBJECTS=y # CONFIG_DEBUG_OBJECTS_SELFTEST is not set CONFIG_DEBUG_OBJECTS_FREE=y CONFIG_DEBUG_OBJECTS_TIMERS=y CONFIG_DEBUG_OBJECTS_WORK=y CONFIG_DEBUG_OBJECTS_RCU_HEAD=y CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1 # 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_IRQSOFF=y CONFIG_DEBUG_VM=y CONFIG_DEBUG_VM_MAPLE_TREE=y CONFIG_DEBUG_VM_RB=y CONFIG_DEBUG_VM_PGFLAGS=y CONFIG_DEBUG_VM_PGTABLE=y CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y CONFIG_DEBUG_VIRTUAL=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_DEBUG_PER_CPU_MAPS=y CONFIG_DEBUG_KMAP_LOCAL=y CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y # 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=y CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX=y CONFIG_KASAN_GENERIC=y # CONFIG_KASAN_OUTLINE is not set CONFIG_KASAN_INLINE=y CONFIG_KASAN_STACK=y CONFIG_KASAN_VMALLOC=y # CONFIG_KASAN_EXTRA_INFO is not set CONFIG_HAVE_ARCH_KFENCE=y CONFIG_KFENCE=y CONFIG_KFENCE_SAMPLE_INTERVAL=100 CONFIG_KFENCE_NUM_OBJECTS=255 # CONFIG_KFENCE_DEFERRABLE is not set CONFIG_KFENCE_STATIC_KEYS=y CONFIG_KFENCE_STRESS_TEST_FAULTS=0 CONFIG_HAVE_ARCH_KMSAN=y CONFIG_HAVE_KMSAN_COMPILER=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_LOCKUP_DETECTOR=y CONFIG_SOFTLOCKUP_DETECTOR=y # CONFIG_SOFTLOCKUP_DETECTOR_INTR_STORM is not set CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=1 CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y CONFIG_HARDLOCKUP_DETECTOR=y # CONFIG_HARDLOCKUP_DETECTOR_PREFER_BUDDY is not set CONFIG_HARDLOCKUP_DETECTOR_PERF=y # CONFIG_HARDLOCKUP_DETECTOR_BUDDY is not set # CONFIG_HARDLOCKUP_DETECTOR_ARCH is not set CONFIG_HARDLOCKUP_DETECTOR_COUNTS_HRTIMER=y CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y CONFIG_DETECT_HUNG_TASK=y CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=140 CONFIG_BOOTPARAM_HUNG_TASK_PANIC=1 # CONFIG_DETECT_HUNG_TASK_BLOCKER is not set CONFIG_WQ_WATCHDOG=y CONFIG_BOOTPARAM_WQ_STALL_PANIC=0 # 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=y # CONFIG_DEBUG_ATOMIC is not set # # Lock Debugging (spinlocks, mutexes, etc...) # CONFIG_LOCK_DEBUGGING_SUPPORT=y CONFIG_PROVE_LOCKING=y CONFIG_PROVE_RAW_LOCK_NESTING=y # CONFIG_LOCK_STAT is not set CONFIG_DEBUG_RT_MUTEXES=y CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_MUTEXES=y CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y CONFIG_DEBUG_RWSEMS=y CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_LOCKDEP=y CONFIG_LOCKDEP_BITS=20 CONFIG_LOCKDEP_CHAINS_BITS=20 CONFIG_LOCKDEP_STACK_TRACE_BITS=20 CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14 CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12 # CONFIG_DEBUG_LOCKDEP is not set CONFIG_DEBUG_ATOMIC_SLEEP=y # 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=y # CONFIG_CSD_LOCK_WAIT_DEBUG_DEFAULT is not set # end of Lock Debugging (spinlocks, mutexes, etc...) CONFIG_TRACE_IRQFLAGS=y CONFIG_TRACE_IRQFLAGS_NMI=y CONFIG_NMI_CHECK_CPU=y CONFIG_DEBUG_IRQFLAGS=y CONFIG_STACKTRACE=y # CONFIG_DEBUG_KOBJECT is not set # CONFIG_DEBUG_KOBJECT_RELEASE is not set # # Debug kernel data structures # CONFIG_DEBUG_LIST=y CONFIG_DEBUG_PLIST=y CONFIG_DEBUG_SG=y CONFIG_DEBUG_NOTIFIERS=y # CONFIG_DEBUG_CLOSURES is not set CONFIG_DEBUG_MAPLE_TREE=y # end of Debug kernel data structures # # RCU Debugging # CONFIG_PROVE_RCU=y # 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=y # 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_PREEMPTIRQ_TRACEPOINTS=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=y # 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 # CONFIG_STRICT_DEVMEM is not set # # 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=y # CONFIG_UNWINDER_FRAME_POINTER is not set # 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_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_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_CONTEXT_ANALYSIS_TEST is not set # CONFIG_TEST_UDELAY is not set # CONFIG_TEST_STATIC_KEYS is not set # CONFIG_TEST_DYNAMIC_DEBUG is not set # CONFIG_TEST_KMOD is not set # CONFIG_TEST_KALLSYMS is not set # CONFIG_TEST_DEBUG_VIRTUAL 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 CONFIG_IO_URING_BPF=y |
| KernelRepo | git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git |
| ReproCID | 0 |
| ReproOpts | |
| ReproSyzID | 0 |
| SyzkallerCommit | 1a086e7c785fa4decf3678c4237591fa6fad1621 |
xpad 1-1:179.65: xpad_irq_in - usb_submit_urb failed with result -19 xpad 1-1:179.65: xpad_irq_out - usb_submit_urb failed with result -19 ================================================================== BUG: KASAN: slab-use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x28b/0x2f0 kernel/locking/spinlock_debug.c:115 Read of size 4 at addr ffff88806baa885c by task swapper/1/0 CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: <IRQ> dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xba/0x230 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] do_raw_spin_lock+0x28b/0x2f0 kernel/locking/spinlock_debug.c:115 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock_irqsave+0x4c/0x60 kernel/locking/spinlock.c:162 __wake_up_common_lock+0x2f/0x1f0 kernel/sched/wait.c:124 __usb_hcd_giveback_urb+0x3b0/0x540 drivers/usb/core/hcd.c:1660 dummy_timer+0xbbd/0x4650 drivers/usb/gadget/udc/dummy_hcd.c:2005 __run_hrtimer kernel/time/hrtimer.c:1785 [inline] __hrtimer_run_queues+0x53a/0xcc0 kernel/time/hrtimer.c:1849 hrtimer_run_softirq+0x182/0x5a0 kernel/time/hrtimer.c:1866 handle_softirqs+0x22a/0x870 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63 Code: 1e 6b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d a3 22 19 00 fb f4 <e9> fc e9 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90 RSP: 0018:ffffc90000197e20 EFLAGS: 00000242 RAX: 000000000070e9cd RBX: ffffffff819aac7a RCX: 0000000080000001 RDX: 0000000000000001 RSI: ffffffff8defcc34 RDI: ffffffff8c27d880 RBP: ffffc90000197f10 R08: ffff8880b873399b R09: 1ffff110170e6733 R10: dffffc0000000000 R11: ffffed10170e6734 R12: 0000000000000001 R13: 1ffff11003b58000 R14: 0000000000000001 R15: 1ffff11003b58000 arch_safe_halt arch/x86/kernel/process.c:766 [inline] default_idle+0x9/0x20 arch/x86/kernel/process.c:767 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x36a/0x5f0 kernel/sched/idle.c:352 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451 start_secondary+0x101/0x110 arch/x86/kernel/smpboot.c:312 common_startup_64+0x13e/0x147 </TASK> Allocated by task 5914: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x31c/0x660 mm/slub.c:5380 kmalloc_noprof include/linux/slab.h:950 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] xpad_probe+0x428/0x1fc0 drivers/input/joystick/xpad.c:2085 usb_probe_interface+0x668/0xc90 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x267/0xaf0 drivers/base/dd.c:721 __driver_probe_device+0x18c/0x320 drivers/base/dd.c:863 driver_probe_device+0x4f/0x240 drivers/base/dd.c:893 __device_attach_driver+0x279/0x430 drivers/base/dd.c:1021 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500 __device_attach+0x2c5/0x450 drivers/base/dd.c:1093 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1148 bus_probe_device+0x12a/0x220 drivers/base/bus.c:613 device_add+0x7b6/0xb70 drivers/base/core.c:3690 usb_set_configuration+0x1a87/0x2110 drivers/usb/core/message.c:2266 usb_generic_driver_probe+0x8d/0x150 drivers/usb/core/generic.c:250 usb_probe_device+0x1c4/0x3b0 drivers/usb/core/driver.c:291 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x267/0xaf0 drivers/base/dd.c:721 __driver_probe_device+0x18c/0x320 drivers/base/dd.c:863 driver_probe_device+0x4f/0x240 drivers/base/dd.c:893 __device_attach_driver+0x279/0x430 drivers/base/dd.c:1021 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500 __device_attach+0x2c5/0x450 drivers/base/dd.c:1093 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1148 bus_probe_device+0x12a/0x220 drivers/base/bus.c:613 device_add+0x7b6/0xb70 drivers/base/core.c:3690 usb_new_device+0xa08/0x16f0 drivers/usb/core/hub.c:2695 hub_port_connect drivers/usb/core/hub.c:5567 [inline] hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] port_event drivers/usb/core/hub.c:5871 [inline] hub_event+0x2a1c/0x4f30 drivers/usb/core/hub.c:5953 process_one_work kernel/workqueue.c:3288 [inline] process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3371 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3452 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Freed by task 980: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2685 [inline] slab_free mm/slub.c:6165 [inline] kfree+0x1c1/0x630 mm/slub.c:6483 xpad_disconnect+0x350/0x480 drivers/input/joystick/xpad.c:2269 usb_unbind_interface+0x26e/0x910 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:633 [inline] __device_release_driver drivers/base/dd.c:1344 [inline] device_release_driver_internal+0x4d9/0x870 drivers/base/dd.c:1367 bus_remove_device+0x455/0x570 drivers/base/bus.c:657 device_del+0x527/0x8f0 drivers/base/core.c:3879 usb_disable_device+0x3d4/0x8d0 drivers/usb/core/message.c:1476 usb_disconnect+0x32f/0x990 drivers/usb/core/hub.c:2345 hub_port_connect drivers/usb/core/hub.c:5407 [inline] hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] port_event drivers/usb/core/hub.c:5871 [inline] hub_event+0x1cc9/0x4f30 drivers/usb/core/hub.c:5953 process_one_work kernel/workqueue.c:3288 [inline] process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3371 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3452 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff88806baa8800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 92 bytes inside of freed 1024-byte region [ffff88806baa8800, ffff88806baa8c00) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88806baad000 pfn:0x6baa8 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff88813fea7dc0 ffffea00007dbe10 ffffea000097be10 raw: ffff88806baad000 000000080010000d 00000000f5000000 0000000000000000 head: 00fff00000000240 ffff88813fea7dc0 ffffea00007dbe10 ffffea000097be10 head: ffff88806baad000 000000080010000d 00000000f5000000 0000000000000000 head: 00fff00000000003 ffffea0001aeaa01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5847, tgid 5847 (syz-executor), ts 86290423441, free_ts 78083357419 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x231/0x280 mm/page_alloc.c:1889 prep_new_page mm/page_alloc.c:1897 [inline] get_page_from_freelist+0x24dc/0x2580 mm/page_alloc.c:3962 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5250 alloc_slab_page mm/slub.c:3292 [inline] allocate_slab+0x77/0x660 mm/slub.c:3481 new_slab mm/slub.c:3539 [inline] refill_objects+0x331/0x3c0 mm/slub.c:7175 refill_sheaf mm/slub.c:2812 [inline] __pcs_replace_empty_main+0x2e6/0x730 mm/slub.c:4615 alloc_from_pcs mm/slub.c:4717 [inline] slab_alloc_node mm/slub.c:4851 [inline] __do_kmalloc_node mm/slub.c:5259 [inline] __kmalloc_noprof+0x474/0x760 mm/slub.c:5272 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] ip6t_alloc_initial_table+0x6b/0x6d0 net/ipv6/netfilter/ip6_tables.c:40 ip6table_security_table_init+0x1b/0x70 net/ipv6/netfilter/ip6table_security.c:42 xt_find_table_lock+0x30c/0x3e0 net/netfilter/x_tables.c:1283 xt_request_find_table_lock+0x26/0x100 net/netfilter/x_tables.c:1308 get_info net/ipv6/netfilter/ip6_tables.c:979 [inline] do_ip6t_get_ctl+0x716/0x1230 net/ipv6/netfilter/ip6_tables.c:1668 nf_getsockopt+0x26e/0x290 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x1fd/0x2b0 net/ipv6/ipv6_sockglue.c:1473 do_sock_getsockopt+0x2d3/0x3f0 net/socket.c:2448 __sys_getsockopt net/socket.c:2477 [inline] __do_sys_getsockopt net/socket.c:2484 [inline] __se_sys_getsockopt net/socket.c:2481 [inline] __x64_sys_getsockopt+0x1a4/0x240 net/socket.c:2481 page last free pid 5810 tgid 5810 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1433 [inline] free_unref_folios+0xed5/0x16d0 mm/page_alloc.c:3040 folios_put_refs+0x789/0x8d0 mm/swap.c:1002 free_pages_and_swap_cache+0x2e7/0x5b0 mm/swap_state.c:423 __tlb_batch_free_encoded_pages mm/mmu_gather.c:138 [inline] tlb_batch_pages_flush mm/mmu_gather.c:151 [inline] tlb_flush_mmu_free mm/mmu_gather.c:398 [inline] tlb_flush_mmu+0x6d3/0xa30 mm/mmu_gather.c:405 tlb_finish_mmu+0xf9/0x230 mm/mmu_gather.c:530 unmap_region+0x2a5/0x330 mm/vma.c:488 vms_clear_ptes mm/vma.c:1284 [inline] vms_complete_munmap_vmas+0x493/0xc60 mm/vma.c:1326 do_vmi_align_munmap+0x3b7/0x4b0 mm/vma.c:1585 do_vmi_munmap+0x252/0x2d0 mm/vma.c:1633 __vm_munmap+0x22c/0x3d0 mm/vma.c:3261 __do_sys_munmap mm/mmap.c:1078 [inline] __se_sys_munmap mm/mmap.c:1075 [inline] __x64_sys_munmap+0x60/0x70 mm/mmap.c:1075 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88806baa8700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88806baa8780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88806baa8800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88806baa8880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88806baa8900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 6b 02 c3 imul $0xffffffc3,(%rdx),%eax 3: cc int3 4: cc int3 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: cc int3 a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: f3 0f 1e fa endbr64 1e: 66 90 xchg %ax,%ax 20: 0f 00 2d a3 22 19 00 verw 0x1922a3(%rip) # 0x1922ca 27: fb sti 28: f4 hlt * 29: e9 fc e9 02 00 jmp 0x2ea2a <-- trapping instruction 2e: cc int3 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: cc int3 34: cc int3 35: cc int3 36: cc int3 37: cc int3 38: cc int3 39: cc int3 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop
| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/04/16 18:59 | flow | repro |
2h06mError:reproducer did not crash |
| 1/1 | 2026/04/16 18:59 | action | kernel-checkouter |
1mResults:map[KernelSrc:/app/workdir/cache/src/7997a7eaa0f2881dc89b8c06d7a0da3e794d61ea] |
| 2/1 | 2026/04/16 19:00 | action | kernel-builder |
26mResults:map[KernelObj:/app/workdir/cache/build/425cf9f5747b994349fd8956f75fecbcbf4c7c98] |
| 3/1 | 2026/04/16 19:27 | action | codesearch-prepare |
20mResults:map[Index:codesearch-index] |
| 4/1 | 2026/04/16 19:47 | agent | crash-repro-finder |
1h10mModel:gemini-3.1-pro-preview Results: map[CandidateReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x0, &(0x7f0000000300)={0x50, 0xffff, 0x0, {0x0, 0x0}, {0x0, 0x0}, @rumble={0xffff, 0xffff}})
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
syz_usb_disconnect(r0) ReproOpts:{"procs": 1, "sandbox": "none", "fault_call": -1, "fault_nth": 0}]Instruction:
You are an expert in the Linux kernel fuzzing. Your goal is to write a syzkaller program to trigger a specific bug.
Don't make assumptions about the kernel source code, use the provided codesearch tools
to examine the kernel code instead.
Document about syzkaller program syntax:
===
# Program syntax
Syzkaller uses a compact domain-specific language (DSL) for programs
to log executed programs, test its code, and persist programs in the
corpus. This page provides a brief description of the corresponding
syntax. Some useful information can also be found in the
[existing examples](/sys/linux/test) and in the program
[deserialization code](/prog/encoding.go).
Together with execution options, the DSL provides everything that
syz-executor needs to run a program.
For example, consider the program:
```
r0 = syz_open_dev$loop(&(0x7f00000011c0), 0x0, 0x0)
r1 = openat$6lowpan_control(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0)
ioctl$LOOP_SET_FD(r0, 0x4c00, r1)
```
Each line in this program describes a particular syscall invocation,
with the first two calls saving the result in temporary variables `r0`
and `r1`, which are passed to the third call.
```
line = assignment | call
assignment = variable " = " call
call = syscall-name "(" [arg ["," arg]*] ")" ["(" [call-prop ["," call-prop*] ")"]
arg = "nil" | "AUTO" | const-arg | resource-arg | result-arg | pointer-arg | string-arg | struct-arg | array-arg | union-arg
const-arg = integer
resource-arg = variable ["/" hex-integer] ["+" hex-integer]
result-arg = "<" variable "=>" arg
pointer-arg = "&" pointer-arg-addr ["=ANY"] "=" arg
pointer-arg-addr = "AUTO" | "(" pointer-addr ["/" region-size] ")"
string-arg = "'" escaped-string "'" | "\"" escaped-string "\"" | "\"$" escaped-string "\""
struct-arg = "{" [arg ["," arg]*] "}"
array-arg = "[" [arg ["," arg]*] "]"
union-arg = "@" field-name ["=" arg]
call-prop = prop-name ": " prop-value
variable = "r" dec-integer
pointer-addr = integer
region-size = integer
integer = dec-integer | oct-integer | "0x" hex-integer
```
Programs may also contain blank lines and comments.
```
# Obtain a file handle
r0 = openat(0xffffffffffffff9c, &AUTO='./file1\x00', 0x42, 0x1ff)
# Perform a write operation
write(r0, &AUTO="01010101", 0x4)
```
### Memory management
Memory management is performed by syzkaller itself. It will allocate
virtual memory regions of the necessary size and set the final values
of pointer arguments.
By using the `AUTO` keyword, programs can give syzkaller the full
control over storing the data. This may be convenient e.g. when a
parameter must be passed by reference, but the exact location of its
value is not of particular importance.
```
r1 = syz_genetlink_get_family_id$nl80211(&AUTO='nl80211\x00', 0xffffffffffffffff)
ioctl$sock_SIOCGIFINDEX_80211(r0, 0x8933, &AUTO={'wlan0\x00', <r2=>0x0})
```
Alternatively, some data can be "anchored" to specific addresses. It
may be especially important when a memory region must be shared
between multiple calls. In this case, pointer addresses must be given
at the 0x7f0000000000 offset. Before the actual execution, syzkaller
will adjust pointers to the start of the actual mmap'ed region.
### Call properties
Call properties specify extra information about how a specific call
must be executed. Each call within a program has its own set of call
properties. If no properties are provided, syzkaller takes the default
ones.
Currently, syzkaller supports the following call properties.
#### Fault injection
Syntax: `fail_nth: N`.
It takes an integer (base 10) argument `N`. If the argument is
non-negative, a fault will be injected into the `N`-th occasion.
```
r0 = openat$6lowpan_control(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0)
ioctl$LOOP_SET_FD(r0, 0x4c00, r0) (fail_nth: 5)
```
#### Async
Syntax: `async`.
Instructs `syz-executor` not to wait until the call completes and
to proceed immediately to the next call.
```
r0 = openat(0xffffffffffffff9c, &AUTO='./file1\x00', 0x42, 0x1ff)
write(r0, &AUTO="01010101", 0x4) (async)
read(r0, &AUTO=""/4, 0x4)
close(r0)
```
When setting `async` flags be aware of the following considerations:
* Such programs should only be executed in threaded mode (i.e. `-threaded`
flag must be passed to `syz-executor`.
* Each `async` call is executed in a separate thread and there's a
limited number of available threads (`kMaxThreads = 16`).
* If an `async` call produces a resource, keep in mind that some other call
might take it as input and `syz-executor` will just pass 0 if the resource-
producing call has not finished by that time.
===
Document about syzlang system call descriptions syntax:
===
# Syscall description language
aka `syzlang` (`[siːzˈlæŋg]`)
Pseudo-formal grammar of syscall description:
```
syscallname "(" [arg ["," arg]*] ")" [type] ["(" attribute* ")"]
arg = argname type
argname = identifier
type = typename [ "[" type-options "]" ]
typename = "const" | "intN" | "intptr" | "flags" | "array" | "ptr" |
"string" | "filename" | "glob" | "len" |
"bytesize" | "bytesizeN" | "bitsize" | "vma" | "proc" |
"compressed_image"
type-options = [type-opt ["," type-opt]]
```
common type-options include:
```
"opt" - the argument is optional (like mmap fd argument, or accept peer argument)
```
rest of the type-options are type-specific:
```
"const": integer constant, type-options:
value, underlying type (one of "intN", "intptr")
"intN"/"intptr": an integer without a particular meaning, type-options:
either an optional range of values (e.g. "5:10", or "100:200")
or a reference to flags description (see below),
or a single value
optionally followed by an alignment parameter if using a range
"flags": a set of values, type-options:
reference to flags description (see below), underlying int type (e.g. "int32")
"array": a variable/fixed-length array, type-options:
type of elements, optional size (fixed "5", or ranged "5:10", boundaries inclusive)
"ptr"/"ptr64": a pointer to an object, type-options:
direction (in/out/inout); type of the object
ptr64 has size of 8 bytes regardless of target pointer size
"string": a zero-terminated memory buffer (no pointer indirection implied), type-options:
either a string value in quotes for constant strings (e.g. "foo" or `deadbeef` for hex literal),
or a reference to string flags (special value `filename` produces file names),
optionally followed by a buffer size (string values will be padded with \x00 to that size)
"stringnoz": a non-zero-terminated memory buffer (no pointer indirection implied), type-options:
either a string value in quotes for constant strings (e.g. "foo" or `deadbeef` for hex literal),
or a reference to string flags,
"glob": glob pattern to match on the target files, type-options:
a pattern string in quotes (syntax: https://golang.org/pkg/path/filepath/#Match)
(e.g. "/sys/" or "/sys/**/*"),
or include exclude glob too (e.g. "/sys/**/*:-/sys/power/state")
"fmt": a string representation of an integer (not zero-terminated), type-options:
format (one of "dec", "hex", "oct") and the value (a resource, int, flags or proc)
the resulting data is always fixed-size (formatted as "%020llu", "0x%016llx" or "%023llo", respectively)
"len": length of another field (for array it is number of elements), type-options:
argname of the object
"bytesize": similar to "len", but always denotes the size in bytes, type-options:
argname of the object
"bitsize": similar to "len", but always denotes the size in bits, type-options:
argname of the object
"offsetof": offset of the field from the beginning of the parent struct, type-options:
field
"vma"/"vma64": a pointer to a set of pages (used as input for mmap/munmap/mremap/madvise), type-options:
optional number of pages (e.g. vma[7]), or a range of pages (e.g. vma[2-4])
vma64 has size of 8 bytes regardless of target pointer size
"proc": per process int (see description below), type-options:
value range start, how many values per process, underlying type
"compressed_image": zlib-compressed disk image
syscalls accepting compressed images must be marked with `no_generate`
and `no_minimize` call attributes. if the content of the decompressed image
can be checked by a `fsck`-like command, use the `fsck` syscall attribute
"text": machine code of the specified type, type-options:
text type (x86_real, x86_16, x86_32, x86_64, arm64)
"void": type with static size 0
mostly useful inside of templates and varlen unions, can't be syscall argument
```
flags/len/flags also have trailing underlying type type-option when used in structs/unions/pointers.
Flags are described as:
```
flagname = const ["," const]*
```
or for string flags as:
```
flagname = "\"" literal "\"" ["," "\"" literal "\""]*
```
Call attributes are:
```
"disabled": the call will not be used in fuzzing; useful to temporary disable some calls
or prohibit particular argument combinations.
"timeout[N]": additional execution timeout (in ms) for the call on top of some default value.
"prog_timeout[N]": additional execution timeout (in ms) for the whole program if it contains this call;
if a program contains several such calls, the max value is used.
"ignore_return": ignore return value of this syscall in fallback feedback; need to be used for calls
that don't return fixed error codes but rather something else (e.g. the current time).
"breaks_returns": ignore return values of all subsequent calls in the program in fallback feedback (can't be trusted).
"no_generate": do not try to generate this syscall, i.e. use only seed descriptions to produce it.
"no_minimize": do not modify instances of this syscall when trying to minimize a crashing program.
"no_squash": do not attempt to pass squashed arguments to this syscall.
Without that, the fuzzer will sometimes attempt to replace complex structures with arrays of bytes,
possibly triggering interesting mutations, but also making programs hard to reason about.
"fsck": the content of the compressed buffer argument for this syscall is a file system and the
string argument is a fsck-like command that will be called to verify the filesystem.
"remote_cover": wait longer to collect remote coverage for this call.
"kfuzz_test": the call is a kfuzztest target.
"snapshot": the call is enabled by default only in snapshot fuzzing mode, but can also be enabled in
the non-snasphot mode when listed in "enable_syscalls" with its full name (as opposed to a wildcard match).
It can also always be disabled via "disable_syscalls".
The attribute is generally used to mark calls that are not safe to execute in non-snapshot mode
(can lead to false positives, or lost connections to test machines.
```
## Ints
`int8`, `int16`, `int32` and `int64` denote an integer of the corresponding size.
`intptr` denotes a pointer-sized integer, i.e. C `long` type.
By appending `be` suffix (e.g. `int16be`) integers become big-endian.
It's possible to specify a range of values for an integer in the format of `int32[0:100]` or `int32[0:4096, 512]` for a 512-aligned int.
Integers can also take a reference to flags description or a value as its first type-option.
In that case, the alignment parameter is not supported.
To denote a bitfield of size N use `int64:N`.
It's possible to use these various kinds of ints as base types for `const`, `flags`, `len` and `proc`.
```
example_struct {
f0 int8 # random 1-byte integer
f1 const[0x42, int16be] # const 2-byte integer with value 0x4200 (big-endian 0x42)
f2 int32[0:100] # random 4-byte integer with values from 0 to 100 inclusive
f3 int32[1:10, 2] # random 4-byte integer with values {1, 3, 5, 7, 9}
f4 int64:20 # random 20-bit bitfield
f5 int8[10] # const 1-byte integer with value 10
f6 int32[flagname] # random 4-byte integer from the set of values referenced by flagname
}
```
## Structs
Structs are described as:
```
structname "{" "\n"
(fieldname type ("(" fieldattribute* ")")? (if[expression])? "\n")+
"}" ("[" attribute* "]")?
```
Fields can have attributes specified in parentheses after the field, independent
of their type. `in/out/inout` attribute specify per-field direction, for example:
```
foo {
field0 const[1, int32] (in)
field1 int32 (inout)
field2 fd (out)
}
```
You may specify conditions that determine whether a field will be included:
```
foo {
field0 int32
field1 int32 (if[value[field0] == 0x1])
}
```
See [the corresponding section](syscall_descriptions_syntax.md#conditional-fields)
for more details.
`out_overlay` attribute allows to have separate input and output layouts for the struct.
Fields before the `out_overlay` field are input, fields starting from `out_overlay` are output.
Input and output fields overlap in memory (both start from the beginning of the struct in memory).
For example:
```
foo {
in0 const[1, int32]
in1 flags[bar, int8]
in2 ptr[in, string]
out0 fd (out_overlay)
out1 int32
}
```
Structs can have attributes specified in square brackets after the struct.
Attributes are:
- `packed`: the struct does not have paddings between fields and has alignment 1; this is similar to GNU C `__attribute__((packed))`; struct alignment can be overridden with `align` attribute
- `align[N]`: the struct has alignment N and padded up to multiple of `N`; contents of the padding are unspecified (though, frequently are zeros); similar to GNU C `__attribute__((aligned(N)))`
- `size[N]`: the struct is padded up to the specified size `N`; contents of the padding are unspecified (though, frequently are zeros)
## Unions
Unions are described as:
```
unionname "[" "\n"
(fieldname type (if[expression])? "\n")+
"]" ("[" attribute* "]")?
```
During fuzzing, syzkaller randomly picks one of the union options.
You may also specify conditions that determine whether the corresponding
option may or may not be selected, depending on values of other fields. See
[the corresponding section](syscall_descriptions_syntax.md#conditional-fields)
for more details.
Unions can have attributes specified in square brackets after the union.
Attributes are:
- `varlen`: union size is the size of the particular chosen option (not statically known); without this attribute unions are statically sized as maximum of all options (similar to C unions)
- `size[N]`: the union is padded up to the specified size `N`; contents of the padding are unspecified (though, frequently are zeros)
## Resources
Resources represent values that need to be passed from output of one syscall to input of another syscall. For example, `close` syscall requires an input value (fd) previously returned by `open` or `pipe` syscall. To achieve this, `fd` is declared as a resource. This is a way of modelling dependencies between syscalls, as defining a syscall as the producer of a resource and another syscall as the consumer defines a loose sense of ordering between them. Resources are described as:
```
"resource" identifier "[" underlying_type "]" [ ":" const ("," const)* ]
```
`underlying_type` is either one of `int8`, `int16`, `int32`, `int64`, `intptr` or another resource (which models inheritance, for example, a socket is a subtype of fd). The optional set of constants represent resource special values, for example, `0xffffffffffffffff` (-1) for "no fd", or `AT_FDCWD` for "the current dir". Special values are used once in a while as resource values. If no special values specified, special value of `0` is used. Resources can then be used as types, for example:
```
resource fd[int32]: 0xffffffffffffffff, AT_FDCWD, 1000000
resource sock[fd]
resource sock_unix[sock]
socket(...) sock
accept(fd sock, ...) sock
listen(fd sock, backlog int32)
```
Resources don't have to be necessarily returned by a syscall. They can be used as any other data type. For example:
```
resource my_resource[int32]
request_producer(..., arg ptr[out, my_resource])
request_consumer(..., arg ptr[inout, test_struct])
test_struct {
...
attr my_resource
}
```
For more complex producer/consumer scenarios, field attributes can be utilized.
For example:
```
resource my_resource_1[int32]
resource my_resource_2[int32]
request_produce1_consume2(..., arg ptr[inout, test_struct])
test_struct {
...
field0 my_resource_1 (out)
field1 my_resource_2 (in)
}
```
Each resource type must be "produced" (used as an output) by at least one syscall
(outside of unions and optional pointers) and "consumed" (used as an input)
by at least one syscall.
## Type Aliases
Complex types that are often repeated can be given short type aliases using the
following syntax:
```
type identifier underlying_type
```
For example:
```
type signalno int32[0:65]
type net_port proc[20000, 4, int16be]
```
Then, type alias can be used instead of the underlying type in any contexts.
Underlying type needs to be described as if it's a struct field, that is,
with the base type if it's required. However, type alias can be used as syscall
arguments as well. Underlying types are currently restricted to integer types,
`ptr`, `ptr64`, `const`, `flags` and `proc` types.
There are some builtin type aliases:
```
type bool8 int8[0:1]
type bool16 int16[0:1]
type bool32 int32[0:1]
type bool64 int64[0:1]
type boolptr intptr[0:1]
type fileoff[BASE] BASE
type filename string[filename]
type buffer[DIR] ptr[DIR, array[int8]]
```
## Type Templates
Type templates can be declared as follows:
```
type buffer[DIR] ptr[DIR, array[int8]]
type fileoff[BASE] BASE
type nlattr[TYPE, PAYLOAD] {
nla_len len[parent, int16]
nla_type const[TYPE, int16]
payload PAYLOAD
} [align_4]
```
and later used as follows:
```
syscall(a buffer[in], b fileoff[int64], c ptr[in, nlattr[FOO, int32]])
```
There is builtin type template `optional` defined as:
```
type optional[T] [
val T
void void
] [varlen]
```
## Length
You can specify length of a particular field in struct or a named argument by
using `len`, `bytesize` and `bitsize` types, for example:
```
write(fd fd, buf ptr[in, array[int8]], count len[buf])
sock_fprog {
len len[filter, int16]
filter ptr[in, array[sock_filter]]
}
```
If `len`'s argument is a pointer, then the length of the pointee argument is used.
To denote the length of a field in N-byte words use `bytesizeN`, possible values
for N are 1, 2, 4 and 8.
To denote the length of the parent struct, you can use `len[parent, int8]`.
To denote the length of the higher level parent when structs are embedded into
one another, you can specify the type name of the particular parent:
```
s1 {
f0 len[s2] # length of s2
}
s2 {
f0 s1
f1 array[int32]
f2 len[parent, int32]
}
```
`len` argument can also be a path expression which allows more complex
addressing. Path expressions are similar to C field references, but also allow
referencing parent and sibling elements. A special reference `syscall` used
in the beginning of the path allows to refer directly to the syscall arguments.
For example:
```
s1 {
a ptr[in, s2]
b ptr[in, s3]
c array[int8]
}
s2 {
d array[int8]
}
s3 {
# This refers to the array c in the parent s1.
e len[s1:c, int32]
# This refers to the array d in the sibling s2.
f len[s1:a:d, int32]
# This refers to the array k in the child s4.
g len[i:j, int32]
# This refers to syscall argument l.
h len[syscall:l, int32]
i ptr[in, s4]
}
s4 {
j array[int8]
}
foo(k ptr[in, s1], l ptr[in, array[int8]])
```
## Proc
The `proc` type can be used to denote per process integers.
The idea is to have a separate range of values for each executor, so they don't interfere.
The simplest example is a port number.
The `proc[20000, 4, int16be]` type means that we want to generate an `int16be`
integer starting from `20000` and assign `4` values for each process.
As a result the executor number `n` will get values in the `[20000 + n * 4, 20000 + (n + 1) * 4)` range.
## Integer Constants
Integer constants can be specified as decimal literals, as `0x`-prefixed
hex literals, as `'`-surrounded char literals, or as symbolic constants
extracted from kernel headers or defined by `define` directives. For example:
```
foo(a const[10], b const[-10])
foo(a const[0xabcd])
foo(a int8['a':'z'])
foo(a const[PATH_MAX])
foo(a int32[PATH_MAX])
foo(a ptr[in, array[int8, MY_PATH_MAX]])
define MY_PATH_MAX PATH_MAX + 2
```
## Conditional fields
### In structures
In syzlang, it's possible to specify a condition for every struct field that
determines whether the field should be included or omitted:
```
header_fields {
magic const[0xabcd, int16]
haveInteger int8
} [packed]
packet {
header header_fields
integer int64 (if[value[header:haveInteger] == 0x1])
body array[int8]
} [packed]
some_call(a ptr[in, packet])
```
In this example, the `packet` structure will include the field `integer` only
if `header.haveInteger == 1`. In memory, `packet` will have the following
layout:
| header.magic = 0xabcd | header.haveInteger = 0x1 | integer | body |
| --------------------- | ------------------------ | ------- | ---- |
That corresponds to e.g. the following program:
```
some_call(&AUTO={{AUTO, 0x1}, @value=0xabcd, []})
```
If `header.haveInteger` is not `1`, syzkaller will just pretend that the field
`integer` does not exist.
```
some_call(&AUTO={{AUTO, 0x0}, @void, []})
```
| header.magic = 0xabcd | header.haveInteger = 0x0 | body |
| --------------------- | ------------------------ | ---- |
Every conditional field is assumed to be of variable length and so is the struct
to which this field belongs.
When a variable length field appears in the middle of a structure, the structure
must be marked with `[packed].`
Conditions on bitfields are prohibited:
```
struct {
f0 int
f1 int:3 (if[value[f0] == 0x1]) # It will not compile.
}
```
But you may reference bitfields in your conditions:
```
struct {
f0 int:1
f1 int:7
f2 int (if[value[f0] == value[f1]])
} [packed]
```
### In unions
Let's consider the following example.
```
struct {
type int
body alternatives
}
alternatives [
int int64 (if[value[struct:type] == 0x1])
arr array[int64, 5] (if[value[struct:type] == 0x2])
default int32
] [varlen]
some_call(a ptr[in, struct])
```
In this case, the union option will be selected depending on the value of the
`type` field. For example, if `type` is `0x1`, then it can be either `int` or
`default`:
```
some_call(&AUTO={0x1, @int=0x123})
some_call(&AUTO={0x1, @default=0x123})
```
If `type` is `0x2`, it can be either `arr` or `default`.
If `type` is neither `0x1` nor `0x2`, syzkaller may only select `default`:
```
some_call(&AUTO={0x0, @default=0xabcd})
```
To ensure that a union can always be constructed, the last union field **must always
have no condition**.
Thus, the following definition would fail to compile:
```
alternatives [
int int64 (if[value[struct:type] == 0x1])
arr array[int64, 5] (if[value[struct:type] == 0x1])
] [varlen]
```
During prog mutation and generation syzkaller will select a random union field
whose condition is satisfied.
### Expression syntax
Currently, only `==`, `!=`, `&` and `||` operators are supported. However, the
functionality was designed in such a way that adding more operators is easy.
Feel free to file a GitHub issue or write us an email in case it's needed.
Expressions are evaluated as `int64` values. If the final result of an
expression is not 0, it's assumed to be satisfied.
If you want to reference a field's value, you can do it via
`value[path:to:field]`, which is similar to the `len[]` argument.
```
sub_struct {
f0 int
# Reference a field in a parent struct.
f1 int (if[value[struct:f2]]) # Same as if[value[struct:f2] != 0].
}
struct {
f2 int
f3 sub_struct
f4 int (if[value[f2] == 0x2]) # Reference a sibling field.
f5 int (if[value[f3:f0] == 0x1]) # Reference a nested field.
f6 int (if[value[f3:f0] == 0x1 || value[f3:f0] == 0x2]) # Reference a nested field which either equals to 0x1 or 0x2.
} [packed]
call(a ptr[in, struct])
```
The referenced field must be of integer type and there must be no
conditional fields in the path to it. For example, the following
descriptions will not compile.
```
struct {
f0 int
f1 int (if[value[f0] == 0x1])
f2 int (if[value[f1] == 0x1])
}
```
You may also reference constants in expressions:
```
struct {
f0 int
f1 int
f2 int (if[value[f0] & SOME_CONST == OTHER_CONST])
}
```
## Meta
Description files can also contain `meta` directives that specify meta-information for the whole file.
```
meta noextract
```
Tells `make extract` to not extract constants for this file.
Though, `syz-extract` can still be invoked manually on this file.
```
meta arches["arch1", "arch2"]
```
Restricts this file only to the given set of architectures.
`make extract` and `make generate` will not use it on other architectures.
## Misc
Description files also contain `include` directives that refer to Linux kernel header files,
`incdir` directives that refer to custom Linux kernel header directories
and `define` directives that define symbolic constant values.
The syzkaller executor defines some [pseudo system calls](./pseudo_syscalls.md)
that can be used as any other syscall in a description file. These pseudo
system calls expand to literal C code and can perform user-defined
custom actions. You can find some examples in
[executor/common_linux.h](../executor/common_linux.h).
Also see [tips](syscall_descriptions.md#tips) on writing good descriptions.
===
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:
Bug title: KASAN: slab-use-after-free Read in __usb_hcd_giveback_urb
The bug report to reproduce:
xpad 1-1:179.65: xpad_irq_in - usb_submit_urb failed with result -19
xpad 1-1:179.65: xpad_irq_out - usb_submit_urb failed with result -19
==================================================================
BUG: KASAN: slab-use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline]
BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x28b/0x2f0 kernel/locking/spinlock_debug.c:115
Read of size 4 at addr ffff88806baa885c by task swapper/1/0
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Call Trace:
<IRQ>
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xba/0x230 mm/kasan/report.c:482
kasan_report+0x117/0x150 mm/kasan/report.c:595
debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline]
do_raw_spin_lock+0x28b/0x2f0 kernel/locking/spinlock_debug.c:115
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock_irqsave+0x4c/0x60 kernel/locking/spinlock.c:162
__wake_up_common_lock+0x2f/0x1f0 kernel/sched/wait.c:124
__usb_hcd_giveback_urb+0x3b0/0x540 drivers/usb/core/hcd.c:1660
dummy_timer+0xbbd/0x4650 drivers/usb/gadget/udc/dummy_hcd.c:2005
__run_hrtimer kernel/time/hrtimer.c:1785 [inline]
__hrtimer_run_queues+0x53a/0xcc0 kernel/time/hrtimer.c:1849
hrtimer_run_softirq+0x182/0x5a0 kernel/time/hrtimer.c:1866
handle_softirqs+0x22a/0x870 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: 1e 6b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d a3 22 19 00 fb f4 <e9> fc e9 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffc90000197e20 EFLAGS: 00000242
RAX: 000000000070e9cd RBX: ffffffff819aac7a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8defcc34 RDI: ffffffff8c27d880
RBP: ffffc90000197f10 R08: ffff8880b873399b R09: 1ffff110170e6733
R10: dffffc0000000000 R11: ffffed10170e6734 R12: 0000000000000001
R13: 1ffff11003b58000 R14: 0000000000000001 R15: 1ffff11003b58000
arch_safe_halt arch/x86/kernel/process.c:766 [inline]
default_idle+0x9/0x20 arch/x86/kernel/process.c:767
default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
cpuidle_idle_call kernel/sched/idle.c:199 [inline]
do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
start_secondary+0x101/0x110 arch/x86/kernel/smpboot.c:312
common_startup_64+0x13e/0x147
</TASK>
Allocated by task 5914:
kasan_save_stack mm/kasan/common.c:57 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
__kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415
kasan_kmalloc include/linux/kasan.h:263 [inline]
__kmalloc_cache_noprof+0x31c/0x660 mm/slub.c:5380
kmalloc_noprof include/linux/slab.h:950 [inline]
kzalloc_noprof include/linux/slab.h:1188 [inline]
xpad_probe+0x428/0x1fc0 drivers/input/joystick/xpad.c:2085
usb_probe_interface+0x668/0xc90 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x267/0xaf0 drivers/base/dd.c:721
__driver_probe_device+0x18c/0x320 drivers/base/dd.c:863
driver_probe_device+0x4f/0x240 drivers/base/dd.c:893
__device_attach_driver+0x279/0x430 drivers/base/dd.c:1021
bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500
__device_attach+0x2c5/0x450 drivers/base/dd.c:1093
device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1148
bus_probe_device+0x12a/0x220 drivers/base/bus.c:613
device_add+0x7b6/0xb70 drivers/base/core.c:3690
usb_set_configuration+0x1a87/0x2110 drivers/usb/core/message.c:2266
usb_generic_driver_probe+0x8d/0x150 drivers/usb/core/generic.c:250
usb_probe_device+0x1c4/0x3b0 drivers/usb/core/driver.c:291
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x267/0xaf0 drivers/base/dd.c:721
__driver_probe_device+0x18c/0x320 drivers/base/dd.c:863
driver_probe_device+0x4f/0x240 drivers/base/dd.c:893
__device_attach_driver+0x279/0x430 drivers/base/dd.c:1021
bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500
__device_attach+0x2c5/0x450 drivers/base/dd.c:1093
device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1148
bus_probe_device+0x12a/0x220 drivers/base/bus.c:613
device_add+0x7b6/0xb70 drivers/base/core.c:3690
usb_new_device+0xa08/0x16f0 drivers/usb/core/hub.c:2695
hub_port_connect drivers/usb/core/hub.c:5567 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5707 [inline]
port_event drivers/usb/core/hub.c:5871 [inline]
hub_event+0x2a1c/0x4f30 drivers/usb/core/hub.c:5953
process_one_work kernel/workqueue.c:3288 [inline]
process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3371
worker_thread+0xa53/0xfc0 kernel/workqueue.c:3452
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Freed by task 980:
kasan_save_stack mm/kasan/common.c:57 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:253 [inline]
__kasan_slab_free+0x5c/0x80 mm/kasan/common.c:285
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2685 [inline]
slab_free mm/slub.c:6165 [inline]
kfree+0x1c1/0x630 mm/slub.c:6483
xpad_disconnect+0x350/0x480 drivers/input/joystick/xpad.c:2269
usb_unbind_interface+0x26e/0x910 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:633 [inline]
__device_release_driver drivers/base/dd.c:1344 [inline]
device_release_driver_internal+0x4d9/0x870 drivers/base/dd.c:1367
bus_remove_device+0x455/0x570 drivers/base/bus.c:657
device_del+0x527/0x8f0 drivers/base/core.c:3879
usb_disable_device+0x3d4/0x8d0 drivers/usb/core/message.c:1476
usb_disconnect+0x32f/0x990 drivers/usb/core/hub.c:2345
hub_port_connect drivers/usb/core/hub.c:5407 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5707 [inline]
port_event drivers/usb/core/hub.c:5871 [inline]
hub_event+0x1cc9/0x4f30 drivers/usb/core/hub.c:5953
process_one_work kernel/workqueue.c:3288 [inline]
process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3371
worker_thread+0xa53/0xfc0 kernel/workqueue.c:3452
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
The buggy address belongs to the object at ffff88806baa8800
which belongs to the cache kmalloc-1k of size 1024
The buggy address is located 92 bytes inside of
freed 1024-byte region [ffff88806baa8800, ffff88806baa8c00)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88806baad000 pfn:0x6baa8
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fea7dc0 ffffea00007dbe10 ffffea000097be10
raw: ffff88806baad000 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fea7dc0 ffffea00007dbe10 ffffea000097be10
head: ffff88806baad000 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000003 ffffea0001aeaa01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5847, tgid 5847 (syz-executor), ts 86290423441, free_ts 78083357419
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x231/0x280 mm/page_alloc.c:1889
prep_new_page mm/page_alloc.c:1897 [inline]
get_page_from_freelist+0x24dc/0x2580 mm/page_alloc.c:3962
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5250
alloc_slab_page mm/slub.c:3292 [inline]
allocate_slab+0x77/0x660 mm/slub.c:3481
new_slab mm/slub.c:3539 [inline]
refill_objects+0x331/0x3c0 mm/slub.c:7175
refill_sheaf mm/slub.c:2812 [inline]
__pcs_replace_empty_main+0x2e6/0x730 mm/slub.c:4615
alloc_from_pcs mm/slub.c:4717 [inline]
slab_alloc_node mm/slub.c:4851 [inline]
__do_kmalloc_node mm/slub.c:5259 [inline]
__kmalloc_noprof+0x474/0x760 mm/slub.c:5272
kmalloc_noprof include/linux/slab.h:954 [inline]
kzalloc_noprof include/linux/slab.h:1188 [inline]
ip6t_alloc_initial_table+0x6b/0x6d0 net/ipv6/netfilter/ip6_tables.c:40
ip6table_security_table_init+0x1b/0x70 net/ipv6/netfilter/ip6table_security.c:42
xt_find_table_lock+0x30c/0x3e0 net/netfilter/x_tables.c:1283
xt_request_find_table_lock+0x26/0x100 net/netfilter/x_tables.c:1308
get_info net/ipv6/netfilter/ip6_tables.c:979 [inline]
do_ip6t_get_ctl+0x716/0x1230 net/ipv6/netfilter/ip6_tables.c:1668
nf_getsockopt+0x26e/0x290 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x1fd/0x2b0 net/ipv6/ipv6_sockglue.c:1473
do_sock_getsockopt+0x2d3/0x3f0 net/socket.c:2448
__sys_getsockopt net/socket.c:2477 [inline]
__do_sys_getsockopt net/socket.c:2484 [inline]
__se_sys_getsockopt net/socket.c:2481 [inline]
__x64_sys_getsockopt+0x1a4/0x240 net/socket.c:2481
page last free pid 5810 tgid 5810 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1433 [inline]
free_unref_folios+0xed5/0x16d0 mm/page_alloc.c:3040
folios_put_refs+0x789/0x8d0 mm/swap.c:1002
free_pages_and_swap_cache+0x2e7/0x5b0 mm/swap_state.c:423
__tlb_batch_free_encoded_pages mm/mmu_gather.c:138 [inline]
tlb_batch_pages_flush mm/mmu_gather.c:151 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:398 [inline]
tlb_flush_mmu+0x6d3/0xa30 mm/mmu_gather.c:405
tlb_finish_mmu+0xf9/0x230 mm/mmu_gather.c:530
unmap_region+0x2a5/0x330 mm/vma.c:488
vms_clear_ptes mm/vma.c:1284 [inline]
vms_complete_munmap_vmas+0x493/0xc60 mm/vma.c:1326
do_vmi_align_munmap+0x3b7/0x4b0 mm/vma.c:1585
do_vmi_munmap+0x252/0x2d0 mm/vma.c:1633
__vm_munmap+0x22c/0x3d0 mm/vma.c:3261
__do_sys_munmap mm/mmap.c:1078 [inline]
__se_sys_munmap mm/mmap.c:1075 [inline]
__x64_sys_munmap+0x60/0x70 mm/mmap.c:1075
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff88806baa8700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88806baa8780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88806baa8800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88806baa8880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88806baa8900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 6b 02 c3 imul $0xffffffc3,(%rdx),%eax
3: cc int3
4: cc int3
5: cc int3
6: cc int3
7: cc int3
8: cc int3
9: cc int3
a: 90 nop
b: 90 nop
c: 90 nop
d: 90 nop
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 90 nop
17: 90 nop
18: 90 nop
19: 90 nop
1a: f3 0f 1e fa endbr64
1e: 66 90 xchg %ax,%ax
20: 0f 00 2d a3 22 19 00 verw 0x1922a3(%rip) # 0x1922ca
27: fb sti
28: f4 hlt
* 29: e9 fc e9 02 00 jmp 0x2ea2a <-- trapping instruction
2e: cc int3
2f: cc int3
30: cc int3
31: cc int3
32: cc int3
33: cc int3
34: cc int3
35: cc int3
36: cc int3
37: cc int3
38: cc int3
39: cc int3
3a: 90 nop
3b: 90 nop
3c: 90 nop
3d: 90 nop
3e: 90 nop
The list of existing description files:
acpi_thermal_rel.txt
aio.txt
auto.txt
binfmt.txt
bpf.txt
bpf_prog.txt
bpf_trace.txt
cgroup.txt
damon.txt
dev_ashmem.txt
dev_bifrost.txt
dev_binder.txt
dev_binderfs.txt
dev_block.txt
dev_bsg.txt
dev_bus_usb.txt
dev_camx.txt
dev_cdrom.txt
dev_cec.txt
dev_char_usb.txt
dev_comedi.txt
dev_dma_heap.txt
dev_dri.txt
dev_dsp.txt
dev_dvb_demux.txt
dev_dvb_dvr.txt
dev_dvb_frontend.txt
dev_fb.txt
dev_floppy.txt
dev_hidraw.txt
dev_i2c.txt
dev_i915.txt
dev_img_rogue.txt
dev_infiniband_rdma.txt
dev_infiniband_rdma_cm.txt
dev_input.txt
dev_iommu.txt
dev_kvm.txt
dev_kvm_amd64.txt
dev_kvm_arm64.txt
dev_kvm_extra.txt
dev_kvm_riscv64.txt
dev_loop.txt
dev_mali.txt
dev_media.txt
dev_msm.txt
dev_msr.txt
dev_nbd.txt
dev_net_tun.txt
dev_panthor.txt
dev_ppp.txt
dev_ptmx.txt
dev_ptp.txt
dev_qat_adf_ctl.txt
dev_qrtr_tun.txt
dev_random.txt
dev_rfkill.txt
dev_rtc.txt
dev_sequencer.txt
dev_sg.txt
dev_snapshot.txt
dev_snd_control.txt
dev_snd_hw.txt
dev_snd_midi.txt
dev_snd_pcm.txt
dev_snd_seq.txt
dev_snd_timer.txt
dev_sr.txt
dev_sw_sync.txt
dev_tlk_device.txt
dev_trusty.txt
dev_udmabuf.txt
dev_uhid.txt
dev_uinput.txt
dev_usb_hiddev.txt
dev_usbmon.txt
dev_userio.txt
dev_vfio.txt
dev_vga_arbiter.txt
dev_vhci.txt
dev_video4linux.txt
dev_video4linux_vim2m.txt
dev_virtual_nci.txt
dev_vtpm.txt
fanotify.txt
filesystem.txt
fs_9p.txt
fs_fuse.txt
fs_incfs.txt
fs_ioctl.txt
fs_ioctl_autofs.txt
fs_ioctl_btrfs.txt
fs_ioctl_ext4.txt
fs_ioctl_f2fs.txt
fs_ioctl_fat.txt
fs_ioctl_fscrypt.txt
fs_ioctl_fsverity.txt
fs_ioctl_nilfs2.txt
fs_ioctl_ocfs2.txt
fs_ioctl_xfs.txt
futex.txt
hafnium.txt
inotify.txt
io_uring.txt
ipc.txt
key.txt
kfuzztest.txt
l2cap.txt
landlock.txt
lsm.txt
namespaces.txt
net_80211.txt
netfilter.txt
netfilter_arp.txt
netfilter_bridge.txt
netfilter_ipv4.txt
netfilter_ipv6.txt
netfilter_ipvs.txt
netfilter_targets.txt
pagemap_ioctl.txt
perf.txt
prctl.txt
quotactl.txt
seccomp.txt
security_apparmor.txt
security_selinux.txt
security_smack.txt
socket.txt
socket_alg.txt
socket_ax25.txt
socket_bluetooth.txt
socket_caif.txt
socket_can.txt
socket_ieee802154.txt
socket_inet.txt
socket_inet6.txt
socket_inet_dccp.txt
socket_inet_icmp.txt
socket_inet_igmp.txt
socket_inet_l2tp.txt
socket_inet_sctp.txt
socket_inet_tcp.txt
socket_inet_udp.txt
socket_ip_tunnel.txt
socket_isdn.txt
socket_kcm.txt
socket_key.txt
socket_llc.txt
socket_netlink.txt
socket_netlink_audit.txt
socket_netlink_crypto.txt
socket_netlink_generic.txt
socket_netlink_generic_80211.txt
socket_netlink_generic_batadv.txt
socket_netlink_generic_devlink.txt
socket_netlink_generic_ethtool.txt
socket_netlink_generic_fou.txt
socket_netlink_generic_gtp.txt
socket_netlink_generic_mptcp.txt
socket_netlink_generic_net_dm.txt
socket_netlink_generic_netlabel.txt
socket_netlink_generic_nfc.txt
socket_netlink_generic_seg6.txt
socket_netlink_generic_smc.txt
socket_netlink_generic_team.txt
socket_netlink_generic_wireguard.txt
socket_netlink_netfilter.txt
socket_netlink_netfilter_acct.txt
socket_netlink_netfilter_conntrack.txt
socket_netlink_netfilter_conntrack_exp.txt
socket_netlink_netfilter_conntrack_helper.txt
socket_netlink_netfilter_ipset.txt
socket_netlink_netfilter_log.txt
socket_netlink_netfilter_nft_compat.txt
socket_netlink_netfilter_nftables.txt
socket_netlink_netfilter_osf.txt
socket_netlink_netfilter_queue.txt
socket_netlink_netfilter_timeout.txt
socket_netlink_rdma.txt
socket_netlink_route.txt
socket_netlink_route_sched.txt
socket_netlink_route_sched_retired.txt
socket_netlink_sock_diag.txt
socket_netlink_xfrm.txt
socket_netrom.txt
socket_nfc.txt
socket_nvme_of_tcp.txt
socket_packet.txt
socket_phonet.txt
socket_pppox.txt
socket_qipcrtr.txt
socket_rds.txt
socket_rose.txt
socket_rxrpc.txt
socket_tipc.txt
socket_tipc_netlink.txt
socket_unix.txt
socket_vnet.txt
socket_x25.txt
socket_xdp.txt
sys.txt
uffd.txt
usbip.txt
vmw_vmci.txt
vnet.txt
vnet_mptcp.txt
vusb.txt
watch_queue.txt
xattr.txt
|
| 5/2 | 2026/04/16 19:47 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 19275 output: 18 thoughts: 557 Thoughts: **Analyzing a KASAN Slab-Use-After-Free in USB Handling** Okay, so I'm looking at a KASAN slab-use-after-free bug, and it looks like it's happening in `__usb_hcd_giveback_urb`. The crash report points to `debug_spin_lock_before` within the kernel's locking mechanism, specifically when it's being called by `do_raw_spin_lock`. The trace tells me it's a read of size 4, and the task involved is the `swapper`. This immediately suggests a critical issue – the system's core is trying to access freed memory. The call trace reveals the culprit: `__usb_hcd_giveback_urb` is called from `dummy_timer` (in the `dummy_hcd` driver). This seems like a timer completion handler, or something similar. Further back in the trace, I see that the memory was allocated during the `xpad_probe` function (within the `xpad` joystick driver) and freed during `xpad_disconnect`. My initial thought is that `xpad_disconnect` is freeing some memory, likely a `struct usb_xpad`, but a URB (USB Request Block) is still active. Then, the completion handler for the URB gets called (`xpad_irq_in` or `xpad_irq_out`). This completion handler, or potentially the `__usb_hcd_giveback_urb` function itself, then tries to access data that's already been freed. Is it the URB's context that's being accessed, or the URB itself? Wait, hold on, it's occurring in `debug_spin_lock_before`. The `__usb_hcd_giveback_urb` function will call the `urb->complete(urb)` handler. The immediate next step is to examine `xpad_disconnect` in the `drivers/input/joystick/xpad.c` file, to understand precisely what memory is being freed and how this relates to URB completion. I need to trace the memory deallocation and ensure there's proper synchronization, or, find where the URB completion handler is, and how its execution is synchronized with deallocation. |
| 6/2 | 2026/04/16 19:47 | tool | grepper |
0mArgs:map[Expression:xpad_disconnect] Results: map[Output:drivers/input/joystick/xpad.c=2069=static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *id)
--
drivers/input/joystick/xpad.c-2247-
drivers/input/joystick/xpad.c:2248:static void xpad_disconnect(struct usb_interface *intf)
drivers/input/joystick/xpad.c-2249-{
--
drivers/input/joystick/xpad.c=2333=static struct usb_driver xpad_driver = {
--
drivers/input/joystick/xpad.c-2335- .probe = xpad_probe,
drivers/input/joystick/xpad.c:2336: .disconnect = xpad_disconnect,
drivers/input/joystick/xpad.c-2337- .suspend = xpad_suspend,
] |
| 7/2 | 2026/04/16 19:47 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 20585 output: 44 thoughts: 13 Thoughts: Here's my summary, as the expert: **Diving into `xpad_disconnect`** Okay, time to get my hands dirty. I need to understand what's going on with this xpad disconnect issue, so the first logical step is to dive right into the source code for the `xpad_disconnect` function. That's where the heart of the connection termination logic resides, after all. Gotta see how it's *supposed* to behave, what the expected cleanup is, and where potential flaws might be hiding. I'm looking for anything that could be incomplete, mis-handled, or not properly synchronized. I'm expecting to find a series of deregistration calls, resource releases, and probably some state updates. Knowing this level of detail is critical for debugging and finding the root cause of these connection problems. Time to dig in! |
| 8/2 | 2026/04/16 19:47 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_disconnect] Results: map[SourceCode:2248: static void xpad_disconnect(struct usb_interface *intf)
2249: {
2250: struct usb_xpad *xpad = usb_get_intfdata(intf);
2251:
2252: if (xpad->xtype == XTYPE_XBOX360W)
2253: xpad360w_stop_input(xpad);
2254:
2255: xpad_deinit_input(xpad);
2256:
2257: /*
2258: * Now that both input device and LED device are gone we can
2259: * stop output URB.
2260: */
2261: xpad_stop_output(xpad);
2262:
2263: xpad_deinit_output(xpad);
2264:
2265: usb_free_urb(xpad->irq_in);
2266: usb_free_coherent(xpad->udev, XPAD_PKT_LEN,
2267: xpad->idata, xpad->idata_dma);
2268:
2269: kfree(xpad);
2270:
2271: usb_set_intfdata(intf, NULL);
2272: }
SourceFile:drivers/input/joystick/xpad.c] |
| 9/2 | 2026/04/16 19:47 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 21217 output: 140 thoughts: 119 Thoughts: Okay, here's my breakdown of what's happening, from my expert perspective: **Deconstructing the xpad Disconnect Sequence** Right, so `xpad_disconnect` is the function that handles the removal of an Xpad device. My initial thought is, "Okay, what's involved in tearing down this particular instance?" The code calls a series of de-initialization functions: `xpad_deinit_input`, `xpad_stop_output`, and `xpad_deinit_output`. Pretty standard, logically separating input, output, and overall device state clean-up. But then, the details get interesting. It's freeing `xpad->irq_in` with `usb_free_urb()`. My immediate question is: Is the URB itself terminated before being freed or does the call take care of it? It's crucial for resource management to ensure the underlying USB transfer is properly stopped. It also does a `usb_free_coherent()` and `kfree(xpad)` which seems appropriate. So, I need to check the implementations of the deinit functions: `xpad_deinit_input`, `xpad_stop_output` and `xpad_deinit_output` to check the details of how the USB resources are being managed and ensure proper shutdown before the URB memory is freed. |
| 10/2 | 2026/04/16 19:47 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_deinit_input] Results: map[SourceCode:1949: static void xpad_deinit_input(struct usb_xpad *xpad)
1950: {
1951: if (xpad->input_created) {
1952: xpad->input_created = false;
1953: xpad_led_disconnect(xpad);
1954: input_unregister_device(xpad->dev);
1955: }
1956: }
SourceFile:drivers/input/joystick/xpad.c] |
| 11/2 | 2026/04/16 19:47 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_stop_output] Results: map[SourceCode:1455: static void xpad_stop_output(struct usb_xpad *xpad)
1456: {
1457: if (xpad->xtype != XTYPE_UNKNOWN) {
1458: if (!usb_wait_anchor_empty_timeout(&xpad->irq_out_anchor,
1459: 5000)) {
1460: dev_warn(&xpad->intf->dev,
1461: "timed out waiting for output URB to complete, killing\n");
1462: usb_kill_anchored_urbs(&xpad->irq_out_anchor);
1463: }
1464: }
1465: }
SourceFile:drivers/input/joystick/xpad.c] |
| 12/2 | 2026/04/16 19:47 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_deinit_output] Results: map[SourceCode:1467: static void xpad_deinit_output(struct usb_xpad *xpad)
1468: {
1469: if (xpad->xtype != XTYPE_UNKNOWN) {
1470: usb_free_urb(xpad->irq_out);
1471: usb_free_coherent(xpad->udev, XPAD_PKT_LEN,
1472: xpad->odata, xpad->odata_dma);
1473: }
1474: }
SourceFile:drivers/input/joystick/xpad.c] |
| 13/2 | 2026/04/16 19:47 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 22306 output: 44 thoughts: 87 Thoughts: **Investigating the `xpad_disconnect` Routine** Okay, hold on a second. This doesn't seem right. My initial assumption was that `xpad_disconnect` would cleanly terminate the `xpad->irq_in` input URB, but it appears that it *doesn't* explicitly do that. Now, that's interesting. I need to figure out where that input URB gets killed. Just to be clear, `xpad->irq_in` is the URB responsible for incoming data, so it's critical it be handled correctly. My standard approach would be to trace the life cycle of the device, particularly the shutdown process. Often, `input_unregister_device` takes care of the cleanup, and that function calls the `input_dev->close` method. It's highly probable that `xpad_close` is the method responsible for terminating that URB. Therefore, I need to check `xpad_close`. I need to ensure the URB gets terminated there. Let's delve into that function and make sure it's doing what it should. |
| 14/2 | 2026/04/16 19:47 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_close] Results: map[SourceCode:1911: static void xpad_close(struct input_dev *dev)
1912: {
1913: struct usb_xpad *xpad = input_get_drvdata(dev);
1914:
1915: xpad_stop_input(xpad);
1916: }
SourceFile:drivers/input/joystick/xpad.c] |
| 15/2 | 2026/04/16 19:47 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 22792 output: 46 thoughts: 12 Thoughts: Okay, here's my interpretation of that thought process, tailored for an expert audience, and written in the first person: **Analyzing the Function Call: `xpad_stop_input`** Alright, so the prompt is just "Let's see `xpad_stop_input`". That's intriguing. My initial thought process immediately jumps into several areas. First, I'm already mentally parsing `xpad`, so this is very likely related to Xbox controller input, specifically its handling within a system. I'm assuming we are looking at kernel-level code, or at the very least, something fairly low-level, not user space. The function name, `xpad_stop_input`, immediately signals that we are concerned with disabling or halting the input processing for an Xbox controller, or perhaps a series of them, managed through the Xpad driver. Now the real questions start to come. What is the context? Am I looking at a specific driver implementation, debugging a problem, or is this about broader system design? Is this the final function to call before I unregister the device, or is this just to temporarily disable input due to an event. If it's a stop command, what is the impact to the data? Are there any race conditions with the input buffer needing attention? The implications of the function's behavior are highly contextual. Are there any resource management concerns associated with calling this, such as closing input devices or freeing allocated buffers. What are the mutexes or locks being held at this point, if any? I'm already formulating questions about the function's parameters, return values, any side effects, and how it interacts with other parts of the driver's state machine. This function is likely a critical part of the input device's lifecycle. |
| 16/2 | 2026/04/16 19:47 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_stop_input] Results: map[SourceCode:1840: static void xpad_stop_input(struct usb_xpad *xpad)
1841: {
1842: usb_kill_urb(xpad->irq_in);
1843: }
SourceFile:drivers/input/joystick/xpad.c] |
| 17/2 | 2026/04/16 19:47 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 23318 output: 44 thoughts: 138 Thoughts: Okay, let me think this through. **Analyzing the xpad Driver's Shutdown Sequence** Alright, so `xpad_close` calls `xpad_stop_input`. I need to figure out the potential failure points. `xpad_stop_input`, from what I recall, is what's responsible for killing `xpad->irq_in`, right? So the interrupt input is stopped when the device is closed. But what if `xpad->input_created` is already false? And what happens if `input_unregister_device` doesn't call `xpad_close` as expected? That's a critical detail to get right. Hang on, I think I remember...`input_unregister_device` *only* calls `xpad_close` if the device is actually opened. Meaning, if the device isn't opened, `xpad_close` isn't called during unregistration. That makes sense. Let me follow this through… If the device isn't opened, `xpad->irq_in` wouldn't be submitted in the first place, right? Therefore, `xpad_close` wouldn't be needed for it in that scenario? Makes sense. Okay, let's just make sure I'm not forgetting something. I should review `xpad_open` to confirm my assumptions and make sure all bases are covered. I need to make sure I understand the complete lifecycle. |
| 18/2 | 2026/04/16 19:48 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_open] Results: map[SourceCode:1904: static int xpad_open(struct input_dev *dev)
1905: {
1906: struct usb_xpad *xpad = input_get_drvdata(dev);
1907:
1908: return xpad_start_input(xpad);
1909: }
SourceFile:drivers/input/joystick/xpad.c] |
| 19/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 23927 output: 46 thoughts: 12 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: **Initial Examination of `xpad_start_input`** Alright, let's dive into `xpad_start_input`. Immediately, I'm thinking about the fundamental purpose here: initiating input handling for an Xpad device. This probably kicks off the process of registering the device with the input subsystem, setting up any necessary data structures, and getting ready to receive data from the controller. I need to quickly determine whether the driver has already been loaded, and the Xpad controller present. I'm going to want to examine the function's arguments to understand its entry point, and determine whether its a general routine that handles multiple Xpad device types, or specific to a sub-category. From there, I'll need to confirm what steps it takes to connect with a controller, and whether its a specific controller, or a range of controllers. After that, I would then expect to see the code handling any necessary hardware initialization. Specifically, I'm looking for how it handles the interrupts and how the driver gets the data from the controller. It's likely involved in setting up the interrupt handlers, possibly configuring DMA if it's used, and maybe mapping the hardware registers. The next logical step is to see how the input reports are handled, which often includes setting up input devices. I'm especially interested in how it maps controller input (buttons, axes, triggers) to the standard input events. Also, I'm curious if the function handles hotplugging, or if that is a separate mechanism. The focus here is on ensuring the device is correctly detected, initialized, and ready to send input events. Finally, I'll be looking for how gracefully the function handles errors - are there sufficient checks and error messages? If it is a good initializiation function, these aspects are very important, as they provide an excellent starting point for determining the overall quality of the driver's implementation. |
| 20/2 | 2026/04/16 19:48 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_start_input] Results: map[SourceCode:1801: static int xpad_start_input(struct usb_xpad *xpad)
1802: {
1803: int error;
1804:
1805: if (usb_submit_urb(xpad->irq_in, GFP_KERNEL))
1806: return -EIO;
1807:
1808: if (xpad->xtype == XTYPE_XBOXONE) {
1809: error = xpad_start_xbox_one(xpad);
1810: if (error) {
1811: usb_kill_urb(xpad->irq_in);
1812: return error;
1813: }
1814: }
1815: if (xpad->xtype == XTYPE_XBOX360) {
1816: /*
1817: * Some third-party controllers Xbox 360-style controllers
1818: * require this message to finish initialization.
1819: */
1820: u8 dummy[20];
1821:
1822: error = usb_control_msg_recv(xpad->udev, 0,
1823: /* bRequest */ 0x01,
1824: /* bmRequestType */
1825: USB_TYPE_VENDOR | USB_DIR_IN |
1826: USB_RECIP_INTERFACE,
1827: /* wValue */ 0x100,
1828: /* wIndex */ 0x00,
1829: dummy, sizeof(dummy),
1830: 25, GFP_KERNEL);
1831: if (error)
1832: dev_warn(&xpad->dev->dev,
1833: "unable to receive magic message: %d\n",
1834: error);
1835: }
1836:
1837: return 0;
1838: }
SourceFile:drivers/input/joystick/xpad.c] |
| 21/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 24986 output: 44 thoughts: 53 Thoughts: Okay, let me think this through. **Analyzing the xpad Driver's Input Handling** Right, so I'm tracing the data flow here in this `xpad` driver. The interrupt input, that `xpad->irq_in` thing, gets submitted during the `xpad_start_input` function, which makes sense. And that `xpad_start_input` function is called from `xpad_open`, which is, well, the expected entry point for device interaction. But hold on a second... is `xpad_start_input` *also* being called from the probe function, `xpad_probe`? That's the part I need to verify. My gut tells me this is the case as part of the initial device setup. I need to refresh my memory of the initialization sequence. I suspect this is the key to understanding the full input handling lifecycle and ensuring that the interrupt-based input is properly established from the start, not just during open. I need to review the `xpad_probe` function definition to confirm that. |
| 22/2 | 2026/04/16 19:48 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_probe] Results: map[SourceCode:2069: static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *id)
2070: {
2071: struct usb_device *udev = interface_to_usbdev(intf);
2072: struct usb_xpad *xpad;
2073: struct usb_endpoint_descriptor *ep_irq_in, *ep_irq_out;
2074: int i, error;
2075:
2076: if (intf->cur_altsetting->desc.bNumEndpoints != 2)
2077: return -ENODEV;
2078:
2079: for (i = 0; xpad_device[i].idVendor; i++) {
2080: if ((le16_to_cpu(udev->descriptor.idVendor) == xpad_device[i].idVendor) &&
2081: (le16_to_cpu(udev->descriptor.idProduct) == xpad_device[i].idProduct))
2082: break;
2083: }
2084:
2085: xpad = kzalloc_obj(*xpad);
2086: if (!xpad)
2087: return -ENOMEM;
2088:
2089: usb_make_path(udev, xpad->phys, sizeof(xpad->phys));
2090: strlcat(xpad->phys, "/input0", sizeof(xpad->phys));
2091:
2092: xpad->idata = usb_alloc_coherent(udev, XPAD_PKT_LEN,
2093: GFP_KERNEL, &xpad->idata_dma);
2094: if (!xpad->idata) {
2095: error = -ENOMEM;
2096: goto err_free_mem;
2097: }
2098:
2099: xpad->irq_in = usb_alloc_urb(0, GFP_KERNEL);
2100: if (!xpad->irq_in) {
2101: error = -ENOMEM;
2102: goto err_free_idata;
2103: }
2104:
2105: xpad->udev = udev;
2106: xpad->intf = intf;
2107: xpad->mapping = xpad_device[i].mapping;
2108: xpad->xtype = xpad_device[i].xtype;
2109: xpad->name = xpad_device[i].name;
2110: if (xpad_device[i].flags & FLAG_DELAY_INIT)
2111: xpad->delay_init = true;
2112:
2113: xpad->packet_type = PKT_XB;
2114: INIT_WORK(&xpad->work, xpad_presence_work);
2115:
2116: if (xpad->xtype == XTYPE_UNKNOWN) {
2117: if (intf->cur_altsetting->desc.bInterfaceClass == USB_CLASS_VENDOR_SPEC) {
2118: if (intf->cur_altsetting->desc.bInterfaceProtocol == 129)
2119: xpad->xtype = XTYPE_XBOX360W;
2120: else if (intf->cur_altsetting->desc.bInterfaceProtocol == 208)
2121: xpad->xtype = XTYPE_XBOXONE;
2122: else
2123: xpad->xtype = XTYPE_XBOX360;
2124: } else {
2125: xpad->xtype = XTYPE_XBOX;
2126: }
2127:
2128: if (dpad_to_buttons)
2129: xpad->mapping |= MAP_DPAD_TO_BUTTONS;
2130: if (triggers_to_buttons)
2131: xpad->mapping |= MAP_TRIGGERS_TO_BUTTONS;
2132: if (sticks_to_null)
2133: xpad->mapping |= MAP_STICKS_TO_NULL;
2134: }
2135:
2136: if (xpad->xtype == XTYPE_XBOXONE &&
2137: intf->cur_altsetting->desc.bInterfaceNumber != GIP_WIRED_INTF_DATA) {
2138: /*
2139: * The Xbox One controller lists three interfaces all with the
2140: * same interface class, subclass and protocol. Differentiate by
2141: * interface number.
2142: */
2143: error = -ENODEV;
2144: goto err_free_in_urb;
2145: }
2146:
2147: ep_irq_in = ep_irq_out = NULL;
2148:
2149: for (i = 0; i < 2; i++) {
2150: struct usb_endpoint_descriptor *ep =
2151: &intf->cur_altsetting->endpoint[i].desc;
2152:
2153: if (usb_endpoint_xfer_int(ep)) {
2154: if (usb_endpoint_dir_in(ep))
2155: ep_irq_in = ep;
2156: else
2157: ep_irq_out = ep;
2158: }
2159: }
2160:
2161: if (!ep_irq_in || !ep_irq_out) {
2162: error = -ENODEV;
2163: goto err_free_in_urb;
2164: }
2165:
2166: error = xpad_init_output(intf, xpad, ep_irq_out);
2167: if (error)
2168: goto err_free_in_urb;
2169:
2170: usb_fill_int_urb(xpad->irq_in, udev,
2171: usb_rcvintpipe(udev, ep_irq_in->bEndpointAddress),
2172: xpad->idata, XPAD_PKT_LEN, xpad_irq_in,
2173: xpad, ep_irq_in->bInterval);
2174: xpad->irq_in->transfer_dma = xpad->idata_dma;
2175: xpad->irq_in->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
2176:
2177: usb_set_intfdata(intf, xpad);
2178:
2179: /* Packet type detection */
2180: if (le16_to_cpu(udev->descriptor.idVendor) == 0x045e) { /* Microsoft controllers */
2181: if (le16_to_cpu(udev->descriptor.idProduct) == 0x02e3) {
2182: /* The original elite controller always uses the oldest
2183: * type of extended packet
2184: */
2185: xpad->packet_type = PKT_XBE1;
2186: } else if (le16_to_cpu(udev->descriptor.idProduct) == 0x0b00) {
2187: /* The elite 2 controller has seen multiple packet
2188: * revisions. These are tied to specific firmware
2189: * versions
2190: */
2191: if (le16_to_cpu(udev->descriptor.bcdDevice) < 0x0500) {
2192: /* This is the format that the Elite 2 used
2193: * prior to the BLE update
2194: */
2195: xpad->packet_type = PKT_XBE2_FW_OLD;
2196: } else if (le16_to_cpu(udev->descriptor.bcdDevice) <
2197: 0x050b) {
2198: /* This is the format that the Elite 2 used
2199: * prior to the update that split the packet
2200: */
2201: xpad->packet_type = PKT_XBE2_FW_5_EARLY;
2202: } else {
2203: /* The split packet format that was introduced
2204: * in firmware v5.11
2205: */
2206: xpad->packet_type = PKT_XBE2_FW_5_11;
2207: }
2208: }
2209: }
2210:
2211: if (xpad->xtype == XTYPE_XBOX360W) {
2212: /*
2213: * Submit the int URB immediately rather than waiting for open
2214: * because we get status messages from the device whether
2215: * or not any controllers are attached. In fact, it's
2216: * exactly the message that a controller has arrived that
2217: * we're waiting for.
2218: */
2219: error = xpad360w_start_input(xpad);
2220: if (error)
2221: goto err_deinit_output;
2222: /*
2223: * Wireless controllers require RESET_RESUME to work properly
2224: * after suspend. Ideally this quirk should be in usb core
2225: * quirk list, but we have too many vendors producing these
2226: * controllers and we'd need to maintain 2 identical lists
2227: * here in this driver and in usb core.
2228: */
2229: udev->quirks |= USB_QUIRK_RESET_RESUME;
2230: } else {
2231: error = xpad_init_input(xpad);
2232: if (error)
2233: goto err_deinit_output;
2234: }
2235: return 0;
2236:
2237: err_deinit_output:
2238: xpad_deinit_output(xpad);
2239: err_free_in_urb:
2240: usb_free_urb(xpad->irq_in);
2241: err_free_idata:
2242: usb_free_coherent(udev, XPAD_PKT_LEN, xpad->idata, xpad->idata_dma);
2243: err_free_mem:
2244: kfree(xpad);
2245: return error;
2246: }
SourceFile:drivers/input/joystick/xpad.c] |
| 23/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 28282 output: 50 thoughts: 62 Thoughts: **Diving into the Xbox 360 Wireless Controller Input Handling** Okay, so I'm looking at `xpad_probe`, and the key conditional here is that `xpad->xtype` check. If it's an `XTYPE_XBOX360W`, that's our wireless controller. The code branches to `xpad360w_start_input(xpad)`. Right, that's where the magic probably happens. My next step, naturally, is to examine what's going on *inside* that function. Let's dig into `xpad360w_start_input` and see how it actually handles the initialization and input processing for the wireless version. That's where the critical difference surely lies. |
| 24/2 | 2026/04/16 19:48 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad360w_start_input] Results: map[SourceCode:1872: static int xpad360w_start_input(struct usb_xpad *xpad)
1873: {
1874: int error;
1875:
1876: error = usb_submit_urb(xpad->irq_in, GFP_KERNEL);
1877: if (error)
1878: return -EIO;
1879:
1880: /*
1881: * Send presence packet.
1882: * This will force the controller to resend connection packets.
1883: * This is useful in the case we activate the module after the
1884: * adapter has been plugged in, as it won't automatically
1885: * send us info about the controllers.
1886: */
1887: error = xpad_inquiry_pad_presence(xpad);
1888: if (error) {
1889: usb_kill_urb(xpad->irq_in);
1890: return error;
1891: }
1892:
1893: return 0;
1894: }
SourceFile:drivers/input/joystick/xpad.c] |
| 25/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 28904 output: 50 thoughts: 98 Thoughts: **Analyzing the Xbox 360 Wireless Controller Driver** Okay, let's break this down. For the `XTYPE_XBOX360W` type, which I know corresponds to the Xbox 360 wireless controller, the input interrupt, `xpad->irq_in`, gets submitted during the `xpad_probe` function. That's where we kick things off. Then, when a device is disconnected, `xpad_disconnect` is called, and the code checks: ```c if (xpad->xtype == XTYPE_XBOX360W) xpad360w_stop_input(xpad); ``` So, if it *is* an Xbox 360 wireless controller, `xpad360w_stop_input` gets called. Now, I need to understand what this function does. My next step is clearly to dive into the `xpad360w_stop_input` function definition. I need to see how the input stream is managed, specifically how the interrupt submission is reversed or stopped to ensure a clean disconnection. |
| 26/2 | 2026/04/16 19:48 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad360w_stop_input] Results: map[SourceCode:1896: static void xpad360w_stop_input(struct usb_xpad *xpad)
1897: {
1898: usb_kill_urb(xpad->irq_in);
1899:
1900: /* Make sure we are done with presence work if it was scheduled */
1901: flush_work(&xpad->work);
1902: }
SourceFile:drivers/input/joystick/xpad.c] |
| 27/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 29438 output: 64 thoughts: 329 Thoughts: **Analyzing the Xbox 360 Wireless Controller Driver Disconnect Logic** Alright, let's break this down. My immediate concern is how the Xbox 360 Wireless controller driver handles disconnection. The code shows `xpad360w_stop_input` explicitly kills `xpad->irq_in` - that much is clear. But it gets more interesting if the controller *isn't* a 360 Wireless (`xpad->xtype != XTYPE_XBOX360W`). In that scenario, `xpad_disconnect` *bypasses* `xpad360w_stop_input`. Instead, it goes to `xpad_deinit_input`. `xpad_deinit_input` then calls `input_unregister_device(xpad->dev)` *only* if `xpad->input_created` is true. That seems straightforward. If the device was *opened* beforehand, then `xpad_close` would have been called, and that calls `xpad_stop_input`, which in turn kills `xpad->irq_in`, again. But this raises a flag - if the input device was *created*, but *not* opened, this path is potentially compromised. `xpad_close` wouldn't be invoked! Then again, if the device wasn't opened, `xpad_open` would *not* have been called. So `xpad_start_input` never ran, so `xpad->irq_in` was never submitted to begin with! Hmm, wait a minute, I need to confirm: Is there *any* other place where `xpad->irq_in` is submitted? I'm going to scan the codebase for `usb_submit_urb(xpad->irq_in`. I need to ensure there aren't other entry points I'm missing! |
| 28/2 | 2026/04/16 19:48 | tool | codesearch-find-references |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeSnippetLines:0 Name:usb_submit_urb SourceTreePrefix:drivers/input/joystick/xpad.c] Results: map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad360w_start_input SourceFile:drivers/input/joystick/xpad.c SourceLine:1876] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_irq_in SourceFile:drivers/input/joystick/xpad.c SourceLine:1272] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_irq_out SourceFile:drivers/input/joystick/xpad.c SourceLine:1407] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_start_input SourceFile:drivers/input/joystick/xpad.c SourceLine:1805] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_try_sending_next_out_packet SourceFile:drivers/input/joystick/xpad.c SourceLine:1359]] TruncatedOutput:false] |
| 29/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 30545 output: 65 thoughts: 530 Thoughts: **Analyzing USB URB Submission and Handling in the xpad Driver**
Okay, let's break down this `xpad` driver's USB URB management. My initial observation is that `usb_submit_urb` for `irq_in` is called from a few places: `xpad_irq_in`, `xpad_start_input`, and `xpad360w_start_input`. That's the interrupt IN endpoint, presumably for receiving data from the controller. Then there is `xpad_irq_out`, which submits the `xpad->irq_out` URB.
Now, my concern stems from the possible order of operations and potential race conditions. What if we have a scenario where `xpad_start_input` is called, it starts up, then `xpad_stop_input` is called, and finally, `xpad_disconnect` gets invoked? We need to ensure URBs are handled safely during device teardown.
My other concern is if `xpad_start_input` fails – does it properly clean up the `irq_in` URB? Looking at the code:
```c
if (usb_submit_urb(xpad->irq_in, GFP_KERNEL))
return -EIO;
if (xpad->xtype == XTYPE_XBOXONE) {
error = xpad_start_xbox_one(xpad);
if (error) {
usb_kill_urb(xpad->irq_in);
return error;
}
}
```
Okay, so if `usb_submit_urb` *succeeds*, the `irq_in` URB *is* submitted. But if `xpad_start_xbox_one` fails *after* a successful `usb_submit_urb` (specifically the Xbox One implementation), it *does* kill the `irq_in` URB, preventing a leak. Good.
Next, what about `xpad->irq_out`? Where's the teardown for that? In `xpad_disconnect`:
```c
/*
* Now that both input device and LED device are gone we can
* stop output URB.
*/
xpad_stop_output(xpad);
xpad_deinit_output(xpad);
```
Okay, `xpad_stop_output` seems important. It does this:
```c
if (xpad->xtype != XTYPE_UNKNOWN) {
if (!usb_wait_anchor_empty_timeout(&xpad->irq_out_anchor,
5000)) {
dev_warn(&xpad->intf->dev,
"timed out waiting for output URB to complete, killing\n");
usb_kill_anchored_urbs(&xpad->irq_out_anchor);
}
}
```
Aha! `xpad_stop_output` *waits* for `irq_out_anchor` to be empty before killing the URBs. This is usually good. But... what if `xpad->irq_out` isn't anchored to begin with? I need to track down where `xpad->irq_out` gets anchored to fully understand this logic and eliminate the possibility of a use-after-free or double-free vulnerability if a URB is submitted but then the device unloads, which could result in a kernel panic. I'll need to examine where it's anchored and unanchored to complete the analysis.
|
| 30/2 | 2026/04/16 19:48 | tool | codesearch-find-references |
0mError:requested entity does not exist Args: map[ContextFile:drivers/input/joystick/xpad.c IncludeSnippetLines:0 Name:irq_out_anchor SourceTreePrefix:drivers/input/joystick/xpad.c] Results: map[References:<nil> TruncatedOutput:false] |
| 31/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 31954 output: 64 thoughts: 12 Thoughts: Okay, here's my take on those thoughts, tailored for an expert audience: **Investigating `usb_anchor_urb`** Right, let's dive in. The first thing I'm thinking is, "Okay, `usb_anchor_urb`. That's the starting point." This suggests a pretty specific area of investigation: USB device driver internals, specifically concerning URBs (USB Request Blocks) and their anchoring. My mind immediately flashes to scenarios of managing asynchronous I/O, potential race conditions in USB transfers, and likely interactions with the USB core scheduler. I'm expecting this to lead down a path related to error handling, cancellation, and perhaps even some more advanced power management aspects within the USB subsystem. The "anchor" part implies some form of reference counting, locking, or a mechanism to prevent premature freeing of URBs while they are still active. It's probably worth looking at its interactions with the various USB transfer types (control, interrupt, bulk, isochronous) and how this anchoring is implemented differently across them. The kernel source will be the obvious place to look, but I'll probably also cross-reference relevant documentation and perhaps even some bug reports or mailing list archives to get a sense of its history and known quirks. It's likely involved in the complexities of managing the lifetime of URBs within a multi-threaded, asynchronous USB environment. Time to dig in and see what treasures (or potential landmines) await! |
| 32/2 | 2026/04/16 19:48 | tool | codesearch-find-references |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeSnippetLines:0 Name:usb_anchor_urb SourceTreePrefix:drivers/input/joystick/xpad.c] Results: map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_irq_out SourceFile:drivers/input/joystick/xpad.c SourceLine:1406] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_try_sending_next_out_packet SourceFile:drivers/input/joystick/xpad.c SourceLine:1358]] TruncatedOutput:false] |
| 33/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 32470 output: 52 thoughts: 18 Thoughts: Okay, let's break this down. **Diving into `xpad_try_sending_next_out_packet`** Alright, so I'm thinking about `xpad_try_sending_next_out_packet`. This function is central, obviously, to getting the gamepad data *out* to the device. I need to consider all the nuances involved in the sending process. I need to quickly assess if there's anything ready to send. Is there a packet queued? Do we have data that's fresh and ready to go, and, if so, does the USB bus even have capacity right now? I know there can be contention and I must deal with the timing of that. I have to carefully evaluate the state of the USB device. Is it connected? Is it powered? Has it enumerated properly? Any of these issues will result in a failed send, and I need to handle those gracefully—logging the problem, perhaps retrying later, or potentially indicating an error to the user if the problem persists. I must keep in mind the potential for errors. USB communication can be finicky. I'll need error handling for this specific function. I'll have to consider how to handle retry mechanisms and any potential back-off strategies if the send fails. What about data corruption? I’m thinking integrity checks! And finally, of course, I have to consider the overall thread context. Am I sending from an interrupt context, or a process context? This will inform how I can safely operate, whether or not to use locks, and whether I can safely call any blocking operations. All these aspects are very important, in the bigger picture of USB driver design, to ensure a solid and reliable connection between the device and the host machine. |
| 34/2 | 2026/04/16 19:48 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_try_sending_next_out_packet] Results: map[SourceCode:1352: /* Callers must hold xpad->odata_lock spinlock */
1353: static int xpad_try_sending_next_out_packet(struct usb_xpad *xpad)
1354: {
1355: int error;
1356:
1357: if (!xpad->irq_out_active && xpad_prepare_next_out_packet(xpad)) {
1358: usb_anchor_urb(xpad->irq_out, &xpad->irq_out_anchor);
1359: error = usb_submit_urb(xpad->irq_out, GFP_ATOMIC);
1360: if (error) {
1361: if (error != -ENODEV)
1362: dev_err(&xpad->intf->dev,
1363: "%s - usb_submit_urb failed with result %d\n",
1364: __func__, error);
1365: usb_unanchor_urb(xpad->irq_out);
1366: return error;
1367: }
1368:
1369: xpad->irq_out_active = true;
1370: }
1371:
1372: return 0;
1373: }
SourceFile:drivers/input/joystick/xpad.c] |
| 35/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 33294 output: 47 thoughts: 45 Thoughts: Okay, here's my interpretation of that thought process, from an expert's perspective: **Debugging an xpad Driver: Interrupt Pins** Alright, hang on a second. I'm looking at this `xpad` driver, and I've got a mental flag raised. I'm seeing that `xpad->irq_out` is clearly anchored, meaning it's tied down in the initialization somewhere. But, my brain is immediately pinging another question: what about the *other* interrupt, `xpad->irq_in`? That's the critical one for incoming data, and I need to be absolutely sure that's also properly anchored. Is it being handled the same way? Is there any potential for a race condition or an uninitialized value there? I need to quickly verify that `xpad_irq_in` is being handled and initialized correctly. I need to refresh my memory on how this incoming interrupt is setup. I need to make sure this is being handled the same way as `xpad->irq_out`. I'm going to jump into that function and see what's going on. |
| 36/2 | 2026/04/16 19:48 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_irq_in] Results: map[SourceCode:1232: static void xpad_irq_in(struct urb *urb)
1233: {
1234: struct usb_xpad *xpad = urb->context;
1235: struct device *dev = &xpad->intf->dev;
1236: int retval, status;
1237:
1238: status = urb->status;
1239:
1240: switch (status) {
1241: case 0:
1242: /* success */
1243: break;
1244: case -ECONNRESET:
1245: case -ENOENT:
1246: case -ESHUTDOWN:
1247: /* this urb is terminated, clean up */
1248: dev_dbg(dev, "%s - urb shutting down with status: %d\n",
1249: __func__, status);
1250: return;
1251: default:
1252: dev_dbg(dev, "%s - nonzero urb status received: %d\n",
1253: __func__, status);
1254: goto exit;
1255: }
1256:
1257: switch (xpad->xtype) {
1258: case XTYPE_XBOX360:
1259: xpad360_process_packet(xpad, xpad->dev, 0, xpad->idata);
1260: break;
1261: case XTYPE_XBOX360W:
1262: xpad360w_process_packet(xpad, 0, xpad->idata);
1263: break;
1264: case XTYPE_XBOXONE:
1265: xpadone_process_packet(xpad, 0, xpad->idata, urb->actual_length);
1266: break;
1267: default:
1268: xpad_process_packet(xpad, 0, xpad->idata);
1269: }
1270:
1271: exit:
1272: retval = usb_submit_urb(urb, GFP_ATOMIC);
1273: if (retval)
1274: dev_err(dev, "%s - usb_submit_urb failed with result %d\n",
1275: __func__, retval);
1276: }
SourceFile:drivers/input/joystick/xpad.c] |
| 37/2 | 2026/04/16 19:48 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 34315 output: 65 thoughts: 364 Thoughts: **Analyzing the USB Xbox Pad Interrupt Handling** Okay, so I'm digging into this Xbox pad driver. My initial thought is that `xpad_irq_in` is responsible for resubmitting the URB, which is standard procedure. However, a potential race condition or resource leak came to mind immediately. Specifically, the interplay between `xpad_disconnect` and `xpad->irq_in`. I see that `xpad_disconnect` frees the `xpad` structure itself, but critically it *doesn't* kill `xpad->irq_in` *unless* the `xpad->xtype` isn't `XTYPE_XBOX360W`. Hold on a second, though. Isn't `xpad->irq_in` killed in `xpad_stop_input`? Yes, it is, and `xpad_stop_input` is called from `xpad_close`. But that brings up the important question: what happens if `xpad_close` *isn't* called? That's the crux of this. When is `xpad_close` called? Aha, it's called when the input device is closed, which is what I suspected. Okay, so if the device *is* open, `input_unregister_device` will call `xpad_close`, right? Let me confirm... yes, let's trace `input_unregister_device`. Yep, `input_unregister_device` calls `input_disconnect_device`, which in turn calls `dev->close(dev)` if there are open handles. That looks correct. But, a new problem surfaces. What if the input device was never opened at all, but `xpad->irq_in` was somehow submitted? This is where it gets tricky, I can see a possible bug. Okay, is there a case where `xpad->irq_in` is submitted *only* within `xpad_start_input`? Now that's the question. Let's think... Yes, it appears so, and `xpad_start_input` is called from `xpad_open`. So, if the device isn't opened, `xpad->irq_in` shouldn't be submitted, *in theory*. However, is there any other possible place, outside of the normal `xpad_open` workflow, where `xpad_start_input` could be called? I need to be 100% sure, to rule out any subtle vulnerabilities. Let's do a quick search for `xpad_start_input` and double check. |
| 38/2 | 2026/04/16 19:49 | tool | codesearch-find-references |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeSnippetLines:0 Name:xpad_start_input SourceTreePrefix:drivers/input/joystick/xpad.c] Results: map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_open SourceFile:drivers/input/joystick/xpad.c SourceLine:1908] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_resume SourceFile:drivers/input/joystick/xpad.c SourceLine:2319] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpadone_process_packet SourceFile:drivers/input/joystick/xpad.c SourceLine:1102]] TruncatedOutput:false] |
| 39/2 | 2026/04/16 19:49 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 35492 output: 47 thoughts: 35 Thoughts: Here's my summary, as though I'm thinking through this process: **Diving into the Xbox Controller Driver** Okay, so I'm digging into this Xbox controller driver, and I've just hit the crucial part where the data from the controller is actually *processed*. Right, the name itself, `xpadone_process_packet`, that immediately jumps out at me. And just what does this function do? It looks like it's the gateway for handling each data packet. Now, I see that this is where `xpad_start_input` gets called. Now, I should probably delve further into `xpadone_process_packet`. It is the most important piece of the puzzle to look at right now. |
| 40/2 | 2026/04/16 19:49 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpadone_process_packet] Results: map[SourceCode:1051: /*
1052: * xpadone_process_packet
1053: *
1054: * Completes a request by converting the data into events for the
1055: * input subsystem. This version is for the Xbox One controller.
1056: *
1057: * The report format was gleaned from
1058: * https://github.com/kylelemons/xbox/blob/master/xbox.go
1059: */
1060: static void xpadone_process_packet(struct usb_xpad *xpad, u16 cmd, unsigned char *data, u32 len)
1061: {
1062: struct input_dev *dev = xpad->dev;
1063: bool do_sync = false;
1064:
1065: /* the xbox button has its own special report */
1066: if (data[0] == GIP_CMD_VIRTUAL_KEY) {
1067: /*
1068: * The Xbox One S controller requires these reports to be
1069: * acked otherwise it continues sending them forever and
1070: * won't report further mode button events.
1071: */
1072: if (data[1] == (GIP_OPT_ACK | GIP_OPT_INTERNAL))
1073: xpadone_ack_mode_report(xpad, data[2]);
1074:
1075: input_report_key(dev, BTN_MODE, data[4] & GENMASK(1, 0));
1076: input_sync(dev);
1077:
1078: do_sync = true;
1079: } else if (data[0] == GIP_CMD_FIRMWARE) {
1080: /* Some packet formats force us to use this separate to poll paddle inputs */
1081: if (xpad->packet_type == PKT_XBE2_FW_5_11) {
1082: /* Mute paddles if controller is in a custom profile slot
1083: * Checked by looking at the active profile slot to
1084: * verify it's the default slot
1085: */
1086: if (data[19] != 0)
1087: data[18] = 0;
1088:
1089: /* Elite Series 2 split packet paddle bits */
1090: input_report_key(dev, BTN_GRIPR, data[18] & BIT(0));
1091: input_report_key(dev, BTN_GRIPR2, data[18] & BIT(1));
1092: input_report_key(dev, BTN_GRIPL, data[18] & BIT(2));
1093: input_report_key(dev, BTN_GRIPL2, data[18] & BIT(3));
1094:
1095: do_sync = true;
1096: }
1097: } else if (data[0] == GIP_CMD_ANNOUNCE) {
1098: int error;
1099:
1100: if (xpad->delay_init && !xpad->delayed_init_done) {
1101: xpad->delayed_init_done = true;
1102: error = xpad_start_input(xpad);
1103: if (error)
1104: dev_warn(&xpad->dev->dev,
1105: "unable to start delayed input: %d\n",
1106: error);
1107: }
1108: } else if (data[0] == GIP_CMD_INPUT) { /* The main valid packet type for inputs */
1109: /* menu/view buttons */
1110: input_report_key(dev, BTN_START, data[4] & BIT(2));
1111: input_report_key(dev, BTN_SELECT, data[4] & BIT(3));
1112: if (xpad->mapping & MAP_SHARE_BUTTON) {
1113: if (xpad->mapping & MAP_SHARE_OFFSET)
1114: input_report_key(dev, KEY_RECORD, data[len - 26] & BIT(0));
1115: else
1116: input_report_key(dev, KEY_RECORD, data[len - 18] & BIT(0));
1117: }
1118:
1119: /* buttons A,B,X,Y */
1120: input_report_key(dev, BTN_A, data[4] & BIT(4));
1121: input_report_key(dev, BTN_B, data[4] & BIT(5));
1122: input_report_key(dev, BTN_X, data[4] & BIT(6));
1123: input_report_key(dev, BTN_Y, data[4] & BIT(7));
1124:
1125: /* digital pad */
1126: if (xpad->mapping & MAP_DPAD_TO_BUTTONS) {
1127: /* dpad as buttons (left, right, up, down) */
1128: input_report_key(dev, BTN_DPAD_LEFT, data[5] & BIT(2));
1129: input_report_key(dev, BTN_DPAD_RIGHT, data[5] & BIT(3));
1130: input_report_key(dev, BTN_DPAD_UP, data[5] & BIT(0));
1131: input_report_key(dev, BTN_DPAD_DOWN, data[5] & BIT(1));
1132: } else {
1133: input_report_abs(dev, ABS_HAT0X,
1134: !!(data[5] & 0x08) - !!(data[5] & 0x04));
1135: input_report_abs(dev, ABS_HAT0Y,
1136: !!(data[5] & 0x02) - !!(data[5] & 0x01));
1137: }
1138:
1139: /* TL/TR */
1140: input_report_key(dev, BTN_TL, data[5] & BIT(4));
1141: input_report_key(dev, BTN_TR, data[5] & BIT(5));
1142:
1143: /* stick press left/right */
1144: input_report_key(dev, BTN_THUMBL, data[5] & BIT(6));
1145: input_report_key(dev, BTN_THUMBR, data[5] & BIT(7));
1146:
1147: if (!(xpad->mapping & MAP_STICKS_TO_NULL)) {
1148: /* left stick */
1149: input_report_abs(dev, ABS_X,
1150: (__s16) le16_to_cpup((__le16 *)(data + 10)));
1151: input_report_abs(dev, ABS_Y,
1152: ~(__s16) le16_to_cpup((__le16 *)(data + 12)));
1153:
1154: /* right stick */
1155: input_report_abs(dev, ABS_RX,
1156: (__s16) le16_to_cpup((__le16 *)(data + 14)));
1157: input_report_abs(dev, ABS_RY,
1158: ~(__s16) le16_to_cpup((__le16 *)(data + 16)));
1159: }
1160:
1161: /* triggers left/right */
1162: if (xpad->mapping & MAP_TRIGGERS_TO_BUTTONS) {
1163: input_report_key(dev, BTN_TL2,
1164: (__u16) le16_to_cpup((__le16 *)(data + 6)));
1165: input_report_key(dev, BTN_TR2,
1166: (__u16) le16_to_cpup((__le16 *)(data + 8)));
1167: } else {
1168: input_report_abs(dev, ABS_Z,
1169: (__u16) le16_to_cpup((__le16 *)(data + 6)));
1170: input_report_abs(dev, ABS_RZ,
1171: (__u16) le16_to_cpup((__le16 *)(data + 8)));
1172: }
1173:
1174: /* Profile button has a value of 0-3, so it is reported as an axis */
1175: if (xpad->mapping & MAP_PROFILE_BUTTON)
1176: input_report_abs(dev, ABS_PROFILE, data[34]);
1177:
1178: /* paddle handling */
1179: /* based on SDL's SDL_hidapi_xboxone.c */
1180: if (xpad->mapping & MAP_PADDLES) {
1181: if (xpad->packet_type == PKT_XBE1) {
1182: /* Mute paddles if controller has a custom mapping applied.
1183: * Checked by comparing the current mapping
1184: * config against the factory mapping config
1185: */
1186: if (memcmp(&data[4], &data[18], 2) != 0)
1187: data[32] = 0;
1188:
1189: /* OG Elite Series Controller paddle bits */
1190: input_report_key(dev, BTN_GRIPR, data[32] & BIT(1));
1191: input_report_key(dev, BTN_GRIPR2, data[32] & BIT(3));
1192: input_report_key(dev, BTN_GRIPL, data[32] & BIT(0));
1193: input_report_key(dev, BTN_GRIPL2, data[32] & BIT(2));
1194: } else if (xpad->packet_type == PKT_XBE2_FW_OLD) {
1195: /* Mute paddles if controller has a custom mapping applied.
1196: * Checked by comparing the current mapping
1197: * config against the factory mapping config
1198: */
1199: if (data[19] != 0)
1200: data[18] = 0;
1201:
1202: /* Elite Series 2 4.x firmware paddle bits */
1203: input_report_key(dev, BTN_GRIPR, data[18] & BIT(0));
1204: input_report_key(dev, BTN_GRIPR2, data[18] & BIT(1));
1205: input_report_key(dev, BTN_GRIPL, data[18] & BIT(2));
1206: input_report_key(dev, BTN_GRIPL2, data[18] & BIT(3));
1207: } else if (xpad->packet_type == PKT_XBE2_FW_5_EARLY) {
1208: /* Mute paddles if controller has a custom mapping applied.
1209: * Checked by comparing the current mapping
1210: * config against the factory mapping config
1211: */
1212: if (data[23] != 0)
1213: data[22] = 0;
1214:
1215: /* Elite Series 2 5.x firmware paddle bits
1216: * (before the packet was split)
1217: */
1218: input_report_key(dev, BTN_GRIPR, data[22] & BIT(0));
1219: input_report_key(dev, BTN_GRIPR2, data[22] & BIT(1));
1220: input_report_key(dev, BTN_GRIPL, data[22] & BIT(2));
1221: input_report_key(dev, BTN_GRIPL2, data[22] & BIT(3));
1222: }
1223: }
1224:
1225: do_sync = true;
1226: }
1227:
1228: if (do_sync)
1229: input_sync(dev);
1230: }
SourceFile:drivers/input/joystick/xpad.c] |
| 41/2 | 2026/04/16 19:49 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 39215 output: 46 thoughts: 224 Thoughts: **Debugging the Xbox One Controller Driver** Okay, so I'm tracing through this Xbox One controller driver code, and something's bugging me. I see that `xpadone_process_packet` is being called from `xpad_irq_in`, which makes sense for handling incoming interrupt packets. But hang on a second... if `xpad_irq_in` is being called, that implies that `xpad->irq_in` has *already* been submitted to the interrupt queue, right? Which leads me to: when is `xpad->irq_in` submitted? Has `xpad_start_input` already been called, or is it submitted during `xpad_probe`? My initial assumption is it is submitted in `xpad_start_input`, so this has to be correct. Now, for the `XTYPE_XBOXONE` case, I need to confirm: Is `xpad->irq_in` *actually* submitted within `xpad_probe`? This seems like the most likely scenario, so I'm going back to check `xpad_probe`. Okay, let's refresh our memory of the code. I see a conditional block here. Depending on `xpad->xtype`, there's a fork in the road: either `xpad360w_start_input` is called, or the more generic `xpad_init_input` gets executed. Now, this `xpad360w_start_input` looks specific to the 360 wireless controller. I am interested in the one, so I need to check `xpad_init_input` to see if that's where the submission happens. Let's dig into that next. |
| 42/2 | 2026/04/16 19:49 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_init_input] Results: map[SourceCode:1958: static int xpad_init_input(struct usb_xpad *xpad)
1959: {
1960: struct input_dev *input_dev;
1961: int i, error;
1962:
1963: input_dev = input_allocate_device();
1964: if (!input_dev)
1965: return -ENOMEM;
1966:
1967: xpad->dev = input_dev;
1968: input_dev->name = xpad->name;
1969: input_dev->phys = xpad->phys;
1970: usb_to_input_id(xpad->udev, &input_dev->id);
1971:
1972: if (xpad->xtype == XTYPE_XBOX360W) {
1973: /* x360w controllers and the receiver have different ids */
1974: input_dev->id.product = 0x02a1;
1975: }
1976:
1977: input_dev->dev.parent = &xpad->intf->dev;
1978:
1979: input_set_drvdata(input_dev, xpad);
1980:
1981: if (xpad->xtype != XTYPE_XBOX360W) {
1982: input_dev->open = xpad_open;
1983: input_dev->close = xpad_close;
1984: }
1985:
1986: if (!(xpad->mapping & MAP_STICKS_TO_NULL)) {
1987: /* set up axes */
1988: for (i = 0; xpad_abs[i] >= 0; i++)
1989: xpad_set_up_abs(input_dev, xpad_abs[i]);
1990: }
1991:
1992: /* set up standard buttons */
1993: for (i = 0; xpad_common_btn[i] >= 0; i++)
1994: input_set_capability(input_dev, EV_KEY, xpad_common_btn[i]);
1995:
1996: /* set up model-specific ones */
1997: if (xpad->xtype == XTYPE_XBOX360 || xpad->xtype == XTYPE_XBOX360W ||
1998: xpad->xtype == XTYPE_XBOXONE) {
1999: for (i = 0; xpad360_btn[i] >= 0; i++)
2000: input_set_capability(input_dev, EV_KEY, xpad360_btn[i]);
2001: if (xpad->mapping & MAP_SHARE_BUTTON)
2002: input_set_capability(input_dev, EV_KEY, KEY_RECORD);
2003: } else {
2004: for (i = 0; xpad_btn[i] >= 0; i++)
2005: input_set_capability(input_dev, EV_KEY, xpad_btn[i]);
2006: }
2007:
2008: if (xpad->mapping & MAP_DPAD_TO_BUTTONS) {
2009: for (i = 0; xpad_btn_pad[i] >= 0; i++)
2010: input_set_capability(input_dev, EV_KEY,
2011: xpad_btn_pad[i]);
2012: }
2013:
2014: /* set up paddles if the controller has them */
2015: if (xpad->mapping & MAP_PADDLES) {
2016: for (i = 0; xpad_btn_paddles[i] >= 0; i++)
2017: input_set_capability(input_dev, EV_KEY, xpad_btn_paddles[i]);
2018: }
2019:
2020: /*
2021: * This should be a simple else block. However historically
2022: * xbox360w has mapped DPAD to buttons while xbox360 did not. This
2023: * made no sense, but now we can not just switch back and have to
2024: * support both behaviors.
2025: */
2026: if (!(xpad->mapping & MAP_DPAD_TO_BUTTONS) ||
2027: xpad->xtype == XTYPE_XBOX360W) {
2028: for (i = 0; xpad_abs_pad[i] >= 0; i++)
2029: xpad_set_up_abs(input_dev, xpad_abs_pad[i]);
2030: }
2031:
2032: if (xpad->mapping & MAP_TRIGGERS_TO_BUTTONS) {
2033: for (i = 0; xpad_btn_triggers[i] >= 0; i++)
2034: input_set_capability(input_dev, EV_KEY,
2035: xpad_btn_triggers[i]);
2036: } else {
2037: for (i = 0; xpad_abs_triggers[i] >= 0; i++)
2038: xpad_set_up_abs(input_dev, xpad_abs_triggers[i]);
2039: }
2040:
2041: /* setup profile button as an axis with 4 possible values */
2042: if (xpad->mapping & MAP_PROFILE_BUTTON)
2043: xpad_set_up_abs(input_dev, ABS_PROFILE);
2044:
2045: error = xpad_init_ff(xpad);
2046: if (error)
2047: goto err_free_input;
2048:
2049: error = xpad_led_probe(xpad);
2050: if (error)
2051: goto err_destroy_ff;
2052:
2053: error = input_register_device(xpad->dev);
2054: if (error)
2055: goto err_disconnect_led;
2056:
2057: xpad->input_created = true;
2058: return 0;
2059:
2060: err_disconnect_led:
2061: xpad_led_disconnect(xpad);
2062: err_destroy_ff:
2063: input_ff_destroy(input_dev);
2064: err_free_input:
2065: input_free_device(input_dev);
2066: return error;
2067: }
SourceFile:drivers/input/joystick/xpad.c] |
| 43/2 | 2026/04/16 19:49 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 41755 output: 48 thoughts: 1167 Thoughts: **Analyzing the Xbox One Controller Driver Logic** Okay, so I'm digging into this `xpad` driver code, and I need to sort out how the Xbox One controller input is handled. First, I noticed something immediately: `xpad_init_input` *doesn't* call `xpad_start_input`. That's a key detail! So for `XTYPE_XBOXONE`, the interrupt URB (`xpad->irq_in`) isn't submitted directly within `xpad_probe`. That seems odd. But, I see that within `xpad_probe`, it calls `xpad_init_input` for all types except `XTYPE_XBOX360W`. Now, if the interrupt URB isn't initially submitted, how does `xpadone_process_packet` even *get* called from `xpad_irq_in`? Ah, right, `xpad_irq_in` is the *completion handler* for that URB. If the URB isn't submitted, `xpad_irq_in` is never invoked, and therefore `xpadone_process_packet` never runs. So, it *must* be submitted somewhere, right? Then it hits me! When the device is opened (`xpad_open`), `xpad_start_input` *is* called, and *that* submits `xpad->irq_in`. So, the sequence is: open -> `xpad_start_input` (URB submit) -> URB completes -> `xpad_irq_in` is called, which then invokes `xpadone_process_packet`. Now, here's where it gets interesting. `xpadone_process_packet` *might* call `xpad_start_input` *again*, specifically when `data[0]` is `GIP_CMD_ANNOUNCE`. And `xpad_start_input` calls `usb_submit_urb` again, and now my intuition goes into overdrive. If that URB is *already* active, wouldn't that call fail with something like `-EBUSY`? Let me double-check `xpad_start_input` to be absolutely certain... yep, it calls `usb_submit_urb(xpad->irq_in, GFP_KERNEL)`. So, back to the `xpad_open` scenario with `xpad->delay_init` set to true. If that's the case, `xpad_start_input` is called after the device is opened. Okay, the URB is submitted. Then `xpad_irq_in` runs. `xpadone_process_packet` gets called. And then, if `data[0] == GIP_CMD_ANNOUNCE`, `xpad_start_input` is called *again*. That calls `usb_submit_urb(xpad->irq_in, GFP_KERNEL)` again! But here is where it gets interesting... The URB *isn't* active *at the point* `xpadone_process_packet` is called, because `xpad_irq_in` resubmits the URB at the *end* of the function at the `exit:` label, *after* `xpadone_process_packet` is called. Okay, let's trace this properly: 1. `xpad_irq_in` processes the packet, and *then* resubmits the URB at the `exit:` label. 2. So, at the point `xpadone_process_packet` might call `xpad_start_input` due to the `GIP_CMD_ANNOUNCE`, the URB is *not* active. 3. Therefore, when `xpad_start_input` is called within the `GIP_CMD_ANNOUNCE` handler, `usb_submit_urb` *will* succeed in submitting the URB. 4. `xpad_start_input` then calls `xpad_start_xbox_one`, but does not seem to submit again. 5. `xpad_irq_in` function will *then* call `usb_submit_urb(urb, GFP_ATOMIC)` *again*, because it did not know that the URB was submitted by the `GIP_CMD_ANNOUNCE` handler. 6. This *second* `usb_submit_urb` *will* fail with `-EBUSY` or similar. So the potential issue is a failed resubmission of the URB with `usb_submit_urb` in `xpad_irq_in` which means that the error will be |
| 44/2 | 2026/04/16 19:49 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_start_xbox_one] Results: map[SourceCode:1503: static int xpad_start_xbox_one(struct usb_xpad *xpad)
1504: {
1505: int error;
1506:
1507: if (usb_ifnum_to_if(xpad->udev, GIP_WIRED_INTF_AUDIO)) {
1508: /*
1509: * Explicitly disable the audio interface. This is needed
1510: * for some controllers, such as the PowerA Enhanced Wired
1511: * Controller for Series X|S (0x20d6:0x200e) to report the
1512: * guide button.
1513: */
1514: error = usb_set_interface(xpad->udev,
1515: GIP_WIRED_INTF_AUDIO, 0);
1516: if (error)
1517: dev_warn(&xpad->dev->dev,
1518: "unable to disable audio interface: %d\n",
1519: error);
1520: }
1521:
1522: guard(spinlock_irqsave)(&xpad->odata_lock);
1523:
1524: /*
1525: * Begin the init sequence by attempting to send a packet.
1526: * We will cycle through the init packet sequence before
1527: * sending any packets from the output ring.
1528: */
1529: xpad->init_seq = 0;
1530: return xpad_try_sending_next_out_packet(xpad);
1531: }
SourceFile:drivers/input/joystick/xpad.c] |
| 45/2 | 2026/04/16 19:49 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 44472 output: 47 thoughts: 1176 Thoughts: **Analyzing the Xbox One Controller Driver Crash** Okay, let's break this down. It seems we're dealing with a use-after-free in the Xbox One controller driver. I see that `xpad_start_xbox_one` calls `xpad_try_sending_next_out_packet`, which submits `xpad->irq_out`. My immediate thought is, when does the input process actually begin? Now, the input is NOT started in `xpad_probe` for the `XTYPE_XBOXONE` device type. But if `xpad->delay_init` is true, then `xpad_init_input` is called from `xpad_probe`. Then I remember that `xpad_init_input` does *not* call `xpad_start_input`. Ah, but `xpad_start_input` *is* called from `xpad_open`. Okay, so it starts on open. But, what if the device is *never* opened? Then, `xpad->irq_in` is never submitted! And that's where the bug is. Looking at the crash report again, I see USB submit errors, `-19`, and the KASAN report pointing to a slab-use-after-free, likely in `__usb_hcd_giveback_urb`. The trace includes `dummy_timer` from a dummy HCD, and those submission failures with `-ENODEV` confirm a disconnect. This means URBs were active when the device was disconnected. For `XTYPE_XBOX360W`, the `irq_in` URB is submitted in `xpad_probe` and killed synchronously in `xpad_disconnect` via `usb_kill_urb`. This is fine. But how about `xpad->irq_out`? In `xpad_disconnect`, `xpad_stop_output` is called which kills it via `usb_kill_anchored_urbs`. It waits, or kills it. But what if it isn't anchored? I see that `xpad->irq_out` *is* anchored using `usb_anchor_urb` right before submission in `xpad_try_sending_next_out_packet`. Okay, and it's cleared when the URB is handled. So it looks like these are handled, and killed safely in the disconnect process. |
| 46/2 | 2026/04/16 19:49 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_irq_out] Results: map[SourceCode:1375: static void xpad_irq_out(struct urb *urb)
1376: {
1377: struct usb_xpad *xpad = urb->context;
1378: struct device *dev = &xpad->intf->dev;
1379: int status = urb->status;
1380: int error;
1381:
1382: guard(spinlock_irqsave)(&xpad->odata_lock);
1383:
1384: switch (status) {
1385: case 0:
1386: /* success */
1387: xpad->irq_out_active = xpad_prepare_next_out_packet(xpad);
1388: break;
1389:
1390: case -ECONNRESET:
1391: case -ENOENT:
1392: case -ESHUTDOWN:
1393: /* this urb is terminated, clean up */
1394: dev_dbg(dev, "%s - urb shutting down with status: %d\n",
1395: __func__, status);
1396: xpad->irq_out_active = false;
1397: break;
1398:
1399: default:
1400: dev_dbg(dev, "%s - nonzero urb status received: %d\n",
1401: __func__, status);
1402: break;
1403: }
1404:
1405: if (xpad->irq_out_active) {
1406: usb_anchor_urb(urb, &xpad->irq_out_anchor);
1407: error = usb_submit_urb(urb, GFP_ATOMIC);
1408: if (error) {
1409: dev_err(dev,
1410: "%s - usb_submit_urb failed with result %d\n",
1411: __func__, error);
1412: usb_unanchor_urb(urb);
1413: xpad->irq_out_active = false;
1414: }
1415: }
1416: }
SourceFile:drivers/input/joystick/xpad.c] |
| 47/2 | 2026/04/16 19:49 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 46843 output: 63 thoughts: 1034 Thoughts: **Analyzing a Potential Race Condition in the xpad Driver**
Okay, let's break this down. It seems like we have a potential race condition when the xpad driver is disconnecting. The crucial point here is how the `irq_out` URB is handled during shutdown.
My immediate thought is, `usb_wait_anchor_empty_timeout` is waiting for the anchor to be empty. Fine. But, `xpad_irq_out` takes `xpad->odata_lock`. This is where it gets interesting. If `xpad_irq_out` is running, it might have already unanchored the URB because `usb_hcd_giveback_urb` unanchors it *before* calling the completion handler. Right, `usb_hcd_giveback_urb` unanchors the URB before calling `urb->complete`! So, if `xpad_irq_out` is running, the URB is NOT anchored.
So, if `xpad_stop_output` is called concurrently, `usb_wait_anchor_empty_timeout` will return *immediately* because the anchor is empty! Then `xpad_stop_output` returns, and `xpad_disconnect` proceeds to free `xpad`! But, `xpad_irq_out` is still running! And it's accessing `xpad->odata_lock`! That's a textbook use-after-free scenario.
Let's look more closely at what's happening. `usb_kill_anchored_urbs` kills anchored URBs. But, if the URB is in its completion handler, it's NOT anchored. So, `usb_kill_anchored_urbs` does nothing! That's useless. Remember, `usb_kill_urb` *waits* for the completion handler. But, `xpad_stop_output` doesn't call `usb_kill_urb(xpad->irq_out)`! It only calls `usb_wait_anchor_empty_timeout` and `usb_kill_anchored_urbs`. Why? Why doesn't it just use `usb_kill_urb(xpad->irq_out)`?
Let me review `xpad_stop_output` again.
```c
static void xpad_stop_output(struct usb_xpad *xpad)
{
if (xpad->xtype != XTYPE_UNKNOWN) {
if (!usb_wait_anchor_empty_timeout(&xpad->irq_out_anchor,
5000)) {
dev_warn(&xpad->intf->dev,
"timed out waiting for output URB to complete, killing\n");
usb_kill_anchored_urbs(&xpad->irq_out_anchor);
}
}
}
```
Okay, if the URB is in the completion handler, the anchor is empty, and `usb_wait_anchor_empty_timeout` returns true (success). So the function will return. Then `xpad_stop_output` returns. Then `xpad_disconnect` calls `xpad_deinit_output`, which then calls `usb_free_urb(xpad->irq_out)`. And *then* `xpad_disconnect` frees `xpad`. But! `xpad_irq_out` is still running! It might try to re-anchor and re-submit the URB, or, at a minimum, try to access `xpad->odata_lock`!
Wait, `xpad_irq_out` *starts* with:
```c
guard(spinlock_irqsave)(&xpad->odata_lock);
```
If `xpad` is freed, this is a use-after-free! That's definitely the bug. I think `xpad_irq_out` is called by `__usb_hcd_giveback_urb`. Is this it? Let's check `xpad_irq_in` for a similar issue. `xpad_stop_input` calls `usb_kill_urb(xpad->irq_in)`. `usb_kill_urb` waits for the completion handler to finish. So, `xpad_irq_in` is safe. But `xpad_stop_output` *doesn't* use `usb_kill_urb(xpad->irq_out)`! That's the key difference.
Why did they use `usb_wait_anchor_empty_timeout` instead of `usb_kill_urb`? Could it be because `xpad_play_effect` might be submitting
|
| 48/2 | 2026/04/16 19:49 | tool | codesearch-find-references |
0mError:requested entity does not exist Args: map[ContextFile:drivers/input/joystick/xpad.c IncludeSnippetLines:0 Name:irq_out SourceTreePrefix:drivers/input/joystick/xpad.c] Results: map[References:<nil> TruncatedOutput:false] |
| 49/2 | 2026/04/16 19:49 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 48986 output: 64 thoughts: 19 Thoughts: Okay, here's my take on those thoughts, framed as an expert's internal monologue: **Investigating USB URB Cancellation in xpad.c** Alright, time to get to work. Seems like we're dealing with a potential USB issue related to the xpad driver. The specific function I need to look into is `usb_kill_urb`. Right, that's the function we use to cancel a USB transfer request. This is the likely area if we are having problems with unresponsive peripherals, unexpected disconnects, or general USB hiccups associated with an Xbox controller. Time to jump into `xpad.c` and hunt it down. I'll probably be looking for its call sites, how it's used, what the URB structure looks like and the contexts in which it's being called. I'm going to pay close attention to the conditions that might trigger these cancellations – could be error handling, device disconnects, or even some form of internal timeout. I suspect there may be a race condition lurking or maybe a problem with proper URB cleanup after a timeout. Hopefully, the surrounding code will shed some light on the design and intent of the developer. |
| 50/2 | 2026/04/16 19:49 | tool | codesearch-find-references |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeSnippetLines:0 Name:usb_kill_urb SourceTreePrefix:drivers/input/joystick/xpad.c] Results: map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad360w_start_input SourceFile:drivers/input/joystick/xpad.c SourceLine:1889] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad360w_stop_input SourceFile:drivers/input/joystick/xpad.c SourceLine:1898] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_start_input SourceFile:drivers/input/joystick/xpad.c SourceLine:1811] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:xpad_stop_input SourceFile:drivers/input/joystick/xpad.c SourceLine:1842]] TruncatedOutput:false] |
| 51/2 | 2026/04/16 19:49 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 49563 output: 46 thoughts: 634 Thoughts: **My Analysis of a Potential Use-After-Free in the xpad Driver** Okay, let's break this down. It seems we've got a classic use-after-free scenario. The core issue revolves around the `irq_out` URB in the `xpad` driver. The critical point is that `irq_out` is *never* explicitly killed, except when a timeout occurs in `usb_wait_anchor_empty_timeout`, initiated by `usb_kill_anchored_urbs`. Here's the problem: The `irq_out` URB is only killed after a timeout. However, if the URB is actively *in* its completion handler, the anchor is effectively empty. This causes `usb_wait_anchor_empty_timeout` to immediately return, skipping the URB kill. This leads to a race condition. Wait a second, the completion handler for `xpad_irq_out` might *resubmit* the URB! If it does, the URB gets re-added to the anchor. But here's the kicker: `xpad_stop_output` has already returned! And crucially, `xpad_deinit_output` is called subsequently, which calls `usb_free_urb(xpad->irq_out)`. Now, `usb_free_urb` *doesn't* actually free the URB immediately; it just decrements the reference count. If the URB is submitted, it still has a reference, therefore it isn't freed. But the crucial thing here is that the `xpad` structure *will* be freed, or at least be on its way to being freed! Then, the `xpad_irq_out` completion handler runs again, and it attempts to access the now-freed `xpad` structure (specifically, the odata_lock). This is a perfect recipe for a use-after-free! And the KASAN report confirms it, a `slab-use-after-free` specifically in a spinlock! The stack trace strongly suggests this is indeed the completion handler's fault. It seems that `xpad_disconnect` doesn't properly wait for the `xpad_irq_out` completion handler to finish because `usb_wait_anchor_empty_timeout` doesn't account for the completion handler. So, how to trigger this? We need to get `irq_out` submitted. That happens in either `xpad_start_xbox_one`, which is conditional on `xpad->xtype == XTYPE_XBOXONE` from `xpad_start_input` or in `xpad_play_effect`, called when a force feedback effect is played. Let's look closely at `xpad_play_effect`. |
| 52/2 | 2026/04/16 19:50 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_play_effect] Results: map[SourceCode:1555: static int xpad_play_effect(struct input_dev *dev, void *data, struct ff_effect *effect)
1556: {
1557: struct usb_xpad *xpad = input_get_drvdata(dev);
1558: struct xpad_output_packet *packet = &xpad->out_packets[XPAD_OUT_FF_IDX];
1559: __u16 strong;
1560: __u16 weak;
1561:
1562: if (effect->type != FF_RUMBLE)
1563: return 0;
1564:
1565: strong = effect->u.rumble.strong_magnitude;
1566: weak = effect->u.rumble.weak_magnitude;
1567:
1568: guard(spinlock_irqsave)(&xpad->odata_lock);
1569:
1570: switch (xpad->xtype) {
1571: case XTYPE_XBOX:
1572: packet->data[0] = 0x00;
1573: packet->data[1] = 0x06;
1574: packet->data[2] = 0x00;
1575: packet->data[3] = strong / 256; /* left actuator */
1576: packet->data[4] = 0x00;
1577: packet->data[5] = weak / 256; /* right actuator */
1578: packet->len = 6;
1579: packet->pending = true;
1580: break;
1581:
1582: case XTYPE_XBOX360:
1583: packet->data[0] = 0x00;
1584: packet->data[1] = 0x08;
1585: packet->data[2] = 0x00;
1586: packet->data[3] = strong / 256; /* left actuator? */
1587: packet->data[4] = weak / 256; /* right actuator? */
1588: packet->data[5] = 0x00;
1589: packet->data[6] = 0x00;
1590: packet->data[7] = 0x00;
1591: packet->len = 8;
1592: packet->pending = true;
1593: break;
1594:
1595: case XTYPE_XBOX360W:
1596: packet->data[0] = 0x00;
1597: packet->data[1] = 0x01;
1598: packet->data[2] = 0x0F;
1599: packet->data[3] = 0xC0;
1600: packet->data[4] = 0x00;
1601: packet->data[5] = strong / 256;
1602: packet->data[6] = weak / 256;
1603: packet->data[7] = 0x00;
1604: packet->data[8] = 0x00;
1605: packet->data[9] = 0x00;
1606: packet->data[10] = 0x00;
1607: packet->data[11] = 0x00;
1608: packet->len = 12;
1609: packet->pending = true;
1610: break;
1611:
1612: case XTYPE_XBOXONE:
1613: packet->data[0] = GIP_CMD_RUMBLE; /* activate rumble */
1614: packet->data[1] = 0x00;
1615: packet->data[2] = xpad->odata_serial++;
1616: packet->data[3] = GIP_PL_LEN(9);
1617: packet->data[4] = 0x00;
1618: packet->data[5] = GIP_MOTOR_ALL;
1619: packet->data[6] = 0x00; /* left trigger */
1620: packet->data[7] = 0x00; /* right trigger */
1621: packet->data[8] = strong / 512; /* left actuator */
1622: packet->data[9] = weak / 512; /* right actuator */
1623: packet->data[10] = 0xFF; /* on period */
1624: packet->data[11] = 0x00; /* off period */
1625: packet->data[12] = 0xFF; /* repeat count */
1626: packet->len = 13;
1627: packet->pending = true;
1628: break;
1629:
1630: default:
1631: dev_dbg(&xpad->dev->dev,
1632: "%s - rumble command sent to unsupported xpad type: %d\n",
1633: __func__, xpad->xtype);
1634: return -EINVAL;
1635: }
1636:
1637: return xpad_try_sending_next_out_packet(xpad);
1638: }
SourceFile:drivers/input/joystick/xpad.c] |
| 53/2 | 2026/04/16 19:50 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 52361 output: 46 thoughts: 1092 Thoughts: **Analyzing the XPAD Driver's Potential Use-After-Free Vulnerability** Okay, let's break this down. My initial thought was that the issue boils down to `xpad_play_effect` and `xpad_start_xbox_one` both submitting `irq_out`. `xpad_start_xbox_one` gets triggered by `xpad_start_input`, which in turn is called from `xpad_open`. So, if the input device is opened when the device type (`xpad->xtype`) is `XTYPE_XBOXONE`, then we’re going to get an `irq_out` submission. However, `xpad_probe` doesn't directly call `xpad_start_input` for `XTYPE_XBOXONE`. It's `xpad_init_input` that registers the input device, and then syzkaller opens it, which then calls `xpad_open`. `xpad_open` kicks off `xpad_start_input` which leads to `xpad_start_xbox_one` submitting `irq_out`. Then, the device gets disconnected. Here’s where it gets interesting: `xpad_disconnect` calls `xpad_stop_output`, and if `irq_out` is currently in its completion handler, `usb_wait_anchor_empty_timeout` returns immediately. Then, `xpad_disconnect` frees `xpad`. Boom, the completion handler `xpad_irq_out` accesses `xpad->odata_lock` and we've got a use-after-free! My first thought was, "Is `xpad_irq_in` also affected?" Thankfully, I've got that covered! `xpad_stop_input` calls `usb_kill_urb(xpad->irq_in)`. This function waits for the completion handler to finish. So, `xpad_irq_in` *shouldn't* be affected. Good. But then I see in the crash report: ``` xpad 1-1:179.65: xpad_irq_in - usb_submit_urb failed with result -19 xpad 1-1:179.65: xpad_irq_out - usb_submit_urb failed with result -19 ``` This *strongly* suggests that *both* `xpad_irq_in` and `xpad_irq_out` were running and failed to resubmit. I was expecting `xpad_irq_in` to be properly handled. I remember how `xpad_disconnect` calls `xpad_deinit_input`, which then calls `input_unregister_device`. If the device *was* open, `input_unregister_device` calls `xpad_close`, which calls `xpad_stop_input`, which then calls `usb_kill_urb(xpad->irq_in)`. But... what if the device *wasn't* opened? If the device wasn't opened, `xpad_close` doesn't get called. However, if the device wasn't open, `xpad_start_input` never gets called to start the `irq_in`, so this logic works. Then, I thought, "What if `xpad->xtype == XTYPE_XBOX360W`?" In this case, `xpad360w_start_input` *is* called from `xpad_probe`. Then, `xpad_disconnect` calls `xpad360w_stop_input`, which *also* calls `usb_kill_urb(xpad->irq_in)`. So in this case, `irq_in` is killed correctly. Let's look at `XTYPE_XBOXONE` again. `xpadone_process_packet` is called from `xpad_irq_in`. Crucially, it calls `xpad_start_input` *only if* `data[0] == GIP_CMD_ANNOUNCE` *and* `xpad->delay_init` is true! If `irq_in` isn't submitted, `xpad_irq_in` is NEVER called! Therefore, `xpadone_process_packet` and `xpad_start_input` *are* NEVER called in that specific scenario. So, I had to ask myself if there was ANY other way `irq_in` is submitted? I went back to `xpad_probe` again. ```c if (xpad->xtype == |
| 54/2 | 2026/04/16 19:50 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_led_probe] Results: map[SourceCode:1743: static int xpad_led_probe(struct usb_xpad *xpad)
1744: {
1745: struct xpad_led *led;
1746: struct led_classdev *led_cdev;
1747: int error;
1748:
1749: if (xpad->xtype != XTYPE_XBOX360 && xpad->xtype != XTYPE_XBOX360W)
1750: return 0;
1751:
1752: xpad->led = led = kzalloc_obj(*led);
1753: if (!led)
1754: return -ENOMEM;
1755:
1756: xpad->pad_nr = ida_alloc(&xpad_pad_seq, GFP_KERNEL);
1757: if (xpad->pad_nr < 0) {
1758: error = xpad->pad_nr;
1759: goto err_free_mem;
1760: }
1761:
1762: snprintf(led->name, sizeof(led->name), "xpad%d", xpad->pad_nr);
1763: led->xpad = xpad;
1764:
1765: led_cdev = &led->led_cdev;
1766: led_cdev->name = led->name;
1767: led_cdev->brightness_set = xpad_led_set;
1768: led_cdev->flags = LED_CORE_SUSPENDRESUME;
1769:
1770: error = led_classdev_register(&xpad->udev->dev, led_cdev);
1771: if (error)
1772: goto err_free_id;
1773:
1774: xpad_identify_controller(xpad);
1775:
1776: return 0;
1777:
1778: err_free_id:
1779: ida_free(&xpad_pad_seq, xpad->pad_nr);
1780: err_free_mem:
1781: kfree(led);
1782: xpad->led = NULL;
1783: return error;
1784: }
SourceFile:drivers/input/joystick/xpad.c] |
| 55/2 | 2026/04/16 19:50 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 55188 output: 46 thoughts: 17 Thoughts: Okay, here's my take on those thoughts, framed as an expert's internal monologue: **Analyzing the xpad Driver's LED Probe** Alright, let's break this down. `xpad_led_probe` is being triggered, and I need to figure out the controller's LED capabilities. Makes sense. The logical next step, as I would expect to see, is a call to `xpad_identify_controller`. This is the core of the identification process. So, `xpad_led_probe` likely needs to know *what* kind of controller it's dealing with before it can intelligently control any LEDs, right? It makes me think that `xpad_identify_controller` is likely where the magic happens, maybe reading some USB descriptors, checking vendor/product IDs against a known database, or maybe even sending some initial commands to get the device to identify itself. The LEDs would be configured based on the controller, so knowing the hardware is vital. So far, so good. This flow makes logical sense from a driver's standpoint. I would expect `xpad_identify_controller` to populate a structure of capabilities for that device. Then, in `xpad_led_probe`, it would interrogate that structure, and then the LED functions, based on that information. |
| 56/2 | 2026/04/16 19:50 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_identify_controller] Results: map[SourceCode:1725: /*
1726: * Light up the segment corresponding to the pad number on
1727: * Xbox 360 Controllers.
1728: */
1729: static void xpad_identify_controller(struct usb_xpad *xpad)
1730: {
1731: led_set_brightness(&xpad->led->led_cdev, (xpad->pad_nr % 4) + 2);
1732: }
SourceFile:drivers/input/joystick/xpad.c] |
| 57/2 | 2026/04/16 19:50 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 55687 output: 46 thoughts: 16 Thoughts: Here's my understanding of the situation, tailored for an expert like yourself: **Led Brightness Control Analysis** Okay, so I see that `led_set_brightness` is the function that handles brightness adjustments, and it's calling `xpad_led_set` internally. From a functional perspective, this tells me that `led_set_brightness` is likely the public-facing API for controlling the LEDs, while `xpad_led_set` is the lower-level function that actually interacts with the hardware or the device driver. I'd expect `led_set_brightness` to handle things like range checking on the brightness value and potentially any necessary scaling or translation of the input before passing it along to `xpad_led_set`. The naming convention strongly suggests `xpad_led_set` is specific to an Xpad device. This modular design is good - separation of concerns, easy to change `xpad_led_set` without affecting the API for the rest of the system. I will need to delve deeper into each function to fully understand the flow of control and potential issues. |
| 58/2 | 2026/04/16 19:50 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_led_set] Results: map[SourceCode:1734: static void xpad_led_set(struct led_classdev *led_cdev,
1735: enum led_brightness value)
1736: {
1737: struct xpad_led *xpad_led = container_of(led_cdev,
1738: struct xpad_led, led_cdev);
1739:
1740: xpad_send_led_command(xpad_led->xpad, value);
1741: }
SourceFile:drivers/input/joystick/xpad.c] |
| 59/2 | 2026/04/16 19:50 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 56150 output: 48 thoughts: 18 Thoughts: Okay, here's my interpretation of that thought process, tailored for an expert audience, and written in the first person: **Analyzing the xpad_send_led_command Function** Right, so `xpad_send_led_command`... it's submitting `irq_out`. That's the key takeaway, isn't it? The immediate implication is that this function is how we're driving the LEDs, which is pretty standard for XInput devices. It's almost certain this is where the LED commands, whatever their encoding, are being enqueued for transmission. This also tells me that `irq_out` likely represents the output interrupt or the queue that feeds it, or potentially a similar mechanism to signal the need to transmit data. We're looking at a direct path from the LED command encoding within `xpad_send_led_command` directly to, for example, a USB write. I'd be looking closely now at the data structures associated with `irq_out` -- what's the actual format being sent? Is this a simple FIFO, a more complex circular buffer? Are there any synchronization primitives involved? Furthermore, I'd want to check how the interrupt is actually handled. What's the context? What happens if the write fails or the FIFO is full? What is the overall buffering strategy? The performance bottleneck here could be either on the command encoding, enqueuing/dequeueing or the USB transmit itself, and understanding the role of `irq_out` helps me understand where to look. In a broader context, how does this fit with the overall power management scheme? Does this contribute to device wakeups or interrupts? |
| 60/2 | 2026/04/16 19:50 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_send_led_command] Results: map[SourceCode:1666: /*
1667: * set the LEDs on Xbox 360 / Wireless Controllers
1668: * @param command
1669: * 0: off
1670: * 1: all blink, then previous setting
1671: * 2: 1/top-left blink, then on
1672: * 3: 2/top-right blink, then on
1673: * 4: 3/bottom-left blink, then on
1674: * 5: 4/bottom-right blink, then on
1675: * 6: 1/top-left on
1676: * 7: 2/top-right on
1677: * 8: 3/bottom-left on
1678: * 9: 4/bottom-right on
1679: * 10: rotate
1680: * 11: blink, based on previous setting
1681: * 12: slow blink, based on previous setting
1682: * 13: rotate with two lights
1683: * 14: persistent slow all blink
1684: * 15: blink once, then previous setting
1685: */
1686: static void xpad_send_led_command(struct usb_xpad *xpad, int command)
1687: {
1688: struct xpad_output_packet *packet =
1689: &xpad->out_packets[XPAD_OUT_LED_IDX];
1690:
1691: command %= 16;
1692:
1693: guard(spinlock_irqsave)(&xpad->odata_lock);
1694:
1695: switch (xpad->xtype) {
1696: case XTYPE_XBOX360:
1697: packet->data[0] = 0x01;
1698: packet->data[1] = 0x03;
1699: packet->data[2] = command;
1700: packet->len = 3;
1701: packet->pending = true;
1702: break;
1703:
1704: case XTYPE_XBOX360W:
1705: packet->data[0] = 0x00;
1706: packet->data[1] = 0x00;
1707: packet->data[2] = 0x08;
1708: packet->data[3] = 0x40 + command;
1709: packet->data[4] = 0x00;
1710: packet->data[5] = 0x00;
1711: packet->data[6] = 0x00;
1712: packet->data[7] = 0x00;
1713: packet->data[8] = 0x00;
1714: packet->data[9] = 0x00;
1715: packet->data[10] = 0x00;
1716: packet->data[11] = 0x00;
1717: packet->len = 12;
1718: packet->pending = true;
1719: break;
1720: }
1721:
1722: xpad_try_sending_next_out_packet(xpad);
1723: }
SourceFile:drivers/input/joystick/xpad.c] |
| 61/2 | 2026/04/16 19:50 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 57545 output: 44 thoughts: 1196 Thoughts: **Bug Analysis: Xbox 360 Wireless Controller Use-After-Free** Okay, let's break this down. It seems the problem stems from a race condition during the disconnection of an Xbox 360 Wireless controller, specifically a use-after-free vulnerability. Let me walk through my thought process. First, I see that `xpad_led_probe` is called from `xpad_init_input`, which in turn comes from `xpad_probe`. That's where the initial setup happens. Crucially, `xpad_led_probe` is responsible for sending commands via `xpad_send_led_command`, which leads to `xpad_try_sending_next_out_packet` and finally, submitting `irq_out`. I've found something interesting. For `XTYPE_XBOX360` and `XTYPE_XBOX360W` controllers, this `irq_out` is submitted *during the probe itself*! That's a key detail. Now, if the device is disconnected, `xpad_disconnect` gets called. That calls `xpad_stop_output`. Now, if `irq_out` is currently in its completion handler, `xpad_stop_output` immediately returns, which allows the code to then free the `xpad` structure. And, it appears, that completion handler then tries to access `xpad->odata_lock`, which would cause a use-after-free. But the crash report shows errors: ``` xpad 1-1:179.65: xpad_irq_in - usb_submit_urb failed with result -19 xpad 1-1:179.65: xpad_irq_out - usb_submit_urb failed with result -19 ``` This means both `irq_in` and `irq_out` were active during the disconnection process. For `XTYPE_XBOX360W`, `irq_in` is submitted in `xpad_probe` through `xpad360w_start_input`, and `irq_out` is submitted in `xpad_probe` through `xpad_led_probe`. Both are launched DURING probe! When disconnecting, `xpad_disconnect` calls `xpad360w_stop_input`, which calls `usb_kill_urb(xpad->irq_in)`. But `usb_kill_urb` waits for `irq_in` to finish, so the completion handler can be scheduled after freeing the `xpad` structure. It's clear, `xpad_irq_in` prints the message BEFORE `usb_kill_urb` returns. Since `usb_kill_urb` waits, this means the `xpad_irq_in` completes first, before the `xpad` is freed. Crucially, `xpad_irq_out` is *not* killed by `usb_kill_urb`! `xpad_stop_output` calls `usb_wait_anchor_empty_timeout(&xpad->irq_out_anchor, 5000)`. If `xpad_irq_out` is running, then the URB isn't anchored, and `usb_wait_anchor_empty_timeout` returns immediately. Then, `xpad_stop_output` returns, and `xpad_disconnect` frees the `xpad` struct. Then, the completion handler for `irq_out` accesses `xpad->odata_lock` which leads to our use-after-free! So, the root cause is crystal clear now: 1. We have an Xbox 360 Wireless controller (`XTYPE_XBOX360W`). 2. `xpad_probe` submits both `irq_in` and `irq_out`. 3. We disconnect the controller *while `irq_out` is completing*. This is the race condition. The tricky part will be reliably triggering this race. `irq_out` likely completes very quickly. I'm thinking about how to precisely time the completion of that URB so that it coincides with `xpad_disconnect` freeing the structure. Syzkaller's `dummy_hcd` might be the answer, since it allows for controlling USB URB completion times. If we can rapidly connect and disconnect, we might hit it. An alternative is to investigate `XTYPE_XBOXONE`. For that device, `irq_in` isn't submitted during probe. But `xpad_start_xbox_one` does submit `ir |
| 62/2 | 2026/04/16 19:50 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_device] Results: map[SourceCode: 126: static const struct xpad_device {
127: u16 idVendor;
128: u16 idProduct;
129: char *name;
130: u8 mapping;
131: u8 xtype;
132: u8 flags;
133: } xpad_device[] = {
SourceFile:drivers/input/joystick/xpad.c] |
| 63/2 | 2026/04/16 19:50 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 59945 output: 22 thoughts: 13 Thoughts: Okay, here's my take on those thoughts, tailored for an expert audience: **Examining `xpad_device` Entries** Alright, let's dive in. My mind immediately goes to the `xpad_device` structure. It's the core, right? The nexus of interaction with that specific hardware. I need to get a handle on what's currently being managed in there. My initial thought is to inspect the current entries, see what's instantiated, and maybe understand the state of any particular device. Are we talking about a single XInput device or a whole array? Is the enumeration process behaving as expected? What's the driver's current relationship with the hardware – is it connected, partially initialized, or in an error state? I'm looking for clues about the current interaction of the `xpad_device` with the USB subsystem or HID layer, potentially related to the specific model that's connected. |
| 64/2 | 2026/04/16 19:50 | tool | grepper |
0mArgs:map[Expression:XTYPE_XBOX360] Results: map[Output:drivers/input/joystick/xpad.c-91-#define XTYPE_XBOX 0
drivers/input/joystick/xpad.c:92:#define XTYPE_XBOX360 1
drivers/input/joystick/xpad.c:93:#define XTYPE_XBOX360W 2
drivers/input/joystick/xpad.c-94-#define XTYPE_XBOXONE 3
--
drivers/input/joystick/xpad.c=126=static const struct xpad_device {
--
drivers/input/joystick/xpad.c-134- /* Please keep this list sorted by vendor and product ID. */
drivers/input/joystick/xpad.c:135: { 0x0079, 0x18d4, "GPD Win 2 X-Box Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:136: { 0x0351, 0x1000, "CRKD LP Blueberry Burst Pro Edition (Xbox)", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:137: { 0x0351, 0x2000, "CRKD LP Black Tribal Edition (Xbox) ", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:138: { 0x03eb, 0xff01, "Wooting One (Legacy)", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:139: { 0x03eb, 0xff02, "Wooting Two (Legacy)", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:140: { 0x03f0, 0x038D, "HyperX Clutch", 0, XTYPE_XBOX360 }, /* wired */
drivers/input/joystick/xpad.c:141: { 0x03f0, 0x048D, "HyperX Clutch", 0, XTYPE_XBOX360 }, /* wireless */
drivers/input/joystick/xpad.c-142- { 0x03f0, 0x0495, "HyperX Clutch Gladiate", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-149- { 0x044f, 0x0f10, "Thrustmaster Modena GT Wheel", 0, XTYPE_XBOX },
drivers/input/joystick/xpad.c:150: { 0x044f, 0xb326, "Thrustmaster Gamepad GP XID", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-151- { 0x044f, 0xd01e, "ThrustMaster, Inc. ESWAP X 2 ELDEN RING EDITION", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-156- { 0x045e, 0x0289, "Microsoft X-Box pad v2 (US)", 0, XTYPE_XBOX },
drivers/input/joystick/xpad.c:157: { 0x045e, 0x028e, "Microsoft X-Box 360 pad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:158: { 0x045e, 0x028f, "Microsoft X-Box 360 pad v2", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:159: { 0x045e, 0x0291, "Xbox 360 Wireless Receiver (XBOX)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W },
drivers/input/joystick/xpad.c:160: { 0x045e, 0x02a9, "Xbox 360 Wireless Receiver (Unofficial)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W },
drivers/input/joystick/xpad.c-161- { 0x045e, 0x02d1, "Microsoft X-Box One pad", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-164- { 0x045e, 0x02ea, "Microsoft X-Box One S pad", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:165: { 0x045e, 0x0719, "Xbox 360 Wireless Receiver", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W },
drivers/input/joystick/xpad.c-166- { 0x045e, 0x0b00, "Microsoft X-Box One Elite 2 pad", MAP_PADDLES, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-168- { 0x045e, 0x0b12, "Microsoft Xbox Series S|X Controller", MAP_SHARE_BUTTON | MAP_SHARE_OFFSET, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:169: { 0x046d, 0xc21d, "Logitech Gamepad F310", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:170: { 0x046d, 0xc21e, "Logitech Gamepad F510", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:171: { 0x046d, 0xc21f, "Logitech Gamepad F710", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:172: { 0x046d, 0xc242, "Logitech Chillstream Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-173- { 0x046d, 0xca84, "Logitech Xbox Cordless Controller", 0, XTYPE_XBOX },
--
drivers/input/joystick/xpad.c-175- { 0x046d, 0xca8a, "Logitech Precision Vibration Feedback Wheel", 0, XTYPE_XBOX },
drivers/input/joystick/xpad.c:176: { 0x046d, 0xcaa3, "Logitech DriveFx Racing Wheel", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:177: { 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:178: { 0x056e, 0x2004, "Elecom JC-U3613M", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-179- { 0x05fd, 0x1007, "Mad Catz Controller (unverified)", 0, XTYPE_XBOX },
--
drivers/input/joystick/xpad.c-186- { 0x06a3, 0x0201, "Saitek Adrenalin", 0, XTYPE_XBOX },
drivers/input/joystick/xpad.c:187: { 0x06a3, 0xf51a, "Saitek P3600", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-188- { 0x0738, 0x4503, "Mad Catz Racing Wheel", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-200- { 0x0738, 0x45ff, "Mad Catz Beat Pad (w/ Handle)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
drivers/input/joystick/xpad.c:201: { 0x0738, 0x4716, "Mad Catz Wired Xbox 360 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:202: { 0x0738, 0x4718, "Mad Catz Street Fighter IV FightStick SE", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:203: { 0x0738, 0x4726, "Mad Catz Xbox 360 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:204: { 0x0738, 0x4728, "Mad Catz Street Fighter IV FightPad", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:205: { 0x0738, 0x4736, "Mad Catz MicroCon Gamepad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:206: { 0x0738, 0x4738, "Mad Catz Wired Xbox 360 Controller (SFIV)", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:207: { 0x0738, 0x4740, "Mad Catz Beat Pad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-208- { 0x0738, 0x4743, "Mad Catz Beat Pad Pro", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
drivers/input/joystick/xpad.c:209: { 0x0738, 0x4758, "Mad Catz Arcade Game Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-210- { 0x0738, 0x4a01, "Mad Catz FightStick TE 2", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c-211- { 0x0738, 0x6040, "Mad Catz Beat Pad Pro", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
drivers/input/joystick/xpad.c:212: { 0x0738, 0x9871, "Mad Catz Portable Drum", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:213: { 0x0738, 0xb726, "Mad Catz Xbox controller - MW2", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:214: { 0x0738, 0xb738, "Mad Catz MVC2TE Stick 2", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:215: { 0x0738, 0xbeef, "Mad Catz JOYTECH NEO SE Advanced GamePad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:216: { 0x0738, 0xcb02, "Saitek Cyborg Rumble Pad - PC/Xbox 360", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:217: { 0x0738, 0xcb03, "Saitek P3200 Rumble Pad - PC/Xbox 360", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:218: { 0x0738, 0xcb29, "Saitek Aviator Stick AV8R02", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:219: { 0x0738, 0xf738, "Super SFIV FightStick TE S", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:220: { 0x07ff, 0xffff, "Mad Catz GamePad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-221- { 0x0b05, 0x1a38, "ASUS ROG RAIKIRI", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-230- { 0x0d2f, 0x0002, "Andamiro Pump It Up pad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
drivers/input/joystick/xpad.c:231: { 0x0db0, 0x1901, "Micro Star International Xbox360 Controller for Windows", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-232- { 0x0e4c, 0x1097, "Radica Gamester Controller", 0, XTYPE_XBOX },
--
drivers/input/joystick/xpad.c-239- { 0x0e6f, 0x0008, "After Glow Pro Controller", 0, XTYPE_XBOX },
drivers/input/joystick/xpad.c:240: { 0x0e6f, 0x0105, "HSM3 Xbox360 dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:241: { 0x0e6f, 0x0113, "Afterglow AX.1 Gamepad for Xbox 360", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:242: { 0x0e6f, 0x011f, "Rock Candy Gamepad Wired Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:243: { 0x0e6f, 0x0131, "PDP EA Sports Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:244: { 0x0e6f, 0x0133, "Xbox 360 Wired Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-245- { 0x0e6f, 0x0139, "Afterglow Prismatic Wired Controller", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-255- { 0x0e6f, 0x0165, "PDP Titanfall 2", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:256: { 0x0e6f, 0x0201, "Pelican PL-3601 'TSZ' Wired Xbox 360 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:257: { 0x0e6f, 0x0213, "Afterglow Gamepad for Xbox 360", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:258: { 0x0e6f, 0x021f, "Rock Candy Gamepad for Xbox 360", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-259- { 0x0e6f, 0x0246, "Rock Candy Gamepad for Xbox One 2015", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-270- { 0x0e6f, 0x02b8, "Afterglow Prismatic Wired Controller", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:271: { 0x0e6f, 0x0301, "Logic3 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-272- { 0x0e6f, 0x0346, "Rock Candy Gamepad for Xbox One 2016", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:273: { 0x0e6f, 0x0401, "Logic3 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:274: { 0x0e6f, 0x0413, "Afterglow AX.1 Gamepad for Xbox 360", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:275: { 0x0e6f, 0x0501, "PDP Xbox 360 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:276: { 0x0e6f, 0xf900, "PDP Afterglow AX.1", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-277- { 0x0e8f, 0x0201, "SmartJoy Frag Xpad/PS2 adaptor", 0, XTYPE_XBOX },
drivers/input/joystick/xpad.c-278- { 0x0e8f, 0x3008, "Generic xbox control (dealextreme)", 0, XTYPE_XBOX },
drivers/input/joystick/xpad.c:279: { 0x0f0d, 0x000a, "Hori Co. DOA4 FightStick", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:280: { 0x0f0d, 0x000c, "Hori PadEX Turbo", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:281: { 0x0f0d, 0x000d, "Hori Fighting Stick EX2", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:282: { 0x0f0d, 0x0016, "Hori Real Arcade Pro.EX", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:283: { 0x0f0d, 0x001b, "Hori Real Arcade Pro VX", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-284- { 0x0f0d, 0x0063, "Hori Real Arcade Pro Hayabusa (USA) Xbox One", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-287- { 0x0f0d, 0x00c5, "Hori Fighting Commander ONE", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:288: { 0x0f0d, 0x00dc, "HORIPAD FPS for Nintendo Switch", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-289- { 0x0f0d, 0x0151, "Hori Racing Wheel Overdrive for Xbox Series X", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-295- { 0x102c, 0xff0c, "Joytech Wireless Advanced Controller", 0, XTYPE_XBOX },
drivers/input/joystick/xpad.c:296: { 0x1038, 0x1430, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:297: { 0x1038, 0x1431, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-298- { 0x10f5, 0x7005, "Turtle Beach Recon Controller", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-300- { 0x10f5, 0x7073, "Turtle Beach Stealth Ultra Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:301: { 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:302: { 0x11ff, 0x0511, "PXN V900", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:303: { 0x1209, 0x2882, "Ardwiino Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:304: { 0x12ab, 0x0004, "Honey Bee Xbox360 dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:305: { 0x12ab, 0x0301, "PDP AFTERGLOW AX.1", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:306: { 0x12ab, 0x0303, "Mortal Kombat Klassic FightStick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-307- { 0x12ab, 0x8809, "Xbox DDR dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
drivers/input/joystick/xpad.c:308: { 0x1430, 0x4748, "RedOctane Guitar Hero X-plorer", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-309- { 0x1430, 0x8888, "TX6500+ Dance Pad (first generation)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
drivers/input/joystick/xpad.c:310: { 0x1430, 0xf801, "RedOctane Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:311: { 0x146b, 0x0601, "BigBen Interactive XBOX 360 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:312: { 0x146b, 0x0604, "Bigben Interactive DAIJA Arcade Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-313- { 0x1532, 0x0a00, "Razer Atrox Arcade Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-315- { 0x1532, 0x0a29, "Razer Wolverine V2", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:316: { 0x1532, 0x0a57, "Razer Wolverine V3 Pro (Wired)", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:317: { 0x1532, 0x0a59, "Razer Wolverine V3 Pro (2.4 GHz Dongle)", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:318: { 0x15e4, 0x3f00, "Power A Mini Pro Elite", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:319: { 0x15e4, 0x3f0a, "Xbox Airflo wired controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:320: { 0x15e4, 0x3f10, "Batarang Xbox 360 controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:321: { 0x162e, 0xbeef, "Joytech Neo-Se Take2", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:322: { 0x1689, 0xfd00, "Razer Onza Tournament Edition", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:323: { 0x1689, 0xfd01, "Razer Onza Classic Edition", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:324: { 0x1689, 0xfe00, "Razer Sabertooth", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:325: { 0x17ef, 0x6182, "Lenovo Legion Controller for Windows", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:326: { 0x1949, 0x041a, "Amazon Game Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:327: { 0x1a86, 0xe310, "Legion Go S", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:328: { 0x1bad, 0x0002, "Harmonix Rock Band Guitar", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:329: { 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:330: { 0x1bad, 0x0130, "Ion Drum Rocker", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:331: { 0x1bad, 0xf016, "Mad Catz Xbox 360 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:332: { 0x1bad, 0xf018, "Mad Catz Street Fighter IV SE Fighting Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:333: { 0x1bad, 0xf019, "Mad Catz Brawlstick for Xbox 360", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:334: { 0x1bad, 0xf021, "Mad Cats Ghost Recon FS GamePad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:335: { 0x1bad, 0xf023, "MLG Pro Circuit Controller (Xbox)", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:336: { 0x1bad, 0xf025, "Mad Catz Call Of Duty", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:337: { 0x1bad, 0xf027, "Mad Catz FPS Pro", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:338: { 0x1bad, 0xf028, "Street Fighter IV FightPad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:339: { 0x1bad, 0xf02e, "Mad Catz Fightpad", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:340: { 0x1bad, 0xf030, "Mad Catz Xbox 360 MC2 MicroCon Racing Wheel", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:341: { 0x1bad, 0xf036, "Mad Catz MicroCon GamePad Pro", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:342: { 0x1bad, 0xf038, "Street Fighter IV FightStick TE", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:343: { 0x1bad, 0xf039, "Mad Catz MvC2 TE", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:344: { 0x1bad, 0xf03a, "Mad Catz SFxT Fightstick Pro", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:345: { 0x1bad, 0xf03d, "Street Fighter IV Arcade Stick TE - Chun Li", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:346: { 0x1bad, 0xf03e, "Mad Catz MLG FightStick TE", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:347: { 0x1bad, 0xf03f, "Mad Catz FightStick SoulCaliber", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:348: { 0x1bad, 0xf042, "Mad Catz FightStick TES+", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:349: { 0x1bad, 0xf080, "Mad Catz FightStick TE2", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:350: { 0x1bad, 0xf501, "HoriPad EX2 Turbo", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:351: { 0x1bad, 0xf502, "Hori Real Arcade Pro.VX SA", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:352: { 0x1bad, 0xf503, "Hori Fighting Stick VX", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:353: { 0x1bad, 0xf504, "Hori Real Arcade Pro. EX", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:354: { 0x1bad, 0xf505, "Hori Fighting Stick EX2B", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:355: { 0x1bad, 0xf506, "Hori Real Arcade Pro.EX Premium VLX", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:356: { 0x1bad, 0xf900, "Harmonix Xbox 360 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:357: { 0x1bad, 0xf901, "Gamestop Xbox 360 Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:358: { 0x1bad, 0xf903, "Tron Xbox 360 controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:359: { 0x1bad, 0xf904, "PDP Versus Fighting Pad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:360: { 0x1bad, 0xf906, "MortalKombat FightStick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:361: { 0x1bad, 0xfa01, "MadCatz GamePad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:362: { 0x1bad, 0xfd00, "Razer Onza TE", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:363: { 0x1bad, 0xfd01, "Razer Onza", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:364: { 0x1ee9, 0x1590, "ZOTAC Gaming Zone", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:365: { 0x20bc, 0x5134, "BETOP BTP-KP50B Xinput Dongle", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:366: { 0x20bc, 0x514a, "BETOP BTP-KP50C Xinput Dongle", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-367- { 0x20d6, 0x2001, "BDA Xbox Series X Wired Controller", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-369- { 0x20d6, 0x2064, "PowerA Wired Controller for Xbox", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:370: { 0x20d6, 0x281f, "PowerA Wired Controller For Xbox 360", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-371- { 0x20d6, 0x400b, "PowerA FUSION Pro 4 Wired Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c-372- { 0x20d6, 0x890b, "PowerA MOGA XP-Ultra Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:373: { 0x2345, 0xe00b, "Machenike G5 Pro Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:374: { 0x24c6, 0x5000, "Razer Atrox Arcade Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:375: { 0x24c6, 0x5300, "PowerA MINI PROEX Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:376: { 0x24c6, 0x5303, "Xbox Airflo wired controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:377: { 0x24c6, 0x530a, "Xbox 360 Pro EX Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:378: { 0x24c6, 0x531a, "PowerA Pro Ex", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:379: { 0x24c6, 0x5397, "FUS1ON Tournament Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-380- { 0x24c6, 0x541a, "PowerA Xbox One Mini Wired Controller", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-382- { 0x24c6, 0x543a, "PowerA Xbox One wired controller", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:383: { 0x24c6, 0x5500, "Hori XBOX 360 EX 2 with Turbo", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:384: { 0x24c6, 0x5501, "Hori Real Arcade Pro VX-SA", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:385: { 0x24c6, 0x5502, "Hori Fighting Stick VX Alt", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:386: { 0x24c6, 0x5503, "Hori Fighting Edge", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:387: { 0x24c6, 0x5506, "Hori SOULCALIBUR V Stick", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:388: { 0x24c6, 0x550d, "Hori GEM Xbox controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:389: { 0x24c6, 0x550e, "Hori Real Arcade Pro V Kai 360", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:390: { 0x24c6, 0x5510, "Hori Fighting Commander ONE (Xbox 360/PC Mode)", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-391- { 0x24c6, 0x551a, "PowerA FUSION Pro Controller", 0, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-393- { 0x24c6, 0x581a, "ThrustMaster XB1 Classic Controller", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:394: { 0x24c6, 0x5b00, "ThrustMaster Ferrari 458 Racing Wheel", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:395: { 0x24c6, 0x5b02, "Thrustmaster, Inc. GPX Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:396: { 0x24c6, 0x5b03, "Thrustmaster Ferrari 458 Racing Wheel", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:397: { 0x24c6, 0x5d04, "Razer Sabertooth", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:398: { 0x24c6, 0xfafe, "Rock Candy Gamepad for Xbox 360", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:399: { 0x2563, 0x058d, "OneXPlayer Gamepad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-400- { 0x294b, 0x3303, "Snakebyte GAMEPAD BASE X", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c-401- { 0x294b, 0x3404, "Snakebyte GAMEPAD RGB X", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:402: { 0x2993, 0x2001, "TECNO Pocket Go", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-403- { 0x2dc8, 0x2000, "8BitDo Pro 2 Wired Controller fox Xbox", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c-404- { 0x2dc8, 0x200f, "8BitDo Ultimate 3-mode Controller for Xbox", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:405: { 0x2dc8, 0x3106, "8BitDo Ultimate Wireless / Pro 2 Wired Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:406: { 0x2dc8, 0x3109, "8BitDo Ultimate Wireless Bluetooth", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:407: { 0x2dc8, 0x310a, "8BitDo Ultimate 2C Wireless Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:408: { 0x2dc8, 0x310b, "8BitDo Ultimate 2 Wireless Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:409: { 0x2dc8, 0x6001, "8BitDo SN30 Pro", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-410- { 0x2e24, 0x0423, "Hyperkin DuchesS Xbox One pad", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
--
drivers/input/joystick/xpad.c-413- { 0x2e95, 0x0504, "SCUF Gaming Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:414: { 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:415: { 0x31e3, 0x1200, "Wooting Two", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:416: { 0x31e3, 0x1210, "Wooting Lekker", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:417: { 0x31e3, 0x1220, "Wooting Two HE", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:418: { 0x31e3, 0x1230, "Wooting Two HE (ARM)", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:419: { 0x31e3, 0x1300, "Wooting 60HE (AVR)", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:420: { 0x31e3, 0x1310, "Wooting 60HE (ARM)", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-421- { 0x3285, 0x0603, "Nacon Pro Compact controller for Xbox", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:422: { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-423- { 0x3285, 0x0614, "Nacon Pro Compact", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c-424- { 0x3285, 0x0646, "Nacon Pro Compact", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:425: { 0x3285, 0x0662, "Nacon Revolution5 Pro", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-426- { 0x3285, 0x0663, "Nacon Evol-X", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:427: { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-428- { 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE },
drivers/input/joystick/xpad.c:429: { 0x3651, 0x1000, "CRKD SG", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-430- { 0x366c, 0x0005, "ByoWave Proteus Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE, FLAG_DELAY_INIT },
drivers/input/joystick/xpad.c-431- { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX },
drivers/input/joystick/xpad.c:432: { 0x37d7, 0x2501, "Flydigi Apex 5", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c:433: { 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c-434- { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },
--
drivers/input/joystick/xpad.c=896=static void xpad360_process_packet(struct usb_xpad *xpad, struct input_dev *dev,
--
drivers/input/joystick/xpad.c-918- if (!(xpad->mapping & MAP_DPAD_TO_BUTTONS) ||
drivers/input/joystick/xpad.c:919: xpad->xtype == XTYPE_XBOX360W) {
drivers/input/joystick/xpad.c-920- input_report_abs(dev, ABS_HAT0X,
--
drivers/input/joystick/xpad.c-968- /* XBOX360W controllers can't be turned off without driver assistance */
drivers/input/joystick/xpad.c:969: if (xpad->xtype == XTYPE_XBOX360W) {
drivers/input/joystick/xpad.c-970- if (xpad->mode_btn_down_ts > 0 && xpad->pad_present &&
--
drivers/input/joystick/xpad.c=1232=static void xpad_irq_in(struct urb *urb)
--
drivers/input/joystick/xpad.c-1257- switch (xpad->xtype) {
drivers/input/joystick/xpad.c:1258: case XTYPE_XBOX360:
drivers/input/joystick/xpad.c-1259- xpad360_process_packet(xpad, xpad->dev, 0, xpad->idata);
drivers/input/joystick/xpad.c-1260- break;
drivers/input/joystick/xpad.c:1261: case XTYPE_XBOX360W:
drivers/input/joystick/xpad.c-1262- xpad360w_process_packet(xpad, 0, xpad->idata);
--
drivers/input/joystick/xpad.c=1555=static int xpad_play_effect(struct input_dev *dev, void *data, struct ff_effect *effect)
--
drivers/input/joystick/xpad.c-1581-
drivers/input/joystick/xpad.c:1582: case XTYPE_XBOX360:
drivers/input/joystick/xpad.c-1583- packet->data[0] = 0x00;
--
drivers/input/joystick/xpad.c-1594-
drivers/input/joystick/xpad.c:1595: case XTYPE_XBOX360W:
drivers/input/joystick/xpad.c-1596- packet->data[0] = 0x00;
--
drivers/input/joystick/xpad.c=1686=static void xpad_send_led_command(struct usb_xpad *xpad, int command)
--
drivers/input/joystick/xpad.c-1695- switch (xpad->xtype) {
drivers/input/joystick/xpad.c:1696: case XTYPE_XBOX360:
drivers/input/joystick/xpad.c-1697- packet->data[0] = 0x01;
--
drivers/input/joystick/xpad.c-1703-
drivers/input/joystick/xpad.c:1704: case XTYPE_XBOX360W:
drivers/input/joystick/xpad.c-1705- packet->data[0] = 0x00;
--
drivers/input/joystick/xpad.c=1743=static int xpad_led_probe(struct usb_xpad *xpad)
--
drivers/input/joystick/xpad.c-1748-
drivers/input/joystick/xpad.c:1749: if (xpad->xtype != XTYPE_XBOX360 && xpad->xtype != XTYPE_XBOX360W)
drivers/input/joystick/xpad.c-1750- return 0;
--
drivers/input/joystick/xpad.c=1801=static int xpad_start_input(struct usb_xpad *xpad)
--
drivers/input/joystick/xpad.c-1814- }
drivers/input/joystick/xpad.c:1815: if (xpad->xtype == XTYPE_XBOX360) {
drivers/input/joystick/xpad.c-1816- /*
--
drivers/input/joystick/xpad.c=1958=static int xpad_init_input(struct usb_xpad *xpad)
--
drivers/input/joystick/xpad.c-1971-
drivers/input/joystick/xpad.c:1972: if (xpad->xtype == XTYPE_XBOX360W) {
drivers/input/joystick/xpad.c-1973- /* x360w controllers and the receiver have different ids */
--
drivers/input/joystick/xpad.c-1980-
drivers/input/joystick/xpad.c:1981: if (xpad->xtype != XTYPE_XBOX360W) {
drivers/input/joystick/xpad.c-1982- input_dev->open = xpad_open;
--
drivers/input/joystick/xpad.c-1996- /* set up model-specific ones */
drivers/input/joystick/xpad.c:1997: if (xpad->xtype == XTYPE_XBOX360 || xpad->xtype == XTYPE_XBOX360W ||
drivers/input/joystick/xpad.c-1998- xpad->xtype == XTYPE_XBOXONE) {
--
drivers/input/joystick/xpad.c-2026- if (!(xpad->mapping & MAP_DPAD_TO_BUTTONS) ||
drivers/input/joystick/xpad.c:2027: xpad->xtype == XTYPE_XBOX360W) {
drivers/input/joystick/xpad.c-2028- for (i = 0; xpad_abs_pad[i] >= 0; i++)
--
drivers/input/joystick/xpad.c=2069=static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *id)
--
drivers/input/joystick/xpad.c-2118- if (intf->cur_altsetting->desc.bInterfaceProtocol == 129)
drivers/input/joystick/xpad.c:2119: xpad->xtype = XTYPE_XBOX360W;
drivers/input/joystick/xpad.c-2120- else if (intf->cur_altsetting->desc.bInterfaceProtocol == 208)
--
drivers/input/joystick/xpad.c-2122- else
drivers/input/joystick/xpad.c:2123: xpad->xtype = XTYPE_XBOX360;
drivers/input/joystick/xpad.c-2124- } else {
--
drivers/input/joystick/xpad.c-2210-
drivers/input/joystick/xpad.c:2211: if (xpad->xtype == XTYPE_XBOX360W) {
drivers/input/joystick/xpad.c-2212- /*
--
drivers/input/joystick/xpad.c=2248=static void xpad_disconnect(struct usb_interface *intf)
--
drivers/input/joystick/xpad.c-2251-
drivers/input/joystick/xpad.c:2252: if (xpad->xtype == XTYPE_XBOX360W)
drivers/input/joystick/xpad.c-2253- xpad360w_stop_input(xpad);
--
drivers/input/joystick/xpad.c=2274=static int xpad_suspend(struct usb_interface *intf, pm_message_t message)
--
drivers/input/joystick/xpad.c-2278-
drivers/input/joystick/xpad.c:2279: if (xpad->xtype == XTYPE_XBOX360W) {
drivers/input/joystick/xpad.c-2280- /*
--
drivers/input/joystick/xpad.c=2307=static int xpad_resume(struct usb_interface *intf)
--
drivers/input/joystick/xpad.c-2312- xpad->delayed_init_done = false;
drivers/input/joystick/xpad.c:2313: if (xpad->xtype == XTYPE_XBOX360W)
drivers/input/joystick/xpad.c-2314- return xpad360w_start_input(xpad);
] |
| 65/2 | 2026/04/16 19:50 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 75321 output: 50 thoughts: 395 Thoughts: **Analyzing the Xbox 360 Wireless Controller Driver Logic**
Okay, so I'm looking at how the `xpad_device` handles different Xbox 360 controller types. Specifically, I see that for the `XTYPE_XBOX360`, the device IDs are `0x045e, 0x028e`, and for the `XTYPE_XBOX360W`, it's `0x045e, 0x0291`. Right, got it.
Now, if we are dealing with `XTYPE_XBOX360W` (`0x045e, 0x0291`), the `xpad_probe` function *does* call `xpad360w_start_input`, which is expected to submit `irq_in`. But hang on a second... `xpad_probe` doesn't call `xpad_init_input` for `XTYPE_XBOX360W` directly! I need to re-examine that logic.
Ah, here it is:
```c
if (xpad->xtype == XTYPE_XBOX360W) {
error = xpad360w_start_input(xpad);
if (error)
goto err_deinit_output;
udev->quirks |= USB_QUIRK_RESET_RESUME;
} else {
error = xpad_init_input(xpad);
if (error)
goto err_deinit_output;
}
```
Okay, so that confirms it. For `XTYPE_XBOX360W`, the code *doesn't* call `xpad_init_input` during the probe. If `xpad_init_input` isn't called, then `xpad_led_probe` won't be called, either. This is the crucial point.
So, since `xpad_led_probe` isn't called, that means `irq_out` is *not* submitted during the probe stage for `XTYPE_XBOX360W` devices! That raises a question: if `irq_out` isn't submitted initially, how is it active when the device is disconnected? Seems impossible!
Wait a second. Maybe `xpad_init_input` *is* called later for `XTYPE_XBOX360W`? I'll need to trace the execution path. Let me check `xpad360w_process_packet`, that must be where initialization occurs.
|
| 66/2 | 2026/04/16 19:51 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad360w_process_packet] Results: map[SourceCode:1011: /*
1012: * xpad360w_process_packet
1013: *
1014: * Completes a request by converting the data into events for the
1015: * input subsystem. It is version for xbox 360 wireless controller.
1016: *
1017: * Byte.Bit
1018: * 00.1 - Status change: The controller or headset has connected/disconnected
1019: * Bits 01.7 and 01.6 are valid
1020: * 01.7 - Controller present
1021: * 01.6 - Headset present
1022: * 01.1 - Pad state (Bytes 4+) valid
1023: *
1024: */
1025: static void xpad360w_process_packet(struct usb_xpad *xpad, u16 cmd, unsigned char *data)
1026: {
1027: struct input_dev *dev;
1028: bool present;
1029:
1030: /* Presence change */
1031: if (data[0] & 0x08) {
1032: present = (data[1] & 0x80) != 0;
1033:
1034: if (xpad->pad_present != present) {
1035: xpad->pad_present = present;
1036: schedule_work(&xpad->work);
1037: }
1038: }
1039:
1040: /* Valid pad data */
1041: if (data[1] != 0x1)
1042: return;
1043:
1044: rcu_read_lock();
1045: dev = rcu_dereference(xpad->x360w_dev);
1046: if (dev)
1047: xpad360_process_packet(xpad, dev, cmd, &data[4]);
1048: rcu_read_unlock();
1049: }
SourceFile:drivers/input/joystick/xpad.c] |
| 67/2 | 2026/04/16 19:51 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 76956 output: 46 thoughts: 38 Thoughts: Okay, here's my interpretation of those thoughts, tailored for an expert audience, and delivered as a first-person summary: **Digging into Xbox 360 Controller Presence Handling** Right, so I see that `xpad360w_process_packet` is the function that triggers the `xpad->work` work queue item whenever the controller's presence state changes. Makes sense; that's the obvious entry point. The interesting part, though, is how it handles the details. Now, let's dive deeper and figure out exactly what happens within `xpad_presence_work`. I'm curious to see if it's doing something simple like toggling a flag or if there are any subtle state machine implementations that I can pick apart. I'd like to get a handle on the control flow here. |
| 68/2 | 2026/04/16 19:51 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/input/joystick/xpad.c IncludeLines:true Name:xpad_presence_work] Results: map[SourceCode: 986: static void xpad_presence_work(struct work_struct *work)
987: {
988: struct usb_xpad *xpad = container_of(work, struct usb_xpad, work);
989: int error;
990:
991: if (xpad->pad_present) {
992: error = xpad_init_input(xpad);
993: if (error) {
994: /* complain only, not much else we can do here */
995: dev_err(&xpad->dev->dev,
996: "unable to init device: %d\n", error);
997: } else {
998: rcu_assign_pointer(xpad->x360w_dev, xpad->dev);
999: }
1000: } else {
1001: RCU_INIT_POINTER(xpad->x360w_dev, NULL);
1002: synchronize_rcu();
1003: /*
1004: * Now that we are sure xpad360w_process_packet is not
1005: * using input device we can get rid of it.
1006: */
1007: xpad_deinit_input(xpad);
1008: }
1009: }
SourceFile:drivers/input/joystick/xpad.c] |
| 69/2 | 2026/04/16 19:51 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 77626 output: 49 thoughts: 2959 Thoughts: **The Xbox Controller Use-After-Free Vulnerability: A Deep Dive** Okay, here's the breakdown of this Xbox controller driver vulnerability, as I see it. It looks like a classic use-after-free issue, and I've got a pretty clear path to exploit it, if I'm understanding this correctly. It all starts with the `xpad_presence_work` function, which is triggered when the device sends a presence packet, for controllers defined as `XTYPE_XBOX360W`. This calls `xpad_init_input` which then calls `xpad_led_probe`. Crucially, `xpad_led_probe` submits the `irq_out` USB interrupt request. So, we've got an `irq_out` submission happening *very* early in the device's lifecycle. `irq_in` is submitted in the probe itself when the device is `XTYPE_XBOX360W`. So, now, both `irq_in` and `irq_out` are active at the same time. The core of the bug lies in the disconnection sequence. When the device disconnects, `xpad_disconnect` is called. It calls `xpad360w_stop_input` which kills `irq_in`. Then, `xpad_disconnect` calls `xpad_stop_output`, which calls `usb_wait_anchor_empty_timeout` on `irq_out_anchor`. It calls `usb_kill_urb(xpad->irq_in)` which waits for `xpad_irq_in` to finish. But, `usb_kill_urb` returns *before* the completion handler is executed. `xpad_disconnect` will free `xpad` *before* the completion handler for `irq_out` runs. Which is `xpad_irq_out`! This is where the use-after-free happens. `xpad_irq_out` accesses `xpad` *after* it's been freed. The interesting part is, `usb_wait_anchor_empty_timeout` will wait for `irq_out` to complete. This is the race condition. It is a very small race window, it seems. If `irq_out` *isn't* running, the wait returns immediately. If it *is* running, the wait will return after it completes. But because of `usb_kill_urb`, it has to finish and return, before the main disconnect process can continue. Even if we use `XTYPE_XBOX360` the bug remains. The flow is different, but the end result is the same: `xpad_irq_out` accesses freed memory. In this case, `irq_out` is submitted during the `xpad_probe` call. We don't even need to open the device to trigger this use-after-free! So, the key steps to reproduce are this: 1. We need a USB device that matches the `xpad_device` struct. The relevant values are vendor ID `0x045e` and product ID `0x028e` (for `XTYPE_XBOX360`) or `0x0291` (for `XTYPE_XBOX360W`). The interface needs exactly two interrupt endpoints, one IN and one OUT. 2. The device needs to be opened (if `XTYPE_XBOX360`) or send a presence packet (if `XTYPE_XBOX360W`). 3. Then we disconnect! We can trigger `XTYPE_XBOX360W` by setting the interface class to `USB_CLASS_VENDOR_SPEC` and the protocol to `129`. This is nice, because we can probably reproduce this on a variety of devices, not just actual Xbox controllers. To trigger the use-after-free with `XTYPE_XBOX360W`, we need to find a way to make `irq_out` stay active during the disconnect. In the completion handler, `xpad_irq_out`, the URB is only resubmitted if another LED command is queued. And `irq_out` is submitted only once, so the window is tiny. So, we must have another LED command in progress when the disconnect is triggered. If `dummy_hcd` delays the completion of `irq_out`, then there is a chance of hitting the race. But, we can send a stream of presence packets and toggle `pad_present`, to keep calling `xpad_init_input` which calls `xpad_led_probe` and sends LED commands. |
| 70/2 | 2026/04/16 19:51 | tool | codesearch-definition-source |
0mArgs:map[ContextFile:drivers/usb/core/hcd.c IncludeLines:true Name:__usb_hcd_giveback_urb] Results: map[SourceCode:1630: static void __usb_hcd_giveback_urb(struct urb *urb)
1631: {
1632: struct usb_hcd *hcd = bus_to_hcd(urb->dev->bus);
1633: struct usb_anchor *anchor = urb->anchor;
1634: int status = urb->unlinked;
1635:
1636: urb->hcpriv = NULL;
1637: if (unlikely((urb->transfer_flags & URB_SHORT_NOT_OK) &&
1638: urb->actual_length < urb->transfer_buffer_length &&
1639: !status))
1640: status = -EREMOTEIO;
1641:
1642: unmap_urb_for_dma(hcd, urb);
1643: usbmon_urb_complete(&hcd->self, urb, status);
1644: usb_anchor_suspend_wakeups(anchor);
1645: usb_unanchor_urb(urb);
1646: if (likely(status == 0))
1647: usb_led_activity(USB_LED_EVENT_HOST);
1648:
1649: /* pass ownership to the completion handler */
1650: urb->status = status;
1651: /*
1652: * This function can be called in task context inside another remote
1653: * coverage collection section, but kcov doesn't support that kind of
1654: * recursion yet. Only collect coverage in softirq context for now.
1655: */
1656: kcov_remote_start_usb_softirq((u64)urb->dev->bus->busnum);
1657: urb->complete(urb);
1658: kcov_remote_stop_softirq();
1659:
1660: usb_anchor_resume_wakeups(anchor);
1661: atomic_dec(&urb->use_count);
1662: /*
1663: * Order the write of urb->use_count above before the read
1664: * of urb->reject below. Pairs with the memory barriers in
1665: * usb_kill_urb() and usb_poison_urb().
1666: */
1667: smp_mb__after_atomic();
1668:
1669: if (unlikely(atomic_read(&urb->reject)))
1670: wake_up(&usb_kill_urb_queue);
1671: usb_put_urb(urb);
1672: }
SourceFile:drivers/usb/core/hcd.c] |
| 71/2 | 2026/04/16 19:51 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 82393 output: 22 thoughts: 2053 Thoughts: **Race Condition Discovery and Exploitation with USB Disconnect**
Okay, so I've zeroed in on a critical use-after-free vulnerability within the xpad driver, specifically triggered by a race condition during USB device disconnect. My analysis shows this is a classic scenario. The sequence of events is clear: `usb_unanchor_urb` is called *before* `urb->complete(urb)`, meaning when `xpad_irq_out` (part of the complete callback) is running, the URB isn't anchored anymore. This is the crux of the problem.
If `xpad_stop_output` is waiting for the anchor to empty via `usb_wait_anchor_empty_timeout`, it will be immediately woken up by `usb_unanchor_urb`. Then `xpad_disconnect` gets control and frees `xpad`. Then, because `xpad_irq_out` is running, it accesses `xpad->odata_lock`, leading to the use-after-free. This is easily triggered. The trigger is to connect the device, and then disconnect it immediately while the `irq_out` callback is running.
I initially thought `usb_wait_anchor_empty_timeout` might be a timed wait, but it's not. It uses `wait_event_timeout` and calls `wake_up` right away, so the disconnect proceeds immediately after the `usb_unanchor_urb` call. Given that `xpad_irq_out` is running in a softirq context on a potentially different CPU, there's a clear window for this race. Syzkaller, with its concurrent execution, is primed to hit this reliably.
To exploit this in syzkaller, the process is straightforward: connect a vulnerable device, then exit, causing disconnection. The `syz_usb_connect` call is the key, and because of how syzkaller works, the device is disconnected on exit. I need to construct the appropriate descriptors for a Microsoft X-Box 360 pad. I've got the vendor and product IDs (0x045e, 0x028e), and can build the device descriptor, configuration descriptor, and interface descriptors.
I noted an interesting check in `xpad_probe` based on the interface protocol. Initially, if the interface protocol is 129, the `xtype` will be `XTYPE_XBOX360W`, protocol 208 will cause `XTYPE_XBOXONE`, and the other one will cause `XTYPE_XBOX360`. However, the driver has a table that already knows this:
```c
{ 0x045e, 0x028e, "Microsoft X-Box 360 pad", 0, XTYPE_XBOX360 }
```
So `xtype` will be set to `XTYPE_XBOX360`, and `xpad_init_input` is called and `xpad_led_probe` is called. So `irq_out` will be submitted.
The crash report confirms that the problem is either with `XTYPE_XBOX360W` or `XTYPE_XBOX360`. Syzkaller will also open the input device, submitting `irq_in`, so I think that means it is `XTYPE_XBOX360`.
I've constructed the syzkaller program, providing the necessary device and configuration descriptors. I've confirmed the syntax and now have the `syz_usb_connect` call ready to trigger the vulnerability.
|
| 72/2 | 2026/04/16 19:51 | tool | read-description |
0mArgs:map[File:dev_bus_usb.txt] Results: map[Output:# Copyright 2019 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/core/devio.c
include <linux/ioctl.h>
include <linux/usb.h>
include <linux/usbdevice_fs.h>
include <uapi/linux/fcntl.h>
include <uapi/linux/usb/ch9.h>
define MAXDRIVERNAME USBDEVFS_MAXDRIVERNAME + 1
resource fd_usbfs[fd]
syz_open_dev$usbfs(dev ptr[in, string["/dev/bus/usb/00#/00#"]], id intptr, flags flags[open_flags]) fd_usbfs
read$usbfs(fd fd_usbfs, buf buffer[out], count len[buf])
mmap$usbfs(addr vma, len len[addr], prot flags[mmap_prot], flags flags[mmap_flags], fd fd_usbfs, offset fileoff)
_ = __NR_mmap2
# TODO: arg is a pointer to a previously submitted URB.
ioctl$USBDEVFS_REAPURB(fd fd_usbfs, cmd const[USBDEVFS_REAPURB], arg ptr[out, int64])
ioctl$USBDEVFS_REAPURBNDELAY(fd fd_usbfs, cmd const[USBDEVFS_REAPURBNDELAY], arg ptr[out, int64])
ioctl$USBDEVFS_CONTROL(fd fd_usbfs, cmd const[USBDEVFS_CONTROL], arg ptr[in, usbdevfs_ctrltransfer])
ioctl$USBDEVFS_BULK(fd fd_usbfs, cmd const[USBDEVFS_BULK], arg ptr[in, usbdevfs_bulktransfer])
ioctl$USBDEVFS_RESETEP(fd fd_usbfs, cmd const[USBDEVFS_RESETEP], arg ptr[in, usbdevfs_ep])
ioctl$USBDEVFS_RESET(fd fd_usbfs, cmd const[USBDEVFS_RESET])
ioctl$USBDEVFS_CLEAR_HALT(fd fd_usbfs, cmd const[USBDEVFS_CLEAR_HALT], arg ptr[in, usbdevfs_ep])
ioctl$USBDEVFS_GETDRIVER(fd fd_usbfs, cmd const[USBDEVFS_GETDRIVER], arg ptr[inout, usbdevfs_getdriver])
ioctl$USBDEVFS_CONNECTINFO(fd fd_usbfs, cmd const[USBDEVFS_CONNECTINFO], arg ptr[out, usbdevfs_connectinfo])
ioctl$USBDEVFS_SETINTERFACE(fd fd_usbfs, cmd const[USBDEVFS_SETINTERFACE], arg ptr[in, usbdevfs_setinterface])
ioctl$USBDEVFS_SETCONFIGURATION(fd fd_usbfs, cmd const[USBDEVFS_SETCONFIGURATION], arg ptr[in, int32])
ioctl$USBDEVFS_SUBMITURB(fd fd_usbfs, cmd const[USBDEVFS_SUBMITURB], arg ptr[in, usbdevfs_urb])
# TODO: arg is a pointer to a previously submitted URB.
ioctl$USBDEVFS_DISCARDURB(fd fd_usbfs, cmd const[USBDEVFS_DISCARDURB], arg ptr[in, int64])
ioctl$USBDEVFS_DISCSIGNAL(fd fd_usbfs, cmd const[USBDEVFS_DISCSIGNAL], arg ptr[in, usbdevfs_disconnectsignal])
ioctl$USBDEVFS_CLAIMINTERFACE(fd fd_usbfs, cmd const[USBDEVFS_CLAIMINTERFACE], arg ptr[in, int32])
ioctl$USBDEVFS_RELEASEINTERFACE(fd fd_usbfs, cmd const[USBDEVFS_RELEASEINTERFACE], arg ptr[in, int32])
ioctl$USBDEVFS_IOCTL(fd fd_usbfs, cmd const[USBDEVFS_IOCTL], arg ptr[in, usbdevfs_ioctl])
ioctl$USBDEVFS_CLAIM_PORT(fd fd_usbfs, cmd const[USBDEVFS_CLAIM_PORT], arg ptr[in, int32])
ioctl$USBDEVFS_RELEASE_PORT(fd fd_usbfs, cmd const[USBDEVFS_RELEASE_PORT], arg ptr[in, int32])
ioctl$USBDEVFS_GET_CAPABILITIES(fd fd_usbfs, cmd const[USBDEVFS_GET_CAPABILITIES], arg ptr[out, int32])
ioctl$USBDEVFS_DISCONNECT_CLAIM(fd fd_usbfs, cmd const[USBDEVFS_DISCONNECT_CLAIM], arg ptr[in, usbdevfs_disconnect_claim])
ioctl$USBDEVFS_ALLOC_STREAMS(fd fd_usbfs, cmd const[USBDEVFS_ALLOC_STREAMS], arg ptr[in, usbdevfs_streams])
ioctl$USBDEVFS_FREE_STREAMS(fd fd_usbfs, cmd const[USBDEVFS_FREE_STREAMS], arg ptr[in, usbdevfs_streams])
ioctl$USBDEVFS_DROP_PRIVILEGES(fd fd_usbfs, cmd const[USBDEVFS_DROP_PRIVILEGES], arg ptr[in, int32])
ioctl$USBDEVFS_GET_SPEED(fd fd_usbfs, cmd const[USBDEVFS_GET_SPEED])
ioctl$USBDEVFS_FORBID_SUSPEND(fd fd_usbfs, cmd const[USBDEVFS_FORBID_SUSPEND])
ioctl$USBDEVFS_ALLOW_SUSPEND(fd fd_usbfs, cmd const[USBDEVFS_ALLOW_SUSPEND])
ioctl$USBDEVFS_WAIT_FOR_RESUME(fd fd_usbfs, cmd const[USBDEVFS_WAIT_FOR_RESUME])
usbdevfs_ep {
num int8:7[0:15]
dir int8:1
}
usbdevfs_ctrltransfer {
bRequestType flags[usb_request_type_flags, int8]
bRequest flags[usb_requests, int8]
wValue int16
wIndex int16
wLength len[data, int16]
timeout int32
data ptr[inout, array[int8]]
}
usb_request_type_flags = USB_DIR_OUT, USB_DIR_IN, USB_TYPE_MASK, USB_TYPE_STANDARD, USB_TYPE_CLASS, USB_TYPE_VENDOR, USB_TYPE_RESERVED, USB_RECIP_MASK, USB_RECIP_DEVICE, USB_RECIP_INTERFACE, USB_RECIP_ENDPOINT, USB_RECIP_OTHER, USB_RECIP_PORT, USB_RECIP_RPIPE
usbdevfs_bulktransfer {
ep align32[usbdevfs_ep]
len len[data, int32]
timeout int32
data ptr[inout, array[int8]]
}
usbdevfs_getdriver {
interface int32
driver array[int8, MAXDRIVERNAME]
}
usbdevfs_connectinfo {
devnum int32
slow int8
}
usbdevfs_setinterface {
interface int32
altsetting int32
}
usbdevfs_urb [
urb_type_control usbdevfs_urb_control
urb_type_bulk usbdevfs_urb_bulk
urb_type_interrupt usbdevfs_urb_interrupt
urb_type_iso usbdevfs_urb_iso
] [varlen]
usbdevfs_urb_control {
type const[USBDEVFS_URB_TYPE_CONTROL, int8]
endpoint usbdevfs_ep
status int32
flags flags[urb_flags, int32]
buffer ptr[in, usb_ctrlrequest]
buffer_length len[buffer, int32]
actual_length int32
start_frame int32
u const[0, int32]
error_count int32
signr int32
usercontext ptr[in, array[int8]]
}
usb_ctrlrequest {
bRequestType flags[usb_request_type_flags, int8]
bRequest flags[usb_requests, int8]
wValue int16
wIndex int16
wLength int16
} [packed]
usbdevfs_urb_bulk {
type const[USBDEVFS_URB_TYPE_BULK, int8]
endpoint usbdevfs_ep
status int32
flags flags[urb_flags, int32]
buffer ptr[in, array[int8]]
buffer_length len[buffer, int32]
actual_length int32
start_frame int32
stream_id int32
error_count int32
signr int32
usercontext ptr[in, array[int8]]
}
usbdevfs_urb_interrupt {
type const[USBDEVFS_URB_TYPE_INTERRUPT, int8]
endpoint usbdevfs_ep
status int32
flags flags[urb_flags, int32]
buffer ptr[in, array[int8]]
buffer_length len[buffer, int32]
actual_length int32
start_frame int32
u const[0, int32]
error_count int32
signr int32
usercontext ptr[in, array[int8]]
}
usbdevfs_urb_iso {
type const[USBDEVFS_URB_TYPE_ISO, int8]
endpoint usbdevfs_ep
status int32
flags flags[urb_flags, int32]
buffer ptr[in, array[int8]]
buffer_length len[buffer, int32]
actual_length int32
start_frame int32
number_of_packets len[iso_frame_desc, int32]
error_count int32
signr int32
usercontext ptr[in, array[int8]]
iso_frame_desc array[usbdevfs_iso_packet_desc, 1:127]
}
urb_flags = USBDEVFS_URB_SHORT_NOT_OK, USBDEVFS_URB_ISO_ASAP, USBDEVFS_URB_BULK_CONTINUATION, USBDEVFS_URB_NO_FSBR, USBDEVFS_URB_ZERO_PACKET, USBDEVFS_URB_NO_INTERRUPT
usbdevfs_iso_packet_desc {
length int32
actual_length int32
status int32
}
usbdevfs_disconnectsignal {
signr int32
context ptr[in, array[int8]]
}
usbdevfs_ioctl [
usbdevfs_disconnect usbdevfs_ioctl_disconnect
usbdevfs_connect usbdevfs_ioctl_connect
usbdevfs_driver usbdevfs_ioctl_driver
]
usbdevfs_ioctl_disconnect {
ifno int32
ioctl_code const[USBDEVFS_DISCONNECT, int32]
data const[0, intptr]
}
usbdevfs_ioctl_connect {
ifno int32
ioctl_code const[USBDEVFS_CONNECT, int32]
data const[0, intptr]
}
usbdevfs_ioctl_driver {
ifno int32
ioctl_code int32
data ptr[inout, array[int8]]
}
usbdevfs_disconnect_claim {
interface int32
flags flags[disconnect_flags, int32]
driver array[int8, MAXDRIVERNAME]
}
disconnect_flags = USBDEVFS_DISCONNECT_CLAIM_IF_DRIVER, USBDEVFS_DISCONNECT_CLAIM_EXCEPT_DRIVER
usbdevfs_streams {
num_streams int32[2:65536]
num_eps len[eps, int32]
eps array[usbdevfs_ep, 1:USB_MAXENDPOINTS]
}
] |
| 73/2 | 2026/04/16 19:51 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 88220 output: 19 thoughts: 19 Thoughts: Here's my thought process, summarized as you requested: **A USB Connection Aha!** Okay, hold on a second... *syz_usb_connect*! That function name... it's familiar. I need to quickly cross-reference this. Let me see, wasn't that discussed in the context of some recent fuzzer findings related to USB? Where did I see that documented? Wait... yes! It's in *vusb.txt*! Fantastic. That's exactly where I was expecting to see the relevant details. This confirms the connection and gives me a good starting point for further investigation. This simplifies the search significantly. |
| 74/2 | 2026/04/16 19:51 | tool | read-description |
0mArgs:map[File:vusb.txt] Results: map[Output:# Copyright 2019 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
include <linux/types.h>
include <linux/byteorder/generic.h>
include <uapi/linux/usb/ch9.h>
include <uapi/linux/usb/ch11.h>
include <uapi/linux/usb/midi.h>
include <uapi/linux/usb/audio.h>
include <linux/usb/audio-v2.h>
include <linux/usb/audio-v3.h>
include <uapi/linux/hid.h>
include <linux/hid.h>
include <uapi/linux/usb/cdc.h>
include <uapi/linux/if_ether.h>
include <linux/interrupt.h>
include <linux/usb/cdc_ncm.h>
include <drivers/net/usb/asix.h>
# This is a special fd for USB fuzzing and should only be used with syz_usb_* pseudo-syscalls.
# We don't inherit it from the fd resource, to discourage syzkaller calling raw ioctls on it.
resource fd_usb[int32]: -1
# These are generic pseudo-syscalls for emulating arbitrary USB devices.
# They are mostly targeted to cover the enumeration process.
syz_usb_connect(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io(fd fd_usb, descs ptr[in, vusb_descriptors], resps ptr[in, vusb_responses]) (timeout[300], remote_cover)
syz_usb_ep_write(fd fd_usb, ep int8, len len[data], data ptr[in, array[int8, 0:256]]) (timeout[300], remote_cover)
syz_usb_ep_read(fd fd_usb, ep int8, len len[data], data buffer[out]) (timeout[300], remote_cover)
syz_usb_disconnect(fd fd_usb) (timeout[300], remote_cover)
usb_device_speed = USB_SPEED_UNKNOWN, USB_SPEED_LOW, USB_SPEED_FULL, USB_SPEED_HIGH, USB_SPEED_WIRELESS, USB_SPEED_SUPER, USB_SPEED_SUPER_PLUS
# TODO: consider patching idVendor and idProduct for all class specific descriptions in Go code to cover more drivers.
# TODO: custom syz_usb_ep_write() descriptions for all class specific descriptions.
# TODO: consider adding custom vusb_connect_descriptors definitions to all class specific descriptions.
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
type usb_device_descriptor_verbose_t[USB, CLASS, SUBCLASS, PROTOCOL, PACKET, VENDOR, PRODUCT, DEVICE, CFS] {
bLength const[USB_DT_DEVICE_SIZE, int8]
bDescriptorType const[USB_DT_DEVICE, int8]
bcdUSB USB
bDeviceClass const[CLASS, int8]
bDeviceSubClass const[SUBCLASS, int8]
bDeviceProtocol const[PROTOCOL, int8]
bMaxPacketSize0 PACKET
idVendor const[VENDOR, int16]
idProduct const[PRODUCT, int16]
bcdDevice const[DEVICE, int16]
iManufacturer const[1, int8]
iProduct const[2, int8]
iSerialNumber const[3, int8]
bNumConfigurations len[configs, int8]
configs CFS
} [packed]
type usb_device_descriptor_t[CLASS, SUBCLASS, PROTOCOL, VENDOR, PRODUCT, DEVICE, CFS] usb_device_descriptor_verbose_t[flags[usb_versions, int16], CLASS, SUBCLASS, PROTOCOL, flags[usb_device_max_packet_sizes, int8], VENDOR, PRODUCT, DEVICE, CFS]
type usb_device_descriptor_fixed_t[USB, CLASS, SUBCLASS, PROTOCOL, PACKET, VENDOR, PRODUCT, DEVICE, CFS] usb_device_descriptor_verbose_t[const[USB, int16], CLASS, SUBCLASS, PROTOCOL, const[PACKET, int8], VENDOR, PRODUCT, DEVICE, CFS]
usb_versions = 0x110, 0x200, 0x201, 0x250, 0x300, 0x310
# https://elixir.bootlin.com/linux/v5.1.7/source/drivers/usb/core/hub.c#L4661
usb_device_max_packet_sizes = 8, 16, 32, 64, 255
type usb_config_descriptor_verbose_t[NUM, IFSNUM, ICONFIG, ATTRS, POWER, EXTRA, IFS] {
bLength const[USB_DT_CONFIG_SIZE, int8]
bDescriptorType const[USB_DT_CONFIG, int8]
wTotalLength len[parent, int16]
bNumInterfaces IFSNUM
bConfigurationValue NUM
iConfiguration ICONFIG
bmAttributes ATTRS
bMaxPower POWER
extra EXTRA
interfaces IFS
} [packed]
type usb_config_descriptor_t[NUM, IFSNUM, IFS] usb_config_descriptor_verbose_t[NUM, IFSNUM, int8, flags[usb_config_attributes, int8], int8, void, IFS]
type usb_config_descriptor_ifaces_array_t[NUM, IFS] usb_config_descriptor_t[NUM, len[interfaces, int8], IFS]
type usb_config_descriptor_fixed_t[NUM, IFSNUM, ATTRS, POWER, IFS] usb_config_descriptor_verbose_t[const[NUM, int8], const[IFSNUM, int8], const[0, int8], const[ATTRS, int8], const[POWER, int8], void, IFS]
type usb_config_descriptor_extra_t[NUM, IFSNUM, EXTRA, IFS] usb_config_descriptor_verbose_t[NUM, IFSNUM, int8, flags[usb_config_attributes, int8], int8, EXTRA, IFS]
type usb_interface_descriptor_verbose_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, IIF, EXTRA, EPS] {
bLength const[USB_DT_INTERFACE_SIZE, int8]
bDescriptorType const[USB_DT_INTERFACE, int8]
bInterfaceNumber IFNUM
bAlternateSetting ALTNUM
bNumEndpoints EPSNUM
bInterfaceClass CLASS
bInterfaceSubClass SUBCLASS
bInterfaceProtocol PROTOCOL
iInterface IIF
extra EXTRA
endpoints EPS
} [packed]
type usb_interface_descriptor_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS] usb_interface_descriptor_verbose_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, int8, EXTRA, EPS]
type usb_interface_descriptor_eps_array_t[IFNUM, ALTNUM, CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS] usb_interface_descriptor_t[IFNUM, ALTNUM, len[endpoints, int8], CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS]
type usb_interface_descriptor_fixed_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS] usb_interface_descriptor_verbose_t[const[IFNUM, int8], const[ALTNUM, int8], const[EPSNUM, int8], const[CLASS, int8], const[SUBCLASS, int8], const[PROTOCOL, int8], const[0, int8], EXTRA, EPS]
# TODO: non-audio endpoints have USB_DT_ENDPOINT_SIZE.
type usb_endpoint_descriptor_verbose_t[ADDR, ATTRS, PACKET, INTERVAL, REFRESH, SYNCH, EXTRA] {
bLength const[USB_DT_ENDPOINT_AUDIO_SIZE, int8]
bDescriptorType const[USB_DT_ENDPOINT, int8]
bEndpointAddress ADDR
bmAttributes ATTRS
wMaxPacketSize PACKET
bInterval INTERVAL
bRefresh REFRESH
bSynchAddress SYNCH
extra EXTRA
} [packed]
type usb_endpoint_descriptor_t[ADDR, ATTRS, EXTRA] usb_endpoint_descriptor_verbose_t[ADDR, ATTRS, flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, EXTRA]
type usb_endpoint_descriptor_fixed_t[ADDR, ATTRS, PACKET, INTERVAL, EXTRA] usb_endpoint_descriptor_verbose_t[const[ADDR, int8], const[ATTRS, int8], const[PACKET, int16], const[INTERVAL, int8], const[0, int8], const[0, int8], EXTRA]
# TODO: dummy driver has complex requirements for packet sizes, account for those:
# https://elixir.bootlin.com/linux/v5.3.6/source/drivers/usb/gadget/udc/dummy_hcd.c#L497
usb_endpoint_max_packet_sizes = 8, 16, 32, 64, 512, 1023, 1024
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Generic USB device, configuration, interface and endpoint descriptors.
# We only support one configuration per device.
# bDeviceClass, bDeviceSubClass, bDeviceProtocol, idVendor, idProduct
# and bcdDevice are patched by Go code, see sys/linux/init_vusb.go.
usb_device_descriptor {
inner usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]
} [packed]
usb_config_descriptor {
inner usb_config_descriptor_ifaces_array_t[int8, array[usb_interface_descriptor, 1:4]]
} [packed]
usb_config_attributes = USB_CONFIG_ATT_ONE, USB_CONFIG_ATT_SELFPOWER, USB_CONFIG_ATT_WAKEUP, USB_CONFIG_ATT_BATTERY
# bInterfaceNumber, bInterfaceClass, bInterfaceSubClass and bInterfaceProtocol
# are patched by Go code, see sys/linux/init_vusb.go.
usb_interface_descriptor {
inner usb_interface_descriptor_eps_array_t[int8, int8, const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]
} [packed]
usb_endpoint_descriptor {
inner usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]
} [packed]
usb_endpoint_addresses = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, USB_DIR_OUT, USB_DIR_IN
usb_endpoint_attributes = USB_ENDPOINT_XFER_CONTROL, USB_ENDPOINT_XFER_ISOC, USB_ENDPOINT_XFER_BULK, USB_ENDPOINT_XFER_INT, USB_ENDPOINT_INTR_PERIODIC, USB_ENDPOINT_INTR_NOTIFICATION, USB_ENDPOINT_SYNC_NONE, USB_ENDPOINT_SYNC_ASYNC, USB_ENDPOINT_SYNC_ADAPTIVE, USB_ENDPOINT_SYNC_SYNC, USB_ENDPOINT_USAGE_DATA, USB_ENDPOINT_USAGE_FEEDBACK, USB_ENDPOINT_USAGE_FEEDBACK
vusb_connect_descriptors {
qual_len len[qual, int32]
qual ptr[in, usb_qualifier_descriptor]
bos_len len[bos, int32]
bos ptr[in, usb_bos_descriptor]
strs_len len[strs, int32]
strs array[vusb_connect_string_descriptor]
} [packed]
vusb_connect_string_descriptor {
len len[str, int32]
str ptr[in, usb_string_descriptor]
} [packed]
vusb_descriptors {
len len[parent, int32]
generic ptr[in, vusb_descriptor_generic]
string ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_STRING, usb_string_descriptor]]
bos ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_BOS, usb_bos_descriptor]]
hub_hs ptr[in, vusb_descriptor_t[USB_TYPE_CLASS, USB_DT_HUB, usb_hub_descriptor_hs]]
hub_ss ptr[in, vusb_descriptor_t[USB_TYPE_CLASS, USB_DT_SS_HUB, usb_hub_descriptor_ss]]
} [packed]
vusb_descriptor_generic {
req_type flags[usb_request_types, int8]
desc_type flags[usb_descriptor_types, int8]
len bytesize[data, int32]
data usb_generic_descriptor
} [packed]
usb_request_types = USB_TYPE_STANDARD, USB_TYPE_CLASS, USB_TYPE_VENDOR
type vusb_descriptor_t[CLASS, REQ, DATA] {
type const[CLASS, int8]
req const[REQ, int8]
len bytesize[data, int32]
data DATA
} [packed]
# TODO: consider doing lookups based on USB_RECIP values.
vusb_responses {
len len[parent, int32]
generic ptr[in, vusb_response_generic]
get_interface ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]]
get_configuration ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]]
# TODO: move these into custom descriptions for hub class when they are added.
hub_USB_REQ_GET_STATUS_hub ptr[in, vusb_response_t[USB_TYPE_CLASS, USB_REQ_GET_STATUS, usb_hub_status]]
hub_USB_REQ_GET_STATUS_port ptr[in, vusb_response_t[USB_TYPE_CLASS, USB_REQ_GET_STATUS, usb_port_status]]
# TODO: move these into custom descriptions for asix driver when they are added.
asix_AX_CMD_READ_MII_REG ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_READ_MII_REG, int16]]
asix_AX_CMD_STATMNGSTS_REG ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_STATMNGSTS_REG, int8]]
asix_AX_CMD_READ_EEPROM ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_READ_EEPROM, array[int8, 2]]]
asix_AX_CMD_READ_RX_CTL ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_READ_RX_CTL, int16]]
asix_AX_CMD_READ_NODE_ID ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_READ_NODE_ID, mac_addr]]
asix_AX88172_CMD_READ_NODE_ID ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX88172_CMD_READ_NODE_ID, mac_addr]]
asix_AX_CMD_READ_PHY_ID ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_READ_PHY_ID, array[int8, 2]]]
asix_AX_CMD_READ_MEDIUM_STATUS ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_READ_MEDIUM_STATUS, int16]]
asix_AX_CMD_READ_MONITOR_MODE ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_READ_MONITOR_MODE, int8]]
asix_AX_CMD_READ_GPIOS ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_READ_GPIOS, int8]]
asix_AX_CMD_SW_PHY_STATUS ptr[in, vusb_response_t[USB_TYPE_VENDOR, AX_CMD_SW_PHY_STATUS, int8]]
} [packed]
vusb_response_generic {
type flags[usb_request_types, int8]
req flags[usb_requests, int8]
len bytesize[data, int32]
data array[int8, 0:256]
} [packed]
usb_requests = USB_REQ_GET_STATUS, USB_REQ_CLEAR_FEATURE, USB_REQ_SET_FEATURE, USB_REQ_SET_ADDRESS, USB_REQ_GET_DESCRIPTOR, USB_REQ_SET_DESCRIPTOR, USB_REQ_GET_CONFIGURATION, USB_REQ_SET_CONFIGURATION, USB_REQ_GET_INTERFACE, USB_REQ_SET_INTERFACE, USB_REQ_SYNCH_FRAME, USB_REQ_SET_SEL, USB_REQ_SET_ISOCH_DELAY, USB_REQ_SET_ENCRYPTION, USB_REQ_GET_ENCRYPTION, USB_REQ_RPIPE_ABORT, USB_REQ_SET_HANDSHAKE, USB_REQ_RPIPE_RESET, USB_REQ_GET_HANDSHAKE, USB_REQ_SET_CONNECTION, USB_REQ_SET_SECURITY_DATA, USB_REQ_GET_SECURITY_DATA, USB_REQ_SET_WUSB_DATA, USB_REQ_LOOPBACK_DATA_WRITE, USB_REQ_LOOPBACK_DATA_READ, USB_REQ_SET_INTERFACE_DS, USB_REQ_GET_PARTNER_PDO, USB_REQ_GET_BATTERY_STATUS, USB_REQ_SET_PDO, USB_REQ_GET_VDM, USB_REQ_SEND_VDM
type vusb_response_t[CLASS, REQ, DATA] {
type const[CLASS, int8]
req const[REQ, int8]
len bytesize[data, int32]
data DATA
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# USB descriptors requested by the kernel before the SET_CONFIGURATION request.
# TODO: figure out when is the USB_DT_OTG descriptor used.
# TODO: figure out when is the USB_DT_INTERFACE_ASSOCIATION descriptor used.
# TODO: figure out when is the USB_DT_BOS descriptor used.
type usb_string_descriptor_t[DATA] {
bLength len[parent, int8]
bDescriptorType const[USB_DT_STRING, int8]
data DATA
} [packed]
usb_string_descriptor [
lang_id usb_string_descriptor_t[flags[usb_lang_ids, int16]]
string usb_string_descriptor_t[array[int8, 0:256]]
] [varlen]
usb_lang_ids = 0x436, 0x41c, 0x401, 0x801, 0xc01, 0x1001, 0x1401, 0x1801, 0x1c01, 0x2001, 0x2401, 0x2801, 0x2c01, 0x3001, 0x3401, 0x3801, 0x3c01, 0x4001, 0x42b, 0x44d, 0x42c, 0x82c, 0x42d, 0x423, 0x445, 0x402, 0x455, 0x403, 0x404, 0x804, 0xc04, 0x1004, 0x1404, 0x41a, 0x405, 0x406, 0x413, 0x813, 0x409, 0x809, 0xc09, 0x1009, 0x1409, 0x1809, 0x1c09, 0x2009, 0x2409, 0x2809, 0x2c09, 0x3009, 0x3409, 0x425, 0x438, 0x429, 0x40b, 0x40c, 0x80c, 0xc0c, 0x100c, 0x140c, 0x180c, 0x437, 0x407, 0x807, 0xc07, 0x1007, 0x1407, 0x408, 0x447, 0x40d, 0x439, 0x40e, 0x40f, 0x421, 0x410, 0x810, 0x411, 0x44b, 0x860, 0x43f, 0x457, 0x412, 0x812, 0x426, 0x427, 0x827, 0x42f, 0x43e, 0x83e, 0x44c, 0x458, 0x44e, 0x861, 0x414, 0x814, 0x448, 0x415, 0x416, 0x816, 0x446, 0x418, 0x419, 0x44f, 0xc1a, 0x81a, 0x459, 0x41b, 0x424, 0x40a, 0x80a, 0xc0a, 0x100a, 0x140a, 0x180a, 0x1c0a, 0x200a, 0x240a, 0x280a, 0x2c0a, 0x300a, 0x340a, 0x380a, 0x3c0a, 0x400a, 0x440a, 0x480a, 0x4c0a, 0x500a, 0x430, 0x441, 0x41d, 0x81d, 0x449, 0x444, 0x44a, 0x41e, 0x41f, 0x422, 0x420, 0x820, 0x443, 0x843, 0x42a, 0x4ff, 0xf0ff, 0xf4ff, 0xf8ff, 0xfcff
usb_qualifier_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_DEVICE_QUALIFIER, int8]
bcdUSB flags[usb_versions, int16]
bDeviceClass int8
bDeviceSubClass int8
bDeviceProtocol int8
bMaxPacketSize0 flags[usb_device_max_packet_sizes, int8]
bNumConfigurations int8
bRESERVED const[0, int8]
} [packed]
usb_bos_descriptor {
bLength const[USB_DT_BOS_SIZE, int8]
bDescriptorType const[USB_DT_BOS, int8]
wTotalLength len[parent, int16]
bNumDeviceCaps len[caps, int8]
caps array[usb_dev_cap, 0:6]
} [packed]
usb_dev_cap [
generic usb_generic_cap_descriptor
wireless usb_wireless_cap_descriptor
ext_cap usb_ext_cap_descriptor
ss_cap usb_ss_cap_descriptor
ss_container_id usb_ss_container_id_descriptor
ssp_cap usb_ssp_cap_descriptor
ptm_cap usb_ptm_cap_descriptor
] [varlen]
usb_generic_cap_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_DEVICE_CAPABILITY, int8]
bDevCapabilityType flags[usb_capability_types, int8]
data array[int8, 0:256]
} [packed]
usb_capability_types = USB_CAP_TYPE_WIRELESS_USB, USB_CAP_TYPE_EXT, USB_SS_CAP_TYPE, USB_SSP_CAP_TYPE, CONTAINER_ID_TYPE, USB_PTM_CAP_TYPE
usb_wireless_cap_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_DEVICE_CAPABILITY, int8]
bDevCapabilityType const[USB_CAP_TYPE_WIRELESS_USB, int8]
bmAttributes flags[usb_wireless_cap_attributes, int8]
wPHYRates flags[usb_wireless_cap_phyrates, int16]
bmTFITXPowerInfo int8
bmFFITXPowerInfo int8
bmBandGroup int16
bReserved int8
} [packed]
usb_wireless_cap_attributes = USB_WIRELESS_P2P_DRD, USB_WIRELESS_BEACON_MASK, USB_WIRELESS_BEACON_SELF, USB_WIRELESS_BEACON_DIRECTED, USB_WIRELESS_BEACON_NONE
usb_wireless_cap_phyrates = USB_WIRELESS_PHY_53, USB_WIRELESS_PHY_80, USB_WIRELESS_PHY_107, USB_WIRELESS_PHY_160, USB_WIRELESS_PHY_200, USB_WIRELESS_PHY_320, USB_WIRELESS_PHY_400, USB_WIRELESS_PHY_480
usb_ext_cap_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_DEVICE_CAPABILITY, int8]
bDevCapabilityType const[USB_CAP_TYPE_EXT, int8]
bmAttributes1 flags[usb_ext_cap_attributes, int32:8]
bmAttributes2 int32:4
bmAttributes3 int32:4
bmAttributes4 int32:16
} [packed]
usb_ext_cap_attributes = USB_LPM_SUPPORT, USB_BESL_SUPPORT, USB_BESL_BASELINE_VALID, USB_BESL_DEEP_VALID
usb_ss_cap_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_DEVICE_CAPABILITY, int8]
bDevCapabilityType const[USB_SS_CAP_TYPE, int8]
bmAttributes flags[usb_ss_cap_attributes, int8]
wSpeedSupported flags[usb_ss_cap_speed, int16]
bFunctionalitySupport int8
bU1devExitLat int8
bU2DevExitLat int16
} [packed]
usb_ss_cap_attributes = USB_LTM_SUPPORT
usb_ss_cap_speed = USB_LOW_SPEED_OPERATION, USB_FULL_SPEED_OPERATION, USB_HIGH_SPEED_OPERATION, USB_5GBPS_OPERATION
usb_ss_container_id_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_DEVICE_CAPABILITY, int8]
bDevCapabilityType const[CONTAINER_ID_TYPE, int8]
bReserved int8
ContainerID array[int8, 16]
} [packed]
usb_ssp_cap_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_DEVICE_CAPABILITY, int8]
bDevCapabilityType const[USB_SSP_CAP_TYPE, int8]
bReserved int8
bmAttributesSublinkSpeeds len[bmSublinkSpeedAttr, int32:5]
bmAttributesSpeedIDs int32:27
wFunctionalitySupport flags[usb_ssp_cap_funcs, int16]
wReserved int16
bmSublinkSpeedAttr array[flags[usb_ssp_cap_sublink_speeds, int32], 0:6]
} [packed]
usb_ssp_cap_funcs = USB_SSP_MIN_SUBLINK_SPEED_ATTRIBUTE_ID, USB_SSP_MIN_RX_LANE_COUNT, USB_SSP_MIN_TX_LANE_COUNT
usb_ssp_cap_sublink_speeds = USB_SSP_SUBLINK_SPEED_SSID, USB_SSP_SUBLINK_SPEED_LSE, USB_SSP_SUBLINK_SPEED_ST, USB_SSP_SUBLINK_SPEED_RSVD, USB_SSP_SUBLINK_SPEED_LP, USB_SSP_SUBLINK_SPEED_LSM
usb_ptm_cap_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_DEVICE_CAPABILITY, int8]
bDevCapabilityType const[USB_PTM_CAP_TYPE, int8]
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Extra USB descriptors that come after an interface or an endpoint descriptor.
# TODO: consider removing class specific descriptors here for described classes.
usb_interface_extra_descriptor [
generic usb_generic_descriptor
hid_hid usb_hid_descriptor_hid
cdc_ecm usb_cdc_header_ecm
cdc_ncm usb_cdc_header_ncm
uac_control uac_control_iface_extra_descriptors
uac_as uac_as_iface_extra_descriptors
] [varlen]
usb_endpoint_extra_descriptor [
generic usb_generic_descriptor
uac_iso uac_iso_endpoint_descriptor
] [varlen]
usb_generic_descriptor {
bLength len[parent, int8]
bDescriptorType flags[usb_descriptor_types, int8]
data array[int8, 0:256]
} [packed]
usb_descriptor_types = USB_DT_DEVICE, USB_DT_CONFIG, USB_DT_STRING, USB_DT_INTERFACE, USB_DT_ENDPOINT, USB_DT_DEVICE_QUALIFIER, USB_DT_OTHER_SPEED_CONFIG, USB_DT_INTERFACE_POWER, USB_DT_OTG, USB_DT_DEBUG, USB_DT_INTERFACE_ASSOCIATION, USB_DT_SECURITY, USB_DT_KEY, USB_DT_ENCRYPTION_TYPE, USB_DT_BOS, USB_DT_DEVICE_CAPABILITY, USB_DT_WIRELESS_ENDPOINT_COMP, USB_DT_WIRE_ADAPTER, USB_DT_RPIPE, USB_DT_CS_RADIO_CONTROL, USB_DT_PIPE_USAGE, USB_DT_SS_ENDPOINT_COMP, USB_DT_SSP_ISOC_ENDPOINT_COMP, HID_DT_HID, HID_DT_REPORT, HID_DT_PHYSICAL
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# USB descriptors requested after the SET_CONFIGURATION request.
usb_hub_descriptor_hs {
bDescLength len[parent, int8]
bDescriptorType const[USB_DT_HUB, int8]
bNbrPorts int8
wHubCharacteristics flags[usb_hub_characteristics, int16]
bPwrOn2PwrGood int8
bHubContrCurrent int8
DeviceRemovable array[int8, USB_HUB_PORTS_BITS]
PortPwrCtrlMask array[int8, USB_HUB_PORTS_BITS]
} [packed]
usb_hub_descriptor_ss {
bDescLength len[parent, int8]
bDescriptorType const[USB_DT_SS_HUB, int8]
bNbrPorts int8
wHubCharacteristics flags[usb_hub_characteristics, int16]
bPwrOn2PwrGood int8
bHubContrCurrent int8
bHubHdrDecLat int8
wHubDelay int16
DeviceRemovable int16
} [packed]
define USB_HUB_PORTS_BITS ((USB_MAXCHILDREN + 1 + 7) / 8)
usb_hub_characteristics = HUB_CHAR_LPSM, HUB_CHAR_COMMON_LPSM, HUB_CHAR_INDV_PORT_LPSM, HUB_CHAR_NO_LPSM, HUB_CHAR_COMPOUND, HUB_CHAR_OCPM, HUB_CHAR_COMMON_OCPM, HUB_CHAR_INDV_PORT_OCPM, HUB_CHAR_NO_OCPM, HUB_CHAR_TTTT, HUB_CHAR_PORTIND
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Replies to USB control requests requested after the SET_CONFIGURATION request.
usb_port_status {
wPortStatus flags[usb_port_status_flags, int16]
wPortChange flags[usb_port_change_flags, int16]
dwExtPortStatus array[flags[usb_ext_port_status_flags, int32], 0:1]
} [packed]
usb_port_status_flags = USB_PORT_STAT_CONNECTION, USB_PORT_STAT_ENABLE, USB_PORT_STAT_SUSPEND, USB_PORT_STAT_OVERCURRENT, USB_PORT_STAT_RESET, USB_PORT_STAT_L1, USB_PORT_STAT_POWER, USB_PORT_STAT_LOW_SPEED, USB_PORT_STAT_HIGH_SPEED, USB_PORT_STAT_TEST, USB_PORT_STAT_INDICATOR, USB_PORT_STAT_LINK_STATE, USB_SS_PORT_STAT_POWER, USB_SS_PORT_STAT_SPEED, USB_PORT_STAT_SPEED_5GBPS, USB_SS_PORT_LS_U0, USB_SS_PORT_LS_U1, USB_SS_PORT_LS_U2, USB_SS_PORT_LS_U3, USB_SS_PORT_LS_SS_DISABLED, USB_SS_PORT_LS_RX_DETECT, USB_SS_PORT_LS_SS_INACTIVE, USB_SS_PORT_LS_POLLING, USB_SS_PORT_LS_RECOVERY, USB_SS_PORT_LS_HOT_RESET, USB_SS_PORT_LS_COMP_MOD, USB_SS_PORT_LS_LOOPBACK
usb_port_change_flags = USB_PORT_STAT_C_CONNECTION, USB_PORT_STAT_C_ENABLE, USB_PORT_STAT_C_SUSPEND, USB_PORT_STAT_C_OVERCURRENT, USB_PORT_STAT_C_RESET, USB_PORT_STAT_C_L1, USB_PORT_STAT_C_BH_RESET, USB_PORT_STAT_C_LINK_STATE, USB_PORT_STAT_C_CONFIG_ERROR
usb_ext_port_status_flags = USB_EXT_PORT_STAT_RX_SPEED_ID, USB_EXT_PORT_STAT_TX_SPEED_ID, USB_EXT_PORT_STAT_RX_LANES, USB_EXT_PORT_STAT_TX_LANES
usb_hub_status {
wHubStatus flags[usb_hub_status_flags, int16]
wHubChange flags[usb_hub_change_flags, int16]
} [packed]
usb_hub_status_flags = HUB_STATUS_LOCAL_POWER, HUB_STATUS_OVERCURRENT
usb_hub_change_flags = HUB_CHANGE_LOCAL_POWER, HUB_CHANGE_OVERCURRENT
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# HID device class specific descriptions.
# https://www.usb.org/sites/default/files/documents/hid1_11.pdf
# https://elixir.bootlin.com/linux/latest/source/drivers/hid/usbhid/hid-core.c
# https://elixir.bootlin.com/linux/latest/source/drivers/hid/hid-core.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/legacy/hid.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_hid.c
# Connected HID devices are known to create the following /dev/ files:
# /dev/hidraw#, /dev/usb/hiddev# and /dev/input/event#.
resource fd_usb_hid[fd_usb]
syz_usb_connect$hid(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_hid], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_hid (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$hid(fd fd_usb_hid, descs ptr[in, vusb_descriptors_hid], resps ptr[in, vusb_responses_hid]) (timeout[300], remote_cover)
# idVendor and idProduct are patched by Go code, see sys/linux/init_vusb.go.
usb_device_descriptor_hid {
inner usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]
} [packed]
usb_config_descriptor_hid {
inner usb_config_descriptor_ifaces_array_t[const[1, int8], array[usb_interface_descriptor_hid, 1]]
} [packed]
usb_interface_descriptor_hid {
inner usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]
} [packed]
usb_hid_protocols = USB_INTERFACE_PROTOCOL_KEYBOARD, USB_INTERFACE_PROTOCOL_MOUSE
usb_endpoint_descriptors_hid {
in usb_endpoint_descriptor_hid_in
out array[usb_endpoint_descriptor_hid_out, 0:1]
} [packed]
usb_endpoint_descriptor_hid_in {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]
} [packed]
usb_endpoint_descriptor_hid_out {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]
} [packed]
define USB_ENDPOINT_HID_ATTRIBUTES (USB_ENDPOINT_XFER_INT)
define USB_ENDPOINT_HID_IN_ADDRESS (1 | USB_DIR_IN)
define USB_ENDPOINT_HID_OUT_ADDRESS (2)
vusb_descriptors_hid {
len len[parent, int32]
generic ptr[in, vusb_descriptor_generic]
USB_DT_STRING ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_STRING, usb_string_descriptor]]
# For unknown reasons these are requested as USB_TYPE_STANDARD and not as USB_TYPE_CLASS.
# Linux doesn't request HID_DT_HID, but some hosts might do that.
HID_DT_REPORT ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, HID_DT_REPORT, hid_descriptor_report]]
HID_DT_HID ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, HID_DT_HID, usb_hid_descriptor_hid]]
} [packed]
vusb_responses_hid {
len len[parent, int32]
generic ptr[in, vusb_response_generic]
USB_REQ_GET_INTERFACE ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]]
USB_REQ_GET_CONFIGURATION ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]]
HID_REQ_GET_REPORT ptr[in, vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]]
HID_REQ_GET_PROTOCOL ptr[in, vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]]
} [packed]
# USB HID specifications allows for multiple report and physical descriptors
# to be present, but I don't see any support for them in the Linux kernel,
# except for a single report descriptor.
usb_hid_descriptor_hid {
bLength len[parent, int8]
bDescriptorType const[HID_DT_HID, int8]
bcdHID int16
bCountryCode int8
bNumDescriptors const[1, int8]
report_desc usb_hid_class_descriptor_report
} [packed]
usb_hid_class_descriptor_report {
bDescriptorType const[HID_DT_REPORT, int8]
wDescriptorLength int16[0:HID_MAX_DESCRIPTOR_SIZE]
} [packed]
# TODO: it's hard to describe the REPORT descriptor structure via syzkaller
# descriptions, so consider generating it in Go code.
# TODO: the length of REPORT descriptor must match the value in HID descriptor.
# TODO: there are vendor specific REPORT descriptor formats (Logitech HID++).
# Linux HID stack doesn't support long items.
hid_descriptor_report {
items array[hid_report_item_short]
} [packed]
type hid_report_item_short_012_t[TYPE, TAGS] {
bSize len[data, int8:2]
bType const[TYPE, int8:2]
bTag flags[TAGS, int8:4]
data array[int8, 0:2]
} [packed]
type hid_report_item_short_4_t[TYPE, TAGS] {
bSize const[3, int8:2]
bType const[TYPE, int8:2]
bTag flags[TAGS, int8:4]
data array[int8, 4]
} [packed]
type hid_report_item_short_t[TYPE, TAGS] [
item_012 hid_report_item_short_012_t[TYPE, TAGS]
item_4 hid_report_item_short_4_t[TYPE, TAGS]
] [varlen]
hid_report_item_short [
main hid_report_item_short_t[HID_ITEM_TYPE_MAIN, hid_report_item_main_tags]
global hid_report_item_short_t[HID_ITEM_TYPE_GLOBAL, hid_report_item_global_tags]
local hid_report_item_short_t[HID_ITEM_TYPE_LOCAL, hid_report_item_local_tags]
] [varlen]
hid_report_item_main_tags = HID_MAIN_ITEM_TAG_INPUT, HID_MAIN_ITEM_TAG_OUTPUT, HID_MAIN_ITEM_TAG_FEATURE, HID_MAIN_ITEM_TAG_BEGIN_COLLECTION, HID_MAIN_ITEM_TAG_END_COLLECTION
hid_report_item_global_tags = HID_GLOBAL_ITEM_TAG_USAGE_PAGE, HID_GLOBAL_ITEM_TAG_LOGICAL_MINIMUM, HID_GLOBAL_ITEM_TAG_LOGICAL_MAXIMUM, HID_GLOBAL_ITEM_TAG_PHYSICAL_MINIMUM, HID_GLOBAL_ITEM_TAG_PHYSICAL_MAXIMUM, HID_GLOBAL_ITEM_TAG_UNIT_EXPONENT, HID_GLOBAL_ITEM_TAG_UNIT, HID_GLOBAL_ITEM_TAG_REPORT_SIZE, HID_GLOBAL_ITEM_TAG_REPORT_ID, HID_GLOBAL_ITEM_TAG_REPORT_COUNT, HID_GLOBAL_ITEM_TAG_PUSH, HID_GLOBAL_ITEM_TAG_POP
hid_report_item_local_tags = HID_LOCAL_ITEM_TAG_USAGE, HID_LOCAL_ITEM_TAG_USAGE_MINIMUM, HID_LOCAL_ITEM_TAG_USAGE_MAXIMUM, HID_LOCAL_ITEM_TAG_DESIGNATOR_INDEX, HID_LOCAL_ITEM_TAG_DESIGNATOR_MINIMUM, HID_LOCAL_ITEM_TAG_DESIGNATOR_MAXIMUM, HID_LOCAL_ITEM_TAG_STRING_INDEX, HID_LOCAL_ITEM_TAG_STRING_MINIMUM, HID_LOCAL_ITEM_TAG_STRING_MAXIMUM, HID_LOCAL_ITEM_TAG_DELIMITER
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# PRINTER device class specific descriptions.
# https://www.usb.org/sites/default/files/usbprint11a021811.pdf
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/class/usblp.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/legacy/printer.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_printer.c
# Connected PRINTER devices are known to create the following /dev/ files:
# /dev/usb/lp#.
# TODO: write descriptions for those.
# drivers/usb/class/usblp.c
define USBLP_REQ_GET_ID 0x00
define USBLP_REQ_GET_STATUS 0x01
define USBLP_REQ_RESET 0x02
define USBLP_REQ_HP_CHANNEL_CHANGE_REQUEST 0x00
define USBLP_FIRST_PROTOCOL 1
define USBLP_LAST_PROTOCOL 3
resource fd_usb_printer[fd_usb]
syz_usb_connect$printer(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_printer], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_printer (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$printer(fd fd_usb_printer, descs ptr[in, vusb_descriptors_printer], resps ptr[in, vusb_responses_printer]) (timeout[300], remote_cover)
usb_device_descriptor_printer {
inner usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]
} [packed]
usb_config_descriptor_printer {
inner usb_config_descriptor_ifaces_array_t[const[1, int8], array[usb_interface_descriptor_printer, 1]]
} [packed]
usb_interface_descriptor_printer {
inner usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]
} [packed]
usb_endpoint_descriptors_printer {
in usb_endpoint_descriptor_printer_out
out array[usb_endpoint_descriptor_printer_in, 0:1]
} [packed]
usb_endpoint_descriptor_printer_out {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]
} [packed]
usb_endpoint_descriptor_printer_in {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]
} [packed]
define USB_ENDPOINT_PRINTER_ATTRIBUTES (USB_ENDPOINT_XFER_BULK)
define USB_ENDPOINT_PRINTER_OUT_ADDRESS (1)
define USB_ENDPOINT_PRINTER_IN_ADDRESS (2 | USB_DIR_IN)
vusb_descriptors_printer {
len len[parent, int32]
generic ptr[in, vusb_descriptor_generic]
USB_DT_STRING ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_STRING, usb_string_descriptor]]
} [packed]
vusb_responses_printer {
len len[parent, int32]
generic ptr[in, vusb_response_generic]
USB_REQ_GET_INTERFACE ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]]
USB_REQ_GET_CONFIGURATION ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]]
USBLP_REQ_GET_ID ptr[in, vusb_response_t[USB_TYPE_CLASS, USBLP_REQ_GET_ID, usb_printer_get_id_response]]
USBLP_REQ_GET_STATUS ptr[in, vusb_response_t[USB_TYPE_CLASS, USBLP_REQ_GET_STATUS, int8]]
USBLP_REQ_HP_CHANNEL_CHANGE_REQUEST ptr[in, vusb_response_t[USB_TYPE_CLASS, USBLP_REQ_HP_CHANNEL_CHANGE_REQUEST, int8]]
} [packed]
usb_printer_get_id_response {
length len[id, int16be]
id array[int8, 0:256]
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# CDC ECM (Ethernet) device class specific descriptions.
# https://www.usb.org/document-library/class-definitions-communication-devices-12
# https://elixir.bootlin.com/linux/latest/source/drivers/net/usb/cdc_ether.c
# https://elixir.bootlin.com/linux/latest/source/drivers/net/usb/usbnet.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/legacy/ether.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_ecm.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/u_ether.c
# Connected CDC ECM devices are known to create usbN network interfaces.
# TODO: write descriptions for those.
resource fd_usb_cdc_ecm[fd_usb]
syz_usb_connect$cdc_ecm(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_cdc_ecm], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_cdc_ecm (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$cdc_ecm(fd fd_usb_cdc_ecm, descs ptr[in, vusb_descriptors_cdc_ecm], resps ptr[in, vusb_responses_cdc_ecm]) (timeout[300], remote_cover)
usb_device_descriptor_cdc_ecm {
inner usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]
} [packed]
usb_config_descriptor_cdc_ecm {
inner usb_config_descriptor_ifaces_array_t[const[1, int8], array[usb_interface_descriptor_cdc_ecm, 1]]
} [packed]
# Per specification CDC ECM devices have two interfaces (control and data),
# but here we're merging them into one for simplicity since Linux supports that.
usb_interface_descriptor_cdc_ecm {
inner usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]
} [packed]
usb_endpoint_descriptors_cdc_ecm {
notify array[usb_endpoint_descriptor_cdc_ecm_notify, 0:1]
in usb_endpoint_descriptor_cdc_ecm_in
out usb_endpoint_descriptor_cdc_ecm_out
} [packed]
usb_endpoint_descriptor_cdc_ecm_notify {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]
} [packed]
usb_endpoint_descriptor_cdc_ecm_in {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]
} [packed]
usb_endpoint_descriptor_cdc_ecm_out {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]
} [packed]
define USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES (USB_ENDPOINT_XFER_INT)
define USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES (USB_ENDPOINT_XFER_BULK)
define USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS (1 | USB_DIR_IN)
define USB_ENDPOINT_CDC_ECM_IN_ADDRESS (2 | USB_DIR_IN)
define USB_ENDPOINT_CDC_ECM_OUT_ADDRESS (3)
# https://elixir.bootlin.com/linux/v5.2.7/source/drivers/usb/core/message.c#L2137
# https://elixir.bootlin.com/linux/v5.2.7/source/drivers/net/usb/cdc_ether.c#L155
usb_cdc_header_ecm {
union usb_cdc_union_desc_t[0, 0]
header usb_cdc_header_desc
ether usb_cdc_ether_desc
other array[usb_cdc_header_ecm_other, 0:6]
} [packed]
usb_cdc_header_ecm_other [
call_mgmt usb_cdc_call_mgmt_descriptor
acm usb_cdc_acm_descriptor
country_functional usb_cdc_country_functional_desc
network_terminal usb_cdc_network_terminal_desc
dmm usb_cdc_dmm_desc
mdlm usb_cdc_mdlm_desc
mdlm_detail usb_cdc_mdlm_detail_desc
obex usb_cdc_obex_desc
ncm usb_cdc_ncm_desc
mbim usb_cdc_mbim_desc
mbim_extended usb_cdc_mbim_extended_desc
] [varlen]
usb_cdc_header_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_HEADER_TYPE, int8]
bcdCDC int16
} [packed]
usb_cdc_call_mgmt_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_CALL_MANAGEMENT_TYPE, int8]
bmCapabilities flags[usb_cdc_call_mgmt_caps, int8]
bDataInterface int8
} [packed]
usb_cdc_call_mgmt_caps = USB_CDC_CALL_MGMT_CAP_CALL_MGMT, USB_CDC_CALL_MGMT_CAP_DATA_INTF
usb_cdc_acm_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_ACM_TYPE, int8]
bmCapabilities flags[usb_cdc_acm_caps, int8]
} [packed]
usb_cdc_acm_caps = USB_CDC_COMM_FEATURE, USB_CDC_CAP_LINE, USB_CDC_CAP_BRK, USB_CDC_CAP_NOTIFY
type usb_cdc_union_desc_t[MASTER, SLAVE] {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_UNION_TYPE, int8]
bMasterInterface0 const[MASTER, int8]
bSlaveInterface0 const[SLAVE, int8]
slave_interfaces array[int8, 0:6]
} [packed]
usb_cdc_country_functional_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_COUNTRY_TYPE, int8]
iCountryCodeRelDate int8
wCountyCode0 int16
country_codes array[int16, 0:6]
} [packed]
usb_cdc_network_terminal_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_NETWORK_TERMINAL_TYPE, int8]
bEntityId int8
iName int8
bChannelIndex int8
bPhysicalInterface int8
} [packed]
usb_cdc_ether_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_ETHERNET_TYPE, int8]
iMACAddress const[1, int8]
bmEthernetStatistics int32
wMaxSegmentSize int16
wNumberMCFilters int16
bNumberPowerFilters int8
} [packed]
usb_cdc_dmm_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_DMM_TYPE, int8]
bcdVersion int16
wMaxCommand int16
} [packed]
usb_cdc_mdlm_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_MDLM_TYPE, int8]
bcdVersion int16
bGUID usb_cdc_ecm_mbm_guid
} [packed]
# https://elixir.bootlin.com/linux/v5.2.7/source/drivers/net/usb/cdc_ether.c#L61
usb_cdc_ecm_mbm_guid {
id0 const[0x14f5e048ba817a3, int64]
id1 const[0x2a397ecbffc007a6, int64]
} [packed]
usb_cdc_mdlm_detail_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_MDLM_DETAIL_TYPE, int8]
bGuidDescriptorType int8
bDetailData array[int8, 0:256]
} [packed]
usb_cdc_obex_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_OBEX_TYPE, int8]
bcdVersion int16
} [packed]
usb_cdc_ncm_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_NCM_TYPE, int8]
bcdNcmVersion int16
bmNetworkCapabilities flags[usb_cdc_ncm_ncaps, int8]
} [packed]
usb_cdc_ncm_ncaps = USB_CDC_NCM_NCAP_ETH_FILTER, USB_CDC_NCM_NCAP_NET_ADDRESS, USB_CDC_NCM_NCAP_ENCAP_COMMAND, USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE, USB_CDC_NCM_NCAP_CRC_MODE, USB_CDC_NCM_NCAP_NTB_INPUT_SIZE
usb_cdc_mbim_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_MBIM_TYPE, int8]
bcdMBIMVersion int16
wMaxControlMessage int16
bNumberFilters int8
bMaxFilterSize int8
wMaxSegmentSize int16
bmNetworkCapabilities int8
} [packed]
usb_cdc_mbim_extended_desc {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[USB_CDC_MBIM_EXTENDED_TYPE, int8]
bcdMBIMExtendedVersion int16
bMaxOutstandingCommandMessages int8
wMTU int16
} [packed]
vusb_descriptors_cdc_ecm {
len len[parent, int32]
generic ptr[in, vusb_descriptor_generic]
# https://elixir.bootlin.com/linux/v5.2.7/source/drivers/net/usb/usbnet.c#L147
USB_DT_STRING ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_STRING, usb_string_descriptor_t[usb_cdc_ecm_mac]]]
} [packed]
usb_cdc_ecm_mac {
# This is a UTF16 encoded string "424242424242".
data0 const[0x3400320034003200, int64be]
data1 const[0x3400320034003200, int64be]
data2 const[0x3400320034003200, int64be]
} [packed]
vusb_responses_cdc_ecm {
len len[parent, int32]
generic ptr[in, vusb_response_generic]
USB_REQ_GET_INTERFACE ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]]
USB_REQ_GET_CONFIGURATION ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]]
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# CDC NCM class specific descriptions.
# CDC NCM is based on CDC ECM, so some of the descriptions are reused.
# https://www.usb.org/document-library/network-control-model-devices-specification-v10-and-errata-and-adopters-agreement
# https://elixir.bootlin.com/linux/latest/source/drivers/net/usb/cdc_ncm.c
# https://elixir.bootlin.com/linux/latest/source/drivers/net/usb/usbnet.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/legacy/ncm.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_ncm.c
resource fd_usb_cdc_ncm[fd_usb]
syz_usb_connect$cdc_ncm(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_cdc_ncm], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_cdc_ncm (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$cdc_ncm(fd fd_usb_cdc_ncm, descs ptr[in, vusb_descriptors_cdc_ncm], resps ptr[in, vusb_responses_cdc_ncm]) (timeout[300], remote_cover)
usb_device_descriptor_cdc_ncm {
inner usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]
} [packed]
usb_config_descriptor_cdc_ncm {
inner usb_config_descriptor_t[const[1, int8], const[2, int8], usb_interface_descriptors_cdc_ncm]
} [packed]
usb_interface_descriptors_cdc_ncm {
control usb_interface_descriptor_fixed_t[0, CDC_NCM_COMM_ALTSETTING_NCM, 1, USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE, usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]
data_nop usb_interface_descriptor_fixed_t[1, 0, 0, USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE, void, void]
data usb_interface_descriptor_fixed_t[1, CDC_NCM_DATA_ALTSETTING_NCM, 2, USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE, void, usb_endpoint_descriptors_cdc_ncm_data]
} [packed]
usb_endpoint_descriptors_cdc_ncm_data {
in usb_endpoint_descriptor_cdc_ecm_in
out usb_endpoint_descriptor_cdc_ecm_out
} [packed]
# https://elixir.bootlin.com/linux/v5.2.7/source/drivers/usb/core/message.c#L2137
# https://elixir.bootlin.com/linux/v5.2.7/source/drivers/net/usb/cdc_ncm.c#L798
usb_cdc_header_ncm {
union usb_cdc_union_desc_t[0, 1]
header usb_cdc_header_desc
ether usb_cdc_ether_desc
ncm usb_cdc_ncm_desc
other array[usb_cdc_header_ncm_other, 0:6]
} [packed]
usb_cdc_header_ncm_other [
call_mgmt usb_cdc_call_mgmt_descriptor
acm usb_cdc_acm_descriptor
country_functional usb_cdc_country_functional_desc
network_terminal usb_cdc_network_terminal_desc
dmm usb_cdc_dmm_desc
mdlm usb_cdc_mdlm_desc
mdlm_detail usb_cdc_mdlm_detail_desc
obex usb_cdc_obex_desc
mbim usb_cdc_mbim_desc
mbim_extended usb_cdc_mbim_extended_desc
] [varlen]
vusb_descriptors_cdc_ncm {
len len[parent, int32]
generic ptr[in, vusb_descriptor_generic]
# https://elixir.bootlin.com/linux/v5.2.7/source/drivers/net/usb/usbnet.c#L147
USB_DT_STRING ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_STRING, usb_string_descriptor_t[usb_cdc_ecm_mac]]]
} [packed]
vusb_responses_cdc_ncm {
len len[parent, int32]
generic ptr[in, vusb_response_generic]
USB_REQ_GET_INTERFACE ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]]
USB_REQ_GET_CONFIGURATION ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]]
USB_CDC_GET_NTB_PARAMETERS ptr[in, vusb_response_t[USB_TYPE_CLASS, USB_CDC_GET_NTB_PARAMETERS, usb_cdc_ncm_ntb_parameters]]
USB_CDC_GET_NTB_INPUT_SIZE ptr[in, vusb_response_t[USB_TYPE_CLASS, USB_CDC_GET_NTB_INPUT_SIZE, int32]]
USB_CDC_GET_NTB_FORMAT ptr[in, vusb_response_t[USB_TYPE_CLASS, USB_CDC_GET_NTB_FORMAT, int16[0:1]]]
USB_CDC_GET_MAX_DATAGRAM_SIZE ptr[in, vusb_response_t[USB_TYPE_CLASS, USB_CDC_GET_MAX_DATAGRAM_SIZE, int16]]
USB_CDC_GET_CRC_MODE ptr[in, vusb_response_t[USB_TYPE_CLASS, USB_CDC_GET_CRC_MODE, int16[0:1]]]
} [packed]
usb_cdc_ncm_ntb_parameters {
wLength int16
bmNtbFormatsSupported int16
dwNtbInMaxSize int32
wNdpInDivisor int16
wNdpInPayloadRemainder int16
wNdpInAlignment int16
wPadding1 int16
dwNtbOutMaxSize int32
wNdpOutDivisor int16
wNdpOutPayloadRemainder int16
wNdpOutAlignment int16
wNtbOutMaxDatagrams int16
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# UAC1 device class specific descriptions.
# https://www.usb.org/sites/default/files/audio10.pdf
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/legacy/audio.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_uac1.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_uac1_legacy.c
# https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/usb/audio.h
# TODO: find out which /dev/ files are created by connected UAC1 devices and add descriptions for those.
resource fd_usb_uac1[fd_usb]
syz_usb_connect$uac1(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_uac1], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_uac1 (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$uac1(fd fd_usb_uac1, descs ptr[in, vusb_descriptors_uac1], resps ptr[in, vusb_responses_uac1]) (timeout[300], remote_cover)
usb_device_descriptor_uac1 {
inner usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]
} [packed]
usb_config_descriptor_uac1 {
inner usb_config_descriptor_t[const[1, int8], const[3, int8], usb_interface_descriptors_uac1]
} [packed]
# TODO: control interface might have and optional interrupt endpoint.
usb_interface_descriptors_uac1 {
inner usb_interface_descriptors_uac1_inner
} [packed]
# Define folded-in structure to match layout expected by USB ID patching code.
usb_interface_descriptors_uac1_inner {
control usb_interface_descriptor_fixed_t[0, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOCONTROL, 0, uac_control_iface_extra_descriptors, void]
as_out_alt_0 usb_interface_descriptor_fixed_t[1, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, void, void]
as_out_alt_1 usb_interface_descriptor_fixed_t[1, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]
as_in_alt_0 usb_interface_descriptor_fixed_t[2, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, void, void]
as_in_alt_1 usb_interface_descriptor_fixed_t[2, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# UAC uses IDs to make it possible for terminals and units to refer to each other.
# We don't have a way to describe this, so just use a limited number of ids.
type uac_id int8[1:6]
uac_control_iface_extra_descriptors {
header uac1_ac_header_descriptor
others array[uac_control_iface_extra_descriptor, 0:6]
} [packed]
uac1_ac_header_descriptor {
bLength const[UAC_DT_AC_HEADER_LENGTH, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_HEADER, int8]
bcdADC int16
wTotalLength len[uac_control_iface_extra_descriptors, int16]
bInCollection const[F_AUDIO_NUM_INTERFACES, int8]
# These must match interfaces numbers.
baInterfaceNr0 const[1, int8]
baInterfaceNr1 const[2, int8]
} [packed]
uac_control_iface_extra_descriptor [
input_terminal uac_input_terminal_descriptor
output_terminal uac1_output_terminal_descriptor
mixer_unit uac_mixer_unit_descriptor
selector_unit uac_selector_unit_descriptor
feature_unit uac_feature_unit_descriptor
processing_unit uac_processing_unit_descriptor
extension_unit uac_extension_unit_descriptor
] [varlen]
define F_AUDIO_NUM_INTERFACES 2
define UAC_DT_AC_HEADER_LENGTH UAC_DT_AC_HEADER_SIZE(F_AUDIO_NUM_INTERFACES)
uac_input_terminal_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_INPUT_TERMINAL, int8]
bTerminalID uac_id
wTerminalType flags[uac_input_terminal_types, int16]
bAssocTerminal uac_id
bNrChannels int8
wChannelConfig int16
iChannelNames int8
iTerminal int8
} [packed]
# The following list contains input terminal types and inout terminal types.
uac_input_terminal_types = UAC_TERMINAL_UNDEFINED, UAC_TERMINAL_STREAMING, UAC_TERMINAL_VENDOR_SPEC, UAC_INPUT_TERMINAL_UNDEFINED, UAC_INPUT_TERMINAL_MICROPHONE, UAC_INPUT_TERMINAL_DESKTOP_MICROPHONE, UAC_INPUT_TERMINAL_PERSONAL_MICROPHONE, UAC_INPUT_TERMINAL_OMNI_DIR_MICROPHONE, UAC_INPUT_TERMINAL_MICROPHONE_ARRAY, UAC_INPUT_TERMINAL_PROC_MICROPHONE_ARRAY, UAC_BIDIR_TERMINAL_UNDEFINED, UAC_BIDIR_TERMINAL_HANDSET, UAC_BIDIR_TERMINAL_HEADSET, UAC_BIDIR_TERMINAL_SPEAKER_PHONE, UAC_BIDIR_TERMINAL_ECHO_SUPPRESSING, UAC_BIDIR_TERMINAL_ECHO_CANCELING
# The following list contains output terminal types and inout terminal types.
uac_output_terminal_types = UAC_TERMINAL_UNDEFINED, UAC_TERMINAL_STREAMING, UAC_TERMINAL_VENDOR_SPEC, UAC_OUTPUT_TERMINAL_UNDEFINED, UAC_OUTPUT_TERMINAL_SPEAKER, UAC_OUTPUT_TERMINAL_HEADPHONES, UAC_OUTPUT_TERMINAL_HEAD_MOUNTED_DISPLAY_AUDIO, UAC_OUTPUT_TERMINAL_DESKTOP_SPEAKER, UAC_OUTPUT_TERMINAL_ROOM_SPEAKER, UAC_OUTPUT_TERMINAL_COMMUNICATION_SPEAKER, UAC_OUTPUT_TERMINAL_LOW_FREQ_EFFECTS_SPEAKER, UAC_BIDIR_TERMINAL_UNDEFINED, UAC_BIDIR_TERMINAL_HANDSET, UAC_BIDIR_TERMINAL_HEADSET, UAC_BIDIR_TERMINAL_SPEAKER_PHONE, UAC_BIDIR_TERMINAL_ECHO_SUPPRESSING, UAC_BIDIR_TERMINAL_ECHO_CANCELING
uac1_output_terminal_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_OUTPUT_TERMINAL, int8]
bTerminalID uac_id
wTerminalType flags[uac_output_terminal_types, int16]
bAssocTerminal uac_id
bSourceID uac_id
iTerminal int8
} [packed]
uac_mixer_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_MIXER_UNIT, int8]
bUnitID uac_id
bNrInPins int8
baSourceID array[int8, 0:6]
} [packed]
uac_selector_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_SELECTOR_UNIT, int8]
bUnitID uac_id
bNrInPins int8
baSourceID array[int8, 0:6]
} [packed]
uac_feature_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_FEATURE_UNIT, int8]
bUnitID uac_id
bSourceID uac_id
bControlSize len[bmaControls, int8]
bmaControls array[flags[uac_feature_unit_controls, int16], 1:6]
iFeature int8
} [packed]
uac_feature_unit_controls = UAC_FU_MUTE, UAC_FU_VOLUME, UAC_FU_BASS, UAC_FU_MID, UAC_FU_TREBLE, UAC_FU_GRAPHIC_EQUALIZER, UAC_FU_AUTOMATIC_GAIN, UAC_FU_DELAY, UAC_FU_BASS_BOOST, UAC_FU_LOUDNESS
uac_processing_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC1_PROCESSING_UNIT, int8]
bUnitID uac_id
wProcessType flags[uac_processing_unit_types, int16]
bNrInPins int8
baSourceID array[int8, 0:6]
} [packed]
uac_processing_unit_types = UAC_PROCESS_UNDEFINED, UAC_PROCESS_UP_DOWNMIX, UAC_PROCESS_DOLBY_PROLOGIC, UAC_PROCESS_STEREO_EXTENDER, UAC_PROCESS_REVERB, UAC_PROCESS_CHORUS, UAC_PROCESS_DYN_RANGE_COMP
uac_extension_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC1_EXTENSION_UNIT, int8]
bUnitID uac_id
wProcessType int16
bNrInPins int8
baSourceID array[int8, 0:6]
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
uac_as_iface_extra_descriptors {
others array[uac_as_iface_extra_descriptor, 0:6]
} [packed]
uac_as_iface_extra_descriptor [
as_header uac1_as_header_descriptor
format_type_i_continuous uac_format_type_i_continuous_descriptor
format_type_i_discrete uac_format_type_i_discrete_descriptor
format_type_ii_discrete uac_format_type_ii_discrete_descriptor
format_type_ii_ext uac_format_type_ii_ext_descriptor
format_type_i_ext uac_format_type_i_ext_descriptor
] [varlen]
uac1_as_header_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_AS_GENERAL, int8]
bTerminalLink int8
bDelay int8
wFormatTag flags[uac_format_tags, int16]
} [packed]
uac_format_tags = UAC_FORMAT_TYPE_I_UNDEFINED, UAC_FORMAT_TYPE_I_PCM, UAC_FORMAT_TYPE_I_PCM8, UAC_FORMAT_TYPE_I_IEEE_FLOAT, UAC_FORMAT_TYPE_I_ALAW, UAC_FORMAT_TYPE_I_MULAW, UAC_FORMAT_TYPE_II_MPEG, UAC_FORMAT_TYPE_II_AC3
uac_usb_format_types_i = UAC_FORMAT_TYPE_I, UAC_FORMAT_TYPE_II, UAC_FORMAT_TYPE_III, UAC_FORMAT_TYPE_UNDEFINED
uac_format_type_i_continuous_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_FORMAT_TYPE, int8]
bFormatType const[UAC_FORMAT_TYPE_I, int8]
bNrChannels int8
bSubframeSize int8[1:4]
bBitResolution int8
bSamFreqType int8
tLowerSamFreq array[int8, 0:3]
tUpperSamFreq array[int8, 0:3]
} [packed]
uac_format_type_i_discrete_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_FORMAT_TYPE, int8]
bFormatType const[UAC_FORMAT_TYPE_I, int8]
bNrChannels int8
bSubframeSize int8[1:4]
bBitResolution int8
bSamFreqType int8
tSamFreq array[int8, 0:9]
} [packed]
uac_format_type_ii_discrete_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_FORMAT_TYPE, int8]
bFormatType const[UAC_FORMAT_TYPE_II, int8]
wMaxBitRate int16
wSamplesPerFrame int16
bSamFreqType int8
tSamFreq array[int8, 0:9]
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
uac_as_out_endpoint_descriptor {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]
} [packed]
uac_as_in_endpoint_descriptor {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]
} [packed]
define USB_ENDPOINT_UAC1_AS_OUT_ADDRESS (1 | USB_DIR_OUT)
define USB_ENDPOINT_UAC1_AS_IN_ADDRESS (2 | USB_DIR_IN)
define USB_ENDPOINT_UAC1_AS_ATTRIBUTES (USB_ENDPOINT_SYNC_ADAPTIVE | USB_ENDPOINT_XFER_ISOC)
uac_iso_ep_attributes = USB_ENDPOINT_SYNCTYPE, USB_ENDPOINT_SYNC_NONE, USB_ENDPOINT_SYNC_ASYNC, USB_ENDPOINT_SYNC_ADAPTIVE, USB_ENDPOINT_SYNC_SYNC
uac_iso_endpoint_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_ENDPOINT, int8]
bDescriptorSubType const[UAC_EP_GENERAL, int8]
bmAttributes flags[uac_iso_ep_attributes, int8]
bLockDelayUnits int8
wLockDelay int16
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
vusb_descriptors_uac1 {
len len[parent, int32]
generic ptr[in, vusb_descriptor_generic]
USB_DT_STRING ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_STRING, usb_string_descriptor]]
} [packed]
vusb_responses_uac1 {
len len[parent, int32]
generic ptr[in, vusb_response_generic]
USB_REQ_GET_INTERFACE ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]]
USB_REQ_GET_CONFIGURATION ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]]
audio_UAC_GET_CUR ptr[in, vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]]
audio_UAC_GET_MIN ptr[in, vusb_response_t[USB_TYPE_CLASS, UAC_GET_MIN, array[int8, 1:3]]]
audio_UAC_GET_MAX ptr[in, vusb_response_t[USB_TYPE_CLASS, UAC_GET_MAX, array[int8, 1:3]]]
audio_UAC_GET_RES ptr[in, vusb_response_t[USB_TYPE_CLASS, UAC_GET_RES, array[int8, 1:4]]]
audio_UAC_GET_MEM ptr[in, vusb_response_t[USB_TYPE_CLASS, UAC_GET_MEM, array[int8, 3]]]
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# UAC2 device class specific descriptions.
# https://www.usb.org/sites/default/files/audio10.pdf
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/legacy/audio.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_uac2.c
# https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/usb/audio.h
resource fd_usb_uac2[fd_usb]
syz_usb_connect$uac2(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_uac2], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_uac2 (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$uac2(fd fd_usb_uac2, descs ptr[in, vusb_descriptors_uac1], resps ptr[in, vusb_responses_uac1]) (timeout[300], remote_cover)
usb_device_descriptor_uac2 {
inner usb_device_descriptor_t[0, 0, 0, 0x41e, 0x3000, 64, array[usb_config_descriptor_uac2, 1]]
} [packed]
usb_config_descriptor_uac2 {
inner usb_config_descriptor_extra_t[const[1, int8], const[3, int8], uac2_interface_assoc_descriptor, usb_interface_descriptors_uac2]
} [packed]
uac2_interface_assoc_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_INTERFACE_ASSOCIATION, int8]
bFirstInterface int8[0:2]
bInterfaceCount int8[0:2]
bFunctionClass const[USB_CLASS_AUDIO, int8]
bFunctionSubClass flags[audio_function_category_types, int8]
bFunctionProtocol const[UAC_VERSION_2, int8]
iFunction int8
} [packed]
audio_function_category_types = UAC2_FUNCTION_SUBCLASS_UNDEFINED, UAC2_FUNCTION_DESKTOP_SPEAKER, UAC2_FUNCTION_HOME_THEATER, UAC2_FUNCTION_MICROPHONE, UAC2_FUNCTION_HEADSET, UAC2_FUNCTION_TELEPHONE, UAC2_FUNCTION_CONVERTER, UAC2_FUNCTION_SOUND_RECORDER, UAC2_FUNCTION_IO_BOX, UAC2_FUNCTION_MUSICAL_INSTRUMENT, UAC2_FUNCTION_PRO_AUDIO, UAC2_FUNCTION_AUDIO_VIDEO, UAC2_FUNCTION_CONTROL_PANEL, UAC2_FUNCTION_OTHER
usb_interface_descriptors_uac2 {
inner usb_interface_descriptors_uac2_inner
} [packed]
# Define folded-in structure to match layout expected by USB ID patching code.
usb_interface_descriptors_uac2_inner {
control usb_interface_descriptor_fixed_t[0, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOCONTROL, UAC_VERSION_2, uac2_control_iface_extra_descriptors, void]
as_out_alt_0 usb_interface_descriptor_fixed_t[1, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, UAC_VERSION_2, void, void]
as_out_alt_1 usb_interface_descriptor_fixed_t[1, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, UAC_VERSION_2, uac2_as_iface_extra_descriptors, uac2_as_out_endpoint_descriptor]
as_in_alt_0 usb_interface_descriptor_fixed_t[2, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, UAC_VERSION_2, void, void]
as_in_alt_1 usb_interface_descriptor_fixed_t[2, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, UAC_VERSION_2, uac2_as_iface_extra_descriptors, uac2_as_in_endpoint_descriptor]
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
uac2_control_iface_extra_descriptors {
header uac2_ac_header_descriptor
others array[uac2_control_iface_extra_descriptor, 0:6]
} [packed]
uac2_ac_header_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_MS_HEADER, int8]
bcdADC int16
bCategory flags[uac2_feature_unit_controls, int8]
wTotalLength len[uac2_control_iface_extra_descriptors, int16]
bmControls int8
} [packed]
uac2_feature_unit_controls = UAC2_FUNCTION_SUBCLASS_UNDEFINED, UAC2_FUNCTION_DESKTOP_SPEAKER, UAC2_FUNCTION_HOME_THEATER, UAC2_FUNCTION_MICROPHONE, UAC2_FUNCTION_HEADSET, UAC2_FUNCTION_TELEPHONE, UAC2_FUNCTION_CONVERTER, UAC2_FUNCTION_SOUND_RECORDER, UAC2_FUNCTION_IO_BOX, UAC2_FUNCTION_MUSICAL_INSTRUMENT, UAC2_FUNCTION_PRO_AUDIO, UAC2_FUNCTION_AUDIO_VIDEO, UAC2_FUNCTION_CONTROL_PANEL, UAC2_FUNCTION_OTHER, uac_feature_unit_controls
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
uac2_as_iface_extra_descriptors {
others array[uac2_as_iface_extra_descriptor, 0:6]
} [packed]
uac2_as_iface_extra_descriptor [
as_header uac2_as_header_descriptor
format_type_i_descriptor uac2_format_type_i_descriptor
format_type_i_continuous uac_format_type_i_continuous_descriptor
format_type_i_discrete uac_format_type_i_discrete_descriptor
format_type_ii_discrete uac_format_type_ii_discrete_descriptor
format_type_i_ext uac2_format_type_i_ext_descriptor
format_type_ii_ext uac_format_type_ii_ext_descriptor
] [varlen]
uac2_as_header_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_AS_GENERAL, int8]
bTerminalLink int8
bmControls int8
bFormatType flags[uac_usb_format_types_i, int8]
bmFormats flags[uac_format_tags, int32]
bNrChannels int8
bmChannelConfig int32
iChannelNames int8
} [packed]
b_sub_slot_sizes = 1, 2, 3, 4
uac2_format_type_i_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_FORMAT_TYPE, int8]
bFormatType const[UAC_FORMAT_TYPE_I, int8]
bSubslotSize flags[b_sub_slot_sizes, int8]
bBitResolution int8
} [packed]
uac2_format_type_i_ext_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_FORMAT_TYPE, int8]
bFormatType const[UAC_FORMAT_TYPE_I, int8]
bSubslotSize int8
bBitResolution int8
bHeaderLength int8
bControlSize int8
bSideBandProtocol int8
} [packed]
uac_format_type_ii_ext_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_FORMAT_TYPE, int8]
bFormatType const[UAC_FORMAT_TYPE_II, int8]
wMaxBitRate int16
wSamplesPerFrame int16
bHeaderLength int8
bSideBandProtocol int8
} [packed]
uac_format_type_i_ext_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_FORMAT_TYPE, int8]
bFormatType const[UAC_FORMAT_TYPE_I, int8]
bSubslotSize int8
bBitResolution int8
bHeaderLength int8
bControlSize int8
bSideBandProtocol int8
} [packed]
uac2_as_out_endpoint_descriptor {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac2_iso_endpoint_descriptor]
} [packed]
uac2_as_in_endpoint_descriptor {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac2_iso_endpoint_descriptor]
} [packed]
uac2_iso_endpoint_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_ENDPOINT, int8]
bDescriptorSubtype const[UAC_EP_GENERAL, int8]
bmAttributes flags[csep_bm_attributes, int8]
bmControls flags[csep_bm_controls, int8]
bLockDelayUnits int8
wLockDelay int16
} [packed]
csep_bm_attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, UAC_EP_CS_ATTR_PITCH_CONTROL, UAC_EP_CS_ATTR_FILL_MAX
csep_bm_controls = UAC2_CONTROL_PITCH, UAC2_CONTROL_DATA_OVERRUN, UAC2_CONTROL_DATA_UNDERRUN
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
uac2_control_iface_extra_descriptor [
input_terminal uac2_input_terminal_descriptor
output_terminal uac2_output_terminal_descriptor
mixer_unit uac2_mixer_unit_descriptor
selector_unit uac2_clock_selector_descriptor
feature_unit uac2_feature_unit_descriptor
processing_unit uac2_processing_unit_descriptor
extension_unit uac2_extension_unit_descriptor
effect_unit uac2_effect_unit_descriptor
sample_rate uac2_sample_rate_descriptor
source_unit uac2_clock_source_descriptor
multiply_unit uac2_clock_multiplier_descriptor
] [varlen]
uac2_input_terminal_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC_INPUT_TERMINAL, int8]
bTerminalID uac_id
wTerminalType flags[uac_input_terminal_types, int16]
bAssocTerminal uac_id
bCSourceID int8
bNrChannels int8
bmChannelConfig int32
iChannelNames int8
bmControls int8
iTerminal int8
} [packed]
uac2_output_terminal_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC_OUTPUT_TERMINAL, int8]
bTerminalID uac_id
wTerminalType flags[uac_output_terminal_types, int16]
bAssocTerminal int8
bSourceID uac_id
bCSourceID int8
bmControls int16
iTerminal int8
} [packed]
uac2_mixer_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_MIXER_UNIT, int8]
bUnitID uac_id
bNrInPins int8
baSourceID array[int8, 0:6]
} [packed]
# TODO: Figure out if bmControls and iClockSelector should be a part of this structure.
uac2_clock_selector_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC2_CLOCK_SELECTOR, int8]
bClockID int8
bNrInPins len[baCSourceID, int8]
baCSourceID array[int8, 0:8]
} [packed]
# TODO: Verify coverage.
uac2_processing_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC2_PROCESSING_UNIT_V2, int8]
bUnitID uac_id
bSourceID uac_id
bmaControls array[flags[uac2_processing_unit_types, int16], 1:6]
} [packed]
uac2_processing_unit_types = UAC2_PROCESS_UNDEFINED, UAC2_PROCESS_UP_DOWNMIX, UAC2_PROCESS_DOLBY_PROLOCIC, UAC2_PROCESS_STEREO_EXTENDER
uac2_extension_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC2_EXTENSION_UNIT_V2, int8]
bUnitID uac_id
wProcessType int16
bNrInPins int8
baSourceID array[int8, 0:6]
} [packed]
# TODO: Verify coverage.
uac2_effect_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC2_EFFECT_UNIT, int8]
bUnitID uac_id
wEffectType flags[uac2_effect_unit_types, int16]
bSourceID uac_id
bmaControls array[flags[uac2_processing_unit_types, int16], 1:6]
} [packed]
uac2_effect_unit_types = UAC2_EFFECT_UNDEFINED, UAC2_EFFECT_PARAM_EQ, UAC2_EFFECT_REVERB, UAC2_EFFECT_MOD_DELAY, UAC2_EFFECT_DYN_RANGE_COMP
uac2_sample_rate_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC2_SAMPLE_RATE_CONVERTER, int8]
bUnitID uac_id
wProcessType flags[uac2_processing_unit_types, int16]
bSourceID uac_id
bmaControls array[flags[uac2_processing_unit_types, int16], 1:6]
} [packed]
uac2_feature_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC_FEATURE_UNIT, int8]
bUnitID uac_id
bSourceID uac_id
bmaControls array[flags[uac2_feature_unit_controls, int16], 1:6]
} [packed]
uac2_clock_source_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC2_CLOCK_SOURCE, int8]
bClockID int8
bmAttributes flags[uac2_clock_bmattribute_types, int8]
bmControls int8
bAssocTerminal int8
iClockSource flags[uac2_clock_source_types, int8]
} [packed]
uac2_clock_bmattribute_types = UAC_CLOCK_SOURCE_TYPE_EXT, UAC_CLOCK_SOURCE_TYPE_INT_FIXED, UAC_CLOCK_SOURCE_TYPE_INT_VAR, UAC_CLOCK_SOURCE_TYPE_INT_PROG, UAC_CLOCK_SOURCE_SYNCED_TO_SOF
uac2_clock_source_types = UAC_CLOCK_SOURCE_TYPE_EXT, UAC_CLOCK_SOURCE_TYPE_INT_FIXED, UAC_CLOCK_SOURCE_TYPE_INT_VAR, UAC_CLOCK_SOURCE_TYPE_INT_PROG, UAC_CLOCK_SOURCE_SYNCED_TO_SOF
uac2_clock_multiplier_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC2_CLOCK_MULTIPLIER, int8]
bClockID int8
bCSourceID int8
bmControls int8
iClockMultiplier int8
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# UAC3 device class specific descriptions.
# https://www.usb.org/sites/default/files/audio10.pdf
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/legacy/audio.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_uac3.c
# https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/usb/audio.h
resource fd_usb_uac3[fd_usb]
syz_usb_connect$uac3(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_uac3], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_uac3 (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$uac3(fd fd_usb_uac3, descs ptr[in, vusb_descriptors_uac1], resps ptr[in, vusb_responses_uac1]) (timeout[300], remote_cover)
usb_device_descriptor_uac3 {
inner usb_device_descriptor_t[0, 0, 0, 0x582, 0x582, 64, array[usb_config_descriptor_uac3, 1]]
} [packed]
usb_config_descriptor_uac3 {
inner usb_config_descriptor_extra_t[const[1, int8], const[3, int8], uac3_interface_assoc_descriptor, usb_interface_descriptors_uac3]
} [packed]
uac3_interface_assoc_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_INTERFACE_ASSOCIATION, int8]
bFirstInterface int8[0:2]
bInterfaceCount int8[0:2]
bFunctionClass const[USB_CLASS_AUDIO, int8]
bFunctionSubClass flags[uac3_all_subclasses, int8]
bFunctionProtocol const[UAC_VERSION_3, int8]
iFunction int8
} [packed]
usb_interface_descriptors_uac3 {
inner usb_interface_descriptors_uac3_inner
} [packed]
# Define folded-in structure to match layout expected by USB ID patching code.
usb_interface_descriptors_uac3_inner {
control usb_interface_descriptor_fixed_t[0, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOCONTROL, UAC_VERSION_3, uac3_control_iface_extra_descriptors, void]
as_out_alt_0 usb_interface_descriptor_fixed_t[1, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, UAC_VERSION_3, void, void]
as_out_alt_1 usb_interface_descriptor_fixed_t[1, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, UAC_VERSION_3, uac3_as_iface_extra_descriptors, uac3_as_out_endpoint_descriptor]
as_in_alt_0 usb_interface_descriptor_fixed_t[2, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, UAC_VERSION_3, void, void]
as_in_alt_1 usb_interface_descriptor_fixed_t[2, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, UAC_VERSION_3, uac3_as_iface_extra_descriptors, uac3_as_in_endpoint_descriptor]
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
uac3_control_iface_extra_descriptors {
header uac3_ac_header_descriptor
others array[uac3_control_iface_extra_descriptor, 0:6]
} [packed]
uac3_ac_header_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_MS_HEADER, int8]
bCategory flags[uac3_feature_unit_controls, int8]
wTotalLength len[uac3_control_iface_extra_descriptors, int16]
bmControls int32
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
uac3_as_iface_extra_descriptors {
others array[uac3_as_iface_extra_descriptor, 0:6]
} [packed]
uac3_as_iface_extra_descriptor [
as_header uac3_as_header_descriptor
format_type_i_descriptor uac2_format_type_i_descriptor
format_type_i_continuous uac_format_type_i_continuous_descriptor
format_type_i_discrete uac_format_type_i_discrete_descriptor
format_type_ii_discrete uac_format_type_ii_discrete_descriptor
format_type_i_ext uac2_format_type_i_ext_descriptor
format_type_ii_ext uac_format_type_ii_ext_descriptor
] [varlen]
# TODO: Figure out how wClusterDescrID is used in the kernel.
uac3_as_header_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_AS_GENERAL, int8]
bTerminalLink int8
bmControls int32
wClusterDescrID int16
bmFormats flags[uac_format_tags, int64]
bSubslotSize int8
bBitResolution int8
bmAuxProtocols int16
bControlSize int8
} [packed]
uac3_as_out_endpoint_descriptor {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac3_iso_endpoint_descriptor]
} [packed]
uac3_as_in_endpoint_descriptor {
inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac3_iso_endpoint_descriptor]
} [packed]
uac3_iso_endpoint_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_ENDPOINT, int8]
bDescriptorSubType const[UAC3_CS_ENDPOINT, int8]
bmControls int32
bLockDelayUnits int8
wLockDelay int16
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
uac3_control_iface_extra_descriptor [
input_terminal uac3_input_terminal_descriptor
output_terminal uac3_output_terminal_descriptor
mixer_unit uac3_mixer_unit_descriptor
selector_unit uac3_clock_selector_descriptor
source_unit uac3_clock_source_descriptor
multiply_unit uac3_clock_multiplier_descriptor
feature_unit uac3_feature_unit_descriptor
processing_unit uac3_processing_unit_descriptor
extension_unit uac3_extension_unit_descriptor
power_domain uac3_power_domain_descriptor
cluster_info_segment uac3_cluster_information_segment_descriptor
# Only cluster information segment is currently used in the kernel.See: sound/usb/stream.c
# cluster_segment uac3_cluster_segment_descriptor
# cluster_end_segment uac3_cluster_end_segment_descriptor
# The following units are not yet supported by the kernel.
# See audio_validators[] in sound/usb/validate.c:
# effect_unit uac3_effect_unit_descriptor
# sample_rate uac3_sample_rate_descriptor
# connectors_unit uac3_connectors_unit_descriptor
# extended_term_unit uac3_extended_terminal_unit
] [varlen]
uac3_input_terminal_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC_INPUT_TERMINAL, int8]
bTerminalID uac_id
wTerminalType flags[uac_input_terminal_types, int16]
bAssocTerminal uac_id
bCSourceID int8
bmControls int32
wClusterDescrID int16
wExTerminalDescrID int16
wConnectorsDescrID int16
wTerminalDescrStr int16
} [packed]
uac3_output_terminal_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC_OUTPUT_TERMINAL, int8]
bTerminalID uac_id
wTerminalType flags[uac_output_terminal_types, int16]
bAssocTerminal uac_id
bSourceID uac_id
bCSourceID int8
bmControls int32
wExTerminalDescrID int16
wConnectorsDescrID int16
wTerminalDescrStr int16
} [packed]
uac3_mixer_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC3_MIXER_UNIT, int8]
bUnitID uac_id
bNrInPins int8
baSourceID array[int8, 0:6]
} [packed]
uac3_clock_selector_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC3_CLOCK_SELECTOR, int8]
bClockID int8
bNrInPins len[baCSourceID, int8]
baCSourceID array[int8, 0:8]
} [packed]
uac3_clock_source_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC3_CLOCK_SOURCE, int8]
bClockID int8
bmAttributes flags[uac3_clock_bmattribute_types, int8]
bmControls int32
bReferenceTerminal int8
wClockSourceStr int16
} [packed]
uac3_clock_bmattribute_types = UAC3_CLOCK_SOURCE_TYPE_EXT, UAC3_CLOCK_SOURCE_TYPE_INT, UAC3_CLOCK_SOURCE_ASYNC, UAC3_CLOCK_SOURCE_SYNCED_TO_SOF
uac3_clock_multiplier_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC3_CLOCK_MULTIPLIER, int8]
bClockID int8
bCSourceID int8
bmControls int32
wCMultiplierDescrStr int16
} [packed]
uac3_feature_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC3_FEATURE_UNIT, int8]
bUnitID uac_id
bSourceID uac_id
bmaControls array[flags[uac3_feature_unit_controls, int32], 1:6]
} [packed]
uac3_processing_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC3_PROCESSING_UNIT, int8]
bUnitID uac_id
bSourceID uac_id
bmaControls array[flags[uac3_processing_unit_types, int32], 1:6]
} [packed]
uac3_processing_unit_types = UAC3_PROCESS_UNDEFINED, UAC3_PROCESS_UP_DOWNMIX, UAC3_PROCESS_STEREO_EXTENDER, UAC3_PROCESS_MULTI_FUNCTION
uac3_extension_unit_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubtype const[UAC3_EXTENSION_UNIT, int8]
bUnitID uac_id
bSourceID uac_id
bmaControls array[flags[uac3_processing_unit_types, int32], 1:6]
} [packed]
uac3_power_domain_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC3_POWER_DOMAIN, int8]
bPowerDomainID int8
waRecoveryTime1 int16
waRecoveryTime2 int16
bNrEntities int8
baEntityID array[int8, 0:8]
} [packed]
uac3_cluster_information_segment_descriptor {
bLength len[parent, int16]
bSegmentType const[UAC3_CHANNEL_INFORMATION, int8]
bChPurpose flags[uac3_cluster_channel_purposes, int8]
bChRelationship flags[uac3_cluster_channel_relationships, int8]
bChGroupID int8
} [packed]
uac3_cluster_channel_purposes = UAC3_PURPOSE_UNDEFINED, UAC3_PURPOSE_GENERIC_AUDIO, UAC3_PURPOSE_VOICE, UAC3_PURPOSE_SPEECH, UAC3_PURPOSE_AMBIENT, UAC3_PURPOSE_REFERENCE, UAC3_PURPOSE_ULTRASONIC, UAC3_PURPOSE_VIBROKINETIC, UAC3_PURPOSE_NON_AUDIO
uac3_cluster_channel_relationships = UAC3_CH_RELATIONSHIP_UNDEFINED, UAC3_CH_MONO, UAC3_CH_LEFT, UAC3_CH_RIGHT, UAC3_CH_ARRAY, UAC3_CH_PATTERN_X, UAC3_CH_PATTERN_Y, UAC3_CH_PATTERN_A, UAC3_CH_PATTERN_B, UAC3_CH_PATTERN_M, UAC3_CH_PATTERN_S, UAC3_CH_FRONT_LEFT, UAC3_CH_FRONT_RIGHT, UAC3_CH_FRONT_CENTER, UAC3_CH_FRONT_LEFT_OF_CENTER, UAC3_CH_FRONT_RIGHT_OF_CENTER, UAC3_CH_FRONT_WIDE_LEFT, UAC3_CH_FRONT_WIDE_RIGHT, UAC3_CH_SIDE_LEFT, UAC3_CH_SIDE_RIGHT, UAC3_CH_SURROUND_ARRAY_LEFT, UAC3_CH_SURROUND_ARRAY_RIGHT, UAC3_CH_BACK_LEFT, UAC3_CH_BACK_RIGHT, UAC3_CH_BACK_CENTER, UAC3_CH_BACK_LEFT_OF_CENTER, UAC3_CH_BACK_RIGHT_OF_CENTER, UAC3_CH_BACK_WIDE_LEFT, UAC3_CH_BACK_WIDE_RIGHT, UAC3_CH_TOP_CENTER, UAC3_CH_TOP_FRONT_LEFT, UAC3_CH_TOP_FRONT_RIGHT, UAC3_CH_TOP_FRONT_CENTER, UAC3_CH_TOP_FRONT_LOC, UAC3_CH_TOP_FRONT_ROC, UAC3_CH_TOP_FRONT_WIDE_LEFT, UAC3_CH_TOP_FRONT_WIDE_RIGHT, UAC3_CH_TOP_SIDE_LEFT, UAC3_CH_TOP_SIDE_RIGHT, UAC3_CH_TOP_SURR_ARRAY_LEFT, UAC3_CH_TOP_SURR_ARRAY_RIGHT, UAC3_CH_TOP_BACK_LEFT, UAC3_CH_TOP_BACK_RIGHT, UAC3_CH_TOP_BACK_CENTER, UAC3_CH_TOP_BACK_LOC, UAC3_CH_TOP_BACK_ROC, UAC3_CH_TOP_BACK_WIDE_LEFT, UAC3_CH_TOP_BACK_WIDE_RIGHT, UAC3_CH_BOTTOM_CENTER, UAC3_CH_BOTTOM_FRONT_LEFT, UAC3_CH_BOTTOM_FRONT_RIGHT, UAC3_CH_BOTTOM_FRONT_CENTER, UAC3_CH_BOTTOM_FRONT_LOC, UAC3_CH_BOTTOM_FRONT_ROC, UAC3_CH_BOTTOM_FRONT_WIDE_LEFT, UAC3_CH_BOTTOM_FRONT_WIDE_RIGHT, UAC3_CH_BOTTOM_SIDE_LEFT, UAC3_CH_BOTTOM_SIDE_RIGHT, UAC3_CH_BOTTOM_SURR_ARRAY_LEFT, UAC3_CH_BOTTOM_SURR_ARRAY_RIGHT, UAC3_CH_BOTTOM_BACK_LEFT, UAC3_CH_BOTTOM_BACK_RIGHT, UAC3_CH_BOTTOM_BACK_CENTER, UAC3_CH_BOTTOM_BACK_LOC, UAC3_CH_BOTTOM_BACK_ROC, UAC3_CH_BOTTOM_BACK_WIDE_LEFT, UAC3_CH_BOTTOM_BACK_WIDE_RIGHT, UAC3_CH_LOW_FREQUENCY_EFFECTS, UAC3_CH_LFE_LEFT, UAC3_CH_LFE_RIGHT, UAC3_CH_HEADPHONE_LEFT, UAC3_CH_HEADPHONE_RIGHT
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# This list consists of uac3_func_subclasses + uac3_badd_classes.
uac3_all_subclasses = UAC3_FUNCTION_SUBCLASS_UNDEFINED, UAC3_FUNCTION_SUBCLASS_FULL_ADC_3_0, UAC3_FUNCTION_SUBCLASS_GENERIC_IO, UAC3_FUNCTION_SUBCLASS_HEADPHONE, UAC3_FUNCTION_SUBCLASS_SPEAKER, UAC3_FUNCTION_SUBCLASS_MICROPHONE, UAC3_FUNCTION_SUBCLASS_HEADSET, UAC3_FUNCTION_SUBCLASS_HEADSET_ADAPTER, UAC3_FUNCTION_SUBCLASS_SPEAKERPHONE
uac3_feature_unit_controls = UAC3_FUNCTION_SUBCLASS_UNDEFINED, UAC3_FUNCTION_DESKTOP_SPEAKER, UAC3_FUNCTION_HOME_THEATER, UAC3_FUNCTION_MICROPHONE, UAC3_FUNCTION_HEADSET, UAC3_FUNCTION_TELEPHONE, UAC3_FUNCTION_CONVERTER, UAC3_FUNCTION_SOUND_RECORDER, UAC3_FUNCTION_IO_BOX, UAC3_FUNCTION_MUSICAL_INSTRUMENT, UAC3_FUNCTION_PRO_AUDIO, UAC3_FUNCTION_AUDIO_VIDEO, UAC3_FUNCTION_CONTROL_PANEL, UAC3_FUNCTION_HEADPHONE, UAC3_FUNCTION_GENERIC_SPEAKER, UAC3_FUNCTION_HEADSET_ADAPTER, UAC3_FUNCTION_SPEAKERPHONE, UAC3_FUNCTION_OTHER
# TODO: Support uac3 badd profiles. See sound/usb/mixer.c: snd_usb_mixer_controls_badd()
# uac3_badd_endpoint_descriptor {
# inner usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac3_iso_endpoint_descriptor]
# } [packed]
#uac3_badd_maxsizes = UAC3_BADD_EP_MAXPSIZE_SYNC_MONO_16,UAC3_BADD_EP_MAXPSIZE_ASYNC_MONO_16,UAC3_BADD_EP_MAXPSIZE_SYNC_MONO_24,UAC3_BADD_EP_MAXPSIZE_ASYNC_MONO_24,UAC3_BADD_EP_MAXPSIZE_SYNC_STEREO_16,UAC3_BADD_EP_MAXPSIZE_ASYNC_STEREO_16,UAC3_BADD_EP_MAXPSIZE_SYNC_STEREO_24,UAC3_BADD_EP_MAXPSIZE_ASYNC_STEREO_24
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# MIDI device class specific descriptions.
# https://www.usb.org/sites/default/files/midi10.pdf
# https://elixir.bootlin.com/linux/latest/source/sound/usb/midi.c
# https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_midi.c
syz_usb_connect$midi(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_midi], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb (timeout[3000], prog_timeout[3000], remote_cover)
usb_device_descriptor_midi {
inner usb_device_descriptor_t[0, 0, 0, 0x1430, 0x474b, 64, array[usb_config_descriptor_midi, 1]]
} [packed]
usb_config_descriptor_midi {
inner usb_config_descriptor_t[const[1, int8], const[1, int8], usb_interface_descriptors_midi]
} [packed]
usb_interface_descriptors_midi {
inner usb_interface_descriptors_midi_inner
} [packed]
# Define folded-in structure to match layout expected by USB ID patching code.
usb_interface_descriptors_midi_inner {
control usb_interface_descriptor_eps_array_t[const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_MIDISTREAMING, int8], flags[uac_version_types, int8], array[usb_midi_iface_extra], array[usb_endpoint_descriptor_midi, 0:8]]
} [packed]
usb_endpoint_descriptor_midi {
inner usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], usb_ms_endpoint_descriptor]
} [packed]
midi_jack_type = USB_MS_EMBEDDED, USB_MS_EXTERNAL
uac_version_types = UAC_VERSION_1, UAC_VERSION_2, UAC_VERSION_3
usb_ms_endpoint_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_ENDPOINT, int8]
bDescriptorSubType const[USB_MS_GENERAL, int8]
bNumEmbMIDIJack len[baAssocJackID, int8]
baAssocJackID array[int8, 0:16]
} [packed]
usb_midi_iface_extra [
ms_header usb_ms_header_descriptor
midi_in_jack usb_midi_in_jack_descriptor
midi_out_jack usb_midi_out_jack_descriptor
] [varlen]
usb_ms_header_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_HEADER, int8]
bcdMSC int16
wTotalLength len[parent, int16]
} [packed]
usb_midi_in_jack_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_MIDI_IN_JACK, int8]
bJackType flags[midi_jack_type, int8]
bJackID int8
iJack int8
} [packed]
usb_midi_out_jack_descriptor {
bLength len[parent, int8]
bDescriptorType const[USB_DT_CS_INTERFACE, int8]
bDescriptorSubType const[UAC_MIDI_OUT_JACK, int8]
bJackType flags[midi_jack_type, int8]
bJackID int8
bNrInputPins len[pins, int8]
pins array[usb_midi_source_pin]
iJack int8
} [packed]
usb_midi_source_pin {
baSourceID int8
baSourcePin int8
} [packed]
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# ath9k driver specific descriptions.
include <drivers/net/wireless/ath/ath9k/htc_hst.h>
include <drivers/net/wireless/ath/ath9k/hif_usb.h>
define USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS (1)
define USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS (2 | USB_DIR_IN)
define USB_ENDPOINT_ATH9K_INT_IN_ADDRESS (3 | USB_DIR_IN)
define USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS (4)
define USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS (5)
define USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS (6)
resource fd_usb_ath9k[fd_usb]
syz_usb_connect_ath9k(speed const[USB_SPEED_HIGH], dev_len len[dev], dev ptr[in, usb_device_descriptor_ath9k], conn_descs const[0]) fd_usb_ath9k (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_ep_write$ath9k_ep1(fd fd_usb_ath9k, ep const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS], len bytesize[data], data ptr[in, ath9k_bulk_frame]) (timeout[300], remote_cover)
syz_usb_ep_write$ath9k_ep2(fd fd_usb_ath9k, ep const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS], len bytesize[data], data ptr[in, htc_frame]) (timeout[300], remote_cover)
usb_device_descriptor_ath9k {
inner usb_device_descriptor_fixed_t[0x200, USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, 64, 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]
} [packed]
usb_config_descriptor_ath9k {
inner usb_config_descriptor_fixed_t[1, 1, USB_CONFIG_ATT_ONE, 250, usb_interface_descriptor_ath9k]
} [packed]
usb_interface_descriptor_ath9k {
iface usb_interface_descriptor_fixed_t[0, 0, 6, USB_CLASS_VENDOR_SPEC, 0, 0, void, usb_endpoint_descriptors_ath9k]
} [packed]
usb_endpoint_descriptors_ath9k {
bulk_out usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, 512, 0, void]
bulk_in usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, 512, 0, void]
int_in usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, 64, 1, void]
int_out usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, 64, 1, void]
bulk_extra1 usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, 512, 0, void]
bulk_extra2 usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, 512, 0, void]
} [packed]
define USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES (USB_ENDPOINT_XFER_BULK)
define USB_ENDPOINT_ATH9K_INT_ATTRIBUTES (USB_ENDPOINT_XFER_INT)
ath9k_bulk_frame {
packets array[ath9k_bulk_packet]
} [packed]
ath9k_bulk_packet {
pkt_len len[data, int16]
pkt_tag const[ATH_USB_RX_STREAM_MODE_TAG, int16]
data array[int8]
} [packed, align[4]]
htc_frame [
ready htc_ready_frame
conn_svc_rsp htc_conn_svc_rsp_frame
generic htc_generic_frame
] [varlen]
# This is actually wrong, as the driver is buggy and doesn't skip the header
# before processing the frame payload, but let's leave it like thise for now.
htc_ready_frame {
endpoint_id const[0, int8]
flags const[0, int8]
payload_len len[payload, int16be]
control array[int8, 4]
payload htc_ready_msg
} [packed]
htc_ready_msg {
message_id const[HTC_MSG_READY_ID, int16be]
credits int16be
credit_size int16be
max_endpoints int8
pad int8
} [packed]
htc_conn_svc_rsp_frame {
endpoint_id const[0, int8]
flags const[0, int8]
payload_len len[payload, int16be]
control array[int8, 4]
payload htc_conn_svc_rspmsg
} [packed]
htc_conn_svc_rspmsg {
message_id const[HTC_MSG_CONNECT_SERVICE_RESPONSE_ID, int16be]
service_id flags[htc_svcs, int16be]
status const[HTC_SERVICE_SUCCESS, int8]
endpoint_id int8
max_msg_len int16be
svc_meta_len int8
pad int8
} [packed]
htc_svcs = HTC_CTRL_RSVD_SVC, HTC_LOOPBACK_RSVD_SVC, WMI_CONTROL_SVC, WMI_BEACON_SVC, WMI_CAB_SVC, WMI_UAPSD_SVC, WMI_MGMT_SVC, WMI_DATA_VO_SVC, WMI_DATA_VI_SVC, WMI_DATA_BE_SVC, WMI_DATA_BE_SVC
htc_generic_frame {
endpoint_id int8[0:8]
flags flags[htc_frame_flags, int8]
payload_len len[payload, int16be]
control array[int8, 4]
payload array[int8, 0:256]
} [packed]
htc_frame_flags = HTC_FLAGS_RECV_TRAILER
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Assorted driver-specific descriptions of generic syz_* calls' variants.
# Generic calls such as syz_usb_connect() and syz_usb_control_io() should be enough
# (in theory) to emulate a proper device and finish driver probes without a hitch.
# However, there are cases when syzkaller fails to come up with correct inputs to achieve it.
# Use fixed descriptors to quickly pass through probe() to access select drivers' post-probe functionality.
# It is important to note that, one way or another, drivers in question require multiple control requests
# between a driver and a device processed during probe(). Descriptions below do not deal with specific
# CTRL requests as such (except for basic information included in vusb_responses_XXX). Instead, rely on
# seeds, created both manually and with syzkaller's help. For examples, see sys/linux/test/vusb_XXX.
# Common constants for endpoint descriptors.
define USB_ENDPOINT_BULK_ATTR (USB_ENDPOINT_XFER_BULK)
define USB_ENDPOINT_INT_ATTR (USB_ENDPOINT_XFER_INT)
define USB_FIXED_ENDPOINT_BULK_IN_ADDR (1 | USB_DIR_IN)
define USB_FIXED_ENDPOINT_BULK_OUT_ADDR (2)
define USB_FIXED_ENDPOINT_INT_IN_ADDR (3 | USB_DIR_IN)
define USB_RECIP_DEVICE 0x00
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# rtl8150 driver specific descriptions.
resource fd_usb_rtl8150[fd_usb]
syz_usb_connect$rtl8150(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_rtl8150], conn_descs const[0]) fd_usb_rtl8150 (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$rtl8150(fd fd_usb_rtl8150, descs ptr[in, vusb_descriptors_rtl8150], resps ptr[in, vusb_responses_rtl8150]) (timeout[300], remote_cover)
usb_device_descriptor_rtl8150 {
inner usb_device_descriptor_fixed_t[0x200, USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, 64, 0xbda, 0x8150, 0, array[usb_config_descriptor_rtl8150, 1]]
} [packed]
usb_config_descriptor_rtl8150 {
inner usb_config_descriptor_fixed_t[1, 1, USB_CONFIG_ATT_ONE, 250, usb_interface_descriptor_rtl8150]
} [packed]
usb_interface_descriptor_rtl8150 {
iface usb_interface_descriptor_fixed_t[0, 0, 3, USB_CLASS_VENDOR_SPEC, 0, 0, void, usb_endpoint_descriptors_rtl8150]
} [packed]
usb_endpoint_descriptors_rtl8150 {
bulk_in usb_endpoint_descriptor_fixed_t[USB_FIXED_ENDPOINT_BULK_IN_ADDR, USB_ENDPOINT_BULK_ATTR, 512, 0, void]
bulk_out usb_endpoint_descriptor_fixed_t[USB_FIXED_ENDPOINT_BULK_OUT_ADDR, USB_ENDPOINT_BULK_ATTR, 512, 0, void]
int_in usb_endpoint_descriptor_fixed_t[USB_FIXED_ENDPOINT_INT_IN_ADDR, USB_ENDPOINT_INT_ATTR, 64, 1, void]
} [packed]
vusb_descriptors_rtl8150 {
len len[parent, int32]
generic ptr[in, vusb_descriptor_generic]
USB_DT_STRING ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_STRING, usb_string_descriptor]]
} [packed]
vusb_responses_rtl8150 {
len len[parent, int32]
generic ptr[in, vusb_response_generic]
USB_REQ_GET_INTERFACE ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]]
USB_REQ_GET_CONFIGURATION ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]]
RTL8150_REQ_GET_REGS ptr[in, vusb_response_t[RTL8150_REQT_READ, RTL8150_REQ_GET_REGS, array[int8, 0:6]]]
RTL8150_REQ_SET_REGS ptr[in, vusb_response_t[RTL8150_REQT_WRITE, RTL8150_REQ_SET_REGS, array[int8, 0:6]]]
} [packed]
define RTL8150_REQ_GET_REGS 0x05
define RTL8150_REQ_SET_REGS 0x05
define RTL8150_REQT_READ 0xc0
define RTL8150_REQT_WRITE 0x40
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# sierra_net driver specific descriptions.
resource fd_usb_sierra_net[fd_usb]
syz_usb_connect$sierra_net(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_sierra_net], conn_descs const[0]) fd_usb_sierra_net (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$sierra_net(fd fd_usb_sierra_net, descs ptr[in, vusb_descriptors_sierra_net], resps ptr[in, vusb_responses_sierra_net]) (timeout[300], remote_cover)
usb_device_descriptor_sierra_net {
inner usb_device_descriptor_fixed_t[0x200, USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, 64, 0x1199, 0x68a3, 0, array[usb_config_descriptor_sierra_net, 1]]
} [packed]
usb_config_descriptor_sierra_net {
inner usb_config_descriptor_fixed_t[1, 1, USB_CONFIG_ATT_ONE, 250, usb_interface_descriptor_sierra_net]
} [packed]
usb_interface_descriptor_sierra_net {
iface usb_interface_descriptor_fixed_t[7, 0, 3, USB_CLASS_VENDOR_SPEC, 0, 0, void, usb_endpoint_descriptors_sierra_net]
} [packed]
# sierra_net driver does not expect fixed ep addresses, so refrain from being too specific here.
# As long as we ensure there are 3 endpoints, 2 bulk and 1 int, syzkaller should figure it out.
usb_endpoint_descriptors_sierra_net {
bulk_in usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], const[USB_ENDPOINT_BULK_ATTR, int8], void]
bulk_out usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], const[USB_ENDPOINT_BULK_ATTR, int8], void]
status usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], const[USB_ENDPOINT_INT_ATTR, int8], void]
} [packed]
vusb_descriptors_sierra_net {
len len[parent, int32]
generic ptr[in, vusb_descriptor_generic]
USB_DT_STRING ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_STRING, usb_string_descriptor]]
} [packed]
vusb_responses_sierra_net {
len len[parent, int32]
generic ptr[in, vusb_response_generic]
USB_CDC_GET_ENCAPSULATED_RESPONSE ptr[in, vusb_response_t[SIERRA_CMD_TYPE_IN, USB_CDC_GET_ENCAPSULATED_RESPONSE, array[int8, 1024]]]
USB_CDC_SEND_ENCAPSULATED_COMMANDT ptr[in, vusb_response_t[SIERRA_CMD_TYPE_OUT, USB_CDC_SEND_ENCAPSULATED_COMMAND, array[int8, 0:4]]]
} [packed]
define SIERRA_CMD_TYPE_IN (USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE)
define SIERRA_CMD_TYPE_OUT (USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE)
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# lan78xx driver specific descriptions.
# While these syz_* variants noticably help with the probe() process, they are not enough.
# This is due to a high number of control requests expected between the driver and the device.
include <drivers/net/usb/smsc95xx.h>
resource fd_usb_lan78xx[fd_usb]
syz_usb_connect$lan78xx(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_lan78xx], conn_descs const[0]) fd_usb_lan78xx (timeout[3000], prog_timeout[3000], remote_cover)
syz_usb_control_io$lan78xx(fd fd_usb_lan78xx, descs ptr[in, vusb_descriptors_lan78xx], resps ptr[in, vusb_responses_lan78xx]) (timeout[300], remote_cover)
usb_device_descriptor_lan78xx {
inner usb_device_descriptor_fixed_t[0x200, USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, 64, 0x424, 0x7850, 0, array[usb_config_descriptor_lan78xx, 1]]
} [packed]
usb_config_descriptor_lan78xx {
inner usb_config_descriptor_fixed_t[1, 1, USB_CONFIG_ATT_ONE, 250, usb_interface_descriptor_lan78xx]
} [packed]
usb_interface_descriptor_lan78xx {
iface usb_interface_descriptor_fixed_t[0, 0, 3, USB_CLASS_VENDOR_SPEC, 0, 0, void, usb_endpoint_descriptors_lan78xx]
} [packed]
usb_endpoint_descriptors_lan78xx {
bulk_in usb_endpoint_descriptor_fixed_t[USB_FIXED_ENDPOINT_BULK_IN_ADDR, USB_ENDPOINT_BULK_ATTR, 512, 0, void]
bulk_out usb_endpoint_descriptor_fixed_t[USB_FIXED_ENDPOINT_BULK_OUT_ADDR, USB_ENDPOINT_BULK_ATTR, 512, 0, void]
int_in usb_endpoint_descriptor_fixed_t[USB_FIXED_ENDPOINT_INT_IN_ADDR, USB_ENDPOINT_INT_ATTR, 64, 1, void]
} [packed]
vusb_descriptors_lan78xx {
len len[parent, int32]
generic ptr[in, vusb_descriptor_generic]
USB_DT_STRING ptr[in, vusb_descriptor_t[USB_TYPE_STANDARD, USB_DT_STRING, usb_string_descriptor]]
} [packed]
vusb_responses_lan78xx {
len len[parent, int32]
generic ptr[in, vusb_response_generic]
USB_REQ_GET_INTERFACE ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]]
USB_REQ_GET_CONFIGURATION ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]]
USB_VENDOR_REQUEST_READ_REGISTER ptr[in, vusb_response_t[LAN78XX_REG_TYPE_IN, USB_VENDOR_REQUEST_READ_REGISTER, int32]]
USB_VENDOR_REQUEST_WRITE_REGISTER ptr[in, vusb_response_t[LAN78XX_REG_TYPE_OUT, USB_VENDOR_REQUEST_WRITE_REGISTER, int32]]
USB_VENDOR_REQUEST_GET_STATS ptr[in, vusb_response_t[LAN78XX_REG_TYPE_IN, USB_VENDOR_REQUEST_GET_STATS, array[int8, 47]]]
} [packed]
define LAN78XX_REG_TYPE_IN (USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE)
define LAN78XX_REG_TYPE_OUT (USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE)
] |
| 75/2 | 2026/04/16 19:51 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 128557 output: 312 thoughts: 4672 Thoughts: **Crafting a Reproducer for a USB Race Condition** Okay, so I'm diving into this `vusb` stuff and trying to understand how to make a reproducer for a potential race condition in the `xpad` driver. The initial idea was to leverage `syz_usb_connect`, but it seems that `init_vusb.go` is going to automatically patch the vendor and product IDs in the device descriptor if I use `syz_usb_connect`. This means I can't directly specify the Xbox controller (0x045e, 0x028e) values in the syzlang program. I need to get around that patching and control the device descriptor bytes directly. I realized I can bypass the struct and feed the raw bytes, since syzlang is flexible. I can use `&AUTO` or a specific address like `&(0x7f0000000000)` and put the descriptor bytes there. I construct the device and configuration descriptors, carefully laying out the bytes to match the Xbox 360 wireless controller. I'm focusing on the `XTYPE_XBOX360W` type because the initial `irq_in` submission seems relevant here, and then it is time to write the program. I'm aiming for a race condition between the device disconnection and the completion of data transfers initiated by the driver. I need `syz_usb_disconnect` to be called when xpad is doing something, which is a key part of the race. The program will involve `syz_usb_connect`, followed by simulating the device sending data to the host (in other words, the emulator to the OS) using `syz_usb_ep_write`. Then, a `syz_usb_disconnect` is called right after. Specifically, I’ll connect as an Xbox 360 wireless controller, emulate sending a 'presence' packet, and then immediately disconnect. The presence packet triggers work queue tasks and calls into `xpad_presence_work`. This calls `xpad_init_input`, and submits an `irq_out` URB. Now this is good because if the URB is submitted but NOT completed, and then `xpad_disconnect` is called, we might have a use-after-free. This means by disconnecting right after sending the "presence" packet, I may be able to hit the race condition between `xpad_irq_out` (which can complete) and `syz_usb_disconnect` if I'm lucky. The key is that the "presence" packet causes the driver to submit `irq_out` asynchronously. `syz_usb_disconnect` then attempts to clean up the URB, if it's still pending. This is a big race window. The goal is to make these two operations happen at the same time to induce a use-after-free! |
| 76/2 | 2026/04/16 19:52 | tool | reproduce-crash |
0mError:wrong string arg line #1:50: r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=<<<!!ERROR!!>>>'\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04', 0x0) Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)='\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04', 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 77/2 | 2026/04/16 19:52 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 134435 output: 314 thoughts: 130 Thoughts: **String Literal Syntax in syzlang** Okay, so I'm refreshing my memory on syzlang's string literal syntax. It's that `ANY="..."` or `ANY='...'` format, right? Let me double-check the documentation. Aha! It's actually a bit more nuanced than I initially thought. The documentation specifies: `pointer-arg = "&" pointer-arg-addr ["=ANY"] "=" arg` and `string-arg = "'" escaped-string "'" | "\"" escaped-string "\"" | "\"$" escaped-string "\""`. So, if I'm interpreting this correctly, a pointer argument containing a string might look something like `&(0x7f0000000000)=ANY='\x12...'` or even `&(0x7f0000000000)=ANY="\x12..."`. I think that's the key. Let's try the latter one and see if it works as expected. |
| 78/2 | 2026/04/16 19:52 | tool | reproduce-crash |
0mError:wrong string arg line #1:54: r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=<<<!!ERROR!!>>>"\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04", 0x0) Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY="\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04", 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)=ANY="\x08\x80") syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 79/2 | 2026/04/16 19:52 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 135357 output: 284 thoughts: 107 Thoughts: **Exploring Syzkaller's AUTO Keyword for Data Control** Okay, so the documentation suggests that using the `AUTO` keyword in Syzkaller gives me, as the program, complete control over how data is stored. That's interesting. I see an example here: ``` r0 = openat(0xffffffffffffff9c, &AUTO='./file1\x00', 0x42, 0x1ff) write(r0, &AUTO="01010101", 0x4) ``` Right, it's using `&AUTO` to specify the data directly. The first example opens a file. So, I need to figure out how `&AUTO` works and what I can do with it. My instinct is, instead of using a string constant, let's explore if I can influence the value that is stored. Let's try something different with that `&AUTO` syntax. Instead of `&AUTO="./file1\x00"`, I'll try `&AUTO="\x12..."` and experiment with a binary value there. I bet I can control the content of the data directly. Let's see if this gives me more control. |
| 80/2 | 2026/04/16 19:52 | tool | reproduce-crash |
0mError:wrong string arg line #1:38: r0 = syz_usb_connect(0x0, 0x32, &AUTO=<<<!!ERROR!!>>>"\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04", 0x0) Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &AUTO="\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04", 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &AUTO="\x08\x80") syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 81/2 | 2026/04/16 19:52 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 136262 output: 288 thoughts: 104 Thoughts: **Analyzing the syz_usb_connect Function Call** Okay, so I'm looking at `syz_usb_connect`. The function signature says it accepts a `dev ptr[in, usb_device_descriptor]`. My immediate thought is, if I'm trying to inject a string, can I just directly pass it as a struct pointer? That seems... incorrect. Hold on, the documentation is key here. It explicitly states how to handle pointer arguments: `pointer-arg = "&" pointer-arg-addr ["=ANY"] "=" arg`. So, if I'm understanding this correctly, the correct format for passing a string to a pointer like this is `&AUTO=ANY="..."`. Therefore, my best approach is to try `&AUTO=ANY="\x12..."` and see if that works. |
| 82/2 | 2026/04/16 19:53 | tool | reproduce-crash |
0mError:wrong string arg line #1:42: r0 = syz_usb_connect(0x0, 0x32, &AUTO=ANY=<<<!!ERROR!!>>>"\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04", 0x0) Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &AUTO=ANY="\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04", 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &AUTO=ANY="\x08\x80") syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 83/2 | 2026/04/16 19:53 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 137081 output: 316 thoughts: 2280 Thoughts: **Analyzing USB Device Descriptor Initialization in Syzlang** Okay, so I'm trying to figure out the most effective way to trigger a specific USB driver, xpad in this case, using syzlang and `syz_usb_connect`. My initial thought was to leverage the struct syntax directly, bypassing any potential random assignment, but I need to make sure I am following the structure correctly. The current approach involves the manual specification of the `usb_device_descriptor`. Looking at the structure definition, I realized `CLASS`, `SUBCLASS`, `PROTOCOL`, `VENDOR`, `PRODUCT`, and `DEVICE` are defined as `const[0]`. This implies I *must* provide `0` for these fields. This poses a challenge, however, since providing `0` in the current configuration allows `init_vusb.go` to patch them randomly when the generic `syz_usb_connect` is called. Specifically, I'm trying to force `0x045e` and `0x0291` as the `idVendor` and `idProduct` respectively. This is associated with the xpad driver. I considered `syz_usb_connect$xpad` which seems like the ideal solution, however it does not exist. Similarly, `usbfs` interactions via `dev_bus_usb.txt` are not useful, as they are for user-space drivers. The current strategy involves crafting the raw byte representation of the descriptor and passing it as a string to the `syz_usb_connect` call. I first tried using the `&AUTO="..."` syntax, thinking the raw bytes would be a straightforward way to pass the data, however, the error "wrong string arg" appeared. A review of the documentation confirms that `\x` escapes are supported in syzlang strings, so the error must be elsewhere. Looking at the `vusb.txt` signature, it seems that `usb_device_descriptor` is of type `struct`, therefore, can't be assigned a string literal in this way, which explains the `wrong string arg` error. I've determined that due to the `const[0]` definitions of `idVendor` and `idProduct`, the parser requires the values to be zero. Providing anything other than `0` results in a parsing error. This makes it impossible to explicitly set the Vendor and Product IDs using a raw struct definition directly. This is a key hurdle. The goal is to craft the descriptor, force the specific `idVendor` and `idProduct` for xpad, and guarantee that the correct USB driver will be triggered. |
| 84/2 | 2026/04/16 19:53 | tool | reproduce-crash |
0mError:wrong int arg *prog.StructType
line #1:125: r0 = syz_usb_connect(0x0, 0x32, &AUTO={{0x12, 0x1, 0x200, 0x0, 0x0, 0x0, 0x40, 0x045e, 0x0291, 0x0, 0x1, 0x2, 0x3, 0x1, [{0x9<<<!!ERROR!!>>>, 0x2, 0x20, 0x1, 0x1, 0x0, 0x80, 0xfa, {0x9, 0x4, 0x0, 0x0, 0x2, 0xff, 0x5d, 0x81, 0x0, [], [{0x7, 0x5, 0x81, 0x3, 0x20, 0x4, 0x0, 0x0, []}, {0x7, 0x5, 0x02, 0x3, 0x20, 0x4, 0x0, 0x0, []}]}}]}}, 0x0)Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &AUTO={{0x12, 0x1, 0x200, 0x0, 0x0, 0x0, 0x40, 0x045e, 0x0291, 0x0, 0x1, 0x2, 0x3, 0x1, [{0x9, 0x2, 0x20, 0x1, 0x1, 0x0, 0x80, 0xfa, {0x9, 0x4, 0x0, 0x0, 0x2, 0xff, 0x5d, 0x81, 0x0, [], [{0x7, 0x5, 0x81, 0x3, 0x20, 0x4, 0x0, 0x0, []}, {0x7, 0x5, 0x02, 0x3, 0x20, 0x4, 0x0, 0x0, []}]}}]}}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 85/2 | 2026/04/16 19:53 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 140552 output: 314 thoughts: 683 Thoughts: **Debugging a USB Configuration Descriptor**
Okay, the error's showing up at `0x9`. Let's break this down. Right, `usb_device_descriptor` contains an array of `usb_config_descriptor` instances. And within that, the `usb_config_descriptor` has this `inner usb_config_descriptor_ifaces_array_t` structure. That one's built on a few other types; `usb_config_descriptor_ifaces_array_t` expands to `usb_config_descriptor_t[NUM, len[interfaces, int8], IFS]`, which in turn, is a `usb_config_descriptor_verbose_t` instance with several fields: `bLength`, `bDescriptorType`, `wTotalLength`, `bNumInterfaces`, `bConfigurationValue`, `iConfiguration`, `bmAttributes`, `bMaxPower`, `extra`, and `interfaces`.
So, based on the structure, the correct initialization should look like this: `{0x9, 0x2, 0x20, 0x1, 0x1, 0x0, 0x80, 0xfa, @void, [...]}`. But wait, what's with the `void`? Ah, right! In syzlang, `void` fields are *omitted* in struct literals. Okay, so we check the `usb_config_descriptor_verbose_t` definition again to be sure: `bLength`, `bDescriptorType`, `wTotalLength`, `bNumInterfaces`, `bConfigurationValue`, `iConfiguration`, `bmAttributes`, `bMaxPower`, `extra`, and `interfaces`. If `extra` is `void`, it's not present. That means my initial thought, without the `@void`, is correct! `{0x9, 0x2, 0x20, 0x1, 0x1, 0x0, 0x80, 0xfa, [...]}`.
But the debugger's complaining about `0x9` – that's `bLength`. Why is it saying there's a problem with an integer argument there? It's because `configs` is declared as an `array[usb_config_descriptor, 1]`. So that `usb_config_descriptor` I'm constructing needs to be wrapped inside an array literal. That means it should look like this: `[ { {0x9, 0x2, ...} } ]`. It *does* need to be an array, because of the `usb_config_descriptor`'s `inner usb_config_descriptor_ifaces_array_t`. So the array-wrapped structure is the way forward. Let's try that!
|
| 86/2 | 2026/04/16 19:53 | tool | reproduce-crash |
0mError:wrong array arg *prog.BufferType
line #1:161: r0 = syz_usb_connect(0x0, 0x32, &AUTO={{0x12, 0x1, 0x200, 0x0, 0x0, 0x0, 0x40, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x20, 0x1, 0x1, 0x0, 0x80, 0xfa, [<<<!!ERROR!!>>>{{0x9, 0x4, 0x0, 0x0, 0x2, 0xff, 0x5d, 0x81, 0x0, [], [{{0x7, 0x5, 0x81, 0x3, 0x20, 0x4, 0x0, 0x0, []}}, {{0x7, 0x5, 0x02, 0x3, 0x20, 0x4, 0x0, 0x0, []}}]}}]}}]}}, 0x0)Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &AUTO={{0x12, 0x1, 0x200, 0x0, 0x0, 0x0, 0x40, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x20, 0x1, 0x1, 0x0, 0x80, 0xfa, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0xff, 0x5d, 0x81, 0x0, [], [{{0x7, 0x5, 0x81, 0x3, 0x20, 0x4, 0x0, 0x0, []}}, {{0x7, 0x5, 0x02, 0x3, 0x20, 0x4, 0x0, 0x0, []}}]}}]}}]}}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 87/2 | 2026/04/16 19:53 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 142470 output: 416 thoughts: 1578 Thoughts: **Dissecting USB Configuration and Targeting the xpad Driver**
Okay, let's break this down. I'm looking at `usb_config_descriptor_ifaces_array_t` and specifically the `IFS` field, which I know is an array of `usb_interface_descriptor` instances, ranging from 1 to 4 elements. So `[ { {0x9, 0x4, ...} } ]` seems correct at first glance. However, there's an error: "wrong array arg *prog.BufferType." I'm diving deeper into the definitions.
The `extra` field, which looks like `void` in some contexts, is defined as `void` in `usb_config_descriptor_t`, but in `usb_interface_descriptor_t`, it seems to be defined as `int8`, which then gets passed as `EXTRA` to the verbose type. Confusing! Let's verify... yes, `usb_interface_descriptor_t` really does have `EXTRA` as `int8`, but when looking at the `usb_interface_descriptor_verbose_t`, it then receives this as an `EXTRA` which is an `int8`. Then I look at `inner` and `extra` is an `array[usb_interface_extra_descriptor, 0:2]`. So, okay, `[]` *is* correct for the `extra` field. I was initially thrown by the apparent inconsistency in how `EXTRA` is being treated.
Now, focusing on `usb_config_descriptor_t`, `EXTRA` is indeed `void`, and the `interfaces` array comes directly after `bMaxPower` as expected. `bMaxPower` is an `int8`, so `0xfa` is correct for that. And that means the `interfaces` part, `array[usb_interface_descriptor, 1:4]`, and its contents should be properly structured as I have described above. But why that array error still?
Aha! `usb_device_descriptor` has an `inner usb_device_descriptor_t` which includes an `array[usb_config_descriptor, 1]`. But I remember `init_vusb.go` patches `idVendor` and `idProduct` *only* if they're zero. That's a problem, because if I hardcode these values, I can't force `xpad`. `init_vusb.go` just randomly picks.
Is there a workaround? Can I bypass `init_vusb.go`? If I can use `syz_usb_connect$xpad` it doesn't exist.
Wait... `init_vusb.go` *patches* the `dev` argument. The question is, can I use `syz_usb_connect` and let it patch what it needs, but *provide* the correct `bInterfaceClass`, `bInterfaceSubClass`, and `bInterfaceProtocol`? Yes! `init_vusb.go` changes the `idVendor` and `idProduct` based on `usb_device_id` tables.
So, if I give it `bInterfaceClass = 0xff`, `bInterfaceSubClass = 0x5d`, `bInterfaceProtocol = 0x81`, maybe `init_vusb.go` will find a driver that matches *those*! But wait, `xpad` actually matches based on `idVendor` and `idProduct`, NOT the interface class! The code confirms this, looping through the `xpad_device` table and matching Vendor and Product IDs.
So, if `init_vusb.go` picks random `idVendor` and `idProduct`, there is a chance it might pick one from `xpad_device`. But it could pick from another driver!
Now I remember syzkaller has a way to specify raw bytes for a struct! If I use `&AUTO=""`, it failed, likely because the type is `ptr[in, usb_device_descriptor]`. But maybe I can use `ANY` for `syz_usb_connect`? No, that signature is fixed.
But wait, syzkaller supports `ANY` for structs! The syntax is something like `pointer-arg = "&" pointer-arg-addr ["=ANY"] "=" arg`. Let's retry `&(0x7f0000000000)=ANY="\x12..."` but make sure I get the syntax *exactly* right.
And yes! if I use `ANY`, the argument must be a valid `ANY` type. In syzlang, `ANY` is just a blob of bytes. Let's try to assemble the correct blob and use the hex value: `&(0x7
|
| 88/2 | 2026/04/16 19:53 | tool | reproduce-crash |
0mError:wrong int arg *prog.UnionType line #1:59: r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[0x12<<<!!ERROR!!>>>, 0x01, 0x00, 0x02, 0xff, 0xff, 0xff, 0x40, 0x5e, 0x04, 0x91, 0x02, 0x14, 0x01, 0x01, 0x02, 0x03, 0x01, 0x09, 0x02, 0x20, 0x00, 0x01, 0x01, 0x00, 0x80, 0xfa, 0x09, 0x04, 0x00, 0x00, 0x02, 0xff, 0x5d, 0x81, 0x00, 0x07, 0x05, 0x81, 0x03, 0x20, 0x00, 0x04, 0x07, 0x05, 0x02, 0x03, 0x20, 0x00, 0x04], 0x0) Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[0x12, 0x01, 0x00, 0x02, 0xff, 0xff, 0xff, 0x40, 0x5e, 0x04, 0x91, 0x02, 0x14, 0x01, 0x01, 0x02, 0x03, 0x01, 0x09, 0x02, 0x20, 0x00, 0x01, 0x01, 0x00, 0x80, 0xfa, 0x09, 0x04, 0x00, 0x00, 0x02, 0xff, 0x5d, 0x81, 0x00, 0x07, 0x05, 0x81, 0x03, 0x20, 0x00, 0x04, 0x07, 0x05, 0x02, 0x03, 0x20, 0x00, 0x04], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)=ANY=[0x08, 0x80]) syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 89/2 | 2026/04/16 19:53 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 145857 output: 324 thoughts: 1189 Thoughts: **Navigating the USB Device Descriptor Conundrum** Okay, so I'm trying to figure out how to specify a USB device descriptor with specific vendor and product IDs, specifically for an xpad device, using syzkaller's `syz_usb_connect` function. It looks like `ANY` is the key. But wait, is `ANY` a union, or a special type? Right, the documentation mentions that `ANY` can be a union. If it's a union, I need to specify which option. The current approach uses a struct and sets the vendor/product IDs to 0. But, if the struct definition *requires* them to be zero, passing explicit values won't work. The function `syz_usb_connect` takes `usb_device_descriptor`, and I need to figure out how to provide a custom one. Let's see... are there other versions of `syz_usb_connect` for specific device types? No, the existing variants don't cover xpad. Aha! `init_vusb.go` in the fuzzing framework *patches* those IDs if they are zero! So, if I pass zero for vendor and product, the system will patch it. But how does `init_vusb.go` know the *correct* values? It picks a random entry from the kernel's `usb_device_id` tables! That's a problem, it might or might not pick xpad. Is there a way to force it? No, if using `syz_usb_connect`, I can't directly force the choice. Could I use `dev_bus_usb.txt`? No, that's for user-space drivers, not device emulation. What if I let it pick a random driver, but provide xpad endpoints? No, most drivers use a matching `idVendor` and `idProduct` in `probe` to decide if they should bind to a device! So, it looks like I *must* set those IDs to `0x045e` and `0x0291`. Okay, back to `syz_usb_connect`. Can I write a raw byte array? Yes, syzkaller allows type casting to `ANY` with `ANY` as the type, but I remember it's a union type. Initial attempts using `&AUTO=ANY=[...]` didn't work. Wait, let's try a string. That didn't work either. Wrong string argument! Okay, I need to check how `ANY` is *actually* used in syzkaller. Let's look at `bpf$PROG_LOAD`. Ah! The key is a union! `@ANYBLOB` is one of the options. So, the syntax should be `&(0x7f0000000000)=ANY=[@ANYBLOB="\x12\x01..."]`. That is, specifying the type as `ANY`, but using `@ANYBLOB` as the concrete value. That makes sense, I should try this now. |
| 90/2 | 2026/04/16 19:54 | tool | reproduce-crash |
0mError:failed to parse identifier at pos 65 line #1:65: r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="<<<!!ERROR!!>>>\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04"], 0x0) Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="\x12\x01\x00\x02\xff\xff\xff\x40\x5e\x04\x91\x02\x14\x01\x01\x02\x03\x01\x09\x02\x20\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x02\xff\x5d\x81\x00\x07\x05\x81\x03\x20\x00\x04\x07\x05\x02\x03\x20\x00\x04"], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)=ANY=[@ANYBLOB="\x08\x80"]) syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 91/2 | 2026/04/16 19:54 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 148309 output: 224 thoughts: 61 Thoughts: Okay, here's the summary, tailored for an expert audience: **Hex String Format for ANYBLOB** Hold on a second, I need to recalibrate my mental model for this `ANYBLOB` field. I was initially thinking about how I'd typically represent binary data, but I've got to remember, this specific implementation appears to want a hex string, *specifically* without that `\x` prefix. So, instead of thinking about the internal binary representation, I need to feed it a pure hexadecimal representation. I should format it as something like `"18010000000000000000000000000000"`. Right, let's give that a shot and see if that resolves the issue I'm running into. |
| 92/2 | 2026/04/16 19:54 | tool | reproduce-crash |
0mError:wrong array arg *prog.BufferType line #2:55: syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)=ANY=[<<<!!ERROR!!>>>@ANYBLOB="0880"]) Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)=ANY=[@ANYBLOB="0880"]) syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 93/2 | 2026/04/16 19:54 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 148856 output: 221 thoughts: 87 Thoughts: Okay, let me break this down. **USB Endpoint Write Analysis** Right, so I'm looking at this `syz_usb_ep_write` function. The signature clearly indicates that it takes a `data ptr[in, array[int8, 0:256]]` argument. Okay, so that's an input pointer to an array of bytes, up to 256 bytes in length. The good news is, that being an array, I should be able to just use a string literal to feed in the data! Makes life so much easier. Let's see… I was initially thinking I could just directly assign a hex string, something like `&(0x7f0000000100)="0880"` but that is not correct. I need to encode the data as a literal string. So, it should be `"\x08\x80"`. That seems right. Let's give that a shot and see how it works! |
| 94/2 | 2026/04/16 19:54 | tool | reproduce-crash |
0mError:failed to parse identifier at pos 51 line #2:51: syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)="<<<!!ERROR!!>>>\x08\x80") Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)="\x08\x80") syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 95/2 | 2026/04/16 19:54 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 149465 output: 222 thoughts: 351 Thoughts: **Debugging Syzlang String Literals and Array Arguments** Okay, so I'm wrestling with how to represent byte sequences in syzlang. It hits me – string literals can be single-quoted or double-quoted, right? But the immediate issue is that `\x` escapes don't seem to be supported. Let's consult the documentation to be sure. Ah, there it is: `'` followed by an escaped string, `"` followed by an escaped string, or `"$` followed by an escaped string, then a closing `"`. If `\x` is out, how do I actually define bytes? Could I use something like `ANY=[@ANYBLOB="0880"]`? Thinking about it, no. I'm trying to feed bytes to a function that needs `data ptr[in, array[int8, 0:256]]` for its argument. So, maybe something like `&(0x7f0000000100)=ANY=[@ANYBLOB="0880"]`? Hold on, I'm getting a compiler error: `wrong array arg *prog.BufferType`. Right, `ANY` is a union, but the argument is a simple `array[int8]`! It's not a struct, so I can't just pass any arbitrary blob and expect it to magically work. If the argument is an `array[int8]`, can I try just `&(0x7f0000000100)="0880"`? Hang on, if it's hex, is there maybe some kind of `ANYBLOB` syntax for literal strings? No, `ANYBLOB` is specific to the `ANY` union, which is a different animal. Okay, I've got it. I'm passing a simple `array[int8]`. The way to pass `array[int8]` is just to pass it as an array literal. So, the correct way to specify the data would just be `[0x08, 0x80]`. Time to try `&(0x7f0000000100)=[0x08, 0x80]`. Fingers crossed! |
| 96/2 | 2026/04/16 19:54 | tool | reproduce-crash |
0mError:wrong array arg *prog.BufferType line #2:51: syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)=[<<<!!ERROR!!>>>0x8, 0x80]) Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)=[0x8, 0x80]) syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 97/2 | 2026/04/16 19:54 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 150608 output: 221 thoughts: 167 Thoughts: **My Line of Reasoning** Okay, let's see. The function `syz_usb_ep_write` takes a `data ptr[in, array[int8, 0:256]]` argument. Right, an `array[int8]` is essentially a buffer. And for buffers, I can often just use string literals, that's convenient. But hang on, I tried passing `"\x08\x80"` and it choked with a "failed to parse identifier" error. Hmm, what am I missing? Right, in syzlang, string literals have their own specific syntax, it's either single or double quotes, or the special `"$"` form. I'm used to C and other languages. Okay, so `"..."` or `'...'`, got it. So, can I use an `ANYBLOB` or hex string directly? No, that's not the right tool for this. Let me double-check the documentation... Aha! The grammar specifies: `string-arg = "'" escaped-string "'" | "\"" escaped-string "\"" | "\"$" escaped-string "\""`. Okay, so, what about `'\\x08\\x80'` then? Yes, that might just work, and I should try it. |
| 98/2 | 2026/04/16 19:54 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 99/2 | 2026/04/16 19:56 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 151298 output: 224 thoughts: 585 Thoughts: **Analyzing a Subtle USB Race Condition** Okay, so the code compiled, which is great, but the crash didn't happen. That's the real puzzle. Why isn't the expected race condition manifesting? I'm thinking through the sequence of events... It seems the key lies in the interaction between `syz_usb_disconnect` and `syz_usb_ep_write`. I remember `syz_usb_ep_write` is synchronous; it immediately sends the packet. This triggers the host-side processing, specifically `xpad_irq_in`. That, in turn, calls `xpad360w_process_packet` and schedules the `xpad->work` workqueue. That queue runs *asynchronously*, which is the crux of the problem. `syz_usb_disconnect` is called *immediately* after `syz_usb_ep_write` returns. If `syz_usb_disconnect` preempts the execution of `xpad->work`, then we have a potential problem. `xpad_init_input` might not even be called, or if it *is* called, the interrupt `irq_out` might not yet be submitted! So, what we need is a controlled delay. We need to wait a *little bit* to allow `xpad->work` to kick off and submit `irq_out`, but *not* so long that the race becomes moot because everything has finished before `xpad_disconnect` is called. Ah, hold on. I'm remembering that `irq_out` is actually submitted by `xpad_led_probe` and completed by `dummy_hcd` in a timer. The solution then is to make `syz_usb_ep_write` and `syz_usb_disconnect` run concurrently! Therefore, let's craft a Syzlang program that exploits this condition: ```syzlang r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') (async) syz_usb_disconnect(r0) ``` The `(async)` directive is what we need to force this concurrent execution and trigger the intended race condition. Let's give it a shot. |
| 100/2 | 2026/04/16 19:56 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') (async) syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 101/2 | 2026/04/16 19:58 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 152791 output: 172 thoughts: 897 Thoughts: **Analyzing a Potential USB Race Condition**
Okay, still no crash, which is frustrating. I'm wondering if `syz_usb_disconnect` is simply running *too* quickly? If it executes before `syz_usb_ep_write` even *begins*, then `xpad_disconnect` will kill `irq_in`, and importantly, `xpad->work` will be flushed! Specifically, the `xpad360w_stop_input` function, called during disconnect, kills the interrupt and flushes the workqueue:
```c
xpad360w_stop_input(xpad);
```
```c
static void xpad360w_stop_input(struct usb_xpad *xpad)
{
usb_kill_urb(xpad->irq_in);
/* Make sure we are done with presence work if it was scheduled */
flush_work(&xpad->work);
}
```
If `flush_work` is called, that means it waits for `xpad_presence_work` to complete. Crucially, if `xpad_presence_work` *finishes*, it has ALREADY submitted `irq_out`. Then, `xpad_disconnect` continues and calls `xpad_stop_output`.
But wait… If `xpad_presence_work` submits `irq_out` *before* the disconnect calls `xpad_stop_output`, then `irq_out` is *still active*! In which case, `xpad_stop_output` has to wait for completion!
```c
if (!usb_wait_anchor_empty_timeout(&xpad->irq_out_anchor,
5000)) {
```
When it waits, it will wake up when `usb_unanchor_urb` is called. So then `xpad_disconnect` frees `xpad`! Then `xpad_irq_out` accesses `xpad->odata_lock`! THAT'S the race! That should be the bug!
So why hasn't it crashed? Maybe `syz_usb_ep_write` didn't even run because the program exited? If the program exits, `syz_usb_disconnect` is implicitly called. However, using the `(async)` flag, the main thread may exit before the async thread completes. Let's try adding a delay or running the disconnect multiple times.
Wait, what if I use `XTYPE_XBOX360` instead of `XTYPE_XBOX360W`? Because, for `XTYPE_XBOX360`, `irq_out` is submitted DURING PROBE! I don't even *need* `syz_usb_ep_write`! I just need connect and disconnect! This might be simpler. Let's check the descriptor for `XTYPE_XBOX360`. `idVendor = 0x045e`, `idProduct = 0x028e`. Interface class is `0xff`, subclass is `0x5d`, and protocol is `0x01`.
Now, I'll construct the descriptor and confirm:
```
12 01 00 02 ff ff ff 40 5e 04 8e 02 14 01 01 02 03 01
09 02 20 00 01 01 00 80 fa
09 04 00 00 02 ff 5d 01 00
07 05 81 03 20 00 04
07 05 02 03 20 00 04
```
In hex, it is:
`12010002ffffff405e048e021401010203010902200001010080fa0904000002ff5d01000705810320000407050203200004`
|
| 102/2 | 2026/04/16 19:58 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e048e021401010203010902200001010080fa0904000002ff5d01000705810320000407050203200004"], 0x0) syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 103/2 | 2026/04/16 19:59 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 154840 output: 268 thoughts: 719 Thoughts: **Debugging a USB Driver Race Condition** Okay, still no crash, which is frustrating. Why isn't this reproducing? I need to understand the timing here. My current theory is that `syz_usb_connect` is somehow waiting for `xpad_probe` to finish. During `xpad_probe`, `xpad_init_input` gets called, which in turn calls `xpad_led_probe`. This is where it gets interesting, because `xpad_led_probe` submits `irq_out`. Then, and only then, does `xpad_probe` complete and `syz_usb_connect` returns. Following that, `syz_usb_disconnect` is called. The key is `irq_out`! I need to figure out the timing of this critical section. `irq_out` is submitted during `xpad_probe`, but how long does it take for `irq_out` to actually complete? Ah, `dummy_hcd` completes it with a timer, usually within 1ms! If `syz_usb_connect` takes longer than 1ms to return—because it's waiting for udev events or whatever — then `irq_out` has likely already completed by the time `syz_usb_disconnect` is called! If `irq_out` is already done, that means `xpad->irq_out_active` is now false. In this scenario, `xpad_stop_output` returns immediately, and there is NO race. Damn! I need to ensure that `irq_out` is still active when `xpad_disconnect` is called! How do I force this? Aha! I can send an LED command! If I write to the LED sysfs file, this will call `xpad_led_set`, which then *also* submits `irq_out`! If I can do this right before `syz_usb_disconnect`, I should have my race. Now, how do I actually send an LED command from syzkaller? It doesn't have a direct pseudo-syscall for writing to sysfs, of course. But I can use `openat` and `write`! Perfect. I can create a syzlang program. ```syzlang r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e048e021401010203010902200001010080fa0904000002ff5d01000705810320000407050203200004"], 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='/sys/class/leds/xpad0/brightness\x00', 0x2, 0x0) write(r1, &(0x7f0000000200)='1\x00', 0x1) (async) syz_usb_disconnect(r0) ``` One slight snag: the LED name might not *always* be `xpad0`. That depends on the `xpad->pad_nr` value. If it's the first controller, then `xpad0` it is. Let's start with that assumption and give it a shot. I'm ready! |
| 104/2 | 2026/04/16 20:00 | tool | reproduce-crash |
0mError:call #1 openat: escaping filename "/sys/class/leds/xpad0/brightness\x00" Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e048e021401010203010902200001010080fa0904000002ff5d01000705810320000407050203200004"], 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='/sys/class/leds/xpad0/brightness\x00', 0x2, 0x0) write(r1, &(0x7f0000000200)='1\x00', 0x1) (async) syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 105/2 | 2026/04/16 20:00 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 156682 output: 16 thoughts: 94 Thoughts: **Navigating the `openat` Labyrinth in Syzkaller** Okay, so it looks like syzkaller is being a bit fussy about `openat` and absolute paths – it's not letting me just throw them in, which is a common security precaution, of course. Hmm, but wait a minute… what about using `openat` with `AT_FDCWD` (that's `0xffffffffffffff9c` for the familiar shorthand) *and* an absolute path? That *should* work around some of the more basic restrictions... but I have a feeling syzkaller might be clever enough to catch that too. The error message is pointing towards "escaping filename," which I interpret as a filtering mechanism. It's likely sanitizing the filename string to prevent path traversal vulnerabilities. Okay, let's explore `openat$sysfs`. That's a good approach to access the sysfs file system, and is probably what I need to do. Time to consult the definitive source: `sys.txt`. I'll confirm that `openat` is supported and check for any nuances related to its implementation in this context. |
| 106/2 | 2026/04/16 20:00 | tool | grepper |
0mArgs:map[Expression:openat] Results: map[Output:
Full output is too long, showing 500 out of 1988 lines.
Use more precise expression if possible.
[CREDITS=3610=D: /sys/fs/cgroup/pids
CREDITS:3611:D: openat2(2)
CREDITS-3612-S: Sydney, Australia
--
Documentation/admin-guide/workload-tracing.rst=327=times each system call is invoked, and the corresponding Linux subsystem.
--
Documentation/admin-guide/workload-tracing.rst-357-+-------------------+-----------+-----------------+-------------------------+
Documentation/admin-guide/workload-tracing.rst:358:| openat | 48560 | Filesystem | sys_opennat() |
Documentation/admin-guide/workload-tracing.rst-359-+-------------------+-----------+-----------------+-------------------------+
--
Documentation/admin-guide/workload-tracing.rst=437=times each system call is invoked, and the corresponding Linux subsystem.
--
Documentation/admin-guide/workload-tracing.rst-441-+===================+===========+=================+=========================+
Documentation/admin-guide/workload-tracing.rst:442:| openat | 74 | Filesystem | sys_openat() |
Documentation/admin-guide/workload-tracing.rst-443-+-------------------+-----------+-----------------+-------------------------+
--
Documentation/admin-guide/workload-tracing.rst=531=times each system call is invoked, and the corresponding Linux subsystem.
--
Documentation/admin-guide/workload-tracing.rst-557-+-------------------+-----------+-----------------+----------------------+
Documentation/admin-guide/workload-tracing.rst:558:| openat | 14 | Filesystem | sys_openat() |
Documentation/admin-guide/workload-tracing.rst-559-+-------------------+-----------+-----------------+----------------------+
--
Documentation/filesystems/caching/cachefiles.rst=69=available in the system and in the cache filesystem:
--
Documentation/filesystems/caching/cachefiles.rst-74-
Documentation/filesystems/caching/cachefiles.rst:75: - openat() and friends.
Documentation/filesystems/caching/cachefiles.rst-76-
--
Documentation/filesystems/path-lookup.rst=13=including:
--
Documentation/filesystems/path-lookup.rst-15-- per-directory parallel name lookup.
Documentation/filesystems/path-lookup.rst:16:- ``openat2()`` resolution restriction flags.
Documentation/filesystems/path-lookup.rst-17-
--
Documentation/filesystems/path-lookup.rst=34=There are two sorts of ...
--
Documentation/filesystems/path-lookup.rst-36-
Documentation/filesystems/path-lookup.rst:37:.. _openat: http://man7.org/linux/man-pages/man2/openat.2.html
Documentation/filesystems/path-lookup.rst-38-
--
Documentation/filesystems/path-lookup.rst=46=from some other location specified by a file descriptor given to
Documentation/filesystems/path-lookup.rst:47:"``*at()``" system calls such as `openat() <openat_>`_.
Documentation/filesystems/path-lookup.rst-48-
--
Documentation/filesystems/path-lookup.rst=420=It should be noted that in the case of ``LOOKUP_IN_ROOT`` or
Documentation/filesystems/path-lookup.rst-421-``LOOKUP_BENEATH``, the effective root becomes the directory file descriptor
Documentation/filesystems/path-lookup.rst:422:passed to ``openat2()`` (which exposes these ``LOOKUP_`` flags).
Documentation/filesystems/path-lookup.rst-423-
--
Documentation/filesystems/path-lookup.rst=475=path_lookupat(), path_parentat() and
Documentation/filesystems/path-lookup.rst:476:path_openat() each of which handles the differing requirements of
Documentation/filesystems/path-lookup.rst-477-different system calls.
--
Documentation/filesystems/path-lookup.rst=495=one provided by a dead NFS server.
Documentation/filesystems/path-lookup.rst-496-
Documentation/filesystems/path-lookup.rst:497:Finally ``path_openat()`` is used for the ``open()`` system call; it
Documentation/filesystems/path-lookup.rst-498-contains, in support functions starting with "open_last_lookups()", all the
--
Documentation/filesystems/path-lookup.rst=1180=This case is handled by relevant callers of link_path_walk(), such as
Documentation/filesystems/path-lookup.rst:1181:path_lookupat(), path_openat() using a loop that calls link_path_walk(),
Documentation/filesystems/path-lookup.rst-1182-and then handles the final component by calling open_last_lookups() or
--
Documentation/filesystems/path-lookup.rst=1319=available which apply restrictions to all path components encountered during
Documentation/filesystems/path-lookup.rst:1320:path lookup. These flags are exposed through ``openat2()``'s ``resolve`` field.
Documentation/filesystems/path-lookup.rst-1321-
--
Documentation/process/adding-syscalls.rst=141=giving an fxyzzy(3) operation for free::
--
Documentation/process/adding-syscalls.rst-146-(For more details on the rationale of the \*at() calls, see the
Documentation/process/adding-syscalls.rst:147::manpage:`openat(2)` man page; for an example of AT_EMPTY_PATH, see the
Documentation/process/adding-syscalls.rst-148-:manpage:`fstatat(2)` man page.)
--
Documentation/process/adding-syscalls.rst=528=functions that classify some special types of system call -- specifically
Documentation/process/adding-syscalls.rst:529:file open (``open``/``openat``), program execution (``execve``/``exeveat``) or
Documentation/process/adding-syscalls.rst-530-socket multiplexor (``socketcall``) operations. If your new system call is
--
Documentation/trace/coresight/coresight-perf.rst=102=Example for triggering AUX pause and resume with ftrace tracepoints::
Documentation/trace/coresight/coresight-perf.rst-103-
Documentation/trace/coresight/coresight-perf.rst:104: perf record -e cs_etm/aux-action=start-paused/k,syscalls:sys_enter_openat/aux-action=resume/,syscalls:sys_exit_openat/aux-action=pause/ ls
Documentation/trace/coresight/coresight-perf.rst-105-
--
Documentation/trace/eprobetrace.rst=144=events are not normal events, but are created from the raw_syscalls events
Documentation/trace/eprobetrace.rst:145:within the kernel). In order to trace the openat system call, one can create
Documentation/trace/eprobetrace.rst-146-an event probe on top of the raw_syscalls event:
--
Documentation/trace/eprobetrace.rst-163-
Documentation/trace/eprobetrace.rst:164:From the source code, the sys_openat() has:
Documentation/trace/eprobetrace.rst-165-::
Documentation/trace/eprobetrace.rst-166-
Documentation/trace/eprobetrace.rst:167: int sys_openat(int dirfd, const char *path, int flags, mode_t mode)
Documentation/trace/eprobetrace.rst-168- {
Documentation/trace/eprobetrace.rst:169: return my_syscall4(__NR_openat, dirfd, path, flags, mode);
Documentation/trace/eprobetrace.rst-170- }
--
Documentation/trace/eprobetrace.rst=172=The path is the second parameter, and that is what is wanted.
--
Documentation/trace/eprobetrace.rst-174-
Documentation/trace/eprobetrace.rst:175: # echo 'e:openat raw_syscalls.sys_enter nr=$id filename=+8($args):ustring' >> dynamic_events
Documentation/trace/eprobetrace.rst-176-
Documentation/trace/eprobetrace.rst:177:This is being run on x86_64 where the word size is 8 bytes and the openat
Documentation/trace/eprobetrace.rst:178:system call __NR_openat is set at 257.
Documentation/trace/eprobetrace.rst-179-::
Documentation/trace/eprobetrace.rst-180-
Documentation/trace/eprobetrace.rst:181: # echo 'nr == 257' > events/eprobes/openat/filter
Documentation/trace/eprobetrace.rst-182-
Documentation/trace/eprobetrace.rst=183=Now enable the event and look at the trace.
--
Documentation/trace/eprobetrace.rst-185-
Documentation/trace/eprobetrace.rst:186: # echo 1 > events/eprobes/openat/enable
Documentation/trace/eprobetrace.rst-187- # cat trace
--
Documentation/trace/eprobetrace.rst-200- # | | | ||||| | |
Documentation/trace/eprobetrace.rst:201: cat-1298 [003] ...2. 2060.875970: openat: (raw_syscalls.sys_enter) nr=0x101 filename=(fault)
Documentation/trace/eprobetrace.rst:202: cat-1298 [003] ...2. 2060.876197: openat: (raw_syscalls.sys_enter) nr=0x101 filename=(fault)
Documentation/trace/eprobetrace.rst:203: cat-1298 [003] ...2. 2060.879126: openat: (raw_syscalls.sys_enter) nr=0x101 filename=(fault)
Documentation/trace/eprobetrace.rst:204: cat-1298 [003] ...2. 2060.879639: openat: (raw_syscalls.sys_enter) nr=0x101 filename=(fault)
Documentation/trace/eprobetrace.rst-205-
--
Documentation/trace/eprobetrace.rst=216=Remove the old eprobe::
Documentation/trace/eprobetrace.rst-217-
Documentation/trace/eprobetrace.rst:218: # echo 1 > events/eprobes/openat/enable
Documentation/trace/eprobetrace.rst:219: # echo '-:openat' >> dynamic_events
Documentation/trace/eprobetrace.rst-220-
Documentation/trace/eprobetrace.rst=221=This time make an eprobe where the address of the filename is saved::
Documentation/trace/eprobetrace.rst-222-
Documentation/trace/eprobetrace.rst:223: # echo 'e:openat_start raw_syscalls.sys_enter nr=$id filename=+8($args):x64' >> dynamic_events
Documentation/trace/eprobetrace.rst-224-
--
Documentation/trace/eprobetrace.rst=226=end of the event::
--
Documentation/trace/eprobetrace.rst-228- # echo 's:filename u64 file' >> dynamic_events
Documentation/trace/eprobetrace.rst:229: # echo 'hist:keys=common_pid:f=filename if nr == 257' > events/eprobes/openat_start/trigger
Documentation/trace/eprobetrace.rst:230: # echo 'hist:keys=common_pid:file=$f:onmatch(eprobes.openat_start).trace(filename,$file) if id == 257' > events/raw_syscalls/sys_exit/trigger
Documentation/trace/eprobetrace.rst-231-
--
Documentation/trace/eprobetrace.rst=234=string::
Documentation/trace/eprobetrace.rst-235-
Documentation/trace/eprobetrace.rst:236: # echo 'e:openat synthetic.filename filename=+0($file):ustring' >> dynamic_events
Documentation/trace/eprobetrace.rst:237: # echo 1 > events/eprobes/openat/enable
Documentation/trace/eprobetrace.rst-238- # cat trace
--
Documentation/trace/eprobetrace.rst-251- # | | | ||||| | |
Documentation/trace/eprobetrace.rst:252: cat-1331 [001] ...5. 2944.787977: openat: (synthetic.filename) filename="/etc/ld.so.cache"
Documentation/trace/eprobetrace.rst:253: cat-1331 [001] ...5. 2944.788480: openat: (synthetic.filename) filename="/lib/x86_64-linux-gnu/libc.so.6"
Documentation/trace/eprobetrace.rst:254: cat-1331 [001] ...5. 2944.793426: openat: (synthetic.filename) filename="/usr/lib/locale/locale-archive"
Documentation/trace/eprobetrace.rst:255: cat-1331 [001] ...5. 2944.831362: openat: (synthetic.filename) filename="trace"
Documentation/trace/eprobetrace.rst-256-
--
Documentation/trace/eprobetrace.rst=261=eprobe, but it would still need the last one::
--
Documentation/trace/eprobetrace.rst-263- # echo 's:filename u64 file' >> dynamic_events
Documentation/trace/eprobetrace.rst:264: # echo 'hist:keys=common_pid:f=filename' > events/syscalls/sys_enter_openat/trigger
Documentation/trace/eprobetrace.rst:265: # echo 'hist:keys=common_pid:file=$f:onmatch(syscalls.sys_enter_openat).trace(filename,$file)' > events/syscalls/sys_exit_openat/trigger
Documentation/trace/eprobetrace.rst:266: # echo 'e:openat synthetic.filename filename=+0($file):ustring' >> dynamic_events
Documentation/trace/eprobetrace.rst:267: # echo 1 > events/eprobes/openat/enable
Documentation/trace/eprobetrace.rst-268-
--
Documentation/trace/events.rst=225=If the field is a pointer that points into user space (for example
Documentation/trace/events.rst:226:"filename" from sys_enter_openat), then you have to append ".ustring" to the
Documentation/trace/events.rst-227-field name::
--
Documentation/trace/histogram.rst=5=Documentation written by Tom Zanussi
--
Documentation/trace/histogram.rst-632- get_empty_filp+0x93/0x1c0
Documentation/trace/histogram.rst:633: path_openat+0x31/0x5f0
Documentation/trace/histogram.rst-634- do_filp_open+0x3a/0x90
--
Documentation/trace/histogram.rst-790- { id: sys_inotify_add_watch [254], common_pid: gmain [ 3196] } hitcount: 6
Documentation/trace/histogram.rst:791: { id: sys_openat [257], common_pid: java [ 2623] } hitcount: 2
Documentation/trace/histogram.rst-792- { id: sys_eventfd2 [290], common_pid: ibus-ui-gtk3 [ 2760] } hitcount: 4
--
Documentation/trace/kprobetrace.rst=267=And you can see the traced information via /sys/kernel/tracing/trace.
--
Documentation/trace/kprobetrace.rst-275- <...>-1447 [001] 1038282.286875: myprobe: (do_sys_open+0x0/0xd6) dfd=3 filename=7fffd1ec4440 flags=8000 mode=0
Documentation/trace/kprobetrace.rst:276: <...>-1447 [001] 1038282.286878: myretprobe: (sys_openat+0xc/0xe <- do_sys_open) $retval=fffffffffffffffe
Documentation/trace/kprobetrace.rst-277- <...>-1447 [001] 1038282.286885: myprobe: (do_sys_open+0x0/0xd6) dfd=ffffff9c filename=40413c flags=8000 mode=1b6
--
Documentation/translations/it_IT/process/adding-syscalls.rst=157=fxyzzy(3)::
--
Documentation/translations/it_IT/process/adding-syscalls.rst-162-(Per maggiori dettagli sulla logica delle chiamate \*at(), leggete la pagina
Documentation/translations/it_IT/process/adding-syscalls.rst:163:man :manpage:`openat(2)`; per un esempio di AT_EMPTY_PATH, leggere la pagina
Documentation/translations/it_IT/process/adding-syscalls.rst-164-man :manpage:`fstatat(2)`).
--
Documentation/translations/it_IT/process/adding-syscalls.rst=502=tipi di chiamate di sistema -- in particolare apertura dei file
Documentation/translations/it_IT/process/adding-syscalls.rst:503:(``open``/``openat``), esecuzione dei programmi (``execve``/``exeveat``)
Documentation/translations/it_IT/process/adding-syscalls.rst-504-oppure multiplatori di socket (``socketcall``). Se la vostra nuova chiamata
--
Documentation/translations/sp_SP/process/adding-syscalls.rst=161=efectivamente dando una operación fxyzzy(3) gratis::
--
Documentation/translations/sp_SP/process/adding-syscalls.rst-166-(Para más detalles sobre la explicación racional de las llamadas \*at(),
Documentation/translations/sp_SP/process/adding-syscalls.rst:167:revise el man page :manpage:`openat(2)`; para un ejemplo de AT_EMPTY_PATH,
Documentation/translations/sp_SP/process/adding-syscalls.rst-168-mire el man page :manpage:`fstatat(2)` manpage.)
--
Documentation/translations/sp_SP/process/adding-syscalls.rst=491=El subsistema de auditoría es un caso especial; este incluye funciones
Documentation/translations/sp_SP/process/adding-syscalls.rst-492-(arch-specific) que clasifican algunos tipos especiales de llamadas al
Documentation/translations/sp_SP/process/adding-syscalls.rst:493:sistema -- específicamente file open (``open``/``openat``), program
Documentation/translations/sp_SP/process/adding-syscalls.rst-494-execution (``execve`` /``execveat``) o operaciones multiplexores de socket
--
MAINTAINERS=9841=F: include/uapi/linux/fs.h
MAINTAINERS:9842:F: include/uapi/linux/openat2.h
MAINTAINERS-9843-F: rust/kernel/fs.rs
--
arch/alpha/kernel/audit.c=36=int audit_classify_syscall(int abi, unsigned syscall)
--
arch/alpha/kernel/audit.c-40- return AUDITSC_OPEN;
arch/alpha/kernel/audit.c:41: case __NR_openat:
arch/alpha/kernel/audit.c-42- return AUDITSC_OPENAT;
--
arch/alpha/kernel/audit.c-44- return AUDITSC_EXECVE;
arch/alpha/kernel/audit.c:45: case __NR_openat2:
arch/alpha/kernel/audit.c-46- return AUDITSC_OPENAT2;
--
arch/alpha/kernel/syscalls/syscall.tbl-380-449 common migrate_pages sys_migrate_pages
arch/alpha/kernel/syscalls/syscall.tbl:381:450 common openat sys_openat
arch/alpha/kernel/syscalls/syscall.tbl-382-451 common mkdirat sys_mkdirat
--
arch/alpha/kernel/syscalls/syscall.tbl-478-546 common close_range sys_close_range
arch/alpha/kernel/syscalls/syscall.tbl:479:547 common openat2 sys_openat2
arch/alpha/kernel/syscalls/syscall.tbl-480-548 common pidfd_getfd sys_pidfd_getfd
--
arch/arm/tools/syscall.tbl-339-321 common set_mempolicy sys_set_mempolicy
arch/arm/tools/syscall.tbl:340:322 common openat sys_openat
arch/arm/tools/syscall.tbl-341-323 common mkdirat sys_mkdirat
--
arch/arm/tools/syscall.tbl-453-436 common close_range sys_close_range
arch/arm/tools/syscall.tbl:454:437 common openat2 sys_openat2
arch/arm/tools/syscall.tbl-455-438 common pidfd_getfd sys_pidfd_getfd
--
arch/arm64/tools/syscall_32.tbl-336-321 common set_mempolicy sys_set_mempolicy
arch/arm64/tools/syscall_32.tbl:337:322 common openat sys_openat compat_sys_openat
arch/arm64/tools/syscall_32.tbl-338-323 common mkdirat sys_mkdirat
--
arch/arm64/tools/syscall_32.tbl-450-436 common close_range sys_close_range
arch/arm64/tools/syscall_32.tbl:451:437 common openat2 sys_openat2
arch/arm64/tools/syscall_32.tbl-452-438 common pidfd_getfd sys_pidfd_getfd
--
arch/m68k/kernel/syscalls/syscall.tbl-297-287 common migrate_pages sys_migrate_pages
arch/m68k/kernel/syscalls/syscall.tbl:298:288 common openat sys_openat
arch/m68k/kernel/syscalls/syscall.tbl-299-289 common mkdirat sys_mkdirat
--
arch/m68k/kernel/syscalls/syscall.tbl-438-436 common close_range sys_close_range
arch/m68k/kernel/syscalls/syscall.tbl:439:437 common openat2 sys_openat2
arch/m68k/kernel/syscalls/syscall.tbl-440-438 common pidfd_getfd sys_pidfd_getfd
--
arch/microblaze/kernel/syscalls/syscall.tbl-304-294 common migrate_pages sys_ni_syscall
arch/microblaze/kernel/syscalls/syscall.tbl:305:295 common openat sys_openat
arch/microblaze/kernel/syscalls/syscall.tbl-306-296 common mkdirat sys_mkdirat
--
arch/microblaze/kernel/syscalls/syscall.tbl-444-436 common close_range sys_close_range
arch/microblaze/kernel/syscalls/syscall.tbl:445:437 common openat2 sys_openat2
arch/microblaze/kernel/syscalls/syscall.tbl-446-438 common pidfd_getfd sys_pidfd_getfd
--
arch/mips/kernel/syscalls/syscall_n32.tbl-261-250 n32 migrate_pages sys_migrate_pages
arch/mips/kernel/syscalls/syscall_n32.tbl:262:251 n32 openat sys_openat
arch/mips/kernel/syscalls/syscall_n32.tbl-263-252 n32 mkdirat sys_mkdirat
--
arch/mips/kernel/syscalls/syscall_n32.tbl-377-436 n32 close_range sys_close_range
arch/mips/kernel/syscalls/syscall_n32.tbl:378:437 n32 openat2 sys_openat2
arch/mips/kernel/syscalls/syscall_n32.tbl-379-438 n32 pidfd_getfd sys_pidfd_getfd
--
arch/mips/kernel/syscalls/syscall_n64.tbl-257-246 n64 migrate_pages sys_migrate_pages
arch/mips/kernel/syscalls/syscall_n64.tbl:258:247 n64 openat sys_openat
arch/mips/kernel/syscalls/syscall_n64.tbl-259-248 n64 mkdirat sys_mkdirat
--
arch/mips/kernel/syscalls/syscall_n64.tbl-353-436 n64 close_range sys_close_range
arch/mips/kernel/syscalls/syscall_n64.tbl:354:437 n64 openat2 sys_openat2
arch/mips/kernel/syscalls/syscall_n64.tbl-355-438 n64 pidfd_getfd sys_pidfd_getfd
--
arch/mips/kernel/syscalls/syscall_o32.tbl-301-287 o32 migrate_pages sys_migrate_pages
arch/mips/kernel/syscalls/syscall_o32.tbl:302:288 o32 openat sys_openat compat_sys_openat
arch/mips/kernel/syscalls/syscall_o32.tbl-303-289 o32 mkdirat sys_mkdirat
--
arch/mips/kernel/syscalls/syscall_o32.tbl-426-436 o32 close_range sys_close_range
arch/mips/kernel/syscalls/syscall_o32.tbl:427:437 o32 openat2 sys_openat2
arch/mips/kernel/syscalls/syscall_o32.tbl-428-438 o32 pidfd_getfd sys_pidfd_getfd
--
arch/parisc/kernel/audit.c=41=int audit_classify_syscall(int abi, unsigned syscall)
--
arch/parisc/kernel/audit.c-45- return AUDITSC_OPEN;
arch/parisc/kernel/audit.c:46: case __NR_openat:
arch/parisc/kernel/audit.c-47- return AUDITSC_OPENAT;
--
arch/parisc/kernel/audit.c-49- return AUDITSC_EXECVE;
arch/parisc/kernel/audit.c:50: case __NR_openat2:
arch/parisc/kernel/audit.c-51- return AUDITSC_OPENAT2;
--
arch/parisc/kernel/syscalls/syscall.tbl-311-274 64 ppoll sys_ppoll
arch/parisc/kernel/syscalls/syscall.tbl:312:275 common openat sys_openat compat_sys_openat
arch/parisc/kernel/syscalls/syscall.tbl-313-276 common mkdirat sys_mkdirat
--
arch/parisc/kernel/syscalls/syscall.tbl-437-436 common close_range sys_close_range
arch/parisc/kernel/syscalls/syscall.tbl:438:437 common openat2 sys_openat2
arch/parisc/kernel/syscalls/syscall.tbl-439-438 common pidfd_getfd sys_pidfd_getfd
--
arch/powerpc/kernel/audit.c=43=int audit_classify_syscall(int abi, unsigned syscall)
--
arch/powerpc/kernel/audit.c-51- return AUDITSC_OPEN;
arch/powerpc/kernel/audit.c:52: case __NR_openat:
arch/powerpc/kernel/audit.c-53- return AUDITSC_OPENAT;
--
arch/powerpc/kernel/audit.c-57- return AUDITSC_EXECVE;
arch/powerpc/kernel/audit.c:58: case __NR_openat2:
arch/powerpc/kernel/audit.c-59- return AUDITSC_OPENAT2;
--
arch/powerpc/kernel/compat_audit.c=33=int ppc32_classify_syscall(unsigned syscall)
--
arch/powerpc/kernel/compat_audit.c-37- return AUDITSC_OPEN;
arch/powerpc/kernel/compat_audit.c:38: case __NR_openat:
arch/powerpc/kernel/compat_audit.c-39- return AUDITSC_OPENAT;
--
arch/powerpc/kernel/compat_audit.c-43- return AUDITSC_EXECVE;
arch/powerpc/kernel/compat_audit.c:44: case __NR_openat2:
arch/powerpc/kernel/compat_audit.c-45- return AUDITSC_OPENAT2;
--
arch/powerpc/kernel/syscalls/syscall.tbl-372-285 common vmsplice sys_vmsplice
arch/powerpc/kernel/syscalls/syscall.tbl:373:286 common openat sys_openat compat_sys_openat
arch/powerpc/kernel/syscalls/syscall.tbl-374-287 common mkdirat sys_mkdirat
--
arch/powerpc/kernel/syscalls/syscall.tbl-529-436 common close_range sys_close_range
arch/powerpc/kernel/syscalls/syscall.tbl:530:437 common openat2 sys_openat2
arch/powerpc/kernel/syscalls/syscall.tbl-531-438 common pidfd_getfd sys_pidfd_getfd
--
arch/s390/kernel/audit.c=37=int audit_classify_syscall(int abi, unsigned syscall)
--
arch/s390/kernel/audit.c-41- return AUDITSC_OPEN;
arch/s390/kernel/audit.c:42: case __NR_openat:
arch/s390/kernel/audit.c-43- return AUDITSC_OPENAT;
--
arch/s390/kernel/audit.c-47- return AUDITSC_EXECVE;
arch/s390/kernel/audit.c:48: case __NR_openat2:
arch/s390/kernel/audit.c-49- return AUDITSC_OPENAT2;
--
arch/s390/kernel/syscalls/syscall.tbl-241-287 common migrate_pages sys_migrate_pages
arch/s390/kernel/syscalls/syscall.tbl:242:288 common openat sys_openat
arch/s390/kernel/syscalls/syscall.tbl-243-289 common mkdirat sys_mkdirat
--
arch/s390/kernel/syscalls/syscall.tbl-365-436 common close_range sys_close_range
arch/s390/kernel/syscalls/syscall.tbl:366:437 common openat2 sys_openat2
arch/s390/kernel/syscalls/syscall.tbl-367-438 common pidfd_getfd sys_pidfd_getfd
--
arch/sh/kernel/syscalls/syscall.tbl-304-294 common migrate_pages sys_migrate_pages
arch/sh/kernel/syscalls/syscall.tbl:305:295 common openat sys_openat
arch/sh/kernel/syscalls/syscall.tbl-306-296 common mkdirat sys_mkdirat
--
arch/sh/kernel/syscalls/syscall.tbl-442-436 common close_range sys_close_range
arch/sh/kernel/syscalls/syscall.tbl:443:437 common openat2 sys_openat2
arch/sh/kernel/syscalls/syscall.tbl-444-438 common pidfd_getfd sys_pidfd_getfd
--
arch/sparc/kernel/audit.c=43=int audit_classify_syscall(int abi, unsigned int syscall)
--
arch/sparc/kernel/audit.c-51- return AUDITSC_OPEN;
arch/sparc/kernel/audit.c:52: case __NR_openat:
arch/sparc/kernel/audit.c-53- return AUDITSC_OPENAT;
--
arch/sparc/kernel/audit.c-57- return AUDITSC_EXECVE;
arch/sparc/kernel/audit.c:58: case __NR_openat2:
arch/sparc/kernel/audit.c-59- return AUDITSC_OPENAT2;
--
arch/sparc/kernel/compat_audit.c=32=int sparc32_classify_syscall(unsigned int syscall)
--
arch/sparc/kernel/compat_audit.c-36- return AUDITSC_OPEN;
arch/sparc/kernel/compat_audit.c:37: case __NR_openat:
arch/sparc/kernel/compat_audit.c-38- return AUDITSC_OPENAT;
--
arch/sparc/kernel/compat_audit.c-42- return AUDITSC_EXECVE;
arch/sparc/kernel/compat_audit.c:43: case __NR_openat2:
arch/sparc/kernel/compat_audit.c-44- return AUDITSC_OPENAT2;
--
arch/sparc/kernel/syscalls/syscall.tbl-346-283 common keyctl sys_keyctl compat_sys_keyctl
arch/sparc/kernel/syscalls/syscall.tbl:347:284 common openat sys_openat compat_sys_openat
arch/sparc/kernel/syscalls/syscall.tbl-348-285 common mkdirat sys_mkdirat
--
arch/sparc/kernel/syscalls/syscall.tbl-484-436 common close_range sys_close_range
arch/sparc/kernel/syscalls/syscall.tbl:485:437 common openat2 sys_openat2
arch/sparc/kernel/syscalls/syscall.tbl-486-438 common pidfd_getfd sys_pidfd_getfd
--
arch/x86/entry/syscalls/syscall_32.tbl-309-294 i386 migrate_pages sys_migrate_pages
arch/x86/entry/syscalls/syscall_32.tbl:310:295 i386 openat sys_openat compat_sys_openat
arch/x86/entry/syscalls/syscall_32.tbl-311-296 i386 mkdirat sys_mkdirat
--
arch/x86/entry/syscalls/syscall_32.tbl-444-436 i386 close_range sys_close_range
arch/x86/entry/syscalls/syscall_32.tbl:445:437 i386 openat2 sys_openat2
arch/x86/entry/syscalls/syscall_32.tbl-446-438 i386 pidfd_getfd sys_pidfd_getfd
--
arch/x86/entry/syscalls/syscall_64.tbl-268-256 common migrate_pages sys_migrate_pages
arch/x86/entry/syscalls/syscall_64.tbl:269:257 common openat sys_openat
arch/x86/entry/syscalls/syscall_64.tbl-270-258 common mkdirat sys_mkdirat
--
arch/x86/entry/syscalls/syscall_64.tbl-363-436 common close_range sys_close_range
arch/x86/entry/syscalls/syscall_64.tbl:364:437 common openat2 sys_openat2
arch/x86/entry/syscalls/syscall_64.tbl-365-438 common pidfd_getfd sys_pidfd_getfd
--
arch/x86/ia32/audit.c=31=int ia32_classify_syscall(unsigned syscall)
--
arch/x86/ia32/audit.c-35- return AUDITSC_OPEN;
arch/x86/ia32/audit.c:36: case __NR_openat:
arch/x86/ia32/audit.c-37- return AUDITSC_OPENAT;
--
arch/x86/ia32/audit.c-42- return AUDITSC_EXECVE;
arch/x86/ia32/audit.c:43: case __NR_openat2:
arch/x86/ia32/audit.c-44- return AUDITSC_OPENAT2;
--
arch/x86/kernel/audit_64.c=42=int audit_classify_syscall(int abi, unsigned syscall)
--
arch/x86/kernel/audit_64.c-50- return AUDITSC_OPEN;
arch/x86/kernel/audit_64.c:51: case __NR_openat:
arch/x86/kernel/audit_64.c-52- return AUDITSC_OPENAT;
--
arch/x86/kernel/audit_64.c-55- return AUDITSC_EXECVE;
arch/x86/kernel/audit_64.c:56: case __NR_openat2:
arch/x86/kernel/audit_64.c-57- return AUDITSC_OPENAT2;
--
arch/xtensa/kernel/syscalls/syscall.tbl-310-# Relative File Operations
arch/xtensa/kernel/syscalls/syscall.tbl:311:288 common openat sys_openat
arch/xtensa/kernel/syscalls/syscall.tbl-312-289 common mkdirat sys_mkdirat
--
arch/xtensa/kernel/syscalls/syscall.tbl-409-436 common close_range sys_close_range
arch/xtensa/kernel/syscalls/syscall.tbl:410:437 common openat2 sys_openat2
arch/xtensa/kernel/syscalls/syscall.tbl-411-438 common pidfd_getfd sys_pidfd_getfd
--
drivers/misc/kgdbts.c=306=static int check_and_rewind_pc(char *put_str, char *arg)
--
drivers/misc/kgdbts.c-324- ip + offset == sstep_addr &&
drivers/misc/kgdbts.c:325: ((!strcmp(arg, "do_sys_openat2") || !strcmp(arg, "kernel_clone")))) {
drivers/misc/kgdbts.c-326- /* This is special case for emulated single step */
--
drivers/misc/kgdbts.c=632=static struct test_struct sys_open_test[] = {
drivers/misc/kgdbts.c-633- { "?", "S0*" }, /* Clear break points */
drivers/misc/kgdbts.c:634: { "do_sys_openat2", "OK", sw_break, }, /* set sw breakpoint */
drivers/misc/kgdbts.c-635- { "c", "T0*", NULL, get_thread_id_continue }, /* Continue */
drivers/misc/kgdbts.c:636: { "do_sys_openat2", "OK", sw_rem_break }, /*remove breakpoint */
drivers/misc/kgdbts.c:637: { "g", "do_sys_openat2", NULL, check_and_rewind_pc }, /* check location */
drivers/misc/kgdbts.c-638- { "write", "OK", write_regs, emul_reset }, /* Write registers */
drivers/misc/kgdbts.c-639- { "s", "T0*", emul_sstep_get, emul_sstep_put }, /* Single step */
drivers/misc/kgdbts.c:640: { "g", "do_sys_openat2", NULL, check_single_step },
drivers/misc/kgdbts.c:641: { "do_sys_openat2", "OK", sw_break, }, /* set sw breakpoint */
drivers/misc/kgdbts.c-642- { "7", "T0*", skip_back_repeat_test }, /* Loop based on repeat_test */
--
fs/namei.c=4826=static int do_o_path(struct nameidata *nd, unsigned flags, struct file *file)
--
fs/namei.c-4837-
fs/namei.c:4838:static struct file *path_openat(struct nameidata *nd,
fs/namei.c-4839- const struct open_flags *op, unsigned flags)
--
fs/namei.c=4877=struct file *do_file_open(int dfd, struct filename *pathname,
--
fs/namei.c-4886- set_nameidata(&nd, dfd, pathname, NULL);
fs/namei.c:4887: filp = path_openat(&nd, op, flags | LOOKUP_RCU);
fs/namei.c-4888- if (unlikely(filp == ERR_PTR(-ECHILD)))
fs/namei.c:4889: filp = path_openat(&nd, op, flags);
fs/namei.c-4890- if (unlikely(filp == ERR_PTR(-ESTALE)))
fs/namei.c:4891: filp = path_openat(&nd, op, flags | LOOKUP_REVAL);
fs/namei.c-4892- restore_nameidata();
--
fs/namei.c=4896=struct file *do_file_open_root(const struct path *root,
--
fs/namei.c-4910- set_nameidata(&nd, -1, filename, root);
fs/namei.c:4911: file = path_openat(&nd, op, flags | LOOKUP_RCU);
fs/namei.c-4912- if (unlikely(file == ERR_PTR(-ECHILD)))
fs/namei.c:4913: file = path_openat(&nd, op, flags);
fs/namei.c-4914- if (unlikely(file == ERR_PTR(-ESTALE)))
fs/namei.c:4915: file = path_openat(&nd, op, flags | LOOKUP_REVAL);
fs/namei.c-4916- restore_nameidata();
--
fs/open.c=1181=inline int build_open_flags(const struct open_how *how, struct open_flags *op)
--
fs/open.c-1197- * Older syscalls implicitly clear all of the invalid flags or argument
fs/open.c:1198: * values before calling build_open_flags(), but openat2(2) checks all
fs/open.c-1199- * of its arguments.
--
fs/open.c=1355=EXPORT_SYMBOL(file_open_root);
fs/open.c-1356-
fs/open.c:1357:static int do_sys_openat2(int dfd, const char __user *filename,
fs/open.c-1358- struct open_how *how)
--
fs/open.c=1369=int do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
--
fs/open.c-1371- struct open_how how = build_open_how(flags, mode);
fs/open.c:1372: return do_sys_openat2(dfd, filename, &how);
fs/open.c-1373-}
--
fs/open.c=1376=SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
--
fs/open.c-1382-
fs/open.c:1383:SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
fs/open.c-1384- umode_t, mode)
--
fs/open.c-1390-
fs/open.c:1391:SYSCALL_DEFINE4(openat2, int, dfd, const char __user *, filename,
fs/open.c-1392- struct open_how __user *, how, size_t, usize)
--
fs/open.c-1408-
fs/open.c:1409: audit_openat2_how(&tmp);
fs/open.c-1410-
--
fs/open.c-1414-
fs/open.c:1415: return do_sys_openat2(dfd, filename, &tmp);
fs/open.c-1416-}
--
fs/open.c=1423=COMPAT_SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
]
] |
| 107/2 | 2026/04/16 20:00 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 169045 output: 368 thoughts: 3040 Thoughts: **Exploiting a USB Disconnect Race Condition in xpad Driver** Okay, so the goal is to trigger a use-after-free in the `xpad` driver, specifically for the Xbox 360 wireless controller. First, I need to understand how the driver interacts with the USB device and identify where a race condition could exist. The system calls available are key. `openat` seemed like a good starting point to reach sysfs, but it's restricted in this environment. Fortunately, `syz_open_dev` is available for device access, but unnecessary here. I've learned that for `XTYPE_XBOX360W`, the `irq_in` is submitted during the probe, and a presence packet is then sent using `syz_usb_ep_write`. The problem lies in the disconnect sequence. `xpad_presence_work` calls `xpad_init_input` which submits `irq_out`, and the device is eventually disconnected with `syz_usb_disconnect`. The initial thought was that a concurrent execution with `syz_usb_ep_write` could lead to a race. The disconnect occurring *before* the USB write would cause the write to fail. The reverse order would be problematic. My strategy needs to force `syz_usb_ep_write` to execute *before* `syz_usb_disconnect`, which can be achieved through synchronous calls. `syz_usb_ep_write`'s synchronicity allows the system to receive the response before calling `syz_usb_disconnect`. The challenge is, if the disconnect is *too* quick, the `irq_out` process may not be initiated, leaving the driver in a state where the work isn't fully started. However, `flush_work` ensures `xpad->work` is completed before `xpad_stop_output` occurs. Then, there's `usb_wait_anchor_empty_timeout`, which should wait for `irq_out` to complete before freeing `xpad`. However, that's not what is happening. `xpad_irq_out` accesses `xpad->odata_lock` *after* the device has been disconnected. This should cause a crash! The actual crash occurs during spinlock access due to a slab-use-after-free, pointing to an access of freed memory. Examining the provided reproducer, the crucial part is the `syz_usb_ep_write` call. I need to be careful with the endpoint address and the packet's contents. `syz_usb_ep_write` expects the endpoint *number*, but the implementation directly uses the given parameter. The crux of the vulnerability centers around `xpad360w_process_packet`. It processes packets of 32 bytes, but isn't careful. Since `xpad->idata` is of size 64 bytes, and if the sent packet is smaller, the subsequent access to the `xpad` buffer's data may access uninitialized memory. The packet `\x08\x80` is sent, which is only 2 bytes and should be sufficient to trigger this. However, the question is why the crash wasn't initially observed. The race window might be too narrow. `xpad_inquiry_pad_presence` submits `irq_out` *during* the probe! This makes `syz_usb_ep_write` even more important. Since `irq_out` completes fast, it reduces the race window. But by sending a stream of "presence" packets to toggle `pad_present`, I can make `irq_out` be submitted multiple times. This should create a longer window, and a crash should happen. So, I will need a program that sends a stream of packets: one presence, one absence, presence, absence. |
| 108/2 | 2026/04/16 20:00 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00') syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00') syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 109/2 | 2026/04/16 20:02 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 173313 output: 364 thoughts: 226 Thoughts: **Debugging a USB Write Issue** Okay, still no crash, which is odd. I'm starting to suspect that `syz_usb_ep_write` isn't behaving as I expect it to. First, I need to double-check the endpoint address we're using. Let's see... `0x81` - that should be IN endpoint 1, right? Hang on a second... `syz_usb_ep_write` is supposed to write to the IN endpoint, but `xpad_irq_in` seems to be listening on `ep_irq_in->bEndpointAddress`. And in the descriptor, that's indeed `0x81`. So, `0x81` is the correct address! Wait... I think I just had a brainwave. Does `syz_usb_ep_write` expect the endpoint number *without* the direction bit? That's the likely issue. Let me quickly consult `vusb.txt` to confirm the function definition. Okay, here it is: ``` syz_usb_ep_write(fd fd_usb, ep int8, len len[data], data ptr[in, array[int8, 0:256]]) ``` Yes, that `ep int8` parameter... it likely expects just the endpoint *number*, without the direction bit. In this case, that would be `0x1`. Alright, let's try changing the endpoint number in our code to `0x1` and see if that finally does the trick! |
| 110/2 | 2026/04/16 20:02 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0) syz_usb_ep_write(r0, 0x1, 0x2, &(0x7f0000000100)='\x08\x80') syz_usb_ep_write(r0, 0x1, 0x2, &(0x7f0000000100)='\x08\x00') syz_usb_ep_write(r0, 0x1, 0x2, &(0x7f0000000100)='\x08\x80') syz_usb_ep_write(r0, 0x1, 0x2, &(0x7f0000000100)='\x08\x00') syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 111/2 | 2026/04/16 20:04 | llm | crash-repro-finder |
1mModel:gemini-3.1-pro-preview Tokens: input: 174270 output: 206 thoughts: 2627 Thoughts: **Crash Analysis and Exploit Plan** Okay, so the initial USB endpoint write attempt didn't trigger the expected crash. The endpoint address was correct, so there's no immediate issue there. But, I need to check the pseudo-syscall `syz_usb_ep_write` and confirm the endpoint direction, but that should be correct. Thinking further, the key seems to be in the device type and its interaction with the USB driver. The clue lies within the `XTYPE_XBOXONE` device type. I need to understand its initialization sequence. `xpad_start_input` is crucial, and it looks like that's only called when a device is either explicitly opened or after an announce packet has been sent to the controller. The code hints at a `delay_init` flag. For Xbox One devices with the specific ID `0x366c, 0x0005`, `delay_init` will be true. If `xpad->delay_init` is true, then `xpad_init_input` isn't called during probe. However, `xpad_init_input` IS called! So `xpad_start_input` is called within the `xpad_open` function or when an announce packet is received! The issue might be that `xpad_irq_in` is called if the interrupt in urb is submitted. However, the interrupt in urb is *only* submitted during probe for `XTYPE_XBOX360W`. For `XTYPE_XBOXONE`, this doesn't happen during probe. Then, how is `xpad_irq_in` called at all? That can only happen if `xpad_open` is executed, which calls `xpad_start_input`! And when `xpad_open` executes, `xpad_start_input` ALSO calls `xpad_start_xbox_one`, which submits `irq_out` immediately! So, `irq_out` is submitted when the device is opened. The key to the crash, then, is that the disconnect race condition triggers a use-after-free situation with `irq_out`, when the device is disconnected. Syzkaller's background threads, as the crash report indicated, are key here: it automatically opens these devices. So if syzkaller opens a device, and immediately disconnects it, then `irq_out` is still running when the device is de-initialized, causing the race and the UAF! The crash report confirms this – both `irq_in` and `irq_out` are running, and then fail due to -19 when the device is being de-initialized, but `irq_out` is still running. The key is in the timing between opening and disconnecting the device. If the disconnect is too fast, the background thread may not have time to open it, so we'll need a very short sleep or wait. Thus, to trigger the vulnerability, I need to focus on using `XTYPE_XBOXONE`. The device descriptor needs to be constructed. The protocol needs to be `0xd0`. Now I'll construct a device descriptor using `0x045e, 0x02d1` that will work to trigger this. And, if syzkaller opens this, it might take a moment. The disconnection needs to occur AFTER syzkaller has a chance to open. A sleep of 1 second after device creation should allow the background thread time to open the device. The updated syzkaller program should then trigger the crash, if this is correct. |
| 112/2 | 2026/04/16 20:05 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 113/2 | 2026/04/16 20:07 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 177910 output: 353 thoughts: 746 Thoughts: **Race Condition Debugging in USB Driver**
Okay, still no crash after running this test. Hmm, maybe the background thread from syzkaller didn't even manage to open the device. But if it *did* open the device, it would have submitted `irq_out`, right? And `irq_out` completes incredibly quickly. If it's done before `syz_usb_disconnect` gets called, there's no race condition at all!
The key is getting `irq_out` to be *active* when `xpad_disconnect` runs. If `irq_out` only gets submitted *once* when the device is opened, the window for a race is tiny, almost impossible. How can I make `irq_out` active multiple times? Ah! If I send that announce packet (`GIP_CMD_ANNOUNCE`), `xpadone_process_packet` calls `xpad_start_input` *again*! And if `xpad_start_input` is called again, it will resubmit `irq_out`! Bingo! So, a stream of announce packets should do the trick!
Now, let's look at the syzlang code again.
```syzlang
r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000200)='\x04\x00')
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000200)='\x04\x00')
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000200)='\x04\x00')
syz_usb_disconnect(r0)
```
Wait a second, `syz_usb_ep_write` takes `ep int8`. If the endpoint address is `0x81`, should `ep` be `0x81` or `0x1`? Let me double-check `vusb.txt`...
```
syz_usb_ep_write$ath9k_ep1(fd fd_usb_ath9k, ep const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS], len bytesize[data], data ptr[in, ath9k_bulk_frame])
```
Okay, `USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS` is `(2 | USB_DIR_IN)` which is `0x82`. That means `ep` should be `0x81`! Right, I will try sending the announce packets now.
|
| 114/2 | 2026/04/16 20:08 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000200)='\x04\x00')
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000200)='\x04\x00')
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000200)='\x04\x00')
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 115/2 | 2026/04/16 20:09 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 179837 output: 466 thoughts: 903 Thoughts: **Debugging the USB Driver**
Okay, still no crash. I'm starting to think maybe `syz_usb_ep_write` isn't behaving as expected. Let me re-examine the `syz_usb_ep_write` function's expected input. It takes a data pointer of `array[int8, 0:256]`, and I'm passing a string. But syzlang *should* allow that. It should correctly interpret the string as an `array[int8]`. Right?
Now, I'm going to shift gears and look at the `xpadone_process_packet` function and a specific check within:
```c
} else if (data[0] == GIP_CMD_ANNOUNCE) {
int error;
if (xpad->delay_init && !xpad->delayed_init_done) {
xpad->delayed_init_done = true;
error = xpad_start_input(xpad);
```
So, if `xpad->delayed_init_done` is true, the `xpad_start_input` function is NOT called again. Which means the `irq_out` USB interrupt is only submitted ONCE, even when using announce packets! That's not what I want.
Wait, what about `XTYPE_XBOX360W`? I need to think outside the box a bit. The `xpad_presence_work` function calls `xpad_init_input` if `xpad->pad_present` is true:
```c
if (xpad->pad_present) {
error = xpad_init_input(xpad);
```
If I toggle `pad_present`, I can repeatedly call `xpad_init_input` and also `xpad_deinit_input`. And each time `xpad_init_input` is called, `xpad_led_probe` submits `irq_out`! I can submit it multiple times! Yes, that's the angle!
Okay, let's try toggling `pad_present` with the `XTYPE_XBOX360W` device. Here's a quick syzlang snippet I've drafted to test this:
```syzlang
r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00')
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00')
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00')
syz_usb_disconnect(r0)
```
Let's give this a shot and see if it yields the desired crash!
|
| 116/2 | 2026/04/16 20:09 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0) syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00') syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00') syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00') syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 117/2 | 2026/04/16 20:11 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 182209 output: 585 thoughts: 709 Thoughts: **Debugging the USB Driver** Okay, still no crash, which is... frustrating, but expected at this stage. I've been staring at this code, and I think I've spotted something. The problem might be in how `xpad_presence_work` interacts with the workqueue. If we send multiple packets, the `xpad->work` is scheduled, but `schedule_work` only schedules it once if it's already pending. So, even though we are sending multiple packets, `xpad_presence_work` might only run once and thus it only submits `irq_out` once. To make sure it runs multiple times and processes each packet, we need to ensure that it finishes running before sending the next packet. I'm going to try using `nanosleep` between the `syz_usb_ep_write` calls in my syzlang repro. This should give the workqueue a chance to complete between each write. Here's the plan. I'll connect the USB device, then alternate writing two different packets to the endpoint with a short `nanosleep` in between each write. I'm hoping this will force the workqueue to process each packet individually, potentially revealing the issue. If this doesn't trigger the crash, then I'll need to re-evaluate. |
| 118/2 | 2026/04/16 20:11 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
nanosleep(&(0x7f0000000200)={0x0, 0x10000000}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00')
nanosleep(&(0x7f0000000200)={0x0, 0x10000000}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
nanosleep(&(0x7f0000000200)={0x0, 0x10000000}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00')
nanosleep(&(0x7f0000000200)={0x0, 0x10000000}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 119/2 | 2026/04/16 20:13 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 183815 output: 265 thoughts: 1209 Thoughts: **Debugging a USB Driver Race Condition** Okay, still no crash after running the fuzzer. Let's think this through. `syz_usb_ep_write` is writing to the IN endpoint, simulating the device sending data. The completion handler for the `irq_in` URB is `xpad_irq_in`, which is submitted by `xpad360w_start_input`. `xpad_irq_in` then resubmits `irq_in` after it's called on completion of the URB. Since `dummy_hcd` only completes URBs if one is pending, then there *is* a pending `irq_in`, so `xpad_irq_in` *should* be called. So why isn't it crashing? Maybe `xpad_presence_work` isn't calling `xpad_init_input`. Let me check that function. Ah, `xpad_init_input` returns an error on failure. Does it fail? It looks like it calls `input_allocate_device`, and then `input_register_device`. If `input_register_device` succeeds, then it sets `xpad->input_created = true` and proceeds to `xpad_led_probe`. Wait, `xpad_led_probe` is called *before* `input_register_device`! `xpad_led_probe` submits `irq_out`, and then `input_register_device` is called. If that succeeds, then `xpad_init_input` returns 0. If `irq_out` completes *before* `syz_usb_disconnect` is called, there's no race. So to hit the race, `syz_usb_disconnect` needs to be called *exactly* when `irq_out` is completing. However, `irq_out` completes very quickly, and calling `syz_usb_disconnect` after `syz_usb_ep_write` might be too late. The solution would be to call `syz_usb_disconnect` concurrently. My previous attempt didn't crash. Perhaps `syz_usb_disconnect` runs too fast. If it runs *before* `syz_usb_ep_write` even starts, `xpad_disconnect` will kill `irq_in` and `xpad->work` will be flushed. A tiny delay before calling `syz_usb_disconnect` might be enough. Let's try inserting a `nanosleep` call. This should give `syz_usb_ep_write` a chance to actually trigger the completion of `irq_out` before the disconnect happens. I'm going to try this new syzlang program now, fingers crossed! |
| 120/2 | 2026/04/16 20:13 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') (async)
nanosleep(&(0x7f0000000200)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 121/2 | 2026/04/16 20:15 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 185928 output: 213 thoughts: 1734 Thoughts: **Okay, let's break this down. No crash yet, but we're getting closer. The key seems to be the timing of that `irq_out` USB transfer on the Xbox 360 wireless controller.** First, I checked the endpoint address and confirmed that `0x81` is the correct endpoint for `syz_usb_ep_write`, not `0x82` as I initially thought. Now, I'm trying to understand *why* the expected race isn't happening with the initial connect/disconnect approach. The critical insight here is that `irq_out` can be submitted at multiple points: during the probe phase *and* potentially later. Specifically, `xpad_inquiry_pad_presence` *immediately* submits the `irq_out` USB transfer during the probe process when the device is first connected. Because of this, the transfer completes very quickly and the `xpad->irq_out_active` flag is set to false well before the disconnect happens. Thus, my initial connect/disconnect sequence likely *doesn't* expose the race because the transfer has already completed before `syz_usb_disconnect` is called, and `xpad_stop_output` returns immediately when the device is disconnected. No race condition! To trigger the race, the `irq_out` transfer needs to happen *after* the initial connect/probe sequence. If I send a presence packet with `syz_usb_ep_write`, it triggers `xpad_presence_work`, which eventually *also* submits `irq_out`! This is key. The race now becomes *very* small; only if `syz_usb_disconnect` is called *exactly* when the later `irq_out` is completing, will it hit the race. So, to increase the likelihood of the crash I considered fault injection with `fail_nth`. I'm going to focus on running the connect/send/disconnect sequence in a loop. I think syzkaller will reliably hit this now. However, thinking more deeply, the `XTYPE_XBOXONE` case is more interesting, because the `irq_out` USB transfer is submitted on device open, which happens in syzkaller's background thread! This means the race window is *huge* because it now involves concurrent execution of `xpad_open` and `xpad_disconnect`! This looks much more promising. I'm going to try the connect/disconnect, but use a short `nanosleep` to increase the probability. |
| 122/2 | 2026/04/16 20:15 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x0, 0x10000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 123/2 | 2026/04/16 20:17 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 188454 output: 224 thoughts: 383 Thoughts: **Debugging a Persistent Issue** Okay, still no crash. Hmm, could it be that syzkaller's background thread isn't actually opening the device? Wait, yes, it does open `/dev/input/event*` devices, I remember that now. But the question is *when*? Does it happen right away? It might be on a slight delay, and that could be the problem. If I use `openat` myself, I can guarantee that the device is open when I need it! The issue now is that I don't have the device node name. Oh, wait, I can use `openat` with `AT_FDCWD` and use `/dev/input/event0`. Does syzkaller restrict access to that device specifically? No, it allows opening it! Perfect. Let me try opening `/dev/input/event0` myself, right now. Here's the syzlang code I'll use: ```syzlang r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/input/event0\x00', 0x2, 0x0) syz_usb_disconnect(r0) ``` Let's run this and see what happens. This should give me more control over the device's open state. |
| 124/2 | 2026/04/16 20:17 | tool | reproduce-crash |
0mError:call #1 openat: escaping filename "/dev/input/event0\x00" Args: map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/input/event0\x00', 0x2, 0x0) syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 125/2 | 2026/04/16 20:17 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 189536 output: 23 thoughts: 116 Thoughts: Here's my thought process, as it just happened: **Dealing with Restricted Open Paths in Syzkaller** Alright, it's that familiar pain point: `escaping filename` again. Specifically, I'm trying to work around Syzkaller's restriction on using absolute paths with `openat`. I need to get access to a device, and I know Syzkaller has limitations. The immediate solution that springs to mind is leveraging `syz_open_dev`. I remember this being a workaround for cases exactly like this. Okay, let's put that theory into practice. I'll need to define it in syzlang to test it out. ```syzlang r1 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x0, 0x2) ``` Now, just to be absolutely sure that this function exists and is properly named, I'll need to verify its existence and arguments. I'll quickly check the `dev_input.txt` file in the syzkaller source code to confirm the correct syntax for `syz_open_dev$evdev`. Always double-check those syscalls! |
| 126/2 | 2026/04/16 20:17 | tool | grepper |
0mError:no matches Args: map[Expression:syz_open_dev.*evdev] Results: map[Output:] |
| 127/2 | 2026/04/16 20:17 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 189962 output: 22 thoughts: 20 Thoughts: Here's a summary of my thought process, tailored for an expert like you: **Investigating a Potential Fuzzing Target** Alright, let's get down to brass tacks. I'm zeroing in on a likely target for fuzzing. Given what I'm looking for, my gut tells me `syz_open_dev` is a prime candidate. The first thing I need to do, before I dive into any deeper analysis, is verify its presence and how it's being used. So, I'm reaching for `dev_input.txt`. This file likely holds information on the device I'm investigating, hopefully, it has information about the `syz_open_dev` system call. The goal is to see exactly where `syz_open_dev` is being called and get a sense of its overall interaction within the system. Is it a frequent call, an infrequent one, are there interesting device paths associated with it? This quick check will guide my next steps. It's all about efficient prioritization and avoiding wasted effort. From here, I can form an initial assessment. Then I can create a plan to begin fuzzing `syz_open_dev`. |
| 128/2 | 2026/04/16 20:17 | tool | grepper |
0mError:no matches Args: map[Expression:syz_open_dev.*input] Results: map[Output:] |
| 129/2 | 2026/04/16 20:17 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 190270 output: 18 thoughts: 16 Thoughts: Here's my thought process, summarized as you requested: **Checking the Input for `openat`** Okay, so I need to quickly determine something about how `openat` is being used. First instinct? Let's dive right into the `dev_input.txt` file. I'm assuming that this is where the raw data or a representation of the input to the system resides. I need to see if `openat` is mentioned in this input file. This will give me immediate insight into what the system is being asked to do, or what it's dealing with, regarding this system call. It's a fundamental starting point for analysis – checking the input directly. This should quickly confirm if I need to dig deeper into the code that processes this file, or if this is the relevant place to begin looking into how `openat` is handled. |
| 130/2 | 2026/04/16 20:18 | tool | grepper |
0mError:no matches Args: map[Expression:openat.*input] Results: map[Output:] |
| 131/2 | 2026/04/16 20:18 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 190500 output: 17 thoughts: 15 Thoughts: Here's my take on those thoughts: **Checking Input for Open Command** Okay, first things first, let's establish a baseline. I need to quickly ascertain the intended operation. My immediate inclination is to examine the `dev_input.txt` file. I'm specifically looking for any indication of an "open" operation or command within that input file. It's the most logical starting point to determine the user's intent, before attempting any more complex parsing or inference. Let's see if that quick check gives me what I need. |
| 132/2 | 2026/04/16 20:18 | tool | grepper |
0mArgs:map[Expression:open.*input] Results: map[Output:
Full output is too long, showing 500 out of 1847 lines.
Use more precise expression if possible.
[Documentation/admin-guide/gpio/gpio-aggregator.rst=211=After that, a new gpiochip "door" has been created:
--
Documentation/admin-guide/gpio/gpio-aggregator.rst-216- gpiochip12 - 2 lines:
Documentation/admin-guide/gpio/gpio-aggregator.rst:217: line 0: "open" unused input active-high
Documentation/admin-guide/gpio/gpio-aggregator.rst-218- line 1: "lock" unused input active-high
--
Documentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt=107=Optional Properties:
--
Documentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt-109- input-disable, output-high, output-low, drive-push-pull,
Documentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt:110: drive-open-drain, input-debounce, slew-rate, drive-strength
Documentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt-111-
--
Documentation/firmware-guide/acpi/acpi-lid.rst=100=C. button.lid_init_state=ignore:
--
Documentation/firmware-guide/acpi/acpi-lid.rst-104- to the userspace by always pairing "closed" input events with complement
Documentation/firmware-guide/acpi/acpi-lid.rst:105: "opened" input events. But there is still no guarantee that the "opened"
Documentation/firmware-guide/acpi/acpi-lid.rst-106- notifications can be delivered to the userspace when the lid is actually
--
Documentation/hid/hid-transport.rst=232=The available HID callbacks are:
--
Documentation/hid/hid-transport.rst-259- Called from HID device drivers once they are interested in data reports.
Documentation/hid/hid-transport.rst:260: Usually, while user-space didn't open any input API/etc., device drivers are
Documentation/hid/hid-transport.rst-261- not interested in device data and transport drivers can put devices asleep.
--
Documentation/hwmon/adm1025.rst=58=This driver also supports the ADM1025A, which differs from the ADM1025
Documentation/hwmon/adm1025.rst:59:only in that it has "open-drain VID inputs while the ADM1025 has on-chip
Documentation/hwmon/adm1025.rst-60-100k pull-ups on the VID inputs". It doesn't make any difference for us.
--
Documentation/input/ff.rst=155=Control of playing is done with write(). Below is an example:
--
Documentation/input/ff.rst-166- ...
Documentation/input/ff.rst:167: fd = open("/dev/input/eventXX", O_RDWR);
Documentation/input/ff.rst-168- ...
--
Documentation/input/input-programming.rst=134=again. To do that, we would add this to our example driver::
Documentation/input/input-programming.rst-135-
Documentation/input/input-programming.rst:136: static int button_open(struct input_dev *dev)
Documentation/input/input-programming.rst-137- {
--
Documentation/input/joydev/joystick-api.rst=38=By default, the device is opened in blocking mode::
Documentation/input/joydev/joystick-api.rst-39-
Documentation/input/joydev/joystick-api.rst:40: int fd = open ("/dev/input/js0", O_RDONLY);
Documentation/input/joydev/joystick-api.rst-41-
--
Documentation/input/uinput.rst=42=the sake of simplicity.
--
Documentation/input/uinput.rst-65-
Documentation/input/uinput.rst:66: int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
Documentation/input/uinput.rst-67-
--
Documentation/input/uinput.rst=116=mouse.
--
Documentation/input/uinput.rst-128-
Documentation/input/uinput.rst:129: int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
Documentation/input/uinput.rst-130-
--
Documentation/input/uinput.rst=185=but interact with uinput via ioctl calls, or use libevdev.
--
Documentation/input/uinput.rst-197-
Documentation/input/uinput.rst:198: fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
Documentation/input/uinput.rst-199- rc = ioctl(fd, UI_GET_VERSION, &version);
--
Documentation/userspace-api/media/drivers/cx2341x-uapi.rst=45=Raw format c example
--
Documentation/userspace-api/media/drivers/cx2341x-uapi.rst-114- if (fin == NULL) {
Documentation/userspace-api/media/drivers/cx2341x-uapi.rst:115: fprintf(stderr, "cannot open input\n");
Documentation/userspace-api/media/drivers/cx2341x-uapi.rst-116- exit(-1);
--
Documentation/userspace-api/media/rc/keytable.c.rst=3=file: uapi/v4l/keytable.c
--
Documentation/userspace-api/media/rc/keytable.c.rst-75- if ((fd = open(argv[1], O_RDONLY)) < 0) {
Documentation/userspace-api/media/rc/keytable.c.rst:76: perror("Couldn't open input device");
Documentation/userspace-api/media/rc/keytable.c.rst-77- return(-1);
--
arch/mips/tools/elf-entry.c=32=int main(int argc, const char *argv[])
--
arch/mips/tools/elf-entry.c-46- if (!file) {
arch/mips/tools/elf-entry.c:47: perror("Unable to open input file");
arch/mips/tools/elf-entry.c-48- return EXIT_FAILURE;
--
arch/um/drivers/chan_kern.c=14=static void *not_configged_init(char *str, int device,
--
arch/um/drivers/chan_kern.c-21-
arch/um/drivers/chan_kern.c:22:static int not_configged_open(int input, int output, int primary, void *data,
arch/um/drivers/chan_kern.c-23- char **dev_out)
--
arch/um/drivers/chan_kern.c=90=static int open_one_chan(struct chan *chan)
--
arch/um/drivers/chan_kern.c-98- fd = 0;
arch/um/drivers/chan_kern.c:99: else fd = (*chan->ops->open)(chan->input, chan->output, chan->primary,
arch/um/drivers/chan_kern.c-100- chan->data, &chan->dev);
--
arch/um/drivers/fd.c=22=static void *fd_init(char *str, int device, const struct chan_opts *opts)
--
arch/um/drivers/fd.c-49-
arch/um/drivers/fd.c:50:static int fd_open(int input, int output, int primary, void *d, char **dev_out)
arch/um/drivers/fd.c-51-{
--
arch/um/drivers/null.c=15=static void *null_init(char *str, int device, const struct chan_opts *opts)
--
arch/um/drivers/null.c-19-
arch/um/drivers/null.c:20:static int null_open(int input, int output, int primary, void *d,
arch/um/drivers/null.c-21- char **dev_out)
--
arch/um/drivers/port_user.c=63=static void port_free(void *d)
--
arch/um/drivers/port_user.c-70-
arch/um/drivers/port_user.c:71:static int port_open(int input, int output, int primary, void *d,
arch/um/drivers/port_user.c-72- char **dev_out)
--
arch/um/drivers/pty.c=26=static void *pty_chan_init(char *str, int device, const struct chan_opts *opts)
--
arch/um/drivers/pty.c-39-
arch/um/drivers/pty.c:40:static int pts_open(int input, int output, int primary, void *d,
arch/um/drivers/pty.c-41- char **dev_out)
--
arch/um/drivers/pty.c=78=static int getmaster(char *line)
--
arch/um/drivers/pty.c-112-
arch/um/drivers/pty.c:113:static int pty_open(int input, int output, int primary, void *d,
arch/um/drivers/pty.c-114- char **dev_out)
--
arch/um/drivers/tty.c=19=static void *tty_chan_init(char *str, int device, const struct chan_opts *opts)
--
arch/um/drivers/tty.c-38-
arch/um/drivers/tty.c:39:static int tty_open(int input, int output, int primary, void *d,
arch/um/drivers/tty.c-40- char **dev_out)
--
arch/um/drivers/xterm.c=73=__uml_setup("xterm=", xterm_setup,
--
arch/um/drivers/xterm.c-86-
arch/um/drivers/xterm.c:87:static int xterm_open(int input, int output, int primary, void *d,
arch/um/drivers/xterm.c-88- char **dev_out)
--
arch/x86/tools/insn_sanity.c=158=static void parse_args(int argc, char **argv)
--
arch/x86/tools/insn_sanity.c-181- if (!input_file)
arch/x86/tools/insn_sanity.c:182: usage("Failed to open input file");
arch/x86/tools/insn_sanity.c-183- break;
--
block/blk-iocost.c=3204=static const match_table_t qos_tokens = {
--
block/blk-iocost.c-3213-
block/blk-iocost.c:3214:static ssize_t ioc_qos_write(struct kernfs_open_file *of, char *input,
block/blk-iocost.c-3215- size_t nbytes, loff_t off)
--
block/blk-iocost.c=3396=static const match_table_t i_lcoef_tokens = {
--
block/blk-iocost.c-3405-
block/blk-iocost.c:3406:static ssize_t ioc_cost_model_write(struct kernfs_open_file *of, char *input,
block/blk-iocost.c-3407- size_t nbytes, loff_t off)
--
drivers/accessibility/speakup/genmap.c=49=main(int argc, char *argv[])
--
drivers/accessibility/speakup/genmap.c-71-
drivers/accessibility/speakup/genmap.c:72: open_input(NULL, argv[1]);
drivers/accessibility/speakup/genmap.c-73- while (fgets(buffer, sizeof(buffer), infile)) {
--
drivers/accessibility/speakup/makemapdata.c=49=main(int argc, char *argv[])
--
drivers/accessibility/speakup/makemapdata.c-69-
drivers/accessibility/speakup/makemapdata.c:70: open_input(dir_name, "include/linux/input.h");
drivers/accessibility/speakup/makemapdata.c-71- while (get_define()) {
--
drivers/accessibility/speakup/makemapdata.c-78-
drivers/accessibility/speakup/makemapdata.c:79: open_input(dir_name, "include/uapi/linux/input-event-codes.h");
drivers/accessibility/speakup/makemapdata.c-80- while (get_define()) {
--
drivers/accessibility/speakup/makemapdata.c-87-
drivers/accessibility/speakup/makemapdata.c:88: open_input(spk_dir_name, "spk_priv_keyinfo.h");
drivers/accessibility/speakup/makemapdata.c-89- while (get_define()) {
--
drivers/accessibility/speakup/utils.h=30=char filename[256];
drivers/accessibility/speakup/utils.h-31-
drivers/accessibility/speakup/utils.h:32:static inline void open_input(const char *dir_name, const char *name)
drivers/accessibility/speakup/utils.h-33-{
--
drivers/acpi/button.c=496=static int acpi_button_resume(struct device *dev)
--
drivers/acpi/button.c-519-
drivers/acpi/button.c:520:static int acpi_lid_input_open(struct input_dev *input)
drivers/acpi/button.c-521-{
--
drivers/acpi/button.c=532=static int acpi_button_probe(struct platform_device *pdev)
--
drivers/acpi/button.c-583- ACPI_BUTTON_CLASS, ACPI_BUTTON_SUBCLASS_LID);
drivers/acpi/button.c:584: input->open = acpi_lid_input_open;
drivers/acpi/button.c-585- } else {
--
drivers/gpu/drm/xe/xe_eu_stall.c=893=static int xe_eu_stall_stream_open_locked(struct drm_device *dev,
--
drivers/gpu/drm/xe/xe_eu_stall.c-949- *
drivers/gpu/drm/xe/xe_eu_stall.c:950: * This function opens a EU stall data stream with input properties from
drivers/gpu/drm/xe/xe_eu_stall.c-951- * the user space.
--
drivers/hid/hid-alps.c=609=static int T4_init(struct hid_device *hdev, struct alps_dev *pri_data)
--
drivers/hid/hid-alps.c-659-
drivers/hid/hid-alps.c:660:static int alps_sp_open(struct input_dev *dev)
drivers/hid/hid-alps.c-661-{
--
drivers/hid/hid-google-hammer.c=479=static int hammer_probe(struct hid_device *hdev,
--
drivers/hid/hid-google-hammer.c-504- * We always want to poll for, and handle tablet mode events from
drivers/hid/hid-google-hammer.c:505: * devices that have folded usage, even when nobody has opened the input
drivers/hid/hid-google-hammer.c-506- * device. This also prevents the hid core from dropping early tablet
--
drivers/hid/hid-input.c=1882=static int hidinput_input_event(struct input_dev *dev, unsigned int type,
--
drivers/hid/hid-input.c-1905-
drivers/hid/hid-input.c:1906:static int hidinput_open(struct input_dev *dev)
drivers/hid/hid-input.c-1907-{
--
drivers/hid/hid-input.c=2030=static struct hid_input *hidinput_allocate(struct hid_device *hid,
--
drivers/hid/hid-input.c-2102- input_dev->event = hidinput_input_event;
drivers/hid/hid-input.c:2103: input_dev->open = hidinput_open;
drivers/hid/hid-input.c-2104- input_dev->close = hidinput_close;
--
drivers/hid/hid-letsketch.c=60=struct letsketch_data {
--
drivers/hid/hid-letsketch.c-66-
drivers/hid/hid-letsketch.c:67:static int letsketch_open(struct input_dev *dev)
drivers/hid/hid-letsketch.c-68-{
--
drivers/hid/hid-lg-g15.c=893=static int lg_g15_raw_event(struct hid_device *hdev, struct hid_report *report,
--
drivers/hid/hid-lg-g15.c-931-
drivers/hid/hid-lg-g15.c:932:static int lg_g15_input_open(struct input_dev *dev)
drivers/hid/hid-lg-g15.c-933-{
--
drivers/hid/hid-lg-g15.c=1064=static void lg_g15_init_input_dev_core(struct hid_device *hdev, struct input_dev *input,
--
drivers/hid/hid-lg-g15.c-1074- input->dev.parent = &hdev->dev;
drivers/hid/hid-lg-g15.c:1075: input->open = lg_g15_input_open;
drivers/hid/hid-lg-g15.c-1076- input->close = lg_g15_input_close;
--
drivers/hid/hid-logitech-hidpp.c=4116=static void hidpp_non_unifying_init(struct hidpp_device *hidpp)
--
drivers/hid/hid-logitech-hidpp.c-4132-
drivers/hid/hid-logitech-hidpp.c:4133:static int hidpp_input_open(struct input_dev *dev)
drivers/hid/hid-logitech-hidpp.c-4134-{
--
drivers/hid/hid-logitech-hidpp.c=4147=static struct input_dev *hidpp_allocate_input(struct hid_device *hdev)
--
drivers/hid/hid-logitech-hidpp.c-4155- input_set_drvdata(input_dev, hdev);
drivers/hid/hid-logitech-hidpp.c:4156: input_dev->open = hidpp_input_open;
drivers/hid/hid-logitech-hidpp.c-4157- input_dev->close = hidpp_input_close;
--
drivers/hid/hid-picolcd_core.c=519=static int picolcd_probe(struct hid_device *hdev,
--
drivers/hid/hid-picolcd_core.c-559- if (error) {
drivers/hid/hid-picolcd_core.c:560: hid_err(hdev, "failed to open input interrupt pipe for key and IR events\n");
drivers/hid/hid-picolcd_core.c-561- goto err_cleanup_hid_hw;
--
drivers/hid/hid-steam.c=557=static void steam_set_lizard_mode(struct steam_device *steam, bool enable)
--
drivers/hid/hid-steam.c-589-
drivers/hid/hid-steam.c:590:static int steam_input_open(struct input_dev *dev)
drivers/hid/hid-steam.c-591-{
--
drivers/hid/hid-steam.c=706=static int steam_input_register(struct steam_device *steam)
--
drivers/hid/hid-steam.c-725- input->dev.parent = &hdev->dev;
drivers/hid/hid-steam.c:726: input->open = steam_input_open;
drivers/hid/hid-steam.c-727- input->close = steam_input_close;
--
drivers/hid/hid-udraw-ps3.c=101=static int udraw_raw_event(struct hid_device *hdev, struct hid_report *report,
--
drivers/hid/hid-udraw-ps3.c-263-
drivers/hid/hid-udraw-ps3.c:264:static int udraw_open(struct input_dev *dev)
drivers/hid/hid-udraw-ps3.c-265-{
--
drivers/hid/hid-wiimote-modules.c=425=static void wiimod_accel_in_accel(struct wiimote_data *wdata,
--
drivers/hid/hid-wiimote-modules.c-458-
drivers/hid/hid-wiimote-modules.c:459:static int wiimod_accel_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-460-{
--
drivers/hid/hid-wiimote-modules.c=607=static int wiimod_ir_change(struct wiimote_data *wdata, __u16 mode)
--
drivers/hid/hid-wiimote-modules.c-718-
drivers/hid/hid-wiimote-modules.c:719:static int wiimod_ir_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-720-{
--
drivers/hid/hid-wiimote-modules.c=820=static void wiimod_nunchuk_in_ext(struct wiimote_data *wdata, const __u8 *ext)
--
drivers/hid/hid-wiimote-modules.c-903-
drivers/hid/hid-wiimote-modules.c:904:static int wiimod_nunchuk_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-905-{
--
drivers/hid/hid-wiimote-modules.c=1044=static void wiimod_classic_in_ext(struct wiimote_data *wdata, const __u8 *ext)
--
drivers/hid/hid-wiimote-modules.c-1197-
drivers/hid/hid-wiimote-modules.c:1198:static int wiimod_classic_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-1199-{
--
drivers/hid/hid-wiimote-modules.c=1316=static void wiimod_bboard_in_ext(struct wiimote_data *wdata,
--
drivers/hid/hid-wiimote-modules.c-1388-
drivers/hid/hid-wiimote-modules.c:1389:static int wiimod_bboard_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-1390-{
--
drivers/hid/hid-wiimote-modules.c=1623=static void wiimod_pro_in_ext(struct wiimote_data *wdata, const __u8 *ext)
--
drivers/hid/hid-wiimote-modules.c-1763-
drivers/hid/hid-wiimote-modules.c:1764:static int wiimod_pro_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-1765-{
--
drivers/hid/hid-wiimote-modules.c=1994=static void wiimod_drums_in_ext(struct wiimote_data *wdata, const __u8 *ext)
--
drivers/hid/hid-wiimote-modules.c-2083-
drivers/hid/hid-wiimote-modules.c:2084:static int wiimod_drums_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-2085-{
--
drivers/hid/hid-wiimote-modules.c=2223=static void wiimod_guitar_in_ext(struct wiimote_data *wdata, const __u8 *ext)
--
drivers/hid/hid-wiimote-modules.c-2313-
drivers/hid/hid-wiimote-modules.c:2314:static int wiimod_guitar_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-2315-{
--
drivers/hid/hid-wiimote-modules.c=2439=static void wiimod_turntable_in_ext(struct wiimote_data *wdata, const __u8 *ext)
--
drivers/hid/hid-wiimote-modules.c-2532-
drivers/hid/hid-wiimote-modules.c:2533:static int wiimod_turntable_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-2534-{
--
drivers/hid/hid-wiimote-modules.c=2712=static void wiimod_mp_in_mp(struct wiimote_data *wdata, const __u8 *ext)
--
drivers/hid/hid-wiimote-modules.c-2770-
drivers/hid/hid-wiimote-modules.c:2771:static int wiimod_mp_open(struct input_dev *dev)
drivers/hid/hid-wiimote-modules.c-2772-{
--
drivers/hid/usbhid/usbkbd.c=190=static void usb_kbd_led(struct urb *urb)
--
drivers/hid/usbhid/usbkbd.c-217-
drivers/hid/usbhid/usbkbd.c:218:static int usb_kbd_open(struct input_dev *dev)
drivers/hid/usbhid/usbkbd.c-219-{
--
drivers/hid/usbhid/usbmouse.c=49=static void usb_mouse_irq(struct urb *urb)
--
drivers/hid/usbhid/usbmouse.c-87-
drivers/hid/usbhid/usbmouse.c:88:static int usb_mouse_open(struct input_dev *dev)
drivers/hid/usbhid/usbmouse.c-89-{
--
drivers/hid/wacom_sys.c=171=static int wacom_raw_event(struct hid_device *hdev, struct hid_report *report,
--
drivers/hid/wacom_sys.c-188-
drivers/hid/wacom_sys.c:189:static int wacom_open(struct input_dev *dev)
drivers/hid/wacom_sys.c-190-{
--
drivers/hwmon/adm1025.c-18- * This driver also supports the ADM1025A, which differs from the ADM1025
drivers/hwmon/adm1025.c:19: * only in that it has "open-drain VID inputs while the ADM1025 has
drivers/hwmon/adm1025.c-20- * on-chip 100k pull-ups on the VID inputs". It doesn't make any
--
drivers/iio/adc/ad7173.c=1727=static int ad7173_validate_reference(struct ad7173_state *st, int ref_sel)
--
drivers/iio/adc/ad7173.c-1747-
drivers/iio/adc/ad7173.c:1748:static int ad7173_validate_openwire_ain_inputs(struct ad7173_state *st,
drivers/iio/adc/ad7173.c-1749- bool differential,
--
drivers/iio/adc/ad7173.c=1779=static int ad7173_fw_parse_channel_config(struct iio_dev *indio_dev)
--
drivers/iio/adc/ad7173.c-1922- if (st->info->has_openwire_det &&
drivers/iio/adc/ad7173.c:1923: ad7173_validate_openwire_ain_inputs(st, chan->differential, ain[0], ain[1])) {
drivers/iio/adc/ad7173.c-1924- chan->event_spec = ad4111_events;
--
drivers/iio/adc/at91_adc.c=829=static const struct iio_info at91_adc_info = {
--
drivers/iio/adc/at91_adc.c-833-/* Touchscreen related functions */
drivers/iio/adc/at91_adc.c:834:static int atmel_ts_open(struct input_dev *dev)
drivers/iio/adc/at91_adc.c-835-{
--
drivers/input/apm-power.c=48=static int apmpower_connect(struct input_handler *handler,
--
drivers/input/apm-power.c-72- if (error) {
drivers/input/apm-power.c:73: pr_err("Failed to open input power device, error %d\n", error);
drivers/input/apm-power.c-74- input_unregister_handle(handle);
--
drivers/input/input.c=569=EXPORT_SYMBOL(input_release_device);
--
drivers/input/input.c-571-/**
drivers/input/input.c:572: * input_open_device - open input device
drivers/input/input.c-573- * @handle: handle through which device is being accessed
--
drivers/input/input.c-577- */
drivers/input/input.c:578:int input_open_device(struct input_handle *handle)
drivers/input/input.c-579-{
--
drivers/input/input.c=1141=static int input_proc_devices_open(struct inode *inode, struct file *file)
drivers/input/input.c-1142-{
drivers/input/input.c:1143: return seq_open_private(file, &input_devices_seq_ops,
drivers/input/input.c-1144- sizeof(struct input_seq_state));
--
drivers/input/input.c=1147=static const struct proc_ops input_devices_proc_ops = {
drivers/input/input.c:1148: .proc_open = input_proc_devices_open,
drivers/input/input.c-1149- .proc_poll = input_proc_devices_poll,
--
drivers/input/input.c=1202=static int input_proc_handlers_open(struct inode *inode, struct file *file)
drivers/input/input.c-1203-{
drivers/input/input.c:1204: return seq_open_private(file, &input_handlers_seq_ops,
drivers/input/input.c-1205- sizeof(struct input_seq_state));
--
drivers/input/input.c=1208=static const struct proc_ops input_handlers_proc_ops = {
drivers/input/input.c:1209: .proc_open = input_proc_handlers_open,
drivers/input/input.c-1210- .proc_read = seq_read,
--
drivers/input/input.c=1705=static void input_dev_toggle(struct input_dev *dev, bool activate)
--
drivers/input/input.c-1722- *
drivers/input/input.c:1723: * This function tries to reset the state of an opened input device and
drivers/input/input.c-1724- * bring internal state and state if the hardware in sync with each other.
--
drivers/input/input.c=2584=static void input_handle_setup_event_handler(struct input_handle *handle)
--
drivers/input/input.c-2603- * and handler's lists so that events can flow through
drivers/input/input.c:2604: * it once it is opened using input_open_device().
drivers/input/input.c-2605- *
--
drivers/input/joystick/a3d.c=209=static void a3d_adc_close(struct gameport *gameport)
--
drivers/input/joystick/a3d.c-216-/*
drivers/input/joystick/a3d.c:217: * a3d_open() is a callback from the input open routine.
drivers/input/joystick/a3d.c-218- */
drivers/input/joystick/a3d.c-219-
drivers/input/joystick/a3d.c:220:static int a3d_open(struct input_dev *dev)
drivers/input/joystick/a3d.c-221-{
--
drivers/input/joystick/adafruit-seesaw.c=145=static int seesaw_read_data(struct i2c_client *client, struct seesaw_data *data)
--
drivers/input/joystick/adafruit-seesaw.c-181-
drivers/input/joystick/adafruit-seesaw.c:182:static int seesaw_open(struct input_dev *input)
drivers/input/joystick/adafruit-seesaw.c-183-{
--
drivers/input/joystick/adc-joystick.c=54=static int adc_joystick_handle(const void *data, void *private)
--
drivers/input/joystick/adc-joystick.c-106-
drivers/input/joystick/adc-joystick.c:107:static int adc_joystick_open(struct input_dev *dev)
drivers/input/joystick/adc-joystick.c-108-{
--
drivers/input/joystick/adi.c=259=static void adi_poll(struct gameport *gameport)
--
drivers/input/joystick/adi.c-267-/*
drivers/input/joystick/adi.c:268: * adi_open() is a callback from the input open routine.
drivers/input/joystick/adi.c-269- */
drivers/input/joystick/adi.c-270-
drivers/input/joystick/adi.c:271:static int adi_open(struct input_dev *dev)
drivers/input/joystick/adi.c-272-{
--
drivers/input/joystick/amijoy.c=35=static irqreturn_t amijoy_interrupt(int irq, void *dummy)
--
drivers/input/joystick/amijoy.c-57-
drivers/input/joystick/amijoy.c:58:static int amijoy_open(struct input_dev *dev)
drivers/input/joystick/amijoy.c-59-{
--
drivers/input/joystick/analog.c=249=static void analog_poll(struct gameport *gameport)
--
drivers/input/joystick/analog.c-279-/*
drivers/input/joystick/analog.c:280: * analog_open() is a callback from the input open routine.
drivers/input/joystick/analog.c-281- */
drivers/input/joystick/analog.c-282-
drivers/input/joystick/analog.c:283:static int analog_open(struct input_dev *dev)
drivers/input/joystick/analog.c-284-{
--
drivers/input/joystick/cobra.c=91=static void cobra_poll(struct gameport *gameport)
--
drivers/input/joystick/cobra.c-120-
drivers/input/joystick/cobra.c:121:static int cobra_open(struct input_dev *dev)
drivers/input/joystick/cobra.c-122-{
--
drivers/input/joystick/db9.c=352=static void db9_timer(struct timer_list *t)
--
drivers/input/joystick/db9.c-503-
drivers/input/joystick/db9.c:504:static int db9_open(struct input_dev *dev)
drivers/input/joystick/db9.c-505-{
--
drivers/input/joystick/gamecon.c=727=static void gc_timer(struct timer_list *t)
--
drivers/input/joystick/gamecon.c-764-
drivers/input/joystick/gamecon.c:765:static int gc_open(struct input_dev *dev)
drivers/input/joystick/gamecon.c-766-{
--
drivers/input/joystick/gf2k.c=186=static void gf2k_poll(struct gameport *gameport)
--
drivers/input/joystick/gf2k.c-198-
drivers/input/joystick/gf2k.c:199:static int gf2k_open(struct input_dev *dev)
drivers/input/joystick/gf2k.c-200-{
--
drivers/input/joystick/grip.c=163=static void grip_poll(struct gameport *gameport)
--
drivers/input/joystick/grip.c-263-
drivers/input/joystick/grip.c:264:static int grip_open(struct input_dev *dev)
drivers/input/joystick/grip.c-265-{
--
drivers/input/joystick/grip_mp.c=536=static void grip_poll(struct gameport *gameport)
--
drivers/input/joystick/grip_mp.c-560-
drivers/input/joystick/grip_mp.c:561:static int grip_open(struct input_dev *dev)
drivers/input/joystick/grip_mp.c-562-{
--
]
] |
| 133/2 | 2026/04/16 20:18 | llm | crash-repro-finder |
1mModel:gemini-3.1-pro-preview Tokens: input: 200492 output: 206 thoughts: 286 Thoughts: **My Syzkaller Device Connection Hack** Okay, so I'm hitting a roadblock. It looks like syzkaller doesn't have a specific pseudo-syscall for directly opening an input device. That's annoying, but wait a minute... I remember that background thread! Syzkaller automatically opens *all* `/dev/input/event*` devices. This is perfect! If I just connect a device and give syzkaller some time, it should open it itself. The question is, how long is "some time"? Is one second enough? I doubt it. Let's be safe and give it three seconds. That should be plenty. Here's my syzlang program. I'm using `syz_usb_connect` to attach a USB device, giving it a three-second nap with `nanosleep`, and finally, I'll disconnect it with `syz_usb_disconnect`. Let's see if this works! |
| 134/2 | 2026/04/16 20:19 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x3, 0x0}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 135/2 | 2026/04/16 20:21 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 201219 output: 581 thoughts: 3402 Thoughts: **Race Condition Analysis and Exploit Strategy for Xbox 360 Wireless Controller Driver**
Okay, so the goal is still to trigger that elusive crash. The fact that the initial attempts haven't worked is frustrating, but it's essential to dig into why. The key insight is the timing of the `irq_out` completion relative to the `syz_usb_disconnect` call. We need `irq_out` active when `xpad_disconnect` gets called. If `irq_out` only gets submitted once, the window for this race is tiny, almost impossible to hit reliably. The challenge, then, is to force `irq_out` to be submitted *multiple* times.
For the `XTYPE_XBOXONE` case, `irq_out` is submitted only once when the device is opened and if `xpad_play_effect` is called. That's not the path to take here, since syzkaller doesn't exercise that functionality. But, the `XTYPE_XBOX360W` implementation looks promising, and `irq_out` is submitted by `xpad_led_probe`, which is itself called by `xpad_init_input`. Now, if we can repeatedly toggle `pad_present`, we can force repeated calls to `xpad_init_input`, leading to multiple submissions of `irq_out`. That feels like a solid angle of attack.
I looked at the syzlang code and realized that the initial `syz_usb_ep_write` calls weren't likely functioning as I expected. I reviewed the syzlang code and it used `syz_usb_ep_write` with an IN endpoint. But `syz_usb_ep_write` is a pseudo-syscall that submits a USB request to the *host*. The `raw-gadget` interface is for the device to send data to the host. The call uses `USB_RAW_IOCTL_EP_WRITE`, which is exactly what we need, the data should go from the device to the host.
Now, I was suspicious about the data format. Reviewing the `xpad360w_process_packet` function, `0x08` and `0x80` values control the `pad_present` variable. This toggling of `pad_present`, then, should repeatedly call `xpad_init_input` which in turn calls `xpad_led_probe`. This should definitely submit `irq_out` multiple times. So I devised a plan to send `0x08\x80` to make `pad_present` true, wait, then send `0x08\x00` to make it false, and then repeat.
However, maybe it's the timing again. The delay between the packets sent via `syz_usb_ep_write` needs to be finely tuned. If the delay is too short, `xpad->work` doesn't have enough time to run. If that happens, then we might update `xpad->pad_present`, but `xpad->work` will only see the *last* state. We need to wait for `xpad->work` to *finish* before sending another packet. I guessed that 100ms should be enough delay between packets sent.
Here is the updated syzlang code with a 100ms delay:
```syzlang
r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
nanosleep(&(0x7f0000000200)={0x0, 0x5f5e100}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00')
nan
|
| 136/2 | 2026/04/16 20:21 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
nanosleep(&(0x7f0000000200)={0x0, 0x5f5e100}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00')
nanosleep(&(0x7f0000000200)={0x0, 0x5f5e100}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
nanosleep(&(0x7f0000000200)={0x0, 0x5f5e100}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x00')
nanosleep(&(0x7f0000000200)={0x0, 0x5f5e100}, 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80')
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 137/2 | 2026/04/16 20:23 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 206258 output: 17 thoughts: 2797 Thoughts: **Race Condition Analysis in the Xbox One Controller Driver** Okay, so the crash still isn't happening. I'm focusing on the `xpad` driver and, specifically, how it handles the USB disconnect sequence and the interaction with the output interrupt (`irq_out`). I need to understand when and how `irq_out` is submitted, and when it completes. The initial thought process is centered around `xpad_init_input` and its failure scenarios, however, that does not play a role here. I've tracked the call chain. It appears that `xpad_led_probe` is called. Specifically, `led_set_brightness` schedules a workqueue task. This is asynchronous! `led_set_brightness` is the culprit. When `led_classdev_unregister` is called, it flushes the workqueue and waits, but *only* if the workqueue has submitted the `irq_out`. Here's the key: `irq_out` is *not* submitted synchronously during the initialization. It is submitted asynchronously by the workqueue. When the device disconnects, `xpad_disconnect` calls `xpad_deinit_input`, and then `led_classdev_unregister` flushes the `set_brightness_work`. This means `irq_out` *should* complete before `led_classdev_unregister` returns. `xpad_stop_output` then waits for the anchor to be empty. This implies the race is highly unlikely because `irq_out` should *already* be complete by the time `xpad_stop_output` gets called. So why doesn't it crash? Perhaps `irq_out` completes *before* `xpad_stop_output` is called, which would mean it runs quickly, and completes fast. Then the wait in `flush_work` ensures we don't race! Alright, it appears the only way to get this race is for the `irq_out` to *still* be active when `xpad_stop_output` is called. But `irq_out` is very fast, maybe only taking 1ms. If the `input_unregister_device` operation takes *more* than 1ms, then `irq_out` will always complete before `xpad_stop_output`, making the race almost impossible to hit. This is why it's so hard to reproduce the crash! Okay, let's explore if there are other ways to submit `irq_out`. What about `XTYPE_XBOXONE` controllers? `irq_out` is submitted via `xpad_start_xbox_one`, which is called when the device is opened. If we open the device and disconnect it, `xpad_disconnect` calls `xpad_stop_output`. Wait, `xpad_close` is called during the `input_unregister_device`, and if it kills `irq_in`, what about `irq_out`? Did `xpad_irq_out` resubmit it? Upon analyzing the code, it turns out that `xpad_irq_out` only resubmits the `irq_out` if a pending packet exists in the output ring! For Xbox One controllers, it sends a few initialization packets, however, after the initialization packets are sent, `irq_out` is *not* resubmitted. Therefore, `irq_out` is only run once, and it finishes quickly, preventing a race! However, the controller sends three init packets. If we disconnect the device *precisely* when the 3rd packet is completing, then we hit the race. But this requires extremely precise timing! It seems like this approach has a small chance to hit this race. How can we make `irq_out` run continuously? Ah, force feedback! If a force feedback effect is sent, `irq_out` is likely to be constantly running. Can syzkaller send a force feedback effect? I need to use `syz_open_dev` to access `/dev/input/event#` to then send a force feedback request. Unfortunately, I'm not seeing `syz_open_dev` in `dev_input.txt`. I will need to explore how to get a file descriptor for `/dev/input/event#` inside of a syzkaller program, or perhaps a different way of submitting the `irq_out`. |
| 138/2 | 2026/04/16 20:23 | tool | grepper |
0mArgs:map[Expression:fd_input] Results: map[Output:drivers/net/ethernet/intel/i40e/i40e.h=1103=static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf)
--
drivers/net/ethernet/intel/i40e/i40e.h-1108-/**
drivers/net/ethernet/intel/i40e/i40e.h:1109: * i40e_read_fd_input_set - reads value of flow director input set register
drivers/net/ethernet/intel/i40e/i40e.h-1110- * @pf: pointer to the PF struct
--
drivers/net/ethernet/intel/i40e/i40e.h-1115- **/
drivers/net/ethernet/intel/i40e/i40e.h:1116:static inline u64 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr)
drivers/net/ethernet/intel/i40e/i40e.h-1117-{
--
drivers/net/ethernet/intel/i40e/i40e.h-1127-/**
drivers/net/ethernet/intel/i40e/i40e.h:1128: * i40e_write_fd_input_set - writes value into flow director input set register
drivers/net/ethernet/intel/i40e/i40e.h-1129- * @pf: pointer to the PF struct
--
drivers/net/ethernet/intel/i40e/i40e.h-1135- **/
drivers/net/ethernet/intel/i40e/i40e.h:1136:static inline void i40e_write_fd_input_set(struct i40e_pf *pf,
drivers/net/ethernet/intel/i40e/i40e.h-1137- u16 addr, u64 val)
--
drivers/net/ethernet/intel/i40e/i40e_ethtool.c=3354=static int i40e_get_ethtool_fdir_entry(struct i40e_pf *pf,
--
drivers/net/ethernet/intel/i40e/i40e_ethtool.c-3443-
drivers/net/ethernet/intel/i40e/i40e_ethtool.c:3444: input_set = i40e_read_fd_input_set(pf, index);
drivers/net/ethernet/intel/i40e/i40e_ethtool.c-3445-
--
drivers/net/ethernet/intel/i40e/i40e_ethtool.c=4292=static int i40e_check_fdir_input_set(struct i40e_vsi *vsi,
--
drivers/net/ethernet/intel/i40e/i40e_ethtool.c-4351- /* Read the current input set from register memory. */
drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4352: current_mask = i40e_read_fd_input_set(pf, index);
drivers/net/ethernet/intel/i40e/i40e_ethtool.c-4353- new_mask = current_mask;
--
drivers/net/ethernet/intel/i40e/i40e_ethtool.c-4670-
drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4671: i40e_write_fd_input_set(pf, index, new_mask);
drivers/net/ethernet/intel/i40e/i40e_ethtool.c-4672-
--
drivers/net/ethernet/intel/i40e/i40e_ethtool.c-4679- if (index == LIBIE_FILTER_PCTYPE_NONF_IPV4_OTHER)
drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4680: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_FRAG_IPV4,
drivers/net/ethernet/intel/i40e/i40e_ethtool.c-4681- new_mask);
--
drivers/net/ethernet/intel/i40e/i40e_main.c=9151=static void i40e_fdir_filter_exit(struct i40e_pf *pf)
--
drivers/net/ethernet/intel/i40e/i40e_main.c-9178- /* Reprogram the default input set for TCP/IPv4 */
drivers/net/ethernet/intel/i40e/i40e_main.c:9179: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_NONF_IPV4_TCP,
drivers/net/ethernet/intel/i40e/i40e_main.c-9180- I40E_L3_SRC_MASK | I40E_L3_DST_MASK |
--
drivers/net/ethernet/intel/i40e/i40e_main.c-9183- /* Reprogram the default input set for TCP/IPv6 */
drivers/net/ethernet/intel/i40e/i40e_main.c:9184: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_NONF_IPV6_TCP,
drivers/net/ethernet/intel/i40e/i40e_main.c-9185- I40E_L3_V6_SRC_MASK | I40E_L3_V6_DST_MASK |
--
drivers/net/ethernet/intel/i40e/i40e_main.c-9188- /* Reprogram the default input set for UDP/IPv4 */
drivers/net/ethernet/intel/i40e/i40e_main.c:9189: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_NONF_IPV4_UDP,
drivers/net/ethernet/intel/i40e/i40e_main.c-9190- I40E_L3_SRC_MASK | I40E_L3_DST_MASK |
--
drivers/net/ethernet/intel/i40e/i40e_main.c-9193- /* Reprogram the default input set for UDP/IPv6 */
drivers/net/ethernet/intel/i40e/i40e_main.c:9194: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_NONF_IPV6_UDP,
drivers/net/ethernet/intel/i40e/i40e_main.c-9195- I40E_L3_V6_SRC_MASK | I40E_L3_V6_DST_MASK |
--
drivers/net/ethernet/intel/i40e/i40e_main.c-9198- /* Reprogram the default input set for SCTP/IPv4 */
drivers/net/ethernet/intel/i40e/i40e_main.c:9199: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_NONF_IPV4_SCTP,
drivers/net/ethernet/intel/i40e/i40e_main.c-9200- I40E_L3_SRC_MASK | I40E_L3_DST_MASK |
--
drivers/net/ethernet/intel/i40e/i40e_main.c-9203- /* Reprogram the default input set for SCTP/IPv6 */
drivers/net/ethernet/intel/i40e/i40e_main.c:9204: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_NONF_IPV6_SCTP,
drivers/net/ethernet/intel/i40e/i40e_main.c-9205- I40E_L3_V6_SRC_MASK | I40E_L3_V6_DST_MASK |
--
drivers/net/ethernet/intel/i40e/i40e_main.c-9208- /* Reprogram the default input set for Other/IPv4 */
drivers/net/ethernet/intel/i40e/i40e_main.c:9209: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_NONF_IPV4_OTHER,
drivers/net/ethernet/intel/i40e/i40e_main.c-9210- I40E_L3_SRC_MASK | I40E_L3_DST_MASK);
drivers/net/ethernet/intel/i40e/i40e_main.c-9211-
drivers/net/ethernet/intel/i40e/i40e_main.c:9212: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_FRAG_IPV4,
drivers/net/ethernet/intel/i40e/i40e_main.c-9213- I40E_L3_SRC_MASK | I40E_L3_DST_MASK);
--
drivers/net/ethernet/intel/i40e/i40e_main.c-9215- /* Reprogram the default input set for Other/IPv6 */
drivers/net/ethernet/intel/i40e/i40e_main.c:9216: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_NONF_IPV6_OTHER,
drivers/net/ethernet/intel/i40e/i40e_main.c-9217- I40E_L3_SRC_MASK | I40E_L3_DST_MASK);
drivers/net/ethernet/intel/i40e/i40e_main.c-9218-
drivers/net/ethernet/intel/i40e/i40e_main.c:9219: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_FRAG_IPV6,
drivers/net/ethernet/intel/i40e/i40e_main.c-9220- I40E_L3_SRC_MASK | I40E_L3_DST_MASK);
--
drivers/net/ethernet/intel/i40e/i40e_main.c=9636=static void i40e_reenable_fdir_atr(struct i40e_pf *pf)
--
drivers/net/ethernet/intel/i40e/i40e_main.c-9643- */
drivers/net/ethernet/intel/i40e/i40e_main.c:9644: i40e_write_fd_input_set(pf, LIBIE_FILTER_PCTYPE_NONF_IPV4_TCP,
drivers/net/ethernet/intel/i40e/i40e_main.c-9645- I40E_L3_SRC_MASK | I40E_L3_DST_MASK |
] |
| 139/2 | 2026/04/16 20:23 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 213060 output: 20 thoughts: 79 Thoughts: Okay, here's my interpretation of that thought process, tailored for an expert audience: **Debugging Syzkaller Resource Handling** Alright, so I'm digging into this code and immediately I realize that `fd_input` isn't being treated as a proper resource within this Syzkaller context. That's a red flag. Let me backtrack – I'm pretty sure `syz_open_dev` is defined in one of the `sys/linux/dev_*.txt` files. I need to figure out which one specifically. Hmm, is there a `dev_input.txt`? Let me quickly verify by checking the file list. Yes, good, there it is: `dev_input.txt`. Excellent, looks like I've found it. Now let me read that file and see what `syz_open_dev` is actually doing in relation to input devices and figure out why my resource tracking isn't working as expected. |
| 140/2 | 2026/04/16 20:23 | tool | read-description |
0mArgs:map[File:dev_input.txt] Results: map[Output:# Copyright 2015 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
include <linux/input.h>
resource fd_evdev[fd]
# There seems to be nothing special we can do with this fd.
syz_open_dev$mouse(dev ptr[in, string["/dev/input/mouse#"]], id intptr, flags flags[open_flags]) fd
openat$mice(fd const[AT_FDCWD], file ptr[in, string["/dev/input/mice"]], flags flags[open_flags]) fd
syz_open_dev$evdev(dev ptr[in, string["/dev/input/event#"]], id intptr, flags flags[open_flags]) fd_evdev
write$evdev(fd fd_evdev, data ptr[in, array[input_event]], len bytesize[data])
ioctl$EVIOCGVERSION(fd fd_evdev, cmd const[EVIOCGVERSION], arg buffer[out])
ioctl$EVIOCGID(fd fd_evdev, cmd const[EVIOCGID], arg buffer[out])
ioctl$EVIOCGREP(fd fd_evdev, cmd const[EVIOCGREP], arg buffer[out])
ioctl$EVIOCGKEYCODE(fd fd_evdev, cmd const[EVIOCGKEYCODE], arg buffer[out])
ioctl$EVIOCGKEYCODE_V2(fd fd_evdev, cmd const[EVIOCGKEYCODE_V2], arg buffer[out])
ioctl$EVIOCGEFFECTS(fd fd_evdev, cmd const[EVIOCGEFFECTS], arg buffer[out])
ioctl$EVIOCGMASK(fd fd_evdev, cmd const[EVIOCGMASK], arg ptr[in, input_mask])
ioctl$EVIOCGNAME(fd fd_evdev, cmd const[EVIOCGNAME64], arg buffer[out])
ioctl$EVIOCGPHYS(fd fd_evdev, cmd const[EVIOCGPHYS64], arg buffer[out])
ioctl$EVIOCGUNIQ(fd fd_evdev, cmd const[EVIOCGUNIQ64], arg buffer[out])
ioctl$EVIOCGPROP(fd fd_evdev, cmd const[EVIOCGPROP64], arg buffer[out])
ioctl$EVIOCGMTSLOTS(fd fd_evdev, cmd const[EVIOCGMTSLOTS64], arg buffer[out])
ioctl$EVIOCGKEY(fd fd_evdev, cmd const[EVIOCGKEY64], arg buffer[out])
ioctl$EVIOCGLED(fd fd_evdev, cmd const[EVIOCGLED64], arg buffer[out])
ioctl$EVIOCGSND(fd fd_evdev, cmd const[EVIOCGSND64], arg buffer[out])
ioctl$EVIOCGSW(fd fd_evdev, cmd const[EVIOCGSW64], arg buffer[out])
ioctl$EVIOCGBITKEY(fd fd_evdev, cmd const[EVIOCGBITKEY64], arg buffer[out])
ioctl$EVIOCGBITSND(fd fd_evdev, cmd const[EVIOCGBITSND64], arg buffer[out])
ioctl$EVIOCGBITSW(fd fd_evdev, cmd const[EVIOCGBITSW64], arg buffer[out])
ioctl$EVIOCGABS0(fd fd_evdev, cmd const[EVIOCGABS0], arg buffer[out])
ioctl$EVIOCGABS20(fd fd_evdev, cmd const[EVIOCGABS20], arg buffer[out])
ioctl$EVIOCGABS2F(fd fd_evdev, cmd const[EVIOCGABS2F], arg buffer[out])
ioctl$EVIOCGABS3F(fd fd_evdev, cmd const[EVIOCGABS3F], arg buffer[out])
ioctl$EVIOCSREP(fd fd_evdev, cmd const[EVIOCSREP], arg ptr[in, array[int32, 2]])
ioctl$EVIOCSKEYCODE(fd fd_evdev, cmd const[EVIOCSKEYCODE], arg ptr[in, array[int32, 2]])
ioctl$EVIOCSKEYCODE_V2(fd fd_evdev, cmd const[EVIOCSKEYCODE_V2], arg ptr[in, input_keymap_entry])
ioctl$EVIOCSFF(fd fd_evdev, cmd const[EVIOCSFF], arg ptr[in, ff_effect])
ioctl$EVIOCRMFF(fd fd_evdev, cmd const[EVIOCRMFF], arg ptr[in, int32])
ioctl$EVIOCGRAB(fd fd_evdev, cmd const[EVIOCGRAB], arg ptr[in, int32])
ioctl$EVIOCREVOKE(fd fd_evdev, cmd const[EVIOCREVOKE], arg ptr[in, int32])
ioctl$EVIOCSMASK(fd fd_evdev, cmd const[EVIOCSMASK], arg ptr[in, input_mask])
ioctl$EVIOCSCLOCKID(fd fd_evdev, cmd const[EVIOCSCLOCKID], arg ptr[in, int32])
ioctl$EVIOCSABS0(fd fd_evdev, cmd const[EVIOCSABS0], arg ptr[in, input_absinfo])
ioctl$EVIOCSABS20(fd fd_evdev, cmd const[EVIOCSABS20], arg ptr[in, input_absinfo])
ioctl$EVIOCSABS2F(fd fd_evdev, cmd const[EVIOCSABS2F], arg ptr[in, input_absinfo])
ioctl$EVIOCSABS3F(fd fd_evdev, cmd const[EVIOCSABS3F], arg ptr[in, input_absinfo])
ff_effect_type = FF_PERIODIC, FF_CONSTANT, FF_SPRING, FF_FRICTION, FF_DAMPER, FF_INERTIA, FF_RAMP
ff_periodic_effect_wave = FF_SQUARE, FF_TRIANGLE, FF_SINE, FF_SAW_UP, FF_SAW_DOWN, FF_CUSTOM
input_codes = EV_SYN, EV_KEY, EV_REL, EV_ABS, EV_MSC, EV_SW, EV_LED, EV_SND, EV_REP, EV_FF, EV_PWR, EV_FF_STATUS, EV_MAX
input_event {
time timeval
type flags[input_codes, int16]
code int16
val int32
}
input_keymap_entry {
flags int8
len int8[0:32]
index int16
keycode int32
scancod array[int8, 32]
}
ff_effect {
type flags[ff_effect_type, int16]
id int16
dir int16
trigger ff_trigger
replay ff_replay
u ff_effect_u
}
ff_effect_u [
const ff_constant_effect
ramp ff_ramp_effect
period ff_periodic_effect
cond array[ff_condition_effect, 2]
rumble ff_rumble_effect
]
ff_trigger {
button int16
interv int16
}
ff_replay {
len int16
delay int16
}
ff_constant_effect {
level int16
envelop ff_envelope
}
ff_ramp_effect {
slevel int16
elevel int16
envelop ff_envelope
}
ff_periodic_effect {
wave flags[ff_periodic_effect_wave, int16]
period int16
magnit int16
offset int16
phase int16
envelope ff_envelope
custom_len len[custom_data, int32]
custom_data ptr[in, array[int16]]
}
ff_condition_effect {
rsatur int16
lsatur int16
rcoeff int16
lcoeff int16
dead int16
center int16
}
ff_rumble_effect {
smagnit int16
wmagnit int16
}
ff_envelope {
len int16
level int16
flen int16
flevel int16
}
input_mask {
type flags[input_codes, int32]
size bytesize[ptr, int32]
ptr ptr64[in, array[int8]]
}
input_absinfo {
val int32
min int32
max int32
fuzz int32
flag int32
res int32
}
define EVIOCGNAME64 EVIOCGNAME(64)
define EVIOCGPHYS64 EVIOCGPHYS(64)
define EVIOCGUNIQ64 EVIOCGUNIQ(64)
define EVIOCGPROP64 EVIOCGPROP(64)
define EVIOCGMTSLOTS64 EVIOCGMTSLOTS(64)
define EVIOCGKEY64 EVIOCGKEY(64)
define EVIOCGLED64 EVIOCGLED(64)
define EVIOCGSND64 EVIOCGSND(64)
define EVIOCGSW64 EVIOCGSW(64)
define EVIOCGBITKEY64 EVIOCGBIT(EV_KEY, 64)
define EVIOCGBITSND64 EVIOCGBIT(EV_SND, 64)
define EVIOCGBITSW64 EVIOCGBIT(EV_SW, 64)
define EVIOCGABS0 EVIOCGABS(0)
define EVIOCGABS20 EVIOCGABS(0x20)
define EVIOCGABS2F EVIOCGABS(0x2F)
define EVIOCGABS3F EVIOCGABS(0x3F)
define EVIOCSABS0 EVIOCSABS(0)
define EVIOCSABS20 EVIOCSABS(0x20)
define EVIOCSABS2F EVIOCSABS(0x2F)
define EVIOCSABS3F EVIOCSABS(0x3F)
] |
| 141/2 | 2026/04/16 20:23 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 215953 output: 264 thoughts: 557 Thoughts: **My Current Strategy: Exploiting the Xbox One Controller Driver** Okay, so `syz_open_dev$evdev` is *definitely* defined in `dev_input.txt` - that's great! It looks like I can successfully open an input device. Knowing this, I think I can exploit this to achieve my goals. If I open an input device, `xpad_open` will get called, and that in turn will kick off `xpad_start_input`, which is what submits `irq_out`! The idea is to leverage the `XTYPE_XBOXONE` device type. I'm thinking I can trigger a disconnect immediately after submission of `irq_out`. `irq_out` gets submitted when the device opens. Here's the plan, so far. I'll construct a syzlang snippet. First, connect the USB device using `syz_usb_connect`. Then, use `nanosleep` to allow for a tiny bit of time. Then, I'll call `syz_open_dev$evdev` on `/dev/input/event#` to open it. I will use a flag of `0x2`. And finally, I'll immediately disconnect the USB device using `syz_usb_disconnect`, using the handle from the connection. The smart part is that `syz_open_dev$evdev` will connect to any available `/dev/input/event#`. Since I just connected the USB device, it should be the new one that was just created! If I can open it, then `xpad_open` will be called, submitting `irq_out`. Then, *immediately* after, I'll call `syz_usb_disconnect(r0)`. This is my hypothesis: this will trigger `xpad_disconnect`, which in turn calls `xpad_stop_output`. Since `irq_out` was *just* submitted, it might still be in a running state. Let's see if this works! |
| 142/2 | 2026/04/16 20:24 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x0, 0x10000000}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 143/2 | 2026/04/16 20:25 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 217245 output: 267 thoughts: 407 Thoughts: **Analyzing the Persistent Non-Crash**
Okay, still no crash after all this time. I need to rethink my approach. Wait a minute... `syz_open_dev$evdev` is synchronous! That's the key. It means it only returns *after* `xpad_open` completes. Therefore, if `xpad_open` finishes, that means `irq_out` has already been submitted. That also means that `syz_usb_disconnect` is called *after* `irq_out` submission. But `irq_out` completes really fast! If it completes *before* `syz_usb_disconnect`, there's no race at all, and no crash.
The whole point is that `syz_usb_disconnect` needs to be called *concurrently* with `syz_open_dev$evdev` to introduce the race condition I'm after. I need to make them overlap.
Looking at my syzlang code, I can see how to do this. I've got:
```syzlang
r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x0, 0x10000000}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2) (async)
syz_usb_disconnect(r0)
```
The crucial part is using `(async)` with `syz_open_dev$evdev`. That should make them run concurrently! I'm going to try this change and see if it finally triggers the bug. Fingers crossed!
|
| 144/2 | 2026/04/16 20:25 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x0, 0x10000000}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2) (async)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 145/2 | 2026/04/16 20:27 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 218481 output: 308 thoughts: 439 Thoughts: **Debugging the USB Disconnect Issue**
Okay, still no crash, which is frustrating. I'm starting to think the order of operations is key here. Could it be that `syz_usb_disconnect` is running *before* `syz_open_dev$evdev` even gets a chance to start? If that's the case, `xpad_disconnect` is being called before the device is properly open, and then `syz_open_dev$evdev` subsequently fails because the device is, well, *gone*. That explains it.
What we need is for `syz_open_dev$evdev` to kick off *first*, and *then* have `syz_usb_disconnect` run while `xpad_open` is in progress. The obvious solution here is a small delay. We can insert a short `nanosleep` before `syz_usb_disconnect` to give the opening process some time to get going. Here's what the Syzlang code will look like:
```syzlang
r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x0, 0x10000000}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2) (async)
nanosleep(&(0x7f0000000100)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)
```
Alright, let's give this a shot and see if that resolves the issue. Fingers crossed!
|
| 146/2 | 2026/04/16 20:27 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x0, 0x10000000}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2) (async)
nanosleep(&(0x7f0000000100)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 147/2 | 2026/04/16 20:29 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 219798 output: 265 thoughts: 2356 Thoughts: **Race Condition Analysis and Exploit Strategy for Xbox 360 Wireless Controller Driver** Okay, so the initial hunt for a crash in the Xbox 360 wireless controller driver hasn't yielded results yet, but I'm getting closer. I'm focusing on a potential use-after-free vulnerability tied to the `irq_out` (output interrupt) URB. The key is to find a narrow window where `xpad_stop_output` might be called concurrently with `irq_out` being active. My initial thought was that a missed `xpad_irq_out` call might be the cause, which is the URB completion handler. However, I now realize it accesses `xpad->odata_lock` immediately, so if `xpad` gets freed before this handler is run, it's a guaranteed use-after-free! The crux is timing. `xpad_disconnect` *unconditionally* calls `xpad_stop_output`. That function waits for `irq_out` to complete using `usb_wait_anchor_empty_timeout`. Then `usb_unanchor_urb` is called, which then unchains the URB. Then, `xpad_irq_out` is the completion handler, and is called. So the vulnerability occurs if `xpad_stop_output` is called while `irq_out` *is* active. The fact that the crash isn't happening suggests that `irq_out` completes *before* `xpad_stop_output` is called. It's either that or `irq_out` was never even submitted. The opening of an input device with `syz_open_dev$evdev` might be a red herring; if the wrong device is opened, `xpad_open` might not be called. But with the Xbox 360 Wireless device, I can toggle the `pad_present` flag and trigger `xpad_init_input` which leads to `xpad_led_probe` and submitting `irq_out`. Here's the new plan: I'll use the `XTYPE_XBOX360W` type and toggle `pad_present` to get `irq_out` going. I need to trigger the disconnect at exactly the right time. The `syz_usb_ep_write` call is what can be used to send to the IN endpoint. The IN endpoint's completion handler is `xpad_irq_in`. So, writing to this endpoint will kickstart the process. `xpad_irq_in` will call `xpad360w_process_packet` and then schedule `xpad_presence_work`. If `xpad_presence_work` runs at roughly the same time as `syz_usb_disconnect` is called, we'll get there. I'll need to submit the write and the disconnect asynchronously to facilitate the race. The `nanosleep` is there as a very coarse-grained delay, but the `(async)` directive is important. I'll then adjust the delay and try to trigger the crash! |
| 148/2 | 2026/04/16 20:29 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e0491021401010203010902200001010080fa0904000002ff5d81000705810320000407050203200004"], 0x0)
syz_usb_ep_write(r0, 0x81, 0x2, &(0x7f0000000100)='\x08\x80') (async)
nanosleep(&(0x7f0000000200)={0x0, 0x5000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 149/2 | 2026/04/16 20:31 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 223129 output: 266 thoughts: 3880 Thoughts: **Debugging the USB Disconnect Race Condition** Okay, so I'm trying to figure out this persistent crash I'm seeing. No luck yet, still, and I need to go through my reasoning again. First, let's step through the key aspects again. I was initially looking at `syz_usb_ep_write` with endpoint `0x81`. But `dummy_hcd` uses `ep & 0x7f`. But `0x81` should be right! Why isn't it crashing? It might be that `xpad_presence_work` isn't running. If that's the case, `irq_out` is never submitted. Why isn't it running? Because `xpad_irq_in` isn't being called! And why isn't that being called? Because `irq_in` isn't submitted. And why not that? Because `xpad360w_start_input` is failing. Why would that happen? Maybe `xpad_probe` failed. Why did that even fail? Okay, let's check the device descriptor. It *looks* perfect! Correct length, descriptor type, USB version, all the standard fields match what I expect for the relevant devices. Both endpoints are interrupt endpoints. One is IN (`0x81`), one is OUT (`0x02`). `xpad_probe` itself checks that we have two endpoints, both interrupt type, and it iterates through them. Then, in the code, `xpad_init_output` is called to set up the output URB and this *shouldn't* fail. So, this *should* work! After that, `xpad_probe` fills in the `irq_in` URB using the input endpoint. Then `xpad360w_start_input` is called, which submits the `irq_in` URB. That, then calls `xpad_inquiry_pad_presence` which is supposed to submit the `irq_out` URB. And, if `usb_submit_urb` succeeds, which it should, `xpad_probe` should succeed and `syz_usb_connect` should return! If that happens, `syz_usb_ep_write` should trigger a write to the IN endpoint. Then, `xpad_irq_in` should be called, leading to processing in `xpad360w_process_packet`. This means `xpad_presence_work` should be scheduled, then `xpad_init_input` is called and then `xpad_led_probe` is called. That also submits the `irq_out` URB. If `irq_out` completes, then `syz_usb_disconnect` is called. It seems like the race happens when the disconnect is called exactly when the `irq_out` is completing. That would be a tiny window. So, how can I hit this more reliably? Maybe inject a fault to stall the process, but `usb_wait_anchor_empty_timeout` is not a syscall. Okay, a loop! So, I can try running a program that connects, writes to the endpoint, disconnects and does this a few times. I have this already. But syzkaller reproduces it reliably. Is there a way to make it *more* reliable? With the `XTYPE_XBOXONE` type, `irq_out` is submitted when the device is opened. If there is a concurrent open, that could increase the race window. I think that syzkaller's background thread might open the device. The background thread would call `xpad_open`, which then does `xpad_start_input`, and submits `irq_out`. Then, the disconnect path would run and call `xpad_stop_output` concurrently with this. So, let's try that scenario again, but make sure the open happens. I can open the device myself and make sure it is happening. I can use `openat` and then path to `/dev/input/event0` to make sure the open happens. Wait, I need to use `syz_open_dev` and `/dev/input/event#`. Okay, I have a program that uses syz_open_dev. Let's see if this does it. |
| 150/2 | 2026/04/16 20:32 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x0, 0x2) (async)
nanosleep(&(0x7f0000000200)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 151/2 | 2026/04/16 20:33 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 228255 output: 374 thoughts: 448 Thoughts: **Debugging the Event Device Connection**
Okay, still no crash, which means I need to dig deeper. I'm focusing on that `syz_open_dev$evdev` call. I remember that it's designed to open *any* available `/dev/input/event#` device. The critical thing here is that if it picks the *wrong* event device, the `xpad_open` function that I want to trigger won't be called, and I won't see the bug. So, the question becomes: how do I *guarantee* it opens the *right* event device?
Aha! I think I've got it. I can just call `syz_open_dev$evdev` multiple times! Let's force a scenario where we open `/dev/input/event#` with different flags. Maybe the correct device will be selected, at different points in the process.
So, I'll structure the syzlang code like this:
1. Connect a USB device using `syz_usb_connect`.
2. Call `syz_open_dev$evdev` three times in succession: Once for read-only access, once for write-only, and once for read-write.
3. Add a short delay using `nanosleep`.
4. Finally, disconnect the USB device with `syz_usb_disconnect`.
The hope is that by opening multiple event devices, the code will trigger the behavior that leads to the crash, especially if there's some kind of race condition involved in device selection. Here's how I envision the new code:
```syzlang
r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x0, 0x2) (async)
r2 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x1, 0x2) (async)
r3 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x2, 0x2) (async)
nanosleep(&(0x7f0000000200)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)
```
Let's run this and see if it yields any results!
|
| 152/2 | 2026/04/16 20:34 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x0, 0x2) (async)
r2 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x1, 0x2) (async)
r3 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x2, 0x2) (async)
nanosleep(&(0x7f0000000200)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 153/2 | 2026/04/16 20:35 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 229836 output: 536 thoughts: 1780 Thoughts: **Race Condition Hunt: A Syzkaller Investigation** Okay, so still no crash, which is frustrating. Let's retrace our steps. Remember `syz_open_dev$evdev` takes an `id` argument, and that's key. If `id` is zero, we're opening `/dev/input/event0`. One opens `/dev/input/event1`, and so on. But wait, looking at `executor/common_linux.h`, `syz_open_dev` is actually using `sprintf` to construct the device path. So the number is the `id`! So we can open several event devices at once. But what if the device is `event3` or `event4`? We'd need to loop and open them. Let's see... Wait! If we use `XTYPE_XBOX360W`, we can skip all of that. `xpad_presence_work` calls `xpad_init_input`, which calls `xpad_led_probe`, and *that* submits `irq_out`! Bingo! We can trigger `xpad_presence_work` with a presence packet. The current repro uses `syz_usb_connect`, sends some data to `0x81`, sleeps, sends some more, then disconnects. Why is this not crashing? Ah, `syz_usb_ep_write` uses `USB_RAW_IOCTL_EP_WRITE`. Does `dummy_hcd` support this? Yes, `raw-gadget` does. And `syz_usb_connect` uses `vusb`, implemented via `raw-gadget`. Does `raw-gadget` support interrupt endpoints? Yes! And `xpad_irq_in` is an INTERRUPT endpoint. Does `syz_usb_ep_write` work for interrupt endpoints? Yes. And *xpad_probe* submits `irq_in` with `usb_fill_int_urb`. So if `irq_in` is submitted, `raw-gadget` will get the URB. Then `syz_usb_ep_write` completes the URB, so `xpad_irq_in` *will* be called, and `xpad360w_process_packet` will be called and then `xpad_presence_work` will be scheduled! Then `xpad_init_input` is called, and `xpad_led_probe` submits `irq_out`! Now, *if* `syz_usb_disconnect` is called EXACTLY when `irq_out` is active, that's it! The race window is tiny! How to hit it reliably? Can we use `fail_nth` to inject a fault in `usb_wait_anchor_empty_timeout`? No, it's not a syscall. We can loop! Wait, Syzkaller reproduces it reliably. But can we make it *more* reliable? If we use `XTYPE_XBOXONE`, `irq_out` is submitted when the device is opened. If we can use `syz_open_dev$evdev` to open the device, we can make this more reliable. Let's try opening `event0` through `event5` and then disconnect the device. ```syzlang r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0) r1 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x0, 0x2) (async) r2 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x1, 0x2) (async) r3 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x2, |
| 154/2 | 2026/04/16 20:36 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x0, 0x2) (async)
r2 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x1, 0x2) (async)
r3 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x2, 0x2) (async)
r4 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x3, 0x2) (async)
r5 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x4, 0x2) (async)
r6 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x5, 0x2) (async)
nanosleep(&(0x7f0000000200)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 155/2 | 2026/04/16 20:37 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 233208 output: 225 thoughts: 487 Thoughts: **Debugging a Kernel Race Condition**
Okay, still no crash. I need to think this through. Right, `syz_open_dev$evdev` expects the device path string to be *exactly* `/dev/input/event#`. If I include a null terminator, like `/dev/input/event#\x00`, it should still be correct. So why isn't it crashing?
My initial thought was maybe `irq_out` wasn't being submitted when the device opens. Let me go back and double check `xpad_start_xbox_one`. Ah, here it is:
```c
static int xpad_start_xbox_one(struct usb_xpad *xpad)
{
...
xpad->init_seq = 0;
return xpad_try_sending_next_out_packet(xpad);
}
```
And `xpad_try_sending_next_out_packet` *does* submit `irq_out`. So it *is* submitted! The problem is that it likely completes very quickly. I'm trying to cause a race condition, and that means I need to disconnect *precisely* when it's completing. The `nanosleep` might be too crude to get the timing right.
What if I remove the `nanosleep`? Let's try a different approach, a simpler syzkaller program:
```syzlang
r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x0, 0x2) (async)
syz_usb_disconnect(r0)
```
This looks promising. Let's give this a shot!
|
| 156/2 | 2026/04/16 20:37 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0) r1 = syz_open_dev$evdev(&(0x7f0000000100)='/dev/input/event#\x00', 0x0, 0x2) (async) syz_usb_disconnect(r0)] Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 157/2 | 2026/04/16 20:39 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 234488 output: 301 thoughts: 478 Thoughts: **Debugging the Elusive Crash**
Okay, still no crash. Hmm, something's not right. Could `syz_open_dev$evdev` be failing because the device isn't ready *yet*? Think about it: `syz_usb_connect` returns once the device is enumerated, but udev might still be busy creating the `/dev/input/event#` node! If udev hasn't finished, `syz_open_dev$evdev` will definitely fail. And if that fails, then `xpad_open` *never* gets called, which means the `irq_out` submission never even happens. Ah, that explains it! That's why I'm not seeing a crash.
The question then becomes, how do I wait for udev to do its job? A simple loop to open the device until it succeeds would be ideal, but syzlang doesn't have loops, of course. Okay, I can work with that; the simplest approach is a sleep. I can just introduce a delay of 1 second before attempting to open the device. Let's try implementing that; here is the new syzlang script:
```syzlang
r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2) (async)
nanosleep(&(0x7f0000000100)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)
```
Alright, let's give this a shot and see if that sleep fixes the issue!
|
| 158/2 | 2026/04/16 20:40 | tool | reproduce-crash |
2mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2) (async)
nanosleep(&(0x7f0000000100)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 159/2 | 2026/04/16 20:42 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 235859 output: 517 thoughts: 576 Thoughts: **Event Device Enumeration and Vulnerability Exploration** Okay, still no luck with the initial crash attempt. Time to re-evaluate. I'm looking closely at this `syz_open_dev$evdev` call. It takes an `id intptr` argument, which, if I understand correctly, determines which `/dev/input/eventX` device is opened. If `0` is passed, it specifically targets `event0`. The obvious thought then occurs: what if the target device isn't `event0`? Aha! We can try opening devices from `event0` up to `event9` using the `id` argument of `syz_open_dev$evdev`. Let me write some syzlang to test this idea. First I'll establish a USB connection, add a delay, then open `event0` to `event4` with different device id's asynchronously. I'll include a small delay so these system calls have time to execute. Then I'll disconnect the USB connection. Hopefully, this enumeration will uncover a potential vulnerability by interacting with different event devices on the system. |
| 160/2 | 2026/04/16 20:42 | tool | reproduce-crash |
2mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2) (async)
r2 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x1, 0x2) (async)
r3 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x2, 0x2) (async)
r4 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x3, 0x2) (async)
r5 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x4, 0x2) (async)
nanosleep(&(0x7f0000000100)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 161/2 | 2026/04/16 20:44 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 237223 output: 20 thoughts: 235 Thoughts: **Analyzing the Potential for a Crash**
Okay, still no crash, which is frustrating. Let's see... I'm looking at `syz_open_dev` in `executor/common_linux.h`. I recall that function does this:
```c
static long syz_open_dev(volatile long a0, volatile long a1, volatile long a2)
{
if (a0 == 0xc || a0 == 0xb) {
// ...
}
char buf[128];
sprintf(buf, (char*)a0, (int)a1);
return open(buf, a2, 0);
}
```
My initial thought was that if `a0` is something like `/dev/input/event#`, then `sprintf` might replace the `#` with a number. But no, wait, that's not how `sprintf` works. It's expecting a format specifier like `%d`. So, if the input string is literally `/dev/input/event#`, `sprintf` won't do any replacement at all, and it'll just output the same literal string. I need to be more precise about the format string used. Right, I remember that `sprintf` only replaces format specifiers like `%d`, `%s` etc. Okay, let me go back and double check the code around `syz_open_dev` in `executor/common_linux.h`.
|
| 162/2 | 2026/04/16 20:44 | tool | grepper |
0mError:no matches Args: map[Expression:syz_open_dev] Results: map[Output:] |
| 163/2 | 2026/04/16 20:44 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 237812 output: 17 thoughts: 19 Thoughts: Here's a summary of my thought process: **Diving into the `open_dev` Implementation** Okay, so I need to understand how `open_dev` is working. It's time to dig into the code. The logical place to start is `executor/common_linux.h`. That header file is a good candidate for defining low-level system interactions, and the name "common" suggests it houses shared functionality. Let's see what we can find in there regarding the `open_dev` function and its related implementations. I'm expecting to find the nitty-gritty details of device opening – probably some system calls and error handling. I'm hoping it's well-commented so I don't have to spend too long trying to decipher the intent. |
| 164/2 | 2026/04/16 20:44 | tool | grepper |
0mArgs:map[Expression:open_dev] Results: map[Output:
Full output is too long, showing 500 out of 1313 lines.
Use more precise expression if possible.
[Documentation/arch/s390/vfio-ap.rst=310=matrix device.
--
Documentation/arch/s390/vfio-ap.rst-432-
Documentation/arch/s390/vfio-ap.rst:433: open_device:
Documentation/arch/s390/vfio-ap.rst-434- The vfio_ap driver uses this callback to register a
Documentation/arch/s390/vfio-ap.rst-435- VFIO_GROUP_NOTIFY_SET_KVM notifier callback function for the matrix mdev
Documentation/arch/s390/vfio-ap.rst:436: devices. The open_device callback is invoked by userspace to connect the
Documentation/arch/s390/vfio-ap.rst-437- VFIO iommu group for the matrix mdev device to the MDEV bus. Access to the
--
Documentation/driver-api/vfio.rst=403=similar to a file operations structure::
--
Documentation/driver-api/vfio.rst-413- void (*detach_ioas)(struct vfio_device *vdev);
Documentation/driver-api/vfio.rst:414: int (*open_device)(struct vfio_device *vdev);
Documentation/driver-api/vfio.rst-415- void (*close_device)(struct vfio_device *vdev);
--
Documentation/driver-api/vfio.rst=433=container_of().
--
Documentation/driver-api/vfio.rst-464- order to unpin pages within the dma_unmap range. Drivers must tolerate
Documentation/driver-api/vfio.rst:465: this callback even before calls to open_device().
Documentation/driver-api/vfio.rst-466-
--
Documentation/userspace-api/media/v4l/capture.c.rst=4=file: media/v4l/capture.c
--
Documentation/userspace-api/media/v4l/capture.c.rst-539-
Documentation/userspace-api/media/v4l/capture.c.rst:540: static void open_device(void)
Documentation/userspace-api/media/v4l/capture.c.rst-541- {
--
Documentation/userspace-api/media/v4l/capture.c.rst-655-
Documentation/userspace-api/media/v4l/capture.c.rst:656: open_device();
Documentation/userspace-api/media/v4l/capture.c.rst-657- init_device();
--
Documentation/virt/kvm/devices/vfio.rst=56=device file descriptor via VFIO_GROUP_GET_DEVICE_FD in order to support
Documentation/virt/kvm/devices/vfio.rst:57:drivers which require a kvm pointer to be set in their .open_device()
Documentation/virt/kvm/devices/vfio.rst-58-callback. It is the same for device file descriptor via character device
--
arch/powerpc/include/asm/lv1call.h=273=LV1_CALL(configure_virtual_uart_irq, 1, 1, 166 )
arch/powerpc/include/asm/lv1call.h:274:LV1_CALL(open_device, 3, 0, 170 )
arch/powerpc/include/asm/lv1call.h-275-LV1_CALL(close_device, 2, 0, 171 )
--
arch/powerpc/platforms/ps3/device-init.c=772=static int ps3_probe_thread(void *data)
--
arch/powerpc/platforms/ps3/device-init.c-798-
arch/powerpc/platforms/ps3/device-init.c:799: res = lv1_open_device(local->dev.sbd.bus_id, local->dev.sbd.dev_id, 0);
arch/powerpc/platforms/ps3/device-init.c-800- if (res) {
arch/powerpc/platforms/ps3/device-init.c:801: pr_err("%s:%u: lv1_open_device failed %s\n", __func__,
arch/powerpc/platforms/ps3/device-init.c-802- __LINE__, ps3_result(res));
--
arch/powerpc/platforms/ps3/gelic_udbg.c=117=static void __init gelic_debug_init(void)
--
arch/powerpc/platforms/ps3/gelic_udbg.c-123-
arch/powerpc/platforms/ps3/gelic_udbg.c:124: result = lv1_open_device(GELIC_BUS_ID, GELIC_DEVICE_ID, 0);
arch/powerpc/platforms/ps3/gelic_udbg.c-125- if (result)
--
arch/powerpc/platforms/ps3/system-bus.c=41=static int ps3_open_hv_device_sb(struct ps3_system_bus_device *dev)
--
arch/powerpc/platforms/ps3/system-bus.c-63-
arch/powerpc/platforms/ps3/system-bus.c:64: result = lv1_open_device(dev->bus_id, dev->dev_id, 0);
arch/powerpc/platforms/ps3/system-bus.c-65-
arch/powerpc/platforms/ps3/system-bus.c-66- if (result) {
arch/powerpc/platforms/ps3/system-bus.c:67: pr_warn("%s:%d: lv1_open_device dev=%u.%u(%s) failed: %s\n",
arch/powerpc/platforms/ps3/system-bus.c-68- __func__, __LINE__, dev->match_id, dev->match_sub_id,
--
arch/um/drivers/ubd_kern.c=706=static void ubd_close_dev(struct ubd *ubd_dev)
--
arch/um/drivers/ubd_kern.c-716-
arch/um/drivers/ubd_kern.c:717:static int ubd_open_dev(struct ubd *ubd_dev)
arch/um/drivers/ubd_kern.c-718-{
--
arch/um/drivers/ubd_kern.c=829=static int ubd_add(int n, char **error_out)
--
arch/um/drivers/ubd_kern.c-855-
arch/um/drivers/ubd_kern.c:856: err = ubd_open_dev(ubd_dev);
arch/um/drivers/ubd_kern.c-857- if (err) {
--
arch/um/drivers/vfio_kern.c=458=static int uml_vfio_read_msix_table(struct uml_vfio_device *dev)
--
arch/um/drivers/vfio_kern.c-483-
arch/um/drivers/vfio_kern.c:484:static void uml_vfio_open_device(struct uml_vfio_device *dev)
arch/um/drivers/vfio_kern.c-485-{
--
arch/um/drivers/vfio_kern.c=645=static int uml_vfio_mc_config(char *str, char **error_out)
--
arch/um/drivers/vfio_kern.c-657- return PTR_ERR(dev);
arch/um/drivers/vfio_kern.c:658: uml_vfio_open_device(dev);
arch/um/drivers/vfio_kern.c-659- return 0;
--
arch/um/drivers/vfio_kern.c=681=static int __init uml_vfio_init(void)
--
arch/um/drivers/vfio_kern.c-688- list_for_each_entry_safe(dev, n, ¨_vfio_devices, list)
arch/um/drivers/vfio_kern.c:689: uml_vfio_open_device(dev);
arch/um/drivers/vfio_kern.c-690-
--
block/bdev.c=1212=int lookup_bdev(const char *pathname, dev_t *dev)
--
block/bdev.c-1229- error = -EACCES;
block/bdev.c:1230: if (!may_open_dev(&path))
block/bdev.c-1231- goto out_path_put;
--
drivers/accel/habanalabs/common/habanalabs_ioctl.c=564=static int dram_replaced_rows_info(struct hl_fpriv *hpriv, struct hl_info_args *args)
--
drivers/accel/habanalabs/common/habanalabs_ioctl.c-581-
drivers/accel/habanalabs/common/habanalabs_ioctl.c:582:static int last_err_open_dev_info(struct hl_fpriv *hpriv, struct hl_info_args *args)
drivers/accel/habanalabs/common/habanalabs_ioctl.c-583-{
drivers/accel/habanalabs/common/habanalabs_ioctl.c:584: struct hl_info_last_err_open_dev_time info = {0};
drivers/accel/habanalabs/common/habanalabs_ioctl.c-585- struct hl_device *hdev = hpriv->hdev;
--
drivers/accel/habanalabs/common/habanalabs_ioctl.c=1005=static int _hl_info_ioctl(struct hl_fpriv *hpriv, void *data,
--
drivers/accel/habanalabs/common/habanalabs_ioctl.c-1050- case HL_INFO_LAST_ERR_OPEN_DEV_TIME:
drivers/accel/habanalabs/common/habanalabs_ioctl.c:1051: return last_err_open_dev_info(hpriv, args);
drivers/accel/habanalabs/common/habanalabs_ioctl.c-1052-
--
drivers/bluetooth/hci_vhci.c=34=struct vhci_data {
--
drivers/bluetooth/hci_vhci.c-50-
drivers/bluetooth/hci_vhci.c:51:static int vhci_open_dev(struct hci_dev *hdev)
drivers/bluetooth/hci_vhci.c-52-{
--
drivers/bluetooth/hci_vhci.c=405=static int __vhci_create_device(struct vhci_data *data, __u8 opcode)
--
drivers/bluetooth/hci_vhci.c-431-
drivers/bluetooth/hci_vhci.c:432: hdev->open = vhci_open_dev;
drivers/bluetooth/hci_vhci.c-433- hdev->close = vhci_close_dev;
--
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.c=48=static void adf_gen4_vfmig_reset_device(struct qat_mig_dev *mdev)
--
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.c-53-
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.c:54:static int adf_gen4_vfmig_open_device(struct qat_mig_dev *mdev)
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.c-55-{
--
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.c=997=void adf_gen4_init_vf_mig_ops(struct qat_migdev_ops *vfmig_ops)
--
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.c-1001- vfmig_ops->reset = adf_gen4_vfmig_reset_device;
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.c:1002: vfmig_ops->open = adf_gen4_vfmig_open_device;
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.c-1003- vfmig_ops->close = adf_gen4_vfmig_close_device;
--
drivers/firmware/efi/libstub/file.c=95=static int find_file_option(const efi_char16_t *cmdline, int cmdline_len,
--
drivers/firmware/efi/libstub/file.c-127-
drivers/firmware/efi/libstub/file.c:128:static efi_status_t efi_open_device_path(efi_file_protocol_t **volume,
drivers/firmware/efi/libstub/file.c-129- struct finfo *fi)
--
drivers/firmware/efi/libstub/file.c=226=do_builtin: cmdline = builtin_cmdline;
--
drivers/firmware/efi/libstub/file.c-245-
drivers/firmware/efi/libstub/file.c:246: status = efi_open_device_path(&volume, &fi);
drivers/firmware/efi/libstub/file.c-247- if (status == EFI_UNSUPPORTED || status == EFI_NOT_FOUND)
--
drivers/gpib/common/gpib_os.c=35=static int command_ioctl(struct gpib_file_private *file_priv, struct gpib_board *board,
drivers/gpib/common/gpib_os.c-36- unsigned long arg);
drivers/gpib/common/gpib_os.c:37:static int open_dev_ioctl(struct file *filep, struct gpib_board *board, unsigned long arg);
drivers/gpib/common/gpib_os.c-38-static int close_dev_ioctl(struct file *filep, struct gpib_board *board, unsigned long arg);
--
drivers/gpib/common/gpib_os.c=73=static int t1_delay_ioctl(struct gpib_board *board, unsigned long arg);
drivers/gpib/common/gpib_os.c-74-
drivers/gpib/common/gpib_os.c:75:static int cleanup_open_devices(struct gpib_file_private *file_priv, struct gpib_board *board);
drivers/gpib/common/gpib_os.c-76-
--
drivers/gpib/common/gpib_os.c=565=int ibclose(struct inode *inode, struct file *filep)
--
drivers/gpib/common/gpib_os.c-593-
drivers/gpib/common/gpib_os.c:594: cleanup_open_devices(priv, board);
drivers/gpib/common/gpib_os.c-595-
--
drivers/gpib/common/gpib_os.c=611=long ibioctl(struct file *filep, unsigned int cmd, unsigned long arg)
--
drivers/gpib/common/gpib_os.c-708- case IBOPENDEV:
drivers/gpib/common/gpib_os.c:709: retval = open_dev_ioctl(filep, board, arg);
drivers/gpib/common/gpib_os.c-710- goto done;
--
drivers/gpib/common/gpib_os.c=1130=static int status_bytes_ioctl(struct gpib_board *board, unsigned long arg)
--
drivers/gpib/common/gpib_os.c-1152-
drivers/gpib/common/gpib_os.c:1153:static int increment_open_device_count(struct gpib_board *board, struct list_head *head,
drivers/gpib/common/gpib_os.c-1154- unsigned int pad, int sad)
--
drivers/gpib/common/gpib_os.c-1188-
drivers/gpib/common/gpib_os.c:1189:static int subtract_open_device_count(struct gpib_board *board, struct list_head *head,
drivers/gpib/common/gpib_os.c-1190- unsigned int pad, int sad, unsigned int count)
--
drivers/gpib/common/gpib_os.c-1217-
drivers/gpib/common/gpib_os.c:1218:static inline int decrement_open_device_count(struct gpib_board *board, struct list_head *head,
drivers/gpib/common/gpib_os.c-1219- unsigned int pad, int sad)
drivers/gpib/common/gpib_os.c-1220-{
drivers/gpib/common/gpib_os.c:1221: return subtract_open_device_count(board, head, pad, sad, 1);
drivers/gpib/common/gpib_os.c-1222-}
drivers/gpib/common/gpib_os.c-1223-
drivers/gpib/common/gpib_os.c:1224:static int cleanup_open_devices(struct gpib_file_private *file_priv, struct gpib_board *board)
drivers/gpib/common/gpib_os.c-1225-{
--
drivers/gpib/common/gpib_os.c-1236- if (desc->is_board == 0) {
drivers/gpib/common/gpib_os.c:1237: retval = decrement_open_device_count(board, &board->device_list, desc->pad,
drivers/gpib/common/gpib_os.c-1238- desc->sad);
--
drivers/gpib/common/gpib_os.c-1248-
drivers/gpib/common/gpib_os.c:1249:static int open_dev_ioctl(struct file *filep, struct gpib_board *board, unsigned long arg)
drivers/gpib/common/gpib_os.c-1250-{
drivers/gpib/common/gpib_os.c:1251: struct gpib_open_dev_ioctl open_dev_cmd;
drivers/gpib/common/gpib_os.c-1252- int retval;
--
drivers/gpib/common/gpib_os.c-1255-
drivers/gpib/common/gpib_os.c:1256: retval = copy_from_user(&open_dev_cmd, (void __user *)arg, sizeof(open_dev_cmd));
drivers/gpib/common/gpib_os.c-1257- if (retval)
--
drivers/gpib/common/gpib_os.c-1275-
drivers/gpib/common/gpib_os.c:1276: file_priv->descriptors[i]->pad = open_dev_cmd.pad;
drivers/gpib/common/gpib_os.c:1277: file_priv->descriptors[i]->sad = open_dev_cmd.sad;
drivers/gpib/common/gpib_os.c:1278: file_priv->descriptors[i]->is_board = open_dev_cmd.is_board;
drivers/gpib/common/gpib_os.c-1279- mutex_unlock(&file_priv->descriptors_mutex);
drivers/gpib/common/gpib_os.c-1280-
drivers/gpib/common/gpib_os.c:1281: retval = increment_open_device_count(board, &board->device_list, open_dev_cmd.pad,
drivers/gpib/common/gpib_os.c:1282: open_dev_cmd.sad);
drivers/gpib/common/gpib_os.c-1283- if (retval < 0)
--
drivers/gpib/common/gpib_os.c-1291-
drivers/gpib/common/gpib_os.c:1292: open_dev_cmd.handle = i;
drivers/gpib/common/gpib_os.c:1293: retval = copy_to_user((void __user *)arg, &open_dev_cmd, sizeof(open_dev_cmd));
drivers/gpib/common/gpib_os.c-1294- if (retval)
--
drivers/gpib/common/gpib_os.c=1300=static int close_dev_ioctl(struct file *filep, struct gpib_board *board, unsigned long arg)
--
drivers/gpib/common/gpib_os.c-1331-
drivers/gpib/common/gpib_os.c:1332: retval = decrement_open_device_count(board, &board->device_list, pad, sad);
drivers/gpib/common/gpib_os.c-1333-
--
drivers/gpib/common/gpib_os.c=1499=static int pad_ioctl(struct gpib_board *board, struct gpib_file_private *file_priv,
--
drivers/gpib/common/gpib_os.c-1518- } else {
drivers/gpib/common/gpib_os.c:1519: retval = decrement_open_device_count(board, &board->device_list, desc->pad,
drivers/gpib/common/gpib_os.c-1520- desc->sad);
--
drivers/gpib/common/gpib_os.c-1525-
drivers/gpib/common/gpib_os.c:1526: retval = increment_open_device_count(board, &board->device_list, desc->pad,
drivers/gpib/common/gpib_os.c-1527- desc->sad);
--
drivers/gpib/common/gpib_os.c=1535=static int sad_ioctl(struct gpib_board *board, struct gpib_file_private *file_priv,
--
drivers/gpib/common/gpib_os.c-1554- } else {
drivers/gpib/common/gpib_os.c:1555: retval = decrement_open_device_count(board, &board->device_list, desc->pad,
drivers/gpib/common/gpib_os.c-1556- desc->sad);
--
drivers/gpib/common/gpib_os.c-1561-
drivers/gpib/common/gpib_os.c:1562: retval = increment_open_device_count(board, &board->device_list, desc->pad,
drivers/gpib/common/gpib_os.c-1563- desc->sad);
--
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c=1444=int amdgpu_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv)
--
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c-1477-
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:1478: r = amdgpu_xcp_open_device(adev, fpriv, file_priv);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c-1479- if (r)
--
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c=411=void amdgpu_xcp_dev_unplug(struct amdgpu_device *adev)
--
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c-432-
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c:433:int amdgpu_xcp_open_device(struct amdgpu_device *adev,
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c-434- struct amdgpu_fpriv *fpriv,
--
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h=175=void amdgpu_xcp_dev_unplug(struct amdgpu_device *adev);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h:176:int amdgpu_xcp_open_device(struct amdgpu_device *adev,
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h-177- struct amdgpu_fpriv *fpriv,
--
drivers/gpu/drm/i915/gvt/kvmgt.c=642=static bool __kvmgt_vgpu_exist(struct intel_vgpu *vgpu)
--
drivers/gpu/drm/i915/gvt/kvmgt.c-662-
drivers/gpu/drm/i915/gvt/kvmgt.c:663:static int intel_vgpu_open_device(struct vfio_device *vfio_dev)
drivers/gpu/drm/i915/gvt/kvmgt.c-664-{
--
drivers/gpu/drm/i915/gvt/kvmgt.c=1440=static const struct vfio_device_ops intel_vgpu_dev_ops = {
--
drivers/gpu/drm/i915/gvt/kvmgt.c-1442- .release = intel_vgpu_release_dev,
drivers/gpu/drm/i915/gvt/kvmgt.c:1443: .open_device = intel_vgpu_open_device,
drivers/gpu/drm/i915/gvt/kvmgt.c-1444- .close_device = intel_vgpu_close_device,
--
drivers/hid/hid-appletb-kbd.c=255=static int appletb_kbd_inp_connect(struct input_handler *handler,
--
drivers/hid/hid-appletb-kbd.c-284-
drivers/hid/hid-appletb-kbd.c:285: rc = input_open_device(handle);
drivers/hid/hid-appletb-kbd.c-286- if (rc)
--
drivers/input/apm-power.c=48=static int apmpower_connect(struct input_handler *handler,
--
drivers/input/apm-power.c-70-
drivers/input/apm-power.c:71: error = input_open_device(handle);
drivers/input/apm-power.c-72- if (error) {
--
drivers/input/evdev.c=371=static void evdev_detach_client(struct evdev *evdev,
--
drivers/input/evdev.c-379-
drivers/input/evdev.c:380:static int evdev_open_device(struct evdev *evdev)
drivers/input/evdev.c-381-{
--
drivers/input/evdev.c-390- else if (!evdev->open++) {
drivers/input/evdev.c:391: retval = input_open_device(&evdev->handle);
drivers/input/evdev.c-392- if (retval)
--
drivers/input/evdev.c=461=static int evdev_open(struct inode *inode, struct file *file)
--
drivers/input/evdev.c-477-
drivers/input/evdev.c:478: error = evdev_open_device(evdev);
drivers/input/evdev.c-479- if (error)
--
drivers/input/input-leds.c=89=static int input_leds_connect(struct input_handler *handler,
--
drivers/input/input-leds.c-118-
drivers/input/input-leds.c:119: error = input_open_device(&leds->handle);
drivers/input/input-leds.c-120- if (error)
--
drivers/input/input.c=569=EXPORT_SYMBOL(input_release_device);
--
drivers/input/input.c-571-/**
drivers/input/input.c:572: * input_open_device - open input device
drivers/input/input.c-573- * @handle: handle through which device is being accessed
--
drivers/input/input.c-577- */
drivers/input/input.c:578:int input_open_device(struct input_handle *handle)
drivers/input/input.c-579-{
--
drivers/input/input.c-619-}
drivers/input/input.c:620:EXPORT_SYMBOL(input_open_device);
drivers/input/input.c-621-
--
drivers/input/input.c=694=static void input_disconnect_device(struct input_dev *dev)
--
drivers/input/input.c-700- * not to protect access to dev->going_away but rather to ensure
drivers/input/input.c:701: * that there are no threads in the middle of input_open_device()
drivers/input/input.c-702- */
--
drivers/input/input.c=2584=static void input_handle_setup_event_handler(struct input_handle *handle)
--
drivers/input/input.c-2603- * and handler's lists so that events can flow through
drivers/input/input.c:2604: * it once it is opened using input_open_device().
drivers/input/input.c-2605- *
--
drivers/input/joydev.c=185=static void joydev_refresh_state(struct joydev *joydev)
--
drivers/input/joydev.c-195-
drivers/input/joydev.c:196:static int joydev_open_device(struct joydev *joydev)
drivers/input/joydev.c-197-{
--
drivers/input/joydev.c-206- else if (!joydev->open++) {
drivers/input/joydev.c:207: retval = input_open_device(&joydev->handle);
drivers/input/joydev.c-208- if (retval)
--
drivers/input/joydev.c=257=static int joydev_open(struct inode *inode, struct file *file)
--
drivers/input/joydev.c-271-
drivers/input/joydev.c:272: error = joydev_open_device(joydev);
drivers/input/joydev.c-273- if (error)
--
drivers/input/mousedev.c=58=struct mousedev {
--
drivers/input/mousedev.c-77-
drivers/input/mousedev.c:78: int (*open_device)(struct mousedev *mousedev);
drivers/input/mousedev.c-79- void (*close_device)(struct mousedev *mousedev);
--
drivers/input/mousedev.c=411=static void mousedev_free(struct device *dev)
--
drivers/input/mousedev.c-418-
drivers/input/mousedev.c:419:static int mousedev_open_device(struct mousedev *mousedev)
drivers/input/mousedev.c-420-{
--
drivers/input/mousedev.c-429- else if (!mousedev->open++) {
drivers/input/mousedev.c:430: retval = input_open_device(&mousedev->handle);
drivers/input/mousedev.c-431- if (retval)
--
drivers/input/mousedev.c=439=static void mousedev_close_device(struct mousedev *mousedev)
--
drivers/input/mousedev.c-453- */
drivers/input/mousedev.c:454:static int mixdev_open_devices(struct mousedev *mixdev)
drivers/input/mousedev.c-455-{
--
drivers/input/mousedev.c-466- if (!mousedev->opened_by_mixdev) {
drivers/input/mousedev.c:467: if (mousedev_open_device(mousedev))
drivers/input/mousedev.c-468- continue;
--
drivers/input/mousedev.c=533=static int mousedev_open(struct inode *inode, struct file *file)
--
drivers/input/mousedev.c-555-
drivers/input/mousedev.c:556: error = mousedev->open_device(mousedev);
drivers/input/mousedev.c-557- if (error)
--
drivers/input/mousedev.c=842=static struct mousedev *mousedev_create(struct input_dev *dev,
--
drivers/input/mousedev.c-872-
drivers/input/mousedev.c:873: mousedev->open_device = mixdev_open_devices;
drivers/input/mousedev.c-874- mousedev->close_device = mixdev_close_devices;
--
drivers/input/mousedev.c-881-
drivers/input/mousedev.c:882: mousedev->open_device = mousedev_open_device;
drivers/input/mousedev.c-883- mousedev->close_device = mousedev_close_device;
--
drivers/input/mousedev.c=935=static int mixdev_add_device(struct mousedev *mousedev)
--
drivers/input/mousedev.c-943- if (mousedev_mix->open) {
drivers/input/mousedev.c:944: retval = mousedev_open_device(mousedev);
drivers/input/mousedev.c-945- if (retval)
--
drivers/leds/trigger/ledtrig-input-events.c=72=static int input_events_connect(struct input_handler *handler, struct input_dev *dev,
--
drivers/leds/trigger/ledtrig-input-events.c-89-
drivers/leds/trigger/ledtrig-input-events.c:90: ret = input_open_device(handle);
drivers/leds/trigger/ledtrig-input-events.c-91- if (ret)
--
drivers/macintosh/mac_hid.c=94=static int mac_hid_emumouse_connect(struct input_handler *handler,
--
drivers/macintosh/mac_hid.c-120-
drivers/macintosh/mac_hid.c:121: error = input_open_device(handle);
drivers/macintosh/mac_hid.c-122- if (error) {
--
drivers/md/bcache/super.c=691=static int prio_read(struct cache *ca, uint64_t bucket)
--
drivers/md/bcache/super.c-734-
drivers/md/bcache/super.c:735:static int open_dev(struct gendisk *disk, blk_mode_t mode)
drivers/md/bcache/super.c-736-{
--
drivers/md/bcache/super.c=761=static const struct block_device_operations bcache_cached_ops = {
drivers/md/bcache/super.c-762- .submit_bio = cached_dev_submit_bio,
drivers/md/bcache/super.c:763: .open = open_dev,
drivers/md/bcache/super.c-764- .release = release_dev,
--
drivers/md/bcache/super.c=769=static const struct block_device_operations bcache_flash_ops = {
drivers/md/bcache/super.c-770- .submit_bio = flash_dev_submit_bio,
drivers/md/bcache/super.c:771: .open = open_dev,
drivers/md/bcache/super.c-772- .release = release_dev,
--
drivers/md/dm-ioctl.c=65=static struct rb_root uuid_rb_tree = RB_ROOT;
drivers/md/dm-ioctl.c-66-
drivers/md/dm-ioctl.c:67:static void dm_hash_remove_all(bool keep_open_devices, bool mark_deferred, bool only_deferred);
drivers/md/dm-ioctl.c-68-
--
drivers/md/dm-ioctl.c=308=static struct dm_table *__hash_remove(struct hash_cell *hc)
--
drivers/md/dm-ioctl.c-335-
drivers/md/dm-ioctl.c:336:static void dm_hash_remove_all(bool keep_open_devices, bool mark_deferred, bool only_deferred)
drivers/md/dm-ioctl.c-337-{
--
drivers/md/dm-ioctl.c-353-
drivers/md/dm-ioctl.c:354: if (keep_open_devices &&
drivers/md/dm-ioctl.c-355- dm_lock_for_deletion(md, mark_deferred, only_deferred)) {
--
drivers/md/dm-ioctl.c-370- dm_put(md);
drivers/md/dm-ioctl.c:371: if (likely(keep_open_devices))
drivers/md/dm-ioctl.c-372- dm_destroy(md);
--
drivers/md/dm-thin-metadata.c=994=int dm_pool_metadata_close(struct dm_pool_metadata *pmd)
--
drivers/md/dm-thin-metadata.c-996- int r;
drivers/md/dm-thin-metadata.c:997: unsigned int open_devices = 0;
drivers/md/dm-thin-metadata.c-998- struct dm_thin_device *td, *tmp;
--
drivers/md/dm-thin-metadata.c-1002- if (td->open_count)
drivers/md/dm-thin-metadata.c:1003: open_devices++;
drivers/md/dm-thin-metadata.c-1004- else {
--
drivers/md/dm-thin-metadata.c-1010-
drivers/md/dm-thin-metadata.c:1011: if (open_devices) {
drivers/md/dm-thin-metadata.c-1012- DMERR("attempt to close pmd when %u device(s) are still open",
drivers/md/dm-thin-metadata.c:1013: open_devices);
drivers/md/dm-thin-metadata.c-1014- return -EBUSY;
--
drivers/md/dm-thin-metadata.c-1031-/*
drivers/md/dm-thin-metadata.c:1032: * __open_device: Returns @td corresponding to device with id @dev,
drivers/md/dm-thin-metadata.c-1033- * creating it if @create is set and incrementing @td->open_count.
--
drivers/md/dm-thin-metadata.c-1035- */
drivers/md/dm-thin-metadata.c:1036:static int __open_device(struct dm_pool_metadata *pmd,
drivers/md/dm-thin-metadata.c-1037- dm_thin_id dev, int create,
--
drivers/md/dm-thin-metadata.c=1104=static int __create_thin(struct dm_pool_metadata *pmd,
--
drivers/md/dm-thin-metadata.c-1135-
drivers/md/dm-thin-metadata.c:1136: r = __open_device(pmd, dev, 1, &td);
drivers/md/dm-thin-metadata.c-1137- if (r) {
--
drivers/md/dm-thin-metadata.c=1159=static int __set_snapshot_details(struct dm_pool_metadata *pmd,
--
drivers/md/dm-thin-metadata.c-1165-
drivers/md/dm-thin-metadata.c:1166: r = __open_device(pmd, origin, 0, &td);
drivers/md/dm-thin-metadata.c-1167- if (r)
--
drivers/md/dm-thin-metadata.c=1180=static int __create_snap(struct dm_pool_metadata *pmd,
--
drivers/md/dm-thin-metadata.c-1215-
drivers/md/dm-thin-metadata.c:1216: r = __open_device(pmd, dev, 1, &td);
drivers/md/dm-thin-metadata.c-1217- if (r)
--
drivers/md/dm-thin-metadata.c=1249=static int __delete_device(struct dm_pool_metadata *pmd, dm_thin_id dev)
--
drivers/md/dm-thin-metadata.c-1255- /* TODO: failure should mark the transaction invalid */
drivers/md/dm-thin-metadata.c:1256: r = __open_device(pmd, dev, 0, &td);
drivers/md/dm-thin-metadata.c-1257- if (r)
--
drivers/md/dm-thin-metadata.c=1495=int dm_pool_open_thin_device(struct dm_pool_metadata *pmd, dm_thin_id dev,
--
drivers/md/dm-thin-metadata.c-1501- if (!pmd->fail_io)
drivers/md/dm-thin-metadata.c:1502: r = __open_device(pmd, dev, 0, td);
drivers/md/dm-thin-metadata.c-1503- pmd_write_unlock(pmd);
--
drivers/net/ethernet/chelsio/cxgb/common.h=221=struct adapter {
--
]
] |
| 165/2 | 2026/04/16 20:44 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 248874 output: 345 thoughts: 2441 Thoughts: **Race Condition Analysis and Exploit Development** Okay, let's break this down. My initial thought was, "aha, `syz_open_dev` in `executor/common_linux.h` uses `sprintf` to construct a device path, and if we can control that path, we can control the device opened." Specifically, with the string `"/dev/input/event#"` in `dev_input.txt`, Syzkaller's compiler substitutes the `#` with `%d`, so by supplying `"/dev/input/event#"` to `syz_open_dev$evdev`, it'll open something like `/dev/input/event0`. My thinking was that by opening `/dev/input/event0`, we trigger the `xpad_open` function. I initially figured it would crash because of a timing issue with the interrupt output (`irq_out`). If `irq_out` completed *before* `syz_usb_disconnect` was called, there's no race. I started thinking, "how can we make the race happen?", with the initial thought that using `XTYPE_XBOX360W` and toggling `pad_present` could trigger the race, but I'd already tried that and it didn't crash. That led me to the conclusion that `xpad_led_probe` asynchronously submits `irq_out` via `set_brightness_work`. Since this asynchronous submission means `xpad_presence_work` finished before `irq_out`, there's no way to reliably trigger the race. `xpad_disconnect` calls `xpad_deinit_input`, then the `led_classdev_unregister` function and `flush_work(&led_cdev->set_brightness_work)`. Because `flush_work` waits for the `set_brightness_work` workqueue to finish, this means that when `flush_work` finishes, it already submitted `irq_out`. Then, the asynchronous call and the `input_unregister_device` function complete, causing the potential race to disappear, specifically with `XTYPE_XBOX360W`. Then I moved on to `XTYPE_XBOXONE`. In the case of this device, `irq_out` is submitted by `xpad_start_xbox_one`, called by `xpad_start_input` which in turn is called by `xpad_open`. Opening the device via `syz_open_dev$evdev` calls `xpad_open`. So, `xpad_open` calls `xpad_start_input`, submitting `irq_out`, and then returns. After this the device is disconnected. `xpad_disconnect` calls `xpad_deinit_input`, which then calls `input_unregister_device` and `xpad_close`, followed by `xpad_stop_output`. Because `xpad_close` is called during the execution of `input_unregister_device`, and if it takes some time, `irq_out` will have completed *before* `xpad_stop_output` is called. The key observation is that `xpad_close` is called during `input_unregister_device`. So, is there any way to ensure `irq_out` is submitted *after* `xpad_close`? No, because it is called when the device is closed. However, can we call `irq_out` concurrently with `xpad_disconnect`? The answer is `xpad_play_effect`! By opening the device and calling `ioctl(EVIOCSFF)` to play a force feedback effect, `ioctl(EVIOCSFF)` will call `xpad_play_effect`, which in turn submits `irq_out`. By calling `ioctl(EVIOCSFF)` concurrently with `syz_usb_disconnect`, we can trigger the race. My next step was to confirm this in `xpad_play_effect`! The code `xpad_play_effect` indeed calls `xpad_try_sending_next_out_packet`, meaning `irq_out` gets submitted! So, by calling `ioctl(EVIOCSFF)` concurrently with `syz_usb_disconnect`, we can hit the race! So I wrote a Syzlang program to do this. I've set up a connection with `syz_usb_connect`, added a short `nanosleep` call, opened the device with `syz_open_dev$evdev`, and then issue the `ioctl$EVIOCSFF` call as an asynchronous operation, followed by `syz_usb_disconnect`. I can verify that `0x40304580` is `E |
| 166/2 | 2026/04/16 20:45 | tool | reproduce-crash |
2mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x40304580, &(0x7f0000000300)={0x50, 0xffff, 0x0, {0x0, 0x0}, {0x0, 0x0}, @rumble={0xffff, 0xffff}}) (async)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 167/2 | 2026/04/16 20:47 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 252716 output: 338 thoughts: 321 Thoughts: **Analyzing the `ioctl$EVIOCSFF` System Call** Okay, still no crash, which means I need to re-examine my approach to exploiting this. Looking at the call, I realize I need to understand the `cmd` argument for the `ioctl`. Specifically, I was concerned about the value to pass as the `cmd`. The documentation specifies `cmd const[EVIOCSFF]`. I was thinking that if I pass a raw hex value like `0x40304580`, it might get rejected by a parsing check for `EVIOCSFF`. But then I remember that the parser *does* accept that hex value if it matches the defined constant. Now, let's unpack `EVIOCSFF`. It's defined as `_IOC(_IOC_WRITE, 'E', 0x80, sizeof(struct ff_effect))`. I know `sizeof(struct ff_effect)` is 44 bytes, and `_IOC_WRITE` is equivalent to 1. So, that means the calculated value of `EVIOCSFF` would be `0x402c4580`, which is the hex equivalent. But wait, why calculate it? I'm wondering if I can simply just use `0x0`, and let Syzkaller populate the value based on the `const` constraint. Thinking about it, the `cmd const[EVIOCSFF]` in the syzlang definition suggests that I can omit it, or use `0x0`. That *could* be the key. My Syzkaller memory tells me that if something is `const`, I *must* provide the exact value, or specify `0x0` which will instruct Syzkaller to fill in the correct value. I really need to double check the Syzkaller description for `dev_input.txt` again. And yes: ``` ioctl$EVIOCSFF(fd fd_evdev, cmd const[EVIOCSFF], arg ptr[in, ff_effect]) ``` It looks like I can definitely use `0x0` for the `cmd` argument, and Syzkaller will automatically substitute the correct value, which should be `EVIOCSFF`. I'll try `0x0` for `cmd`, and see if this gets me further. |
| 168/2 | 2026/04/16 20:48 | tool | reproduce-crash |
2mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x0, &(0x7f0000000300)={0x50, 0xffff, 0x0, {0x0, 0x0}, {0x0, 0x0}, @rumble={0xffff, 0xffff}}) (async)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 169/2 | 2026/04/16 20:50 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 253902 output: 395 thoughts: 893 Thoughts: **Analyzing the Force Feedback Mechanism**
Okay, still no crash, which means I need to carefully examine how the force feedback effects are triggered. The `ioctl$EVIOCSFF` call is what uploads the effect data, but I'm realizing it's *not* what actually plays it. The key, it seems, is `xpad_play_effect`, which is called when the effect is PLAYED.
To play the effect, a simple `input_event` needs to be written to the device. Let me refresh my understanding... I need an `input_event` struct, where the `type` is `EV_FF`, the `code` is the effect ID (received from EVIOCSFF), and the `value` is `1` to indicate 'play'.
`xpad_init_ff` is interesting; it sets `ff->upload = xpad_play_effect`, and `input_ff_create_memless` sets `ff->play = xpad_play_effect`. So `xpad_play_effect` is definitely the right function. And it *is* called when we PLAY the effect.
So, to recap: `EVIOCSFF` uploads, and a subsequent `input_event` write triggers the play.
Now, let's look at that syzlang code... `EV_FF` is `0x15`, and the effect ID returned by `EVIOCSFF` should be used for the `code`. If we're uploading the first effect, its ID is indeed `0`. So, the `input_event` should be: `type = EV_FF (0x15), code = 0, value = 1` which results in: `write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18)`
Alright, let's try this with the syzlang code. I've updated the script to include the `write` call after the `ioctl$EVIOCSFF`. Let's see if this plays the effect and triggers the crash!
|
| 170/2 | 2026/04/16 20:50 | tool | reproduce-crash |
2mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x0, &(0x7f0000000300)={0x50, 0xffff, 0x0, {0x0, 0x0}, {0x0, 0x0}, @rumble={0xffff, 0xffff}})
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 171/2 | 2026/04/16 20:52 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 255699 output: 635 thoughts: 1442 Thoughts: **Debugging the Force Feedback Crash**
Okay, still no crash after that first attempt. I need to retrace my steps and figure out why. The `write$evdev` call uses a `data ptr[in, array[input_event]]`, and I've verified that the `input_event` struct format is correct, so `[{{0x0, 0x0}, 0x15, 0x0, 0x1}]` *should* be valid input.
The question then becomes: is `xpad_play_effect` even *being* called? Let's trace it back. I need to check `input_ff_create_memless`, and I see now that `ff->playback` points to the `play_effect` function argument of the create call.
So, when is `ff->playback` *actually* used? It's when an `EV_FF` event is written. Examining the `input_ff_event` function makes this clear. Now, where do these events come from? `evdev_write` calls `input_inject_event`, and *that* calls `input_handle_event` which finally calls `input_ff_event`! So yes, `xpad_play_effect` *is* being called, and it submits `irq_out`.
If `irq_out` is submitted, it completes. The hypothesis is still that `syz_usb_disconnect` called concurrently would cause the crash. Hmm, maybe `irq_out` completes too quickly?
Alright, let's see...if I send *multiple* `write$evdev` calls, then I can submit `irq_out` multiple times! This increases the chances of hitting the race condition. Time to generate a new Syzlang program that exploits this approach.
|
| 172/2 | 2026/04/16 20:52 | tool | reproduce-crash |
2mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x0, &(0x7f0000000300)={0x50, 0xffff, 0x0, {0x0, 0x0}, {0x0, 0x0}, @rumble={0xffff, 0xffff}})
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 173/2 | 2026/04/16 20:55 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 258202 output: 556 thoughts: 1715 Thoughts: **Analyzing the Race Condition in the xpad Driver**
Okay, so still no crash, which is puzzling. Let's retrace the execution path. The `xpad_play_effect` function's check for the effect type, specifically `FF_RUMBLE` (0x50), seems correct. The magnitudes are extracted, and then a spinlock is acquired. The code then enters the `switch` statement, which correctly determines that the device is of type `XTYPE_XBOXONE`. It correctly constructs the command to activate the rumble and sets the `packet->pending` flag. Crucially, `xpad_try_sending_next_out_packet` is called, which then submits `irq_out`.
The question is, why didn't this crash? I suspect the timing of the `syz_usb_disconnect` function call is the key. The problem is that it might be getting called before `write$evdev` starts, or completes. If `syz_usb_disconnect` runs before `write$evdev` and we use `(async)` for `write$evdev` calls, then `write$evdev` might run in a separate thread. `syz_usb_disconnect` runs in the main thread. If the main thread doesn't wait, it could call `syz_usb_disconnect` immediately. This then calls `xpad_disconnect`, `xpad_deinit_input`, `input_unregister_device`, `xpad_close`, and finally `xpad_stop_output`. If `write$evdev` has not started, `irq_out` is NOT active, and when `xpad_stop_output` returns, the `xpad` device has been freed. If `write$evdev` then starts, it will call `evdev_write`, but `evdev_write` checks if the device is disconnected! If the device is disconnected, then `evdev_write` returns an error, and `xpad_play_effect` is never called.
We need `write$evdev` to start BEFORE `syz_usb_disconnect` happens, to hit the race. If we don't use `(async)` for the first `write$evdev`, it will wait for it to finish. But, if it finishes, `irq_out` could have already completed because it completes very quickly. Thus we want `syz_usb_disconnect` and `write$evdev` to run CONCURRENTLY to hit the race.
The solution is to insert a `nanosleep` in the main thread to allow the async threads to start before calling `syz_usb_disconnect`, thus increasing the chance to hit the race! So I will write this syzlang code:
```syzlang
r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x0, &(0x7f0000000300)={0x50, 0xffff, 0x0, {0x0, 0x0}, {0x0, 0x0}, @rumble={0xffff, 0xffff}})
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async
|
| 174/2 | 2026/04/16 20:55 | tool | reproduce-crash |
1mArgs:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x0, &(0x7f0000000300)={0x50, 0xffff, 0x0, {0x0, 0x0}, {0x0, 0x0}, @rumble={0xffff, 0xffff}})
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
nanosleep(&(0x7f0000000100)={0x0, 0x1000000}, 0x0)
syz_usb_disconnect(r0)]Results: map[CoverageID: ReproducedBugTitle: ReproducedCrashReport:] |
| 175/2 | 2026/04/16 20:57 | llm | crash-repro-finder |
0mModel:gemini-3.1-pro-preview Tokens: input: 261529 output: 431 thoughts: 5008 Thoughts: **Race Condition in `xpad` Driver: A Deep Dive** Okay, so I've been digging into this potential crash, and it seems like the key lies in a race condition within the `xpad` driver when dealing with Xbox controllers. Specifically, I need to figure out how to trigger a situation where `irq_out` (an interrupt-driven output) is active while the driver is disconnecting. First, I confirmed the size of `input_event` and the structure of my intended FF effect. Everything checks out with how I'm setting up my IOCTL calls; but it still didn't crash. My initial thought was `EVIOCSFF` failing, but the code shows it sets capabilities correctly. So, something else is at play. The crucial insight is that the critical race condition isn't in submitting the USB interrupt, but in its completion coinciding with the shutdown process. There are a few ways to potentially trigger `irq_out`: opening the device (XBOXONE), sending a presence packet (XBOX360W), sending an LED command (XBOX360 & 360W), or sending a force feedback effect (all types). I can't send an LED command directly because of sandboxing restrictions in `syzkaller`, so I'm focusing on the others. Initially, I tried calling `syz_usb_ep_write` to send a presence packet, but this wasn't the correct path. It led me down the route of `xpad_presence_work`, which calls a series of routines that do *asynchronous* `irq_out` submissions. Specifically, `xpad_led_probe` triggers `set_brightness_work` which in turn submits `irq_out` via `led_set_brightness`. The asynchronous nature of `set_brightness_work` is important, because I need it to be *concurrent* with the `syz_usb_disconnect` to trigger the race. The problem, though, is that the `flush_work` called by `led_classdev_unregister` blocks until `set_brightness_work` *finishes*. So, for `XTYPE_XBOX360W`, the asynchronous `irq_out` completion would always occur *before* the critical `xpad_stop_output` code. Therefore, no race with that device. But let's look at `XTYPE_XBOXONE`. This one is interesting: the `irq_out` is submitted by `xpad_start_xbox_one`, which is called from `xpad_start_input`. And `xpad_start_input` is called from `xpad_open`. So, if I open the device, that starts everything. Then, when I disconnect the device via `syz_usb_disconnect`, a closing sequence is initiated that triggers `xpad_stop_output`. The key is that `xpad_close` is called during the disconnection, which potentially overlaps with the `irq_out` that was started earlier. So, for `XBOXONE`, the `irq_out` is submitted *before* the disconnect sequence is triggered. Now, my idea is to trigger the race. I can inject an effect (via `ioctl$EVIOCSFF`) and then a play event (`EV_FF`). `xpad_play_effect` will submit `irq_out`. If I can execute the disconnect concurrently, then it will crash. However, `input_unregister_device` sets `dev->going_away`, which drops any *new* events. I *must* write the `EV_FF` event *before* `input_unregister_device` sets `dev->going_away`. If done correctly, I should have a chance. The question is: can `irq_out` complete *after* the close? If I can send *multiple* `EV_FF` events, then the `irq_out` will be resubmitted each time. This allows me to delay the completion. But, on closer look, if there are multiple calls to `xpad_try_sending_next_out_packet`, it just overwrites the same packet. So, I can't chain these together, and I only get one call. Now I am at the crux of the problem. If I send multiple FF events, I'm basically overwriting the `packet->pending = true`. The `irq_out` can be delayed if multiple output packets were used. Since I only have three output packets, I will try to submit those three packets and see if this delays things. But then, I had another insight. If `xpad_irq_out` is running |
| 176/2 | 2026/04/16 20:58 | tool | set-results |
0mArgs:map[CandidateReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x0, &(0x7f0000000300)={0x50, 0xffff, 0x0, {0x0, 0x0}, {0x0, 0x0}, @rumble={0xffff, 0xffff}})
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
syz_usb_disconnect(r0) ReproOpts:{"procs": 1, "sandbox": "none", "fault_call": -1, "fault_nth": 0}]Results: map[CandidateReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1, 0x0}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200)='/dev/input/event#\x00', 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x0, &(0x7f0000000300)={0x50, 0xffff, 0x0, {0x0, 0x0}, {0x0, 0x0}, @rumble={0xffff, 0xffff}})
write$evdev(r1, &(0x7f0000000400)=[{{0x0, 0x0}, 0x15, 0x0, 0x1}], 0x18) (async)
syz_usb_disconnect(r0) ReproOpts:{"procs": 1, "sandbox": "none", "fault_call": -1, "fault_nth": 0}] |
| 177/1 | 2026/04/16 20:58 | action | syzlang-format |
0mResults:map[ReproSyz:r0 = syz_usb_connect(0x0, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff405e04d1021401010203010902200001010080fa0904000002ff5dd0000705810320000407050203200004"], 0x0)
nanosleep(&(0x7f0000000100)={0x1}, 0x0)
r1 = syz_open_dev$evdev(&(0x7f0000000200), 0x0, 0x2)
ioctl$EVIOCSFF(r1, 0x0, &(0x7f0000000300)={0x50, 0xffff, 0x0, {}, {}, @rumble={0xffff, 0xffff}})
write$evdev(r1, &(0x7f0000000400)=[{{}, 0x15, 0x0, 0x1}], 0x18) (async)
syz_usb_disconnect(r0)
] |
| 178/1 | 2026/04/16 20:58 | action | crash-reproducer |
7mError:reproducer did not crash Results: map[ReproducedBugTitle: ReproducedCrashReport:] |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|