Except as otherwise provided in subsection (e), a buyer in ordinary course of business, other than a person buying farm products from a person engaged in farming operations, takes free of a security interest created by the buyer's seller, even if the security interest is perfected and the buyer knows of its existence.
Except as otherwise provided in subsection (e), a buyer of goods from a person who used or bought the goods for use primarily for personal, family, or household purposes takes free of a security interest, even if perfected, if the buyer buys:
(1) without knowledge of the security interest;
(2) for value;
(3) primarily for the buyer's personal, family, or household purposes; and
(4) before the filing of a financing statement covering the goods.
To the extent that it affects the priority of a security interest over a buyer of goods under subsection (b), the period of effectiveness of a filing made in the jurisdiction in which the seller is located is governed by Section 9-316(a) and (b).
A buyer in ordinary course of business buying oil, gas, or other minerals at the wellhead or minehead or after extraction takes free of an interest arising out of an encumbrance.