kern/158689: [acpi] value of sysctl hw.acpi.thermal.polling_rate needs validation

Andriy Gapon avg at FreeBSD.org
Wed Jul 6 16:40:07 UTC 2011


>Number:         158689
>Category:       kern
>Synopsis:       [acpi] value of sysctl hw.acpi.thermal.polling_rate needs validation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 16:40:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Gapon
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
>Description:
Currently value for sysctl hw.acpi.thermal.polling_rate is not validated in any way.
So a user can potentially assign a zero or a negative value to it.
This could lead to undesired effects when hz * acpi_tz_polling_rate is used as a parameter
to msleep().

>How-To-Repeat:
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list